vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Cyb - Advanced 'New Posts' (https://vborg.vbsupport.ru/showthread.php?t=122995)

Valter 08-03-2006 10:00 PM

Cyb - Advanced 'New Posts'
 
vB 3.7 VERSION HERE:
https://vborg.vbsupport.ru/showthread.php?t=177930


======

Info:
This hack will show how many new posts/threads have been posted on forums since user last visit. "New Posts" in navbar menu will be replaced by "New Posts: x (In y Threads)". Optionally you can enable and configure Smart Search Menu to give users ability to search only wanted forums. See screenshots...


Installation:
Import product XML: AdminCP > Plugin System > Manage Products > [Add/Import Product]


To set options:
Go to: AdminCP > vBulletin Options > Cyb - Advanced 'New Posts'


Versions:
v1.0 - Apr 29. 2006.
-First Release
v1.5 - Jun 25. 2006.
-Added - advanced searching of new posts (see screenshots)
-Improved codes (recommended to upgrade because of this)
v1.6 - Jun 26. 2006.
-Advanced searching of new posts splitted into two menu items
v1.7 - Jun 28. 2006.
-Changed the way of showing new posts info. Now we have flexible phrase depending on number of new posts/updated threads.
New Posts: 0
New Posts: 1
New Posts: 2 (In One Thread)
New Posts: 3 (In 2 Threads)
-Added links to used phrases on hack options page so you can easily find and change/translate them.
v1.8 - Aug 04. 2006.
-Release of this hack for vB v3.6
v1.9 - Sep 28. 2006.
-Added Product Version Checking
-Fixed links to phrases in ACP (used to easily customize phrases)
-Added option to change text color
-Fixed bug ("Advanced New Posts Search Menu" not centered between other items in navbar menu)
-Hack name changed to "Cyb - Advanced 'New Posts'"
NOTE: Before upgrading save somewhere content of "Menu Items" field to restore it after upgrade. It will be removed during upgrade process.
v2.0 - Jul 31. 2007.
-Added "No New Posts" to show when there is no new posts after user last visit
-Smart Search Menu (SSM) improved (no more need to write lines of code, just put forum IDs in setting field)
-SSM automatically hidden when there is no new posts
-A lot of improvements and optimization done, including:
*two templates removed
*improved integration with different styles (to avoid manual template edits)


Mark as installed to get support and updates.


Cybernetec

Snatch 08-08-2006 06:48 AM

Great Hack, but one thing. Is it possible to make it, that the hack shows me also only new threads ?

GreeTz
Snatch

wizardan 08-16-2006 03:11 PM

I desperatly need to change the font color of the links in the Navbar.
I tried the tricks you gave me for the 3.5.4 version, in Phrases.
My changes won't stick.

noel_leon 08-25-2006 10:54 PM

Awesome, just what I like. Thanks for making this public.

edit: I just noticed that the numbers are gone when viewing the forum from my vbadvanced index. Got any ideas on how to fix that?

Ninth Dimension 08-25-2006 11:52 PM

I like the idea of this hack, but it doesn't work with the template I've got installed. The navbar has been moved into the header template, which is fair enough, I was able to find the required code and change it, but upon doing it, the table got all screwed up (and the text was a diffrent colour).

SCRIPT3R 09-12-2006 07:48 PM

any chance of putting this into the member block rather then the navbar; similar to PaulM's hack here?

Valter 09-12-2006 09:15 PM

Quote:

Originally Posted by GearTripper
any chance of putting this into the member block rather then the navbar; similar to PaulM's hack here?

Yes, use Paul's hack.

SCRIPT3R 09-12-2006 09:36 PM

well, they're way different - guess i'll write my own merging both of yours.

Gaia 09-15-2006 12:47 PM

Hi, i'm trying to install this on vB 3.6.1 and when i try to import it as a product it says that it is a plugin and that i should use the plugin manager to upload. So i went to Upload/download plugin, uploaded it, and nothing happened.

Fenriz 09-21-2006 04:04 AM

Thank you! It is a long-awaiting hack for me!
One question - I have a big space between the "New Posts In" item and the next item. How could I reduce this space? Thank you.


All times are GMT. The time now is 08:25 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.01016 seconds
  • Memory Usage 1,739KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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