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?

bira 12-26-2001 07:30 PM

yeah, FWC has a point.

Tommy, since 'postcount' is going to be part of the vB code, I think you might want to edit your hack and change your variable to 'postnumber' or something as such.

Sadie -- read what FWC just posted and do the same :)

Dalius 01-04-2002 03:30 AM

Er, bira, i don't get what FWC meant

I have that same prob, is their better, easier directions for us people who dont know sql too well? ;)

Tommy Boy 01-04-2002 11:41 AM

Quote:

Originally posted by FWC
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.
I wonder how people know these things. As a hacker, this information is very valuable to me, and I wonder if there's a way for me to know these things as well.

FWC 01-04-2002 04:11 PM

Quote:

Originally posted by Tommy Boy
I wonder how people know these things. As a hacker, this information is very valuable to me, and I wonder if there's a way for me to know these things as well.
I found out the hard way. I've had Bira's hack installed since July. I changed it to the newer variable when I installed the contract post hacks. When I installed your static post counter hack (which I love), I noticed the user static count was matching the post count in the thread. I looked at the code and realized the variable was the same. So, I changed everything in your hack to upostcount and everything works great. :)

Freddie Bingham 01-07-2002 04:00 AM

What's in vB3 is what I wrote in this post : https://vborg.vbsupport.ru/showthrea...914#post205914

philphee 01-18-2002 05:30 PM

Is there a way to fix the post numbers reflected if you have you vBulletin set to display threads in reverse order?

As is stands right now, all my post #'s are backwards. :confused:

Thanks for the help...

philphee 01-21-2002 03:33 PM

Maybe, could be, please???

Shenlong 01-21-2002 04:33 PM

great hack! THANX!

Tae 01-22-2002 09:49 PM

very useful hack but i'm with philphee on the reverse order issue. is there a way to get this to work for boards that are in reverse order?

i'm especially concerned for i was planning on installing the hack that allows my users the choice in the order of posts.

back to the original subject, i was seeking this hack cuz the reverse post order option makes it hard to link to the original post of a thread. anyone have ideas on this?

rishel 02-03-2002 02:46 PM

Ok, great googly moogly. I saw so many posts in here, that I find myself a little bit confused.

How, if I may inquire, do add this hack in version 2.2.2

We know how to move around vB with no problem, I just need the final verdict of what is added where.

Thank you very much, for any responses.

Lucky 02-05-2002 03:48 AM

Works great on 2.2.2 and 3.0pr7

Thanks. :china:

Airwaves 02-11-2002 09:51 AM

can this thread be updated with a whole new post 1 with the correct instructions with no bugs for 2.2.x because no-one really uses 2.0.x any more and there are fixes all over this thread and its really confusing?

Thanks

Tim Wheatley 03-25-2002 05:23 AM

Airwaves, there's a box beneath '2.x.x instructions' which has the instructions in it you're after.

However, I've found this hack to be the one which has been causing my board problems, so I'm uninstalling it.

My readouts in the admin cp went from a steady 0.8-1.2 at 'rush hour' (6pm-8pm) over the last three days pre-install, to 2.5-4.1 last night when I installed this hack. This is very bad for my board and shuts off the mainpage (get timeouts). So it's uninstalled. :(

Gutspiller 03-28-2002 04:13 AM

After I installed this hack, after people post their messages and it is suppose to take them back the post they posted? Well after installing this hack, it doesn't do that any more. Has anybody else had this problem? I am running 2.0.3

Thanks for any help or tips you can help me with.

69-FLy-gUy 03-28-2002 08:40 AM

I can't get this to install. it just says post # and doesn't have a number....

Crazy Mofo 04-11-2002 05:02 PM

What version is this forum here using?

Thomas P 04-12-2002 07:49 PM

Thanks, great hack!
-Tom

Crazy Mofo 04-16-2002 11:32 PM

how come i have the max posts per page 15 and when i goes too a another page the (post #) goes back too 1 :( helllp

Crazy Mofo 04-17-2002 01:20 AM

:(

Crazy Mofo 04-19-2002 10:43 PM

any ideas any1?

freeshares1 04-21-2002 11:57 PM

Quote:

Originally posted by 69-FLy-gUy
I can't get this to install. it just says post # and doesn't have a number....
I had this problem until i changed it to

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

i have installed mine where the profiles and pm buttons are.

www.gamblingforums.net

Hope that helps a little

Phil

Orlandu 04-27-2002 04:51 PM

I can't get this to work with 2.2.5 Got any ideas? I see it's running here...

EDIT:
I got it working, nevermind.

Ordovicium 04-29-2002 09:53 AM

I have some Problems with the position of the hack, in the postbit templat. I would like make it the same as here on vbulletin.org, but the problem is, when I add it after $post[title], it disapear only in the right corner, when there is no title. If there is a title, it is in next line. -> not parallel.
I hope you have some ideas.
PHP Code:

        <td bgcolor="$post[backcolor]width="100%" valign="top">
        <
smallfont>$post[icon] <b>$post[title]</b></smallfont>

<!-- 
POSTCOUNTER-->
<
a href="showthread.php?postid=$post[postid]#post$post[postid]">
<
div align="right"><smallfont>(post#: $post[postcount])</smallfont></div><a>
<!-- /POSTCOUNTER--> 

:confused: :confused: :confused:


Thanks Ordo

Crazy Mofo 04-30-2002 03:26 AM

look what mine has done u can see it on page like 8 and number 1 shows up at the top of every page and starts again !! some1 plz help me :confused:

Boofo 04-30-2002 10:40 PM

Can you let us in on the code to position it in the spot you have it (like it is here on this site)?

Ordovicium 04-30-2002 11:26 PM

Can somebody help me? :(
I posted my problem 2 postings before.

RDX1 05-02-2002 12:59 AM

[QUOTE]Originally posted by Ordovicium
Can somebody help me? :(
I posted my problem 2 postings before.

Boofo 05-02-2002 05:34 AM

Ok, that works great except now when you click on the Post #1, it contracts all of the messages back into a list (I'm using Expand All, Contract All also) instead of going to the beginning of the message like it does here.

Also, where in postbit_ignore do I place it and what is postnit_ignore actually for?

Ordovicium 05-02-2002 04:25 PM

@NerdNations: Thanks a lot. I didn't saw. I was searching after a Code/Php-Box in this thread.

Boofo 05-06-2002 04:23 AM

I just re-installed vb and the post counter works great except that I am still having problems that if the messages are contracted (I am also using the great Expand and Contract Hack), when I click on the post counter link, it does not open up the message like it does here. Does anyone here have any idea what might be causing this? I have been through the code at least 10 times and everything is where it should be and LIKE it should be. Please fellas (and females, too), can someone lend a hand on this one? This one really has me stumped.


All times are GMT. The time now is 04:17 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.01273 seconds
  • Memory Usage 1,818KB
  • 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_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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