PDA

View Full Version : vbulletin variable help


ramesh_umk3
01-08-2013, 03:13 PM
I am using vbulletin v4.2 i need help with title and link variables i have tried many but nothing worked so thought to get heads up here :up:

<a href="http://digg.com/submit?phase=2&amp;amp;url=vbulletin_permalink_variabl e&amp;amp;title=vbulletin_thread_title_variable"><img src="/images/digg-16x16.png" width="16" height="16" /></a>

thank you in advance

squidsk
01-08-2013, 05:57 PM
What is the link supposed to accomplish?

kh99
01-08-2013, 06:15 PM
I think you might want {vb:raw thread.threadtitle}.

Edit oh, and for the link, "{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw thread.realthreadid}". Those come from the threadbit template, so if you're trying to put it in a different template they may not work.

gamaken
01-08-2013, 06:23 PM
Are you trying to let users submit threads to Digg?
https://vborg.vbsupport.ru/showthread.php?t=184398

Good article on vbseo:
http://www.vbseo.com/f34/facebook-twitter-digg-share-button-scripts-45812/

ramesh_umk3
01-09-2013, 04:48 AM
I have used below code
<a href="http://digg.com/submit?phase=2&amp;amp;url={vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}&amp;amp;title=thread_title_{vb:raw thread.realthreadid}"><img src="/images/digg-16x16.png" width="16" height="16" />CHECKING</a>

Output was:
http://digg.com/submit?phase=2&amp;url=showthread.php?t=208402&amp;title=t hread_title_

i have added in postbit_legacy