The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
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:
|