Advanced search  

News:

cpg1.5.46 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter recently discovered vulnerabilities. It is important that all users who run version cpg1.5.44 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Hide Drop Area  (Read 2541 times)

0 Members and 1 Guest are viewing this topic.

thenota2

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 81
Hide Drop Area
« on: February 23, 2018, 09:35:05 am »

i tried the same as the auto orient but it didnt work

Code: [Select]
#droparea {display:none;}
label[for="autorient"] {display:none;}
Logged

thenota2

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 81
Re: Hide Drop Area
« Reply #1 on: March 03, 2018, 09:42:36 am »

what do i do when i know ron sees this thread and im pretty sure he knows how to do it but doesnt respond. and then something is wrong with me again
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4564
    • Windsurf.me
Re: Hide Drop Area
« Reply #2 on: March 03, 2018, 10:18:58 am »

Put a link to your site and I will take a look when I get home.

The reason for no response could simply be your post was missed. Also, please read the rules on posting a link to your site when asking for help. We do this for a free in our spare time so lease help us help you. Wasting time liking for your old posts so we can check what theme you are using, what version and see if there are any custom adjustments is very tiresome.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 925
Re: Hide Drop Area
« Reply #3 on: March 03, 2018, 04:23:20 pm »

It's always such a pleasure to read posts by you that tell us that the hours, days, months and years that we spend creating free software for you have resulted in interfaces that are unnecessary and visual elements that are distasteful. And, since you are not allowing others to upload to your site, you are the only one to see it. Have you thought of getting some counseling?

What you are asking for is not simply achievable. But I have spent yet more of my time to come up with a solution to eradicate the monster in your closet.

Create a file in the root of your CPG install.
nodroparea.html
Code: [Select]
<script>
$(document).ready(function() {
document.getElementById("dropArea").style.display="none";
});
</script>

In the admin config->theme settings, set Path to custom footer include to nodroparea.html

... And, yes, I did read and ignore your unreasonable request.
Logged

thenota2

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 81
Re: Hide Drop Area
« Reply #4 on: March 03, 2018, 06:01:35 pm »

i put that file in my root and emptied my cache but it didnt work

http://celebritynook.net

i started with websites on proboards forums in 2006. free, and the people in the support worked for nothing too. i like to customize the look of my sites and not capable with serious code. i had over 200 modifications on my forum, got help everyday every week of the year practically. its my site, i want it to look like i want it to
Logged

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 925
Re: Hide Drop Area
« Reply #5 on: March 03, 2018, 06:12:17 pm »

i put that file in my root and emptied my cache but it didnt work

Did you set the config item as I instructed you to do?
Logged

thenota2

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 81
Re: Hide Drop Area
« Reply #6 on: March 03, 2018, 06:43:09 pm »

yes
Code: [Select]
nodroparea.html
Logged

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 925
Re: Hide Drop Area
« Reply #7 on: March 03, 2018, 07:00:42 pm »

Then your theme doesn't respect the custom footer.

At the bottom of your template.html file, just before the </body> tag, put either:

Code: [Select]
{CUSTOM_FOOTER}
or:
Code: [Select]
<script>
$(document).ready(function() {
document.getElementById("dropArea").style.display="none";
});
</script>
Logged

thenota2

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 81
Re: Hide Drop Area
« Reply #8 on: March 03, 2018, 09:24:21 pm »

thanks thats good
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4564
    • Windsurf.me
Re: Hide Drop Area
« Reply #9 on: March 04, 2018, 04:38:00 am »

Please mark your topic as solved
Logged
It is a mistake to think you can solve any major problems just with potatoes.
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 20 queries.