OK i tried to install this and i also need some help:
Code:
<if condition="$show['gtp_thumbnail_only']">
<img class="thumbnail" src="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&stc=1&thumb=1" border="0" alt="" title="$vbphrase[gtp_cannot_download]" />
<else />
<a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]"><img class="thumbnail" src="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&stc=1&thumb=1" border="0" alt="" title="<phrase 1="$attachment[filename]" 2="$attachment[counter]" 3="$attachment[filesize]">$vbphrase[image_larger_version_x_y_z]</phrase>" /></a>
</if>
<if condition="$show['br']"><br /><br /></if>
this is my postbit_attachmentthumbnail field. i am using another mod alongwith which just shows thumbnails to guests (got from vb.org)
after replacing this part
Code:
<a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]"><img class="thumbnail" src="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&stc=1&thumb=1" border="0" alt="" title="<phrase 1="$attachment[filename]" 2="$attachment[counter]" 3="$attachment[filesize]">$vbphrase[image_larger_version_x_y_z]</phrase>" /></a>
</if>
<if condition="$show['br']"><br /><br /></if>
with the code you provided in text file I get an error message as follows:
Code:
The following error occurred when attempting to evaluate this template:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/sandeep/public_html/forums/includes/adminfunctions_template.php(3055) : eval()'d code on line 1
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
How can i use the code provided by you ?
Also a small edit needs to be done in instructions file attached above from you

2. Select "Single-Line Text Box".
to be change to 2. Select "Single-Line Text Menu".
Waiting for a reply
Regards,