The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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? |
#2
|
||||
|
||||
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}
|
#3
|
||||
|
||||
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">
|
#4
|
||||
|
||||
Have you seen this - https://vborg.vbsupport.ru/showthread.php?t=221572
|
#5
|
||||
|
||||
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">
|
#6
|
||||
|
||||
Glad you got it to work.
|
#7
|
||||
|
||||
It still confuses me somewhat in that article, but it seems a little more clearer than it was before, anyway. Thanks, again, young lady.
|
#8
|
||||
|
||||
I think I reply to your posts just to hear you call me a young lady.
|
#9
|
||||
|
||||
LOL You'll always be a young lady to me, Lynne. The best of the best.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|