Switch imageupload and fileupload but keep some options

All support enquiries for DFH go in here...

Re: Switch imageupload and fileupload but keep some options

Postby Fropoo » Wed May 04, 2011 7:34 pm

This is great, I can't thank you enough, if I had any money to speak of I would donate to this project (and I'm considering donating even tho I don't)

Is there any security flaws doing like this?

Anyway, it's truly great, what I'd like to ask you is this

1: How can I edit the text just above the uploader? I can't find where to edit "is a free file and image hosting service. Feel free to upload your files here! Just browse the files you wish to upload and click on 'Open' when finished selecting the files or on the Upload button if using the HTML form where you will later recieve a download link."

2: Is there anyway to remove or change the color of the header and footer, when I remove the pictures I still get a blue effect and where the header has been a gap, is there anyway to remove them and just keep the white area?

Thanks for all :)
Fropoo
Standard Member
 
Posts: 13
Joined: Tue May 03, 2011 1:29 pm

Re: Switch imageupload and fileupload but keep some options

Postby SamEA » Wed May 04, 2011 8:15 pm

Fropoo wrote:This is great, I can't thank you enough, if I had any money to speak of I would donate to this project (and I'm considering donating even tho I don't)

Is there any security flaws doing like this?

Anyway, it's truly great, what I'd like to ask you is this

1: How can I edit the text just above the uploader? I can't find where to edit "is a free file and image hosting service. Feel free to upload your files here! Just browse the files you wish to upload and click on 'Open' when finished selecting the files or on the Upload button if using the HTML form where you will later recieve a download link."

2: Is there anyway to remove or change the color of the header and footer, when I remove the pictures I still get a blue effect and where the header has been a gap, is there anyway to remove them and just keep the white area?

Thanks for all :)


No worries, only donate when you can :).

Security flaws like what?

1: ./lang/english.php and you'll find the phrase over there.

2: Please provide me with a screenshot for a better understanding of your question.
SamEA,
DaddyScripts' Admin & Developer.

Require a PHP or general IT freelancer? Don't hesitate to PM me.
User avatar
SamEA
Site Admin
 
Posts: 1165
Joined: Sat Feb 19, 2011 7:51 pm

Re: Switch imageupload and fileupload but keep some options

Postby Fropoo » Wed May 04, 2011 9:17 pm

Well I was thinking like this:
http://i52.tinypic.com/29g1l5k.jpg

Cutting away the header and the footer.
Fropoo
Standard Member
 
Posts: 13
Joined: Tue May 03, 2011 1:29 pm

Re: Switch imageupload and fileupload but keep some options

Postby SamEA » Wed May 04, 2011 9:39 pm

Fropoo wrote:Well I was thinking like this:
http://i52.tinypic.com/29g1l5k.jpg

Cutting away the header and the footer.


First off, can you please PM or post your URL our script is currently installed on before I look further into this? As requested from our guidelines.

Thank you.
SamEA,
DaddyScripts' Admin & Developer.

Require a PHP or general IT freelancer? Don't hesitate to PM me.
User avatar
SamEA
Site Admin
 
Posts: 1165
Joined: Sat Feb 19, 2011 7:51 pm

Re: Switch imageupload and fileupload but keep some options

Postby Fropoo » Wed May 04, 2011 10:04 pm

SamEA wrote:
Fropoo wrote:Well I was thinking like this:
http://i52.tinypic.com/29g1l5k.jpg

Cutting away the header and the footer.


First off, can you please PM or post your URL our script is currently installed on before I look further into this? As requested from our guidelines.

Thank you.


Hi, I currently have it on a WAMP server and I can't access it outside of my home.
Fropoo
Standard Member
 
Posts: 13
Joined: Tue May 03, 2011 1:29 pm

Re: Switch imageupload and fileupload but keep some options

Postby SamEA » Wed May 04, 2011 11:14 pm

Fropoo wrote:
SamEA wrote:
Fropoo wrote:Well I was thinking like this:
http://i52.tinypic.com/29g1l5k.jpg

Cutting away the header and the footer.


First off, can you please PM or post your URL our script is currently installed on before I look further into this? As requested from our guidelines.

Thank you.


Hi, I currently have it on a WAMP server and I can't access it outside of my home.


Okay, is there a reason you would like to clear out both the header and footer? Because without the style file and DIV classes, you'll lose the style layout of all the text, tables and other elements in the script. Perhaps you are willing to implement another style?
SamEA,
DaddyScripts' Admin & Developer.

Require a PHP or general IT freelancer? Don't hesitate to PM me.
User avatar
SamEA
Site Admin
 
Posts: 1165
Joined: Sat Feb 19, 2011 7:51 pm

Re: Switch imageupload and fileupload but keep some options

Postby Fropoo » Wed May 04, 2011 11:36 pm

I just want the site to be as my picture showed, I know it's possible because I did get rid of the header with some changes inside the .css file but I got no idea how to get rid of the footer.
Fropoo
Standard Member
 
Posts: 13
Joined: Tue May 03, 2011 1:29 pm

Re: Switch imageupload and fileupload but keep some options

Postby SamEA » Thu May 05, 2011 12:31 am

Fropoo wrote:I just want the site to be as my picture showed, I know it's possible because I did get rid of the header with some changes inside the .css file but I got no idea how to get rid of the footer.


