first i have a lot of things in the gallery that is screwed up:
1- i want to disable right click on the page, when i add the code to the TEMPLATE.HTML file, the whole look of the page screws up
So you changed the code, and now it does not work.
Without you telling us what code you changed, and what to, how are we to know the answer.
Please give more details, and a link if possible.
Note, disable right click mods etc are a wate of time, imho. If they have it on the screen, they have the pic.
www.youssefchahine.us/imagegallery/
i tried changing the code of the TEMPLATE.html...BUT it didnt work, i want to disable right clicking. i dont mind they have it on screen, when they hotlink images, they use up bandwith, and i dont want that
Well, the best way to disable hotlinking is with an .htaccess file.
Your site seems to be working fine for me. Have you removed the changes you made?
Do you really want all those words at the top on every page, or just the first page?
i tried taking them off, but it screwed up the template look, i want to add them just in the first page yes . and where is the htaccess?
do a google for .htaccess, that will explain better than I can.
To put the words just on the first page, just use anycontent.php.
i cant get rid of what i wrote in TEMPLATE.HTML, whenever i try to take it off, the page screws up
are you making sure you remove the entire row it is in. Just removing this should not be a problem;
<tr>
<td height="108" valign="top">Welcome to www.YoussefChahine.us photo gallery new & improved! Just to view the pictures, one less click is required to view the full size image. But if you want to download any image (it included wallpapers), you cannot right click - you have to click the download button underneath the image. There is also an option to download a zip. To be able for download any pictures, you have to register. It's free and faster and you'll be able to send ecards, post comments or upload your own art and pics. Just for view registering is not required, but without it you cannot download any picture! Thanks for visiting, and enjoy! PLEASE DO NOT ATTEMPT TO REPRODUCE, DISTRIBUTE ANY OF THE IMAGES HERE WITHOUT CONTACTING THE WEBSITE FIRST. Materials on the site are copyright of www.YoussefChahine.us All rights reserved.</td>
</tr>
did that. and got a white page and font screwed up , as if the whole script screwed up
and plz explain the htacess, didnt get wat it meant
I did a google for 'prevent hotlinking with htaccess', and got this as number 1. it explains it better than I can.
http://www.devpapers.com/article/242
If simply removing that row screws up your page there must be something wrong somewhere.
Try replacing;
<td height="108" valign="top">Welcome to www.YoussefChahine.us photo gallery new & improved! Just to view the pictures, one less click is required to view the full size image. But if you want to download any image (it included wallpapers), you cannot right click - you have to click the download button underneath the image. There is also an option to download a zip. To be able for download any pictures, you have to register. It's free and faster and you'll be able to send ecards, post comments or upload your own art and pics. Just for view registering is not required, but without it you cannot download any picture! Thanks for visiting, and enjoy! PLEASE DO NOT ATTEMPT TO REPRODUCE, DISTRIBUTE ANY OF THE IMAGES HERE WITHOUT CONTACTING THE WEBSITE FIRST. Materials on the site are copyright of www.YoussefChahine.us All rights reserved.</td>
with this;
<td></td>
still didnt work..i didnt change anything
well, if you didn't do anything, what is supposed to change then? ;)
To implement hotlinking protection, you should start by removing all hotlinked content from your site - your template.html (http://www.youssefchahine.us/imagegallery/themes/hardwired/template.html) contains reference to http://www.aboutjulia.com/juliaimages/themes/hardwired/images/dots01.gif (even if you own that other domain or the site owner let's you hotlink, this is not a good idea, as mayn users (and especially corporate users behind special advert blockers) don't allow images from other domains to show up on your page.
Try removing the added text from template.html and then let us know the results instead of just posting that it didn't work. The JavaScript code (http://www.dynamicdrive.com/dynamicindex9/noright3.htm) you applied for no-right clicking works as expected... However, this is not related to hotlinking (two entirely different animals).
Joachim