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)

LuBi 12-18-2001 04:17 PM

Ok I run 2.2.1 and I did freddies method then did crinos's postbit edit and I don;t see anything new in my postbit... Any ideas?

Also how can I make it look similar to how it looks on here? Upper right and make it a link like on here? Thanks!

bira 12-18-2001 07:35 PM

LuBi, replace $countposts with $post[postcount]

LuBi 12-18-2001 08:34 PM

I tried.. and it showed but I can't get it in the upper right or as a link. Thanks though bira

bira 12-18-2001 08:39 PM

LuBi, that's a design issue :)

you need to put it in a <td align=right></td> :)

Sadie Frost 12-26-2001 12:28 PM

I have Tommy Boy's current post counter hack installed, and then I installed this one, and I have a sort of weird problem.

The post numbers come up fine...except they are the current post number not the number of that post.

So if this is the second post in a thread, and is my 34th out of 56 posts, it comes up "Post #34" instead of "Post #2".

I haven't been able to find where the conflict is, so I was wondering if anyone else had this same problem and fixed it?

Thanks!:)

bira 12-26-2001 02:03 PM

sadie what is the variable you use in the postbit template for each of these hacks? Can you paste it here?

Tommy Boy 12-26-2001 03:43 PM

Looks like we're using the same variable name (postcount), bira! :D

the_sisko 12-26-2001 03:55 PM

Great thing, installed it with no probs... thx !

FWC 12-26-2001 05:00 PM

Quote:

Originally posted by Tommy Boy
Looks like we're using the same variable name (postcount), bira! :D
I ran into the same situation as Sadie. I took Tommy's hack and made the database field upostcount and changed all the instances of postcount to upostcount in his code. Everything works great. :)

I modified Tommy's use of postcount because Freddie already added the postcount variable to vb 3.0. Since Bira's code is going to be built in to the official release, I chose to leave it alone.

Sadie Frost 12-26-2001 05:02 PM

This is my postbit template :)

Oh yeah - I see the postcount now - duh!

So can I just rename the variables?


All times are GMT. The time now is 07:48 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.01197 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
  • (1)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