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)

PlymWS 08-14-2007 01:03 PM

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 ?

BuRaCh 08-14-2007 04:59 PM

very good mod
thanks..

albibak 11-03-2007 10:53 AM

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...

albibak 11-03-2007 12:30 PM

Find in attachement the french translation of this hack.
Just import the original product, then, import the french langage file.

o0Hubba0o 11-04-2007 01:53 AM

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?

357Magnum 12-17-2007 03:26 AM

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? :)

ajmboy 12-27-2007 12:48 AM

Quote:

Originally Posted by albibak (Post 1374749)
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?

Kintaro81 01-24-2008 05:48 PM

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 ;)

Elenna 02-27-2008 12:51 PM

Quote:

Originally Posted by o0Hubba0o (Post 1375301)
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.

myown 03-21-2008 06:03 AM

Is it working for vb 3.7 RC1


All times are GMT. The time now is 08:06 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.01139 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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