vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to use a NICE "New Posts" link and where? (https://vborg.vbsupport.ru/showthread.php?t=171127)

ASCONAN 02-21-2008 08:32 PM

How to use a NICE "New Posts" link and where?
 
Hello everyone! Dimitris here from opel-club.gr :)

Before I go on with my question, let me write the introduction :)

We were used to the "New Posts since last visit" function of phpbb2 and once we turned to vbulletin we couldn't find it anywhere. What I did, was to add the link http://www.opel-club.gr/vbulletin/search.php?do=getnew on the top right corner of our style, along with the "Welcome $username" message. So, we have a very discreet "new posts" link there.

But my exact 2 questions are:

1. How can I make the link display:
"New Posts (316)" (so, 316 is the example number of new posts) ???
or "There are 316 New posts since your last visit".

Please note: I AM NOT interested in the TODAY'S POSTS link! I need just the above modification of "Getnew" :)

To be quite honest I don't even remember right now how I added that link up there - the good thing is that I did it, but I hope you can help me with that (I think I added it in the header).

2. Ok, if we find out No1, how can we include it in the dynamic menu of LINKS?

Thank you very much for your time :)


Dimitris

TXGamers 02-22-2008 04:48 AM

You see this same thing on everyone elses forums.. But I can not find it.. Used to say "New Post: xxx" and when i upgraded to 3.6.8 from 3.5.4 i can not figure out how it was orginaly done.

--------------- Added [DATE]1203663186[/DATE] at [TIME]1203663186[/TIME] ---------------

Found it!

https://vborg.vbsupport.ru/showthrea...ight=New+Posts


All times are GMT. The time now is 12:33 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.01685 seconds
  • Memory Usage 1,709KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete