The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Is there a way to keep thumbnails viewed by all, but photos viewed 'registered only'?
I want people to register to view the pics in my albums, but the thumbnails that link to the album are only viewed by the registered users when I post them in the forum. Is there a way to remove the permission check from the thumbnails by editing the template anywhere? I doubt its in the admincp...
|
#2
|
||||
|
||||
someone please help me out with this? I dont want the permission on the thumbnails... I want anyone able to view them even theough the album is set to 'registered users only'
Is it possible? |
#3
|
|||
|
|||
I was able to create an if statement in the template so members could click the thumb and see the full sized image and all others got sent to a signup page.
In --> Template: album_picturebit <if condition="!$show['guest']"> <a href="album.php?$session[sessionurl]albumid=$albuminfo[albumid]&pictureid=$picture[pictureid]"><img class="alt2" src="$picture[thumburl]" alt="$picture[caption_preview]" border="0" style="padding:$stylevar[cellpadding]px;<if condition="!$usercss">border:solid $stylevar[cellspacing]px $stylevar[tborder_bgcolor]</if>" $picture[dimensions] /></a> <else /> <a href="http://xxxxxxxxxx.com/forums/register.php"> <img class="alt2" src="$picture[thumburl]" alt="$picture[caption_preview]" border="0" style=" padding:$stylevar[cellpadding]px; <if condition="!$usercss">border:solid $stylevar[cellspacing]px $stylevar[tborder_bgcolor]</if>" $picture[dimensions] /></a> </if> |
#4
|
||||
|
||||
awesome, so the permission is set to allow unregistered to view... then i edit the template with the above?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|