The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Why is shotpost.php redirecting to showthread?
OK, I am trying to add a Facebook "Like" button in each post in my site, and I have a problem, but first let me explain what I have so far.
I've managed to install a button, at the beginning of a thread, the code for it is: Code:
<vb:if condition="(THIS_SCRIPT == showthread) AND ($post[postcount] == '1')" <!-- Facebook Like --> <iframe src="http://www.facebook.com/plugins/like.php?href=http://forum.m1911.org/{vb:link thread, {vb:raw thread}}&layout=button_count&show_faces=false&width=200&action=like&share=true&font=tahoma&appId=1409563412612912" colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:250px; height:30px"></iframe> <!-- / Facebook Like --> </vb:if> Code:
http://forum.m1911.org/{vb:link thread, {vb:raw thread}} Code:
http://forum.m1911.org/showpost.php?p=xxxx Of course, if someone knows of a modification, that allows you to do all that (add a Like button in every post), I would definitely appreciate it. The only one I've managed to find is vbseo, but that hack is no longer supported and there is no site from where to download it. Thanks for your attention folks! |
#2
|
||||
|
||||
Code:
showpost.php?p=xxxx&postcount=xxxx |
#3
|
|||
|
|||
There is no equivalent of the old vB3 showpost function in vB4. vB4 redirects showpost to showthread.
|
#4
|
|||
|
|||
That's what I figured.
So then the question becomes, what is the proper code to use for a redirecting link? In other words, what do I replace this: Code:
http://forum.m1911.org/{vb:link thread, {vb:raw thread}} Code:
http://forum.m1911.org/{vb:link post, {vb:raw post}} |
#5
|
|||
|
|||
To bring the single post into view, I would us the second one.
FYI, here's the original JIRA report on this topic.. http://tracker.vbulletin.com/browse/VBIV-13689 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|