vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Post Counter & Direct Link (https://vborg.vbsupport.ru/showthread.php?t=22083)

FleaBag 09-04-2002 11:06 AM

*Bump*

Gohan 09-11-2002 12:06 AM

Quote:

Originally posted by GamerForums
I can't for the life of me get this working with 2.2.7. Can anyone please help?
Does working on 2.2.7

Just fellow below code:

Quote:

Originally posted by Raptor
this worked for me on vb 2.2.6

Open showthread.php

Find

$postdone = array();

and ABOVE it put:

// Hack post count and link

$postcount = ($pagenumber - 1 ) * $perpage;

// Hack post count and link end


Find

$postbits .= getpostbit($post);

and ABOVE it put:

// Hack post count and link

$post[postcount] = ++$postcount;

// Hack post count and link end

Save and upload.

Edit template postbit and place the following text where you want the post # to show.

(<a href="showthread.php?postid=$post[postid]#post$post[postid]">Post #$post[postcount]</a>)

its probably been posted before but it may help someone


FleaBag 09-11-2002 09:51 AM

The hyperlinks work, but it doesn't show the post number.

Gohan 09-11-2002 10:04 AM

weird.. i have no problem of post number

FleaBag 09-11-2002 10:41 AM

Woohoo got it working... Used X-Fan's instructions and Knux's little pointer on already hacked showthread files. Working on 2.2.7. :)

Gohan 09-11-2002 10:55 AM

Congrats :)

Learner29 09-12-2002 05:43 AM

THIS IS ONE OF THE VERY VERY BEST HACKS EVER !!!!!

I give 5/5 to this hack.... it is amasing !!!!!

it is a solution to so many problems we had before....

I really thank you thank you thank you

PHiXTiT 09-12-2002 05:41 PM

I have installed this hack on a 2.2.7 board.

It all works as stated!

5 Stars :)

poolking 09-13-2002 02:40 PM

So how do I get the post count in the top right hand corner? Like in this thread.

I manage to get it next to the title but thats it.

ZiRu$ 09-13-2002 08:09 PM

I'm using 2.2.6 and i cant get this hack to work perfectly...it counts and displays the posts but the link dosent work right...it always goes to the TOP of the page


All times are GMT. The time now is 11:04 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03139 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete