The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I'm basically attempting to create a 'share to Twitter'-button. It uses this code:
HTML Code:
<a href="http://twitter.com/home?status=Currently reading http://www.website.com/postx" title="Click to send this page to Twitter!" target="_blank">Share on Twitter</a> Because I have vbSEO installed, I tried to use the variable $_SERVER[VBSEO_URI] (but also the original vBulletin variable http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]). But apparently the link doesn't translate any of those variables into actual links. Maybe because the variable is placed inside the quotation marks. Is there a way to have it properly translate the variable to a usable URL? |
#2
|
||||
|
||||
![]()
Try with this:
PHP Code:
I've included a image wich can be used with this post at 32px but you can use any image that you want. - Rafael |
#3
|
|||
|
|||
![]()
That's great, thank you very much
![]() I've also inserted the Thread Title into the tweet by adding the variable {vb:raw thread.title}. But the URL isn't converted into a vBSEO link, instead it just uses the 'normal' vBulletin links. Does vBSEO have its own variables that I could use? |
#4
|
||||
|
||||
![]()
Yes, vBSEO have it's own variables, take a look at here: http://www.vbseo.com/f2/vbseo-functi...sibility-1662/ so you can check the extensibility.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|