Quote:
Originally Posted by superjeff
Good!
I don't see nothing to rewrite in that template:
HTML Code:
<a href="$vboptions[bburl]/attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&d=$attachment[dateline]"<if condition="$show['newwindow']"> target="_blank"</if>><img src="$vboptions[bburl]/attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&stc=1&thumb=1&d=$attachment[thumbnail_dateline]" class="thumbnail" border="0" alt="<phrase 1="$attachment[filename]" 2="$attachment[counter]" 3="$attachment[filesize]" 4="$attachment[attachmentid]">$vbphrase[image_larger_version_x_y_z]</phrase>" /></a>
Were i wrong?
|
You are right... but I have modified that template to something like this:
Code:
<a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$news[threadid]"><img src="$vboptions[bburl]/attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&stc=1&thumb=1&d=$attachment[thumbnail_dateline]" class="thumbnail" border="0" alt="" /></a>
So the thumbnail links to the thread.
But it is ok. I have removed the code from adv_portal_newsbits_attach_thumb and placed it directly in adv_portal_newsbits and I can now rewrite the URLS. So it is working for me how I want.
Thanks so much.