![]() |
link thread not working quite right
I am trying to use link thread for a link and I am close, but not quite there yet. Here is the code I am using in the template for the link:
HTML Code:
<a href="{vb:link thread, {vb:raw $fhstats}, {vb:raw fhstats.threadtitle}}&p={vb:raw fhstats.postid}&viewfull=1#post{vb:raw fhstats.postid}" target="_blank"> and this is what it parses to: HTML Code:
http://www.yoursite.com/forums/showthread.php?153&Hello_There,_from_Phil=&p=349&viewfull=1#post349 This is what it should look like: HTML Code:
http://www.yoursite.com/forums/showthread.php?153-Hello-There-from-Phil&p=349&viewfull=1#post349 Can anyone please tell me what I am doing wrong or missing, and how to fix it? |
Isn't the thread title in the $fhstats array, so why pass it separately? Also, is this really correct - {vb:raw $fhstats}? Shouldn't it be {vb:raw fhstats}
|
Quote:
HTML Code:
<a href="{vb:link thread, {vb:raw fhstats}, {vb:raw threadtitle}}&p={vb:raw fhstats.postid}&viewfull=1#post{vb:raw fhstats.postid}" target="_blank"> |
Have you seen this - https://vborg.vbsupport.ru/showthread.php?t=221572
|
Bingo! Thank you, Lynne. ;)
I changed my line to this and now it works exactly like it should: HTML Code:
<a href="{vb:link thread, {vb:raw fhstats}, null, 'threadid', 'threadtitle'}&p={vb:raw fhstats.postid}&viewfull=1#post{vb:raw fhstats.postid}" target="_blank"> |
Glad you got it to work. :)
|
It still confuses me somewhat in that article, but it seems a little more clearer than it was before, anyway. Thanks, again, young lady. ;)
|
Quote:
|
LOL You'll always be a young lady to me, Lynne. The best of the best. ;)
|
All times are GMT. The time now is 08:52 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|