The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Quote:
Thanks to everyone who contributed. This is good stuff. Two questions: When I create the plugin, what hook do I attach it to? Do I need to put a variable into the headinclude utilize the results of this code? |
#12
|
|||
|
|||
First i would like to thank you kh99 and Ameise, the code on post #7 works perfectly for SHOWTHREAD and FORUMDISPLAY pages.
The unique problem is with tag pages, on the second page of the tags it adds a rel="prev" <link rel="prev" href="http://www.vbulletin.com/tags/messenger-page1.html" /> When it should simply be <link rel="prev" href="http://www.vbulletin.com/tags/messenger.html" /> I'm using vBSEO anyway when i disable it, it also add &page=1. Any idea how can this be fixed? Thanks! |
#13
|
|||
|
|||
Yeah, hilaryl mentioned that he (or she) add a line for that. I guess it would be something like:
PHP Code:
|
#14
|
|||
|
|||
Hi Guys,
Sorry I didn't get back earlier - missed the notification! kh99's example of the code with the page alteration is exactly how I have it. For darnoldy: The hook I used was pagenav_complete, and because the code is adding data to the already implemented $headinclude variable - you don't have to add anything to your templates. Just activate the plugin and it will do the rest. Thanks, hilaryl |
#15
|
|||
|
|||
Thanks for everyone. This is working perfectly...
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|