The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Getting $pagenumber into scope in postbit_legacy template
Does anyone have any idea how I can get $pagenumber into scope in postbit_legacy template? It is available and used in SHOWTHREAD, but when I try to use it in postbit_legacy I get nothing. How can I make the $pagenumber value of the current thread available in postbit_legacy?
The permalink solutions I've found at vb.org either use t = threadid and jump to the postid, which will not work for multi page threads, or p = postid and jump to postid, which is not much good for seo since all incoming links to posts on the same page are links to different posts and don't count as linking to the same resource. t = threadid & page = pagenumber and jump to post id would make all incoming links to posts on a page effectively link to the same thing in the eyes of search engines. Can anyone tell me how to get $pagenumber into scope in postbit_legacy so I can accomplish this? Thanks! |
#2
|
|||
|
|||
Simply do the following .
open class_postbit.php search for global $spacer_open, $spacer_close; change it to global $spacer_open, $spacer_close, $pagenumber; Shoot and have fun . |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|