Author Topic: Problem with Download_off.gif and postcard.gif etc etc **  (Read 5381 times)

0 Members and 1 Guest are viewing this topic.

Offline zakaria666

  • Full Member
  • ***
  • Posts: 211
    • View Profile
Problem with Download_off.gif and postcard.gif etc etc **
« on: September 03, 2010, 07:43:42 PM »
Hello,

When a person is not logged in and they click on an image then at the bottom of the image there are buttons for example download, download zip, lighbox etc and all have been faded out. Is there any way that i can remove these so that when the user then signs in the buttons will appear but when they sign off then the buttons arent there when before when the user signed off the buttons would be there but would be faded out. I hope u understand what im asking for.

thanks again and thank u 2 all in advance for helping  me

Rembrandt

  • Guest
Re: Problem with Download_off.gif and postcard.gif etc etc **
« Reply #1 on: September 03, 2010, 08:21:16 PM »
see attachment.

mfg Andi

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Problem with Download_off.gif and postcard.gif etc etc **
« Reply #2 on: September 03, 2010, 09:31:42 PM »
surround the tags in details.html template with {if is_userloggedin} and {endif is_userloggedin}
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline zakaria666

  • Full Member
  • ***
  • Posts: 211
    • View Profile
Re: Problem with Download_off.gif and postcard.gif etc etc **
« Reply #3 on: September 04, 2010, 12:20:27 AM »
Thank all for your replies.

@VANO

I have done exactly what u have said, in below code...

Code: [Select]
{if is_userloggedin}  {lightbox_button}  {postcard_button}  {endif is_userloggedin}

However sir it doesnt seem to work, am i doing it correect.
thanks

Offline V@nо

  • Addicted member
  • ******
  • Posts: 1.223
    • View Profile
Re: Problem with Download_off.gif and postcard.gif etc etc **
« Reply #4 on: September 04, 2010, 04:45:36 AM »
Yes, you did it correctly, but I messed up.
I meant to say {if user_loggedin} {endif user_loggedin}
Your first three "must do" before you ask a question:
If I asked you to PM me, I meant PM to my primary account, this account doesn't accept PMs.

Offline zakaria666

  • Full Member
  • ***
  • Posts: 211
    • View Profile
Re: Problem with Download_off.gif and postcard.gif etc etc **
« Reply #5 on: September 04, 2010, 07:17:42 PM »
Thank u so much man. It work man  :)

Vano, I was wondering, can something be done the same thing that u did for me but when a user clicks an image if they arent logged in or registered then a pop  up will come up and ask them that the only way to view this image is to be registered. I hope u will answer me on this as i know ur very busy.

Thank u sir.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)