vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Unread Posts and Reputation Comments (welcome box) (https://vborg.vbsupport.ru/showthread.php?t=123886)

Silver_2000_)! 12-29-2006 01:35 AM

Great mod

Can you offer suggestion on how to get it to work with VBAcmps ?
http://www.vbadvanced.com/products.p...roductinfo&p=4

The link shows up in the cmps but the link doesnt work since its in a different folder

Thanks in advance

Paul M 12-29-2006 02:35 AM

Edit the unread posts phrase and change the link from search.php?do=getnew to /forumpath/search.php?do=getnew

Silver_2000_)! 12-29-2006 03:17 AM

Quote:

Originally Posted by Paul M (Post 1146722)
Edit the unread posts phrase and change the link from search.php?do=getnew to /forumpath/search.php?do=getnew

You rock !!

I knew it would be easy - just didnt know where to look

THANKS
Doug

Brew 01-02-2007 05:13 PM

Thanks for this great hack PaulM!

I was using this hack and it stopped working.

It seems that it's not compatible with Plugin Based Template Cache:

https://vborg.vbsupport.ru/showthread.php?t=121876

After the template cache was installed your hack stopped working :(

I'll be posting to the template cache thread about this problem too.

Thanks for your help!

Smoothie 01-02-2007 11:53 PM

Hey Paul, I know your talented, is there a slim possibility to get this mod to work with this:
https://vborg.vbsupport.ru/showthrea...nicer+greeting

In a nutshell instead of saying:

Quote:

Welcome, Admin.
You Have 157 Unread Posts
this other mod combined with this mod would show this(depending on the time of day):

Quote:

Good morning/afternoon/evening, Admin.
You Have 157 Unread Posts

Paul M 01-02-2007 11:58 PM

In the plugin, change

PHP Code:

    $search_text '</strong><br />'

to
PHP Code:

    $search_text '$ng_greeting<br />'

and it should work.

Smoothie 01-03-2007 12:14 AM

Quote:

Originally Posted by Paul M (Post 1149513)
In the plugin, change

PHP Code:

    $search_text '</strong><br />'

to
PHP Code:

    $search_text '$ng_greeting<br />'

and it should work.

I'll give it a shot. Thanks.

Smoothie 01-03-2007 12:19 AM

Quote:

Originally Posted by Paul M (Post 1149513)
In the plugin, change

PHP Code:

    $search_text '</strong><br />'

to
PHP Code:

    $search_text '$ng_greeting<br />'

and it should work.

Didn't work, it reverted back to the standard greeting:
Quote:

Welcome, Admin.
You last visited: Today at 08:58 PM

Paul M 01-03-2007 05:27 AM

Assuming you had edited your navbar as per the other hacks instructions then I can't see why it wouldn't. There is nothing else I can tell you.

Smoothie 01-03-2007 08:47 AM

Quote:

Originally Posted by Paul M (Post 1149685)
Assuming you had edited your navbar as per the other hacks instructions then I can't see why it wouldn't. There is nothing else I can tell you.

ah, I just changed the plugin, I leftout the NB edit. Will try again.


All times are GMT. The time now is 11:40 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.01504 seconds
  • Memory Usage 1,748KB
  • 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
  • (6)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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