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)

Rickie3 11-15-2005 08:23 AM

clicks *install* yet another great hack Paul M thankyou

Paul M 11-15-2005 08:35 AM

Quote:

Originally Posted by vtx1800
I installed in my board, 3.5.1, nothing showed.

Tried both settings of yes and no in the ACP, nothing. :(

Do you have database thread marking turned on.

Arios 11-15-2005 09:44 PM

Kewl, works exactily how you say Paul

*installed*

Dennis B 12-01-2005 08:21 PM

Paul,

Thanks for another great hack. :)

If I may just comment on a more philosophical point, while I understand this might cut off a lot of questions, I believe leaving the positioning of the hack results up to the final admin is a better idea than integrating everything in the xml. Just my humble opinion. And thanks again. :)

tamborinegal 12-02-2005 02:24 AM

Thanks Paul, just what I was looking for. Installed.

Clancy

RaceJunkie 12-14-2005 02:04 AM

Quote:

Originally Posted by Huijting
Fixed it , hope U don't mind , made a minor change :

Changed
<a href='search.php?do=getnew'>
to
<a href='http://www.huijting.nl/vbul/search.php?do=getnew'>

Rob

I have replaced all search.php with

http://www.localracechat.com/forums/search.php? in the navbar. and still can't get my portal to point to it. where exactly did you make this edit?

Paul M 12-14-2005 02:43 AM

He edited the plugin code.

RaceJunkie 12-14-2005 10:56 AM

Quote:

Originally Posted by Paul M
He edited the plugin code.

Oh, ok thanks

Working now..

Mastar 12-14-2005 01:22 PM

where is the setting in the ACP?

RaceJunkie 12-14-2005 01:26 PM

Quote:

Originally Posted by Mastar
where is the setting in the ACP?


Read Pauls post again..


Quote:

In fact this hack gives you two options (with a new setting in the vBulletin Options > General Settings). If set to yes, it will only count the unread posts since your last visit, if set to no it will count all posts considered unread. This setting reflects the divider in the GetNew display.

firstrebel 12-19-2005 06:47 PM

Just moved from DCForum to vB 3.5.2, should have done it a long time ago. Great collection of hacks, and just installed this one. Thanks.

Bob

TurboLaserAWD 12-20-2005 04:31 AM

I'm partial to the inactivity/cookie based system but I really like the "posts since last visit" number. I used to have the same thing in phpbb and my members loved. Is there a way to just get that number and nothing else? I don't need the more accurate marking system and what not, I just want to put the number up there.

Paul M 12-20-2005 04:56 AM

Quote:

Originally Posted by TurboLaserAWD
I'm partial to the inactivity/cookie based system but I really like the "posts since last visit" number. I used to have the same thing in phpbb and my members loved. Is there a way to just get that number and nothing else? I don't need the more accurate marking system and what not, I just want to put the number up there.

https://vborg.vbsupport.ru/showthrea...threadid=91146

firstrebel 12-20-2005 01:40 PM

Just logged into our forum and the welcome box showed 62 unread messages, but 'New Posts' only came up with 40. Why the difference?

Bob

Paul M 12-20-2005 07:53 PM

What "new posts" ?

firstrebel 12-20-2005 08:05 PM

You will see from the attached that it shows 30 Unread Posts. But after clicking 'New Posts' on the menu bar there are only 21. Or are unread and new posts different?

Bob

Paul M 12-20-2005 08:17 PM

Are you sure that's 21 posts in your result, and not 21 threads ?.

Also, which of these settings do you have ?

Quote:

In fact this hack gives you two options (with a new setting in the vBulletin Options > General Settings). If set to yes, it will only count the unread posts since your last visit, if set to no it will count all posts considered unread. This setting reflects the divider in the GetNew display

firstrebel 12-20-2005 08:31 PM

Display unread posts option is set to 'No'.

Posts or threads? This is confusing, as the welcome box shows 30 unread *posts* and clicking on the 'New Posts' link shows 21, presumably *posts*.

Bob

Paul M 12-20-2005 08:53 PM

Quote:

Originally Posted by firstrebel
Posts or threads? This is confusing, as the welcome box shows 30 unread *posts* and clicking on the 'New Posts' link shows 21, presumably *posts*.

No, 21 would normally be the number of threads listed.

utw-Mephisto 12-20-2005 10:43 PM

Is it possible to make it work with : https://vborg.vbsupport.ru/showthread.php?t=91025
??

Paul M 12-20-2005 10:52 PM

Are you going to ask the same question in all my threads ?

utw-Mephisto 12-20-2005 10:57 PM

Not on purpose, I had both as favorites (since those plugins are similiar) and I thought I have not saved correctly since I couldn't find my post anymore ...

I deleted the other one ..

Danny Diamond 01-02-2006 02:32 PM

Works fine. Although I had to go through a couple of pages of peoples replies to get all the proper info.

But thanks. I love these hacks.

docvader 01-12-2006 06:06 PM

Paul, great hack, as usual. And this has nothing to do with your work, but I'll ask anyway. In that same "Get New" box that this adds to, I have
Quote:

New activity: threads and posts.
that doesn't update, or, do anything for that matter.

Can't find the template that describes that. Any suggestions?
Thanks
rich

Paul M 01-12-2006 06:33 PM

I assume that's some other hack you have installed, the instructions for that hack should tell you. :)

docvader 01-12-2006 11:05 PM

Quote:

Originally Posted by Paul M
I assume that's some other hack you have installed, the instructions for that hack should tell you. :)

What template is this that we're dealing with? I have to get into it, so that the html direct works outside the forum (in my vbadvanced)
Thanks!
rich

da420 01-12-2006 11:25 PM

What exactly is the difference between the Inactivity/Cookies Based, Database (no automatic forum marking), and Database (automatic forum marking)?

and which one would be best to enable for this hack?

jmacieira 01-13-2006 11:35 PM

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:

Paul M 01-14-2006 01:29 AM

Sorry, but since Photopost is a 3rd party application there is nothing I can do about that.

MustangLisa 01-15-2006 05:26 AM

Cool, thanks.

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:16 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.01638 seconds
  • Memory Usage 1,818KB
  • 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
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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