forum.coppermine-gallery.net

Support => cpg1.6.x Support => cpg1.6 miscellaneous => Topic started by: thenota2 on February 23, 2018, 09:35:05 am

Title: Hide Drop Area
Post by: thenota2 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;}
Title: Re: Hide Drop Area
Post by: thenota2 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
Title: Re: Hide Drop Area
Post by: phill104 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.
Title: Re: Hide Drop Area
Post by: ron4mac 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.
Title: Re: Hide Drop Area
Post by: thenota2 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
Title: Re: Hide Drop Area
Post by: ron4mac 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?
Title: Re: Hide Drop Area
Post by: thenota2 on March 03, 2018, 06:43:09 pm
yes
Code: [Select]
nodroparea.html
Title: Re: Hide Drop Area
Post by: ron4mac 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>
Title: Re: Hide Drop Area
Post by: thenota2 on March 03, 2018, 09:24:21 pm
thanks thats good
Title: Re: Hide Drop Area
Post by: phill104 on March 04, 2018, 04:38:00 am
Please mark your topic as solved