vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   First post on every page of thread. (https://vborg.vbsupport.ru/showthread.php?t=93706)

phlogiston 08-07-2005 04:59 PM

Quote:

Originally Posted by insane-topics
The reason for the post count on first post , second page is due to it is a stock template.

I may do some template work later but in all rights it needs no post number on it, such as vb.org does not show a post number on theirs.

yep, I'm gonna remove the post count from the first post template too, but on the second+ pages the other posts will be numbered wrong as well.

As I said, it's just cosmetic as I don't know if postcount is used for anything at all!

vBintense 08-07-2005 05:00 PM

Ya they can be some what confusing at first, due to there are two places to import xml files.

Hope is working well now :)

Boofo 08-07-2005 05:47 PM

So, what's the concensus here now? Do we remove the postcount or leave it alone as is?

vBintense 08-07-2005 05:49 PM

It does not 'hurt' anything, it just tosses the number off by one (but if you use the go to newest and all that it works right)

I plan to try out phlogiston code after I get back from boating, if it works as well as it looks, then I will release an update with it (per his permission)

Boofo 08-07-2005 05:52 PM

Quote:

Originally Posted by insane-topics
It does not 'hurt' anything, it just tosses the number off by one (but if you use the go to newest and all that it works right)

I plan to try out phlogiston code after I get back from boating, if it works as well as it looks, then I will release an update with it (per his permission)

Ok, great! I might hold off installing it until you do the upgrade. I clicked the install button though. ;)

vBintense 08-07-2005 08:13 PM

Updated with the new postnumber fix (I changed it a tad so it does not show the post count to the first post on other pages)

If you wish to apply this fix use this file in 'plugins'.

The zip has also been updated with the new product.

Thanks phlogiston for pointing out this issue and offering code :)

hydrostatic 08-07-2005 08:32 PM

Quote:

Originally Posted by insane-topics
Updated with the new postnumber fix (I changed it a tad so it does not show the post count to the first post on other pages)

If you wish to apply this fix use this file in 'plugins'.

The zip has also been updated with the new product.

Thanks phlogiston for pointing out this issue and offering code :)

Can't we just re-import the product and "allow overwite"?

vBintense 08-07-2005 08:34 PM

I did not choose that route due to I have seen others have alot of trouble with that (update)

And I find it just as easy to solve one trouble with an update plugin, and fix zip for all those who dl after.

phlogiston 08-07-2005 08:42 PM

Quote:

Originally Posted by insane-topics
(I changed it a tad so it does not show the post count to the first post on other pages)

that's probably a more expected behaviour actually, and I'm glad you tidied up the if()
I knew mine was too messy to be the easiest way but I've always had a blind spot for matching firstpostid!


[high]* phlogiston deletes his own version & uses insane-topics'[/high]

vBintense 08-07-2005 08:46 PM

Quote:

Originally Posted by phlogiston
that's probably a more expected behaviour actually, and I'm glad you tidied up the if()
I knew mine was too messy to be the easiest way but I've always had a blind spot for matching firstpostid!

Ya it was a minor change of yours, not much though.

I allowed it to show post number 1 in first page, after that it just shows no post count number for the first post....... seemed cleaner to me.


All times are GMT. The time now is 05:38 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.01205 seconds
  • Memory Usage 1,740KB
  • 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
  • (5)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