PDA

View Full Version : $vboptions


vividwarrior
05-15-2010, 01:04 PM
Hello there,

I want to include a Title with url of every thread at the top of the page. I know the modifications required but please tell me what should I include which represent topic title and topic url.

Like if we include the following
<a href="$vboptions[bburl]">$vboptions[bbtitle]</a>

Then it will show a link to forum home whever we include it. It is a general form of
<a href="http://www.vbulletin.com/forum">vBulletin (https://www.vbulletin.com/link.php?u=http%3A%2F%2Fwww.vbulletin.com%2Fforum% 26quot%3B%26gt%3BvBulletin) Community Forum</a>


Please tell me the general form I can use for a thread title and its link.

Please please please help me, I have searched a lot to find it but I was unable to figure it out.

Lynne
05-15-2010, 03:11 PM
It depends on what template you are using it in. In a SHOWTHREAD template, it would just be $thread[title] or $threadinfo[title]. But, it depends on the template and the query variables used.

vividwarrior
07-03-2010, 02:21 AM
It depends on what template you are using it in. In a SHOWTHREAD template, it would just be $thread[title] or $threadinfo[title]. But, it depends on the template and the query variables used.

Thanks a lot. This worked at that time but now I have upgraded to vB4.0.4 PL1 and it is not working with it. I was actually using them in meta as follows:
<meta name="title" content="$threadinfo[title]" />
<link rel="image_src" href="http://open.thumbshots.org/image.aspx?url=$threadinfo[url]" / >
<meta property="og:title" content="$threadinfo[title]"/>
<meta property="og:image" content="http://open.thumbshots.org/image.aspx?url=$threadinfo[url]"/>
<meta property="og:site_name" content="$vboptions[bbtitle]"/>

Now I need four variables which vb4 is using instead of following four:

$threadinfo[title]
$threadinfo[url]
$vboptions[bbtitle]
$vboptions[bburl]And one more thing:
when we open a thread of vB in firefox and after "right click" we choose "View Page Info", there shows "keywords" and "description" of the page (of the thread that opened). What two variables are used in vb4 for "keywords" and "description"?