Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Cyb - Advanced 'New Posts' Details »»
Cyb - Advanced 'New Posts'
Version: 2.0, by Valter Valter is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.8 Rating:
Released: 08-03-2006 Last Update: 07-30-2007 Installs: 159
Uses Plugins Template Edits
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 08-14-2007, 01:03 PM
PlymWS PlymWS is offline
 
Join Date: Mar 2006
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have over 100 forums that I would like indexing. Instead of the laborious task of entering every forum id seperately is there any way I can get this hack to monitor every forum on the board ?
Reply With Quote
  #43  
Old 08-14-2007, 04:59 PM
BuRaCh BuRaCh is offline
 
Join Date: Aug 2006
Location: istanbul/turkey
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very good mod
thanks..
Reply With Quote
  #44  
Old 11-03-2007, 10:53 AM
albibak's Avatar
albibak albibak is offline
 
Join Date: Feb 2003
Location: Paris (France)
Posts: 302
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello Cybernetec,
I have some problem with this hack.

When I click on the link who indicate new post, it's work, but when I read a new post, and I come back to the forumhome, I allways have the same number as new posts...

Second thing:
I write a post on a thread, so 1 new post in 1 thread.
I write a soncd post in a second thread, so 2 new posts in 2 threads
This is OK.
But when I write an other post in the second thread, I have, 3 news posts in 3 threads... (but that shlud be 2 threads...)

For information:
I install the version 2.0 on vb 3.6.8, in a local mode.
The only hack installed is ibProArcade...
Reply With Quote
  #45  
Old 11-03-2007, 12:30 PM
albibak's Avatar
albibak albibak is offline
 
Join Date: Feb 2003
Location: Paris (France)
Posts: 302
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Find in attachement the french translation of this hack.
Just import the original product, then, import the french langage file.
Reply With Quote
  #46  
Old 11-04-2007, 01:53 AM
o0Hubba0o's Avatar
o0Hubba0o o0Hubba0o is offline
 
Join Date: Mar 2005
Location: Minnesota
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok this wasn't showing up for me in my skin, so I switched to default and it was working. Then I realized I have my new posts in the top nav mod, so new posts aren't in the navbar template. And just adding $cyb_anp doesn't work. So what do I need to edit to get it to show up in a different template than the navbar?
Reply With Quote
  #47  
Old 12-17-2007, 03:26 AM
357Magnum 357Magnum is offline
 
Join Date: Jun 2007
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok so i installed this and it deleted the "New Posts" button off my NavBar...without adding in the new one...

prolly should saved the code for the navbar but a little late now...

help?
Reply With Quote
  #48  
Old 12-27-2007, 12:48 AM
ajmboy ajmboy is offline
 
Join Date: Aug 2006
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by albibak View Post
Hello Cybernetec,
I have some problem with this hack.

When I click on the link who indicate new post, it's work, but when I read a new post, and I come back to the forumhome, I allways have the same number as new posts...

Second thing:
I write a post on a thread, so 1 new post in 1 thread.
I write a soncd post in a second thread, so 2 new posts in 2 threads
This is OK.
But when I write an other post in the second thread, I have, 3 news posts in 3 threads... (but that shlud be 2 threads...)

For information:
I install the version 2.0 on vb 3.6.8, in a local mode.
The only hack installed is ibProArcade...
Same here...if I read it, should it not take it off the count?
Reply With Quote
  #49  
Old 01-24-2008, 05:48 PM
Kintaro81 Kintaro81 is offline
 
Join Date: Mar 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How about the possibility to hide "New Posts" link and leave visible only "New Posts In" menu?
Ok I can modify the code... but how about a switch on-off in the add-on menu?
...and how about forum permissions? if a user can't view a forum why in the New Post In menu is visible?

thank you
Reply With Quote
  #50  
Old 02-27-2008, 12:51 PM
Elenna Elenna is offline
 
Join Date: Jan 2006
Location: St. Charles, MO
Posts: 422
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by o0Hubba0o View Post
Ok this wasn't showing up for me in my skin, so I switched to default and it was working. Then I realized I have my new posts in the top nav mod, so new posts aren't in the navbar template. And just adding $cyb_anp doesn't work. So what do I need to edit to get it to show up in a different template than the navbar?
EDIT: I found where to fix this.

In the "Cyb - Advanced 'New Posts' - MN" plugin, find the following (notice the two templates I've highlighted in red):

Quote:
eval('$cyb_anp = "' . fetch_template('cyb_advancednewposts') . '";');
$vbulletin->templatecache['navbar'] = str_replace('$vbphrase[new_posts_nav]</a></td>','$vbphrase[new_posts_nav]</a></td>'.$vbulletin->templatecache['cyb_advancednewposts'],$vbulletin->templatecache['navbar']);
Change those two red templates to the one that your naviation links are in (i.e. header).

If you have also modified your header to not use tables, you may need to look at the blue code to make sure that it matches the same code that you are using in your template. I had to remove the "</td>" to get it to work for me.
Reply With Quote
  #51  
Old 03-21-2008, 06:03 AM
myown myown is offline
 
Join Date: Jan 2007
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it working for vb 3.7 RC1
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02: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.10342 seconds
  • Memory Usage 2,306KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete