vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Display count of unread posts in welcome box (https://vborg.vbsupport.ru/showthread.php?t=96522)

mkdevo 01-15-2006 12:46 PM

wow.. i didn't even know about the db-based newposts until i came across this hack! very cool.

SCRIPT3R 01-16-2006 09:35 PM

ugh... would like to use, but i'm trying to reduce processor activity and don't use the database marking system.

ChErAbOo 01-17-2006 01:32 AM

Nice addon Thanks worked perfect even with my custom templates

*clicks Install

docvader 01-17-2006 06:02 PM

Paul
I need to change the code on this, to "hardwire it", because it won't link to the new posts area when I'm in certain pages (ie, in some of my vbadvanced pages, which, by default, include my header. (eg: http://www.russbo.org/index.php?page=staff& )

I've looked in navbar, and header, but I can't find where you coded this.

rich

EDIT: fixed it. Found it in the plug ins, and just modified the call to search.php

Paul M 01-17-2006 06:33 PM

Yeah, just change the href in the code. :)

ryuji 01-18-2006 03:21 AM

if your other hack works fine, is there any reason to run this one instead?

Paul M 01-18-2006 03:43 AM

Quote:

Originally Posted by ryuji
if your other hack works fine, is there any reason to run this one instead?

That rather depends on what the "other one" is :)

ryuji 01-18-2006 09:26 AM

<a href="https://vborg.vbsupport.ru/showthread.php?t=91146" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=91146</a>

mkdevo 01-18-2006 09:51 AM

Quote:

Originally Posted by jmacieira
Hi Paul

All is OK

But only in forum

I have installade Photopost, and when I move to /forum/photopost this hack dont work for me :disappointed:

this was actually just answered...

AdminCP > Plugin System > Plugin Manager > Display Unread Posts > Edit:

Find (2x):

HTML Code:

<a href='search.php?do=getnew'>
Replace with:

HTML Code:

<a href='http://www.YOURSITENAME.com/forum/search.php?do=getnew'>
^^ if your forum dir isn't /forum, make sure you change that to whatever it is...

Paul M 01-18-2006 06:03 PM

Quote:

Originally Posted by ryuji
if your other hack works fine, is there any reason to run this one instead?

This one shows unread posts (only), the other one shows new posts (read or unread) and also new reputation comments. It's up to you which you want, there is no reason to change unless you (a) want unread posts and (b) don't want new rep comments.


All times are GMT. The time now is 08:46 PM.

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.01598 seconds
  • Memory Usage 1,736KB
  • 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
  • (2)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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