vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   How many threads and posts since your last visit! (https://vborg.vbsupport.ru/showthread.php?t=59583)

Ocean 03-29-2004 12:36 PM

Gary, M1th made a post here suggesting a change that would account for not counting posts/threads that the user didn't have permission for.


Have you looked at this? If so, what's your opinion on it?


And if anyone else has tried it - can you tell me how well it works, as well as how much added load it puts on the Server?

Thanks, all!

Gary King 03-29-2004 07:12 PM

Quote:

Originally Posted by trafix
interesting, i just installed this and acording to the hack it says...

There have been 747 threads and 4488 posts since your last visit!

any ideas?

Check now it should be working fine :)

Gary King 03-29-2004 07:21 PM

Quote:

Originally Posted by Ocean
Gary, M1th made a post here suggesting a change that would account for not counting posts/threads that the user didn't have permission for.


Have you looked at this? If so, what's your opinion on it?


And if anyone else has tried it - can you tell me how well it works, as well as how much added load it puts on the Server?

Thanks, all!

I'll look into that when I have enough free time; also, might take up too much processing time on each page, but if someone wants to make this, then be my guest :)

trafix 03-29-2004 09:50 PM

Quote:

Originally Posted by Gary W
Check now it should be working fine :)

nope, just checked it now and i have ---> There have been 750 threads and 4499 posts since your last visit!

Gary King 03-29-2004 11:18 PM

Quote:

Originally Posted by trafix
nope, just checked it now and i have ---> There have been 750 threads and 4499 posts since your last visit!

I can tell you right now that it's not this hack that's having the problem, but something else going on in the forums. Which board is it for?

trafix 03-29-2004 11:24 PM

We are using Gold! and only has 5 hacks installed

HTL -- has 3 file edits
VB Trader (Full) -- has NO file edits
Members Choice Voting -- has NO file edits
On line Today (yours)
and this one

Gary King 03-30-2004 12:52 AM

Quote:

Originally Posted by trafix
We are using Gold! and only has 5 hacks installed

HTL -- has 3 file edits
VB Trader (Full) -- has NO file edits
Members Choice Voting -- has NO file edits
On line Today (yours)
and this one

http://www.petnshow.com/network/ ?

trafix 03-30-2004 02:37 AM

nope ... another site that i am co admin for http://www.usodja.com/forums/index.php?

Ocean 03-30-2004 01:23 PM

Hi!

Quick question - the Instructions at some point tell you to look for:

Code:

******************************
OPEN UP THE navbar TEMPLATE AND FIND
******************************
<if condition="$show['pmstats']"><br /><a href="private.php?$session[sessionurl]">$vbphrase[private_messages]</a>: $vbphrase[unread] <if condition="$bbuserinfo['pmunread']"><strong>$bbuserinfo[pmunread]</strong><else />$bbuserinfo[pmunread]</if>, $vbphrase[total] $bbuserinfo[pmtotal].</if>
******************************


However, I couldn't find that code anywhere in my navbar template.

Am I blind? Or has there been a change for vB 3.0 Gold?

Hellburn 03-30-2004 05:22 PM

Find:

Code:

<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase></if>
Below add the code.


All times are GMT. The time now is 10:27 PM.

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.02027 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
  • (2)bbcode_code_printable
  • (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