Replace the file ./styles/Indigo/style.css with the following code:
Code: Select all
/*#############################################################
Name: Indigo
Description: A lightweight (7kb images), simple and professional design.
Date: 2006-07-27
Author: Viktor Persson
URL: http://arcsin.se

Feel free to use and modify but please provide credits.
#############################################################*/

/* standard elements */
* {
   margin: 0;
   padding: 0;
}
a {
   color: #F70;
}
a:hover {
   color: #C60;
}
body {
   color: #466;
   font: normal 85% "Lucida Sans Unicode",sans-serif;
   margin: 0;
}
input {
   color: #555;
   font: normal 1.1em "Lucida Sans Unicode",sans-serif;
}
p,ul {
   font-size: 1.2em;
   padding-bottom: 1.2em;
}
h1 {
   font-size: 1.4em;
   margin-bottom: 20px;
}

h1,h2,h3 {
   color: #06C;
   padding: 6px 0px 6px;
}

/* misc */
.clearer {
   clear: both;
}


/* title */
.title {
   float: left;
   padding: 28px 0 0 76px;
}
.title h1 {
   color: #FFF;
   font: normal 2em Verdana,sans-serif;
}
/* navigation */
.navigation {
   float: left;
   height: 92px;
   margin-left: 24px;
   padding: 0 16px;
}
.navigation a {
   color: #FFF;
   float: left;
   font: bold 1.2em "Trebuchet MS",sans-serif;
   margin-top: 56px;
   padding: 8px 18px;
   text-align: center;
   text-decoration: none;
}
.navigation a:hover {
   background-color: #4A91C3;
   color: #FFF;
}

/* main */
.main {
   clear: both;
   padding: 12px 12px 0 52px;
}


/* content */
.content {
   float: center;
   margin-right: 4%;
   width: 100%;
}
.content .descr {
   color: #C60;
   margin-bottom: 6px;
}


/* TABLES USED IN COOKIE MANAGEMENT / EDIT BROWSER PAGES */


.faqheader{
font-size:15px;
font-weight:bold;
margin-bottom:0px;
}

.faqbody{
font-size:13px;
margin-top:0px;
margin-bottom:15px;
text-align:justify;
}

#swfupload-control p{ margin:10px 5px; font-size:0.9em; }
#log{ margin:0; padding:0; width:600px;}
#log li{ list-style-position:inside; margin:2px; border:1px solid #ccc; padding:10px; font-size:12px;
   font-family:Arial, Helvetica, sans-serif; color:#333; background:#fff; position:relative;}
#log li .progressbar{ border:1px solid #333; height:5px; background:#fff; }
#log li .progress{ background:#999; width:0%; height:5px; }
#log li p{ margin:0; line-height:18px; }
#log li.success{ border:1px solid #339933; background:#ccf9b9; }
#log li span.cancel{ position:absolute; top:5px; right:5px; width:20px; height:20px;
   background:url('js/swfupload/cancel.png') no-repeat; cursor:pointer; }

.notices {
    background: #FFF6BF;
    color: #817134;
    border-color: #FFD324;
}

.success {

  background: #E6EFC2;
  color: #529214;
  border-color: #C6D880;
}

.error {
  background: #FBE3E4;
  color: #D12F19;
  border-color: #FBC2C4;
}
SamEA,
DaddyScripts' Admin & Developer.

Require a PHP or general IT freelancer? Don't hesitate to PM me.
User avatar
SamEA
Site Admin
 
Posts: 1165
Joined: Sat Feb 19, 2011 7:51 pm

Re: Switch imageupload and fileupload but keep some options

Postby Fropoo » Thu May 05, 2011 1:18 am

Like that :) except this effect remains

http://i56.tinypic.com/rmo5cw.jpg

Thanks for all, be well!
Fropoo
Standard Member
 
Posts: 13
Joined: Tue May 03, 2011 1:29 pm

Re: Switch imageupload and fileupload but keep some options

Postby SamEA » Thu May 05, 2011 2:44 am

Fropoo wrote:Like that :) except this effect remains

http://i56.tinypic.com/rmo5cw.jpg

Thanks for all, be well!


Open ./styles/Indigo/header.php and remove the following piece of code
Code: Select all
      <div class="title">
         <h1><?php echo $compname; ?></h1>
      </div>

      <div class="navigation">
         <a class="toplinks" href="index.php"><? echo $lang[top_upload];?></a>
<a class="toplinks" href="index.php?page=img"><? echo $lang[top_imageup];?></a>
<a class="toplinks" href="files.php"><? echo $lang[top_files];?></a>
<a class="toplinks" href="index.php?page=tos"><? echo $lang[top_tos];?></a>
<a class="toplinks" href="index.php?page=faq"><? echo $lang[top_faq];?></a>
<a class="toplinks" href="top.php"><? echo $lang[top_top];?></a>
<a class="toplinks" href="admin.php"><? echo $lang[top_admin];?></a><span></span></div>
      </div>
SamEA,
DaddyScripts' Admin & Developer.

Require a PHP or general IT freelancer? Don't hesitate to PM me.
User avatar
SamEA
Site Admin
 
Posts: 1165
Joined: Sat Feb 19, 2011 7:51 pm

PreviousNext

Return to Daddy's File Host v1.X

Who is online

Users browsing this forum: No registered users and 7 guests

cron