Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 20 Mar 2009, 21:59
Chunky Monkey Chunky Monkey is offline
 
Join Date: Oct 2008
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!
Reply With Quote
  #2  
Old 30 Jun 2010, 16:12
Zi55 Zi55 is offline
 
Join Date: Dec 2006
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 .
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 16:26.

Layout Options | Width: Wide Color: