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)

SaN-DeeP 04-06-2004 06:11 AM

Gary W thnx for quick reply
works :)

Sandy...

LadyBeth 04-06-2004 04:15 PM

clicking install!

SaN-DeeP 04-07-2004 09:16 PM

OPEN UP THE navbar TEMPLATE AND FIND
HTML 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>
UNDER IT, ADD
HTML Code:

<br /><phrase 1="$getnewthread[threads]" 2="$getnewpost[posts]" />$vbphrase[navbar_sincelastvisit]</phrase>
CREATE NEW PHRASE CALLED navbar_sincelastvisit
WITH THE FOLLOWING CONTENT:
Code:

There have been {1} threads and {2} posts since your last visit!
THE HACK IS NOW INSTALLED, ENJOY!

I cant find that line in my navbar template 0_o
also the PRivate Messages link on navbar is not visible after installing this hack.
I am sure. something i did wrong somewhere.

Please help

Thnx.

leitel 04-07-2004 09:48 PM

Just curious. Does the count of new posts and threads since their last visit INCLUDE new posts/threads in forums from which they do not have access? Thanks! :)

Illuvatar 04-09-2004 02:18 AM

Illuvatar installs this one again on VB Gold! :p

Modified the phrase just a tad...but hey. lol

http://www.warofthering.net/forums/v...oad/index.php?

Linear Helix 04-13-2004 12:21 AM

Quote:

leitel:

Just curious. Does the count of new posts and threads since their last visit INCLUDE new posts/threads in forums from which they do not have access? Thanks!
Yeah, that's the big problem with this mod. I worked on it a while but I don't know enough php/MySQL to get it to count only stuff the user has permission to see.

GaleForce 04-13-2004 02:06 PM

When there are 0 threads and 0 new posts it shows this;

There have been threads and posts since your last visit!

Wait... it's showing that for everything. :surprised:

budlite74 04-18-2004 05:19 PM

i dont get the actuall #post and #threads ... I just get the phrase

Sooner95 04-26-2004 10:37 PM

thanks bud...works great!

Reverend 05-01-2004 10:16 PM

Has anyone managed to code this so that it only counts threads/posts that the user has permission to view.

Members are constantly enquiring why the counts don't match the "new posts" search results.Feels awkward explaining to them that the totals include forums they don't have access to. :disappointed:


All times are GMT. The time now is 11:59 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.01084 seconds
  • Memory Usage 1,736KB
  • 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_code_printable
  • (2)bbcode_html_printable
  • (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