PDA

View Full Version : Miscellaneous Hacks - Unread Posts and Reputation Comments (welcome box)


Pages : [1] 2 3

Paul M
08-13-2006, 10:00 PM
This modification is no longer available or supported.

Note: The unread posts portion of this hack only works if you use the database thread marking system.

This will display the actual number of posts that are still considered unread by you (and will show up in a 'getnew' search).

Versions 1.22+ also display the number of new reputation comments since you last checked your usercp.

There is the option to count the unread posts since your last visit, or all posts considered unread. This setting reflects the divider in the 'getnew' search display. There is also the option to disable the unread posts display or the new reputation comments display.

All settings are located in vBulletin Options > Display Unread Posts and Reputation.

To install this hack unzip the xml file and import it using the ACP Product Manager.


History:

v1.11 : First Release for vb 3.6 - various changes.
v1.12 : Updated for Version Checking.
v1.13 : Phrases Updated.
v1.14 : Dependancies updated, URL's updated.
v1.15 : Minor phrasing changes.
v1.16 : Changes to the way displayed messages are built.
v1.17 : SQL Changes to use slave.
v1.18 : Fixed broken Index creation (on install).
v1.19 : Modified slightly to exclude moderated or soft deleted posts (unless moderator).
v1.20 : Duplicate line of code removed.
v1.21 : ATCS and disable options added.
v1.22 : New reputation comments added. ATCS removed as now unnecessary.
v1.23 : Bug fixes. Added links prefix setting.
v1.24 : Fix reputation comments not being marked as read.
v1.25 : Permission check updated to include 'canviewthreads'.

nix
08-14-2006, 01:41 AM
Thanks for the update. I was using the 3.5 version but its nice to have the official 3.6 one.

Roxie
08-14-2006, 01:44 AM
Thanks!

Phaedrus
08-14-2006, 01:53 AM
Okay, I loaded it, it shows up in my Products, but I have nothing about unread posts in the welcome box... What have I done wrong?

Roxie
08-14-2006, 01:55 AM
I have the same issue. I actually went back to see if I needed to edit any templates. O_o

nix
08-14-2006, 02:08 AM
Working fine here. Just unistalled the old one and installed the new one. Didn't need to do any edits or settings.

Phaedrus
08-14-2006, 02:13 AM
I didn't have an old version. This is the first version I ever loaded...

I even see the two options in my CP as it stated I would. Just nothing in the welcome box.

Phaedrus
08-14-2006, 02:33 AM
I uninstalled it now. I have it to try again later, but if it isn't working there is no real reason to keep it loaded...

Phaedrus
08-14-2006, 02:40 AM
Okay, I figured out why it wasn't working, have reloaded it and it is working...

In ACP -> vBulletin options -> General Settings -> Thread/Forum Read Marking type... You need to select one of the Database options or it won't work....

pauloo
08-14-2006, 06:23 AM
Thank you Paul

wii
08-14-2006, 08:47 AM
Can this be modified to show in the header between calendar and seach, like this:

Calendar - New Posts (45) - Search

45 is just an example, this would be post count.

Thanks

Virtex-II
08-14-2006, 10:18 AM
It works fine for me but I would prefer to place it below the "You last visited" string. How can it be done?

Yanay
08-14-2006, 11:33 AM
Good hack Thanks

LoneWolfStudios
08-14-2006, 11:41 AM
is a good mod, would be very helpful if i could get it to work...

The following dependencies were not met:

1. This product is not compatible with version 3.6.0 Release Candidate 3 of vBulletin. (Compatible starting with 3.6.0)

can i get around this?

Paul M
08-14-2006, 12:58 PM
can i get around this?Yes, upgrade to the full version of 3.6, you should not be running an RC version.

Paul M
08-14-2006, 01:00 PM
Okay, I figured out why it wasn't working, have reloaded it and it is working...

In ACP -> vBulletin options -> General Settings -> Thread/Forum Read Marking type... You need to select one of the Database options or it won't work....
Hence the first line of the hack ;

Note: This hack only works if you use the database thread marking system.:)

Phaedrus
08-14-2006, 01:20 PM
Hence the first line of the hack ;

:)

Yeah, yeah, yeah... Hence my post about my own foolishness...

:D

Roxie
08-14-2006, 01:24 PM
Looking forward to the new reps link. :D :D
Works great after I changed the database thread marking. I must be getting quite old because my eyes totally missed that tiny note.

Thanks!

Paul M
08-14-2006, 02:45 PM
OK, I made it bigger. :p

Smoothie
08-14-2006, 04:12 PM
Good one, installed

HMBeaty
08-15-2006, 01:00 AM
How can we move the text to a different place? I'd prefer it under the "Private Messages: Unread/Total"

Luke Brown256
08-15-2006, 01:35 AM
Brilliant mod, i used it on 3.5 and will use it on 3.6 so handy , although i do hate coming back online and seeing something like 4578 unread posts ;P

Paul M
08-15-2006, 01:55 AM
How can we move the text to a different place? I'd prefer it under the "Private Messages: Unread/Total"There is no option to move it.

HMBeaty
08-15-2006, 02:38 AM
There is no option to move it.
I know there isn't......which is why I was asking how would I go about moving it to another location? obviously the code has to modified but I have no experience with product modification.

Paul M
08-15-2006, 03:06 AM
You would have to edit the plugin to disable the auto template update of the navbar, and then manually edit your navbar to put $unread where you want it.

Harry72
08-15-2006, 06:57 AM
Thx Paul - very useful. :rolleyes:

bubba01
08-15-2006, 09:47 AM
great hack big thx form me :)

Muellmann
08-15-2006, 10:13 AM
It works fine for me but I would prefer to place it below the "You last visited" string. How can it be done?

Go into the XML-File and replace

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

with

$search_text = '\$vbphrase[last_visited_x_at_y]</phrase>';

Then replace

$unread = construct_phrase('<a href=\"search.php?do=getnew\">'.$vbphrase['unread_posts'].'</a><br />',$postcount['unread']);

with

$unread = construct_phrase('<br /><a href=\"search.php?do=getnew\">'.$vbphrase['unread_posts'].'</a><br />',$postcount['unread']);

If I understood the Code correctly it should work fine for you!

Muellmann
08-15-2006, 11:12 AM
Can this be modified to show in the header between calendar and seach, like this:

Calendar - New Posts (45) - Search

45 is just an example, this would be post count.

Thanks

I agree, that it would be good, and so I did it and tested it for you :laugh:
Step 1: Open Paul's XML-File with Notepad
Step 2:

Search for:

$vbulletin->templatecache['navbar'] = str_replace($search_text,$search_text.$unread,$vbu lletin->templatecache['navbar']);

Below add these four Lines:

$vbulletin->templatecache['navbar'] = str_replace("\$vbphrase[new_posts_nav]</a>","\$vbphrase[new_posts_nav] (".$postcount['unread'].")</a>",$vbulletin->templatecache['navbar']);
$vbulletin->templatecache['navbar'] = str_replace("\$vbphrase[new_posts_nav]</a>","\$vbphrase[new_posts_nav] (".$postcount['unread'].")</a>",$vbulletin->templatecache['navbar']);
$vbulletin->templatecache['navbar'] = str_replace("\$vbphrase[todays_posts]</a>","\$vbphrase[todays_posts] (".$postcount['unread'].")</a>",$vbulletin->templatecache['navbar']);
$vbulletin->templatecache['navbar'] = str_replace("\$vbphrase[todays_posts]</a>","\$vbphrase[todays_posts] (".$postcount['unread'].")</a>",$vbulletin->templatecache['navbar']);

Step 3: Re-Import the XML (allow overwrite=Yes) - Yep you're done! :cool:
And don't forget to refresh your Browser :p

Muellmann
08-15-2006, 11:31 AM
How can we move the text to a different place? I'd prefer it under the "Private Messages: Unread/Total"

Customize just the default Searchtext for proper Replacement

Find this in Paul's XML-Product-File:
$search_text = '</strong><br />';

Replace with:
$search_text = '\$vbphrase[private_messages_nav]</phrase></if>';

Find this:
$unread = construct_phrase('<a href=\"search.php?do=getnew\">'.$vbphrase['unread_posts'].'</a><br />',$postcount['unread']);

Replace with (just to ensure to have it in the new Line):
$unread = construct_phrase('<br /><a href=\"search.php?do=getnew\">'.$vbphrase['unread_posts'].'</a><br />',$postcount['unread']);

It should normally work (untested)!
Save with Notepad - Re-Import Hack, Allow overwrite 'yes', refresh Browser :)

Ivander
08-15-2006, 02:38 PM
Can someone explain how i can add IP Data for User X ?

Example:

Welcome Paul (xx.xx.xx.xx)

Xx= Current IP of Paul


*excuse my bad English :(

Paul M
08-15-2006, 05:28 PM
Can someone explain how i can add IP Data for User X ?

Welcome Paul (xx.xx.xx.xx)

Xx= Current IP of Paul

Set the option to 'Yes' in the settings.

Paul M
08-15-2006, 05:33 PM
Go into the XML-File and replace

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

with

$search_text = '\$vbphrase[last_visited_x_at_y]</phrase>';

This won't work, the template cache is not the same as the template itself - it is actually php code, you cannot search for vb template specific stuff like <if> and <phrase>.

Ivander
08-15-2006, 07:06 PM
@Paul

Can you also add more info.Example

Number of unread Post: (already done)
new feature

- X new Post and y new Threads after your Last Visit

louis_chypher
08-15-2006, 07:16 PM
I changed to location of where the link shows up by putting "<!-- Paul M, unread Post Count -->' at the template location I want the mod to be displayed.
then I changed the search text to: $search_text = '<!-- Paul M, unread Post Count -->';

I also properly edited the line $unread = construct_phrase('<a href=\"search.php?do=getnew\">'.$vbphrase['unread_posts'].'</a><br />',$postcount['unread']); to reflect the proper html requirements of the selected location.

(The above only represents an example the changes of that I did to change the location of this modifications displayed info)

I can see why the author would not be supportive of moving the location due to the rather large possibilities of HTML combinations that exist in the templates.

This mod should be part of vB. Of all the mods that I've added to the site this mod ranks up there with the journal as the most praised and its only been on the site for a day. Thanks!

Ivander
08-15-2006, 07:36 PM
Set the option to 'Yes' in the settings.

Wrong Post ?

I am searching for a IP Solution after the Username ;)

Virtex-II
08-15-2006, 08:48 PM
I changed to location of where the link shows up by putting "<!-- Paul M, unread Post Count -->' at the template location I want the mod to be displayed.
then I changed the search text to: $search_text = '<!-- Paul M, unread Post Count -->';

I also properly edited the line $unread = construct_phrase('<a href=\"search.php?do=getnew\">'.$vbphrase['unread_posts'].'</a><br />',$postcount['unread']); to reflect the proper html requirements of the selected location.

(The above only represents an example the changes of that I did to change the location of this modifications displayed info)

I can see why the author would not be supportive of moving the location due to the rather large possibilities of HTML combinations that exist in the templates.

This mod should be part of vB. Of all the mods that I've added to the site this mod ranks up there with the journal as the most praised and its only been on the site for a day. Thanks!


That was my solution too, plus I changed it a little bit more to make it look like the "Private Messages" line!!!

Paul M
08-15-2006, 10:03 PM
Wrong Post ?

I am searching for a IP Solution after the Username ;)Sorry, yes, wrong mod. What you want is not related to this modification and you need to start a seperate thread.

HMBeaty
08-16-2006, 02:54 AM
Customize just the default Searchtext for proper Replacement

Find this in Paul's XML-Product-File:
$search_text = '</strong><br />';

Replace with:
$search_text = '\$vbphrase[private_messages_nav]</phrase></if>';

Find this:
$unread = construct_phrase('<a href=\"search.php?do=getnew\">'.$vbphrase['unread_posts'].'</a><br />',$postcount['unread']);

Replace with (just to ensure to have it in the new Line):
$unread = construct_phrase('<br /><a href=\"search.php?do=getnew\">'.$vbphrase['unread_posts'].'</a><br />',$postcount['unread']);

It should normally work (untested)!
Save with Notepad - Re-Import Hack, Allow overwrite 'yes', refresh Browser :)

THANK YOU!!! At least YOU read and totally understood my post

HMBeaty
08-16-2006, 03:05 AM
And it didn't work :(

Paul M
08-16-2006, 03:47 AM
And it didn't work :(You needed to read on a bit to post 33.

This won't work, the template cache is not the same as the template itself - it is actually php code, you cannot search for vb template specific stuff like <if> and <phrase>.

GrendelKhan{TSU
08-28-2006, 01:41 PM
anyway to EXCLUDE certain threads or forums from the count?

eg: I don't RSS feeds showing up on this as it turns out to be new thread/information overload and drowns out 'legitimate' new posts.

Paul M
08-28-2006, 07:33 PM
Nope, there is no such facility.

SCRIPT3R
09-11-2006, 08:21 PM
possible to have flexible phrases depending on number of new posts/updated threads (similar to this hack (https://vborg.vbsupport.ru/showthread.php?t=122995))?


Number of Unread Posts: 0
Number of Unread Posts: 1
Number of Unread Posts: 2 (In One Thread)
Number of Unread Posts: 3 (In Two Threads)

Paul M
09-11-2006, 10:37 PM
Sorry, there are no plans to add anything to this, as it's not something I use myself.

cjwinternet
09-16-2006, 09:44 PM
installed and working OK, but it doesn't look as good as the 3.5 version.

R1lover
09-17-2006, 03:31 AM
Nice Hack........ Thanks

DPSR
09-17-2006, 01:33 PM
Thanks buddy, i will install it on my vb3.6.1 :D:D

BUT

I want to add the line 'Number of unread posts:' somewhere else...is this possible??

Paul M
09-17-2006, 01:57 PM
Only by modifying the plugin.

DPSR
09-17-2006, 03:49 PM
can you please guide me a little bit?

markblair
09-18-2006, 02:59 AM
I installed the modification just as it was listed here but it isn't working. I have Database (automatic forum marking) enabled and I chose 'No' for the Display Unread Posts Option so it would show all posts. However, nothing changed when viewing the main page of my forum (http://www.userintervention.com/). Any help is greatly appreciated as this sounds like a nice hack to add. :) Thanks!

Paul M
09-18-2006, 12:33 PM
You have a custom style, which means the code this looks for in the template may not be there.

markblair
09-19-2006, 03:20 AM
You have a custom style, which means the code this looks for in the template may not be there. Yeah, I was thinking that might be the problem. I added the $unread code to the navbar template and it showed the information but of course it wasn't in the right spot. Is there anywhere I can manually add that code to to get this to work? I was trying to add that code somewhere into the following section of the navbar template: <!-- Aria Container -->
<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="collapseobj_navbar" style="$vbcollapse[collapseobj_navbar]">
<tr>
<td class="alt1" width="<if condition="in_array(THIS_SCRIPT, array(index))"><if condition="$show['member']">57<else />100%</if><else />100%</if>">

<if condition="in_array(THIS_SCRIPT, array(index))">
<if condition="$show['member']">
<!-- Aria Forumhome Panel -->

Paul M
09-19-2006, 11:11 AM
There is not enough there to go on.

In the standard navbar, there is this section of code ;

<if condition="$show['member']">

<td class="alt2" valign="top" nowrap="nowrap">
<div class="smallfont">
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
</div>
</td>This looks for the highlighted bit and inserts the unread display after it.

markblair
09-20-2006, 04:57 AM
I think I got it. I looked for the last part of that code $vbphrase[private_messages_nav]</phrase></if> and just added the $unread command after that. The only issue now is that the link the unread line goes to is wrong. It is pointing to the following which displays a "Page cannot be displayed" error due to the incorrect \ marks in the URL.

http://www.userintervention.com/\"search.php?do=getnew\"

Paul M
09-20-2006, 05:16 AM
$unread is not designed to go direct in the template, you will need to edit the plugin to remove the backslashes.

markblair
09-20-2006, 05:25 AM
Hey, thanks for the information. I did as you suggested and it is now working. Thanks again!

Masiello
09-20-2006, 06:46 AM
Click "INSTALL"
Thank you.

P.S. Works great on vB 3.6.1

Just a question, how do I take the same look like "Messaggi non letti" without the 0 Underline like the snapshoot?

Paul M
09-20-2006, 07:18 AM
You can't (without rewriting it slightly).

Masiello
09-21-2006, 05:03 AM
You can't (without rewriting it slightly).

Ok :( Thx

ForumDog
09-21-2006, 02:45 PM
Is there a reason that the hyperlink used in the mod's new posts link doesn't include the sessionurl add like the default link for new posts search does?

Paul M
09-21-2006, 04:10 PM
Because I never added it, and in two years, no one has ever complained. :)

I've never actually come across anyone who doesn't use cookies.

ForumDog
09-21-2006, 04:20 PM
Nope, me neither. Can't do any harm in a particularly non-essential way though. :)

Paul M
09-21-2006, 04:33 PM
Well i've added it to the todo list, so it will get done at some point in the future.

Paul M
09-23-2006, 07:54 AM
In fact, phrases altered to make them more flexible, also changed them to be more like previous versions.

Smoothie
09-23-2006, 10:24 PM
In fact, phrases altered to make them more flexible, also changed them to be more like previous versions.what exactly is different in this version than the previous one?

Paul M
09-23-2006, 10:38 PM
The displayed messages.

Masiello
09-24-2006, 06:26 AM
Thanks Paul

Hey Paul, I've translated the phrase like that:

<strong>{1} <a href="search.php?do=getnew">Messaggi da leggere{2}</a></strong> dalla tua ultima visita.

But the message show with the "s" at the end of the "leggere" it show "leggeres", how to fix?

I believe the issue is inside this code:

$plural = 's';
if ($postcount['unread'] == 1) $plural = '';

if ($vbulletin->options['unreadlv'])
{
$unread = addslashes(construct_phrase($vbphrase['unread_posts_visit'],$postcount['unread'],$plural)).'<br />';
}
else
{
$unread = addslashes(construct_phrase($vbphrase['unread_posts'],$postcount['unread'],$plural)).'<br />';
}


How to fix it with the word "Messaggi" if is plural, if not is "Messaggio"

Below is the snapshot

ForumDog
09-24-2006, 08:55 AM
For some reason this mod doesn't show the unread count for me on SHOWTHREAD - and only that template as far as I can tell - running 3.6.1.

I tried disabling all other plugins, changing the execution order, minutely examining my templates, could find no obvious cause or make any difference. It's a heavily customised forum so I can't really say for sure it's not something I've done that's breaking it but the reason I mention it as an FYI is because the 3.5 version of this plugin does not have the same issue, works perfectly.

Paul M
09-24-2006, 10:48 AM
How to fix it with the word "Messaggi" if is plural, if not is "Messaggio"

Below is the snapshotHmm, that bit wasn't really designed with translations in mind, but I think you could do it by changing

$plural = 's';
if ($postcount['unread'] == 1) $plural = '';
to
$plural = '';
if ($postcount['unread'] == 1) $plural = 'o';
and putting Messaggi{2} in the template.

Paul M
09-24-2006, 10:53 AM
For some reason this mod doesn't show the unread count for me on SHOWTHREAD - and only that template as far as I can tell - running 3.6.1.

I tried disabling all other plugins, changing the execution order, minutely examining my templates, could find no obvious cause or make any difference. It's a heavily customised forum so I can't really say for sure it's not something I've done that's breaking it but the reason I mention it as an FYI is because the 3.5 version of this plugin does not have the same issue, works perfectly.
Pass on that.

It uses the navbar template for display, there is no connection with showthread I can think of. There is also very little difference between the core of this and the 3.5 version.

Masiello
09-25-2006, 02:00 PM
Thanks Paul ;) Now I'll try, but I'm sure it works fine how you say ;)

ymy
09-25-2006, 09:10 PM
Click "INSTALL" :rolleyes:

Works great on vB 3.6.0

Thank you.

Phooey
09-27-2006, 02:43 AM
I'd love to have this hack display elsewhere on my forum (in a different template) and read "New Posts: XX".

Can someone help me edit this to do that? My site is www.digitallywise.com and ideally, I'd like it on the left side in the 'Navigation' box.

Thanks!

brvheart
09-27-2006, 05:11 PM
could you add unread threads to this as well?

Paul M
09-27-2006, 08:01 PM
Sorry, that's not likely at the moment, if at all.

brvheart
09-27-2006, 09:09 PM
ok thanks :)

Masiello
10-04-2006, 07:14 PM
Can this works fine with vB 3.6.2?

Paul M
10-04-2006, 09:14 PM
Yes.

emtee
10-05-2006, 07:37 AM
Does this hack use 1 query?

Paul M
10-05-2006, 08:04 AM
Yes.

ABeautifulBrown
10-08-2006, 10:31 PM
I installed it but I don't see it on the board. Am I missing something?

Paul M
10-09-2006, 12:27 AM
I would guess you are using a customised style.

ABeautifulBrown
10-09-2006, 02:01 AM
yea, I'm using the Blaze style. will it not work?

Paul M
10-09-2006, 02:19 AM
Not automatically, the code this looks for in the navbar template is obviously missing. You are going to have to edit the template, or the plugin, or possibly both - no real way to tell as I have no idea what the blaze style looks like.

Spikeman
10-09-2006, 02:50 AM
Works here fine, thanks paul :)

ABeautifulBrown
10-10-2006, 11:08 PM
o ok thanks

Silver_2000_)!
10-12-2006, 03:28 AM
Install went smooth
Seems to work
BUT why is the unread count on the home page different than the number of unread threads that I see when I click the link ?

Doug

attachment should show 11 posts

Paul M
10-12-2006, 03:53 AM
Yes, 11 posts, not 11 threads.

In that picture (which is a bit small) you have 6 threads with 11 unread posts in them.

Martin-TMGRS
10-12-2006, 01:15 PM
I installed it but I don't see it on the board. Am I missing something?
Like yourself, I too have installed this but dont see it on my board :alien:

Paul M
10-12-2006, 09:26 PM
Do you have 'Currently Active Users Viewing This Page' turned on ? I can't see it as a guest.

Canis Firebrand
10-26-2006, 12:37 PM
This is a great hack and one that is very useful. I look forward to an update in which you can edit the phrase that is displayed.

I liked the phrasing in the 3.5.x version over the one used in 3.6.x version.

I tried to look at the mod xml file to see if I could maybe change it easily myself, but was lost as to what to actually change.

Thanks again for the great addition to the vB software.

Paul M
10-26-2006, 06:00 PM
:confused:

As far as I remember, the current version uses phrases identical to the old 3.5 version, are you sure you have 1.13 installed ?

Canis Firebrand
10-26-2006, 06:10 PM
I'm using 1.13. These are the phrases that it put in place.

unread_posts Standard Phrase You Have <strong>{1} <a href="search.php?do=getnew">Unread Post{2}</a></strong>
unread_posts_visit Standard Phrase <strong>{1} <a
href="search.php?do=getnew">Unread Post{2}</a></strong> since your last visit.

What it was doing was showing the phrase like this in the welcome box. It looks like it is always using the phrase unread_posts_visit.

0 Unread posts since last visit.

or

# Unread post(s) since last visit.

I was able to actually fix it.

I downloaded the xml file again from above. Edited it and found the phrase, and added in a "You Have" so that it looked like this


unread_posts_visit Standard Phrase You Have <strong>{1} <a href="search.php?do=getnew">Unread Post{2}</a></strong> since your last visit.

Paul M
10-26-2006, 06:21 PM
The 3.5 version does not have the words "You have" if you use the last visit option, nor does this.

Both versions display either ;

XX Unread Posts since your last visit

or

You Have XX Unread Posts

Depending on whether you use the last visit option.

Canis Firebrand
10-26-2006, 06:25 PM
Maybe I was remembering wrong then. In either case, this is actually a very nice product.

I was just glad I was able to find the spot in the xml file to edit to change the phrasing like I thought I recalled.

If you do update it in the future and add in flexible phrasing that would be great.

But as it is, it does work very nicely.

Thanks again for the product and the replies here to not only myself, but others using this as well.

Paul M
10-26-2006, 06:31 PM
If you do update it in the future and add in flexible phrasing that would be great.I don't understand what you mean ? - the phrase can be changed to whatever you want in the ACP phrase manager - just as any phrase can. That's a standard part of vbulletin. :smoke:

Canis Firebrand
10-26-2006, 06:49 PM
That was the part I missed then. I viewed the phrase in the phrase manager, but I wasn't aware I could change it there. I'm still realitively new to vB.

Paul M
10-26-2006, 07:09 PM
The you have learned something new. :)

Canis Firebrand
10-26-2006, 11:15 PM
Exactly, and I thank you. :)

Though, one last question.

What exactly is the difference between the yes and no option for this setting?

Display Unread Posts Option
Set to 'yes' to use last visit date, 'no' to count all posts marked as unread.

I had it set to yes originally. Then changed my board to no. Now I'm getting reports of my members having hundreds of posts as unread. I'm not so sure I should have changed that option.

I've read that description and the one you posted in the original post for this product. I'm still a little uncertain what each choice does and which is better to use.

Paul M
10-27-2006, 12:26 AM
Pretty much as it says - one displays the count of posts unread since your last visit date. The other counts all unread posts (as determined by the days setting in the database marking settings).

Speechless
11-03-2006, 02:24 PM
very nice, i've installed it and it's working fine, but it appeared on the default vb template only, how can i add it to my customized template navbar ?

Tulsa
11-08-2006, 09:34 AM
It would be really slick if you'd toss in an option for ajax refresh on this hack.

apiasto
11-08-2006, 04:36 PM
thnx , like it

FireFish
11-08-2006, 09:12 PM
Nice Mod; Quick question if anyone could help:

I'm running 3.6.2 & for some reason, it shows up in the Welcome area twice.

Example:
26 Unread Posts since your last visit.

26 Unread Posts since your last visit.

Anything I can do about this?

Paul M
11-08-2006, 11:04 PM
Have you edited you navbar ?

FireFish
11-08-2006, 11:17 PM
Have you edited you navbar ?I PM'd you

BamaStangGuy
11-09-2006, 05:28 PM
I keep getting database errors like this:

<!--
Database error in vBulletin 3.6.2:

Invalid SQL:

SELECT COUNT(post.postid) as unread
FROM post as post
INNER JOIN thread as thread ON (thread.threadid = post.threadid)
LEFT JOIN threadread AS threadread ON (threadread.threadid = thread.threadid AND threadread.userid = 1)
INNER JOIN forum AS forum ON (forum.forumid = thread.forumid)
LEFT JOIN forumread AS forumread ON (forumread.forumid = forum.forumid AND forumread.userid = 1)
WHERE thread.forumid IN(1, 2, 3, 28, 23, 4, 5, 6, 7, 8, 27, 14, 16, 17, 18, 19, 20, 21, 22, 9, 10, 11, 12, 13)
AND thread.sticky IN (0,1) AND thread.visible IN (0,1,2)
AND thread.lastpost &gt; IF(threadread.readtime IS NULL, , threadread.readtime)
AND thread.lastpost &gt; IF(forumread.readtime IS NULL, , forumread.readtime)
AND thread.lastpost &gt;
AND post.dateline &gt; IF(threadread.readtime IS NULL, , threadread.readtime)
AND post.dateline &gt; IF(forumread.readtime IS NULL, , forumread.readtime)
AND post.dateline &gt;;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' threadread.readtime)
AND thread.lastpost &gt; IF(forumread.readtime IS NULL, , ' at line 9
Error Number : 1064
Date : Thursday, November 9th 2006 @ 11:31:48 AM
Script : vBulletin Template Conditionals List - vBulletin Zone
Referrer : (vBSEO Article) List of Commonly Used Template Conditionals - vBulletin-Fans.com
IP Address : 24.214.88.63
Username : Brent
Classname : vB_Database
-->

I was looking through my plugins to see which deal with the threadread.readtime and this one had it.

Any suggestions on what is causing the database error?

The error happens when clicking on a link from another site to a thread on my site.

It doesn't happen everytime

ICY ICE
11-11-2006, 03:58 AM
Paul got it installed in 3.6.2 and works perfectly.

Thanks!

Paul M
11-11-2006, 09:59 AM
I keep getting database errors like this:



I was looking through my plugins to see which deal with the threadread.readtime and this one had it.

Any suggestions on what is causing the database error?

The error happens when clicking on a link from another site to a thread on my site.

It doesn't happen everytime
I have no idea what that SQL query is, it's certainly nothing to do with this mod.

BamaStangGuy
11-12-2006, 07:45 PM
I have no idea what that SQL query is, it's certainly nothing to do with this mod.
Thanks then :)

Paul M
11-12-2006, 08:39 PM
Actually, that reply was not intended for this thread, it was supposed to be a reply in another thread, the query you posted is from this mod. The query is missing the cutoff time.

sunnycher
11-14-2006, 01:23 AM
Thank you!!!

BamaStangGuy
11-17-2006, 07:10 PM
Actually, that reply was not intended for this thread, it was supposed to be a reply in another thread, the query you posted is from this mod. The query is missing the cutoff time.
Oh well damn lol. How do I fix this?

Ntfu2
11-17-2006, 07:29 PM
I've got a problem with the link.

its being added like this

http://www.alloutclicks.com/"search.php?do=getnew\"


Any way to change that?

redlabour
11-19-2006, 06:37 AM
After updating this Product my navbar is not longer appearing. Any Fix ?

Old Product still works fine after deinstalling the new one and importing the old one. :confused:

Paul M
11-19-2006, 09:50 AM
Have you customised the phrases ?

The only difference between the two is that the phrases are no longer run via addslashes(), instead the slashes are actually added in the phrase, so if you have customised them you will need to add backslashes infront of any quote marks.

redlabour
11-19-2006, 10:33 AM
Have you customised the phrases ?

The only difference between the two is that the phrases are no longer run via addslashes(), instead the slashes are actually added in the phrase, so if you have customised them you will need to add backslashes infront of any quote marks.

Yes - here is the Bugfix.

Uninstall old Product, delete all not longer needed Phrases via AdminCP. Install again and translate again. Works !

wiredinoc
11-20-2006, 03:59 PM
Processor usage through the roof, pegged around 95-100% when I enable the plugin.

Any thoughts?

BamaStangGuy
11-23-2006, 03:44 AM
Oh well damn lol. How do I fix this?
Is this fixable? It seems to happen to me once a day atleast...

Paul M
11-23-2006, 08:46 AM
The only way I can see that you could get that error is if you had no 'lastvisit' time, which makes no sense at all. I can only guess that you are accessing it in some bizarre/unusual way, or some other mod is intefering with it (those script & referrer fields look very strange ......).

flynnibus
12-05-2006, 08:36 PM
(from other.. incorrect thread :) )

I've noticed some differences between this and your 3.5 version

the 3.5 version says 'no unread posts' this one shows '0 unread posts'

the 3.6 version hyperlink does not include the number only the 'unread posts' text is the hyperlink.

Intentional? I kinda like the 3.5 styles a bit better.

Paul M
12-05-2006, 09:30 PM
the 3.5 version says 'no unread posts' this one shows '0 unread posts'Yes, a minor difference, it means simpler code and less phrases. It's possible I may eventually change it, but certainly not in the next few weeks - maybe when I get round to making the 'plural' code more flexible.

the 3.6 version hyperlink does not include the number only the 'unread posts' text is the hyperlink.You can edit the phrase to change that if you want.

nicker
12-09-2006, 11:01 PM
I had this working before, great idea, now suddenly I am getting

Warning: file_get_contents(/homepages/42/d186719104/htdocs/forum/includes/database_error_message.html) [function.file-get-contents]: failed to open stream: No such file or directory in /includes/class_core.php on line 910

Warning: file_get_contents(/homepages/42/d186719104/htdocs/forum/includes/database_error_page.html) [function.file-get-contents]: failed to open stream: No such file or directory in /includes/class_core.php on line 944

Any ideas?.

Paul M
12-10-2006, 01:43 AM
Those errors are not generated by this (at least not directly) - It looks like your vb installation is missing some files (from the forum root) that are needed to generate database error message screens (database_error_message.html & database_error_page.html). You need to upload them to see the real error.

nicker
12-10-2006, 10:36 AM
Thanks Paul, I copied them over and opened them, this is what it's showing

Database error in $this->appname $vboptions[templateversion]: $errortext MySQL Error : $this->error Error Number : $this->errno Date : $date Script : http://$_SERVER[HTTP_HOST]$scriptpath Referrer : $referer IP Address : $ipaddress Username : $bbuserinfo[username] Classname : $classname

sorry to be a pain but I can't work this one out, any help is appreciated.

Paul M
12-10-2006, 04:46 PM
Opening the files doesn't mean anything. If you get another database error those files will allow vb to display the error (you should also get the error e-mailed to you).

Reece^B
12-18-2006, 08:41 PM
Hi Paul,
Great hack, need some help though. Works a treat, only on default style though. I cant get it to work on the style im using currently, if you click my sig to PBC you can see.

Paul M
12-18-2006, 08:55 PM
if you click my sig to PBC you can see.Not really, it's not available to guests.

TrikkeTalk
12-19-2006, 04:05 AM
Hi Paul,

Is there a way to put the output which is displayed in the welcome part of the navbar to my portal page.

This page contains the same block as in the forum home. It only uses another template (P_block_navbar). Something has to be added there to show up in the Portals Navbar.

The portal I use is VB-Portal.

Since I am a complete noob, please help me out.

Thanks in advance.

jerrygad
12-19-2006, 04:20 AM
Thank you Paul.
*Installed*

Paul M
12-19-2006, 04:55 AM
Hi Paul,

Is there a way to put the output which is displayed in the welcome part of the navbar to my portal page.

This page contains the same block as in the forum home. It only uses another template (P_block_navbar). Something has to be added there to show up in the Portals Navbar.

The portal I use is VB-Portal.
This updates the navbar template "on the fly" so it would be difficult. You could try adding the variable $unread in whatever template is used, but I have no idea if it will work. I have no knowledge of vb portal.

Reece^B
12-19-2006, 10:47 AM
Hi Paul,
I have made a test account:

User: *removed: no longer needed*
Pass: *removed: no longer needed*

And heres a link to the two styles:
http://www.pitbikeclub.co.uk/index.php?styleid=26 (works fine)
http://www.pitbikeclub.co.uk/index.php?styleid=25 (Doesnt) this is the default style.

Any idea how to go about getting it to work in the red default style.

Paul M
12-19-2006, 04:59 PM
It won't work in that style, it's a totally different "Welcome" box, so the code this looks for to insert the message is not present. See post #132

Reece^B
12-19-2006, 05:41 PM
Ok Paul, thanks.

|oR|Greg
12-19-2006, 06:26 PM
So, the only thing different about my style is that the code for the welcome box is in the Header template. So I changed the plugin to look in the header, instead of the navbar... doesn't work.

Then I put in the necessary missing code, back into the navbar, doesn't work. Then I tried a default style... doesn't work.

Thoughts?

|oR|Greg
12-19-2006, 06:31 PM
Take a looksee... http://www.amacny.com/vb/index.php?styleid=32

Reece^B
12-19-2006, 07:08 PM
Just to confirm that $unread worked. However when you click I get taken to a new page that doesnt exist.

EX:
Links to /"search.php?do=getnew\"

but the whole address is: pitbikeclub.co.uk/\"search.php?do=getnew\"

which doesnt exist. ;)

transitbus
12-19-2006, 11:35 PM
becareful, this mod will interfere with checking for new posts

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

Paul M
12-20-2006, 07:07 AM
Just to confirm that $unread worked. However when you click I get taken to a new page that doesnt exist.

EX:
Links to /"search.php?do=getnew\"

but the whole address is: pitbikeclub.co.uk/\"search.php?do=getnew\"

which doesnt exist. ;)ATM, your site does not seem to exist, just a Plesk default page. Anyway, you can edit the phrase that creates the link.

Reece^B
12-20-2006, 01:48 PM
*Edit* Server Back Online

Reece^B
12-20-2006, 02:06 PM
Could you tell me what exactly what I have to edit?

Paul M
12-20-2006, 09:19 PM
The phrase - dup_posts_visit or dup_posts .

|oR|Greg
12-20-2006, 11:22 PM
Any help Paul? Posts 136 & 137

Paul M
12-21-2006, 02:24 AM
Sorry, but I cannot help with individual custom styles. See post #132.

SAT2M
12-21-2006, 08:56 AM
Thanks A lot

|oR|Greg
12-21-2006, 05:51 PM
Sorry, but I cannot help with individual custom styles. See post #132.

Please see post 137, this is a DEFAULT VB style.

SCRIPT3R
12-21-2006, 06:02 PM
Please see post 137, this is a DEFAULT VB style.
that link is NOT going to a default vB style.

|oR|Greg
12-21-2006, 08:01 PM
Woops, try again.

http://www.amacny.com/vb/index.php?styleid=32

|oR|Greg
12-21-2006, 08:04 PM
What's it matter, yall won't be able to see that the plugin doesn't even show up, because you don't have accounts.

Paul M
12-21-2006, 09:04 PM
Please provide a test login.

|oR|Greg
12-21-2006, 09:42 PM
Check your PMs Paul.

Paul M
12-21-2006, 10:50 PM
Check your PMs Paul.Indeed, and I soon found your problem.

You seem to have overlooked the rather important note in the first post.

Note: This hack only works if you use the database thread marking system.
You are not using database thread marking, you are using the [old] cookie based system.

|oR|Greg
12-22-2006, 12:46 PM
DUHHHHHHHHHHHH!!! Thanks, fixed, and working. Clicks install.

nicker
12-28-2006, 03:09 AM
I had this working before, great idea, now suddenly I am getting

Warning: file_get_contents(/homepages/42/d186719104/htdocs/forum/includes/database_error_message.html) [function.file-get-contents]: failed to open stream: No such file or directory in /includes/class_core.php on line 910

Warning: file_get_contents(/homepages/42/d186719104/htdocs/forum/includes/database_error_page.html) [function.file-get-contents]: failed to open stream: No such file or directory in /includes/class_core.php on line 944

Any ideas?.

Those errors are not generated by this (at least not directly) - It looks like your vb installation is missing some files (from the forum root) that are needed to generate database error message screens (database_error_message.html & database_error_page.html). You need to upload them to see the real error.

Thanks Paul, I copied them over and opened them, this is what it's showing

Database error in $this->appname $vboptions[templateversion]: $errortext MySQL Error : $this->error Error Number : $this->errno Date : $date Script : http://$_SERVER[HTTP_HOST]$scriptpath Referrer : $referer IP Address : $ipaddress Username : $bbuserinfo[username] Classname : $classname

sorry to be a pain but I can't work this one out, any help is appreciated.

Opening the files doesn't mean anything. If you get another database error those files will allow vb to display the error (you should also get the error e-mailed to you).
It's sorted thanks, ended up in my url settings, thanks for your help.

|oR|Greg
12-28-2006, 11:17 AM
SQL Changes to use slave.
Which means what?

adonfun
12-28-2006, 11:26 AM
Great mod!! :)

Clicked Installed

Paul M
12-28-2006, 01:32 PM
Which means what?If you don't know what it means then you don't need to worry, it's just an internal code change related to mysql slaves. :cool:

|oR|Greg
12-28-2006, 02:26 PM
We outlawed slavery in the US a while back, so I think this hack now violates some regulatory statutes of the Geneva convention and the Treaty of Versailles.

Paul M
12-28-2006, 08:10 PM
:)


....

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.php?do=productinfo&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
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/showthread.php?t=100993&highlight=nicer+greeting

In a nutshell instead of saying:

Welcome, Admin.
You Have 157 Unread Posts

this other mod combined with this mod would show this(depending on the time of day):

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

Paul M
01-02-2007, 11:58 PM
In the plugin, change

$search_text = '</strong><br />';
to
$search_text = '$ng_greeting<br />';
and it should work.

Smoothie
01-03-2007, 12:14 AM
In the plugin, change

$search_text = '</strong><br />';to
$search_text = '$ng_greeting<br />';and it should work.I'll give it a shot. Thanks.

Smoothie
01-03-2007, 12:19 AM
In the plugin, change

$search_text = '</strong><br />';to
$search_text = '$ng_greeting<br />';and it should work.Didn't work, it reverted back to the standard greeting:
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
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.

Smoothie
01-03-2007, 02:07 PM
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.It works and thank you!

TrIn@dOr
01-05-2007, 11:35 AM
Paul, how can i exclude certains forums to be inspected for the count?

Thanks.

Paul M
01-05-2007, 04:28 PM
There is no such feature in this.

stomph
01-05-2007, 09:09 PM
Thanks for the hack!

Just in case anyone wants to know (and sorry, if it's already been mentioned):
I also had the Text visible only in the default template. Inserting $unread in the other template (Kirsch) worked, but the URL to search.php contained backslashes. My first attempt to simply remove the backslashes from the phrases broke the default template. So I added a variable $unreadss in the product's xml-File ($unreadss = stripslashes($unread);) at around line 97 and can now insert $unreadss in the Kirsch-Template... works fine! :-)

firstrebel
01-15-2007, 07:37 PM
anyway to EXCLUDE certain threads or forums from the count?

eg: I don't RSS feeds showing up on this as it turns out to be new thread/information overload and drowns out 'legitimate' new posts.

You can exclude any forum this way. You need to edit these phrases

dup_no_posts
dup_no_posts_visit
dup_posts
dup_posts_visit

add this after do=getnew
&exclude=1,2,3,4
where 1,2,3,4 are the ID's of the forums you want to exclude. This is how mine looks<a href=\"search.php?do=getnew&exclude=41,51,102,103,104,105,106\">

Paul is quite right in stating he is not going to include this as an option, as vB should have done that when they brought RSS Feeds out. There should have been the facility in ACP to exclude selected forums. This has been a nightmare for many who have used the RSS system. Hopefully it will be included in the next update. :rolleyes:

Bob

eclectica
01-23-2007, 08:04 AM
History:

v1.19 : Modified slightly to exclude moderated or soft deleted posts (unless moderator)

There's a significant update. That's for the better so that users don't go crazy trying to find posts that they can't see.

Thanks for the continuing updates and for providing a well-polished hack.

BuyHostCheap
01-24-2007, 03:19 AM
simply the best

rjmjr69
01-27-2007, 01:55 PM
Did not work with 3.6.4

Paul M
01-27-2007, 02:20 PM
Works fine with any 3.6 version.

mandy71480
01-27-2007, 02:39 PM
Nice! Thanks so much! :) Works beautifully with 3.6.4

Gaspanic
01-28-2007, 09:05 PM
Is there anyway to exclude 1 forum from the count at all, maybe a little piece of code I can add?

I need it to stop displaying new posts for just 1 forum.
Cheers

nitro
02-16-2007, 08:17 AM
Is there one similar to this that counts and displays x # for new threads with zero replies since last visit ?
I thought this was the one but it doesnt look like it, is it another of yours Paul ?

Paul M
02-16-2007, 10:59 AM
Is there one similar to this that counts and displays x # for new threads with zero replies since last visit ?
I thought this was the one but it doesnt look like it, is it another of yours Paul ?
I'm guessing you mean the code we run on Cable Forum - that is not publicly available anywhere.

NaughtyStud
02-18-2007, 05:34 PM
Love this hack, thank you so much. ;)

Smoothie
02-24-2007, 04:32 PM
Trying to remove the <br /> in this so I don't have 4 lines in the welcome box, but when I do that it breaks the mod. Any idea why or how to remove that without it causing problems?

Paul M
02-24-2007, 06:57 PM
You can't, it's part of the text the template replacement looks for. It would look pretty stupid without anyway.

Smoothie
02-24-2007, 08:54 PM
You can't, it's part of the text the template replacement looks for. It would look pretty stupid without anyway.No way around that? I'd prefer to put the <br /> somewhere else.

Paul M
02-24-2007, 09:28 PM
Nope, not unless you want to start re-writing part of it.

Smoothie
02-25-2007, 11:20 PM
Nope, not unless you want to start re-writing part of it.Well, that's a shame. By removing a simple<br />, it also breaks the mod. :down:

soletrader
03-01-2007, 01:14 AM
Is it possible for this to not show posts from a certain subscription only forum? Thanks

Scooterpig
03-01-2007, 07:10 AM
Great little hack and I thank you for it as like it..:)

Just wondering with the edit for it not showing certain forum numbers, which works for me no worries, but am curious if that also not shows up as Unread Posts at the top or did it just show for me cause I am admin anyways?

MusicMan?
03-01-2007, 08:09 AM
Great hack.. thankyou :)

PoetJA-1975
03-02-2007, 11:30 AM
Edit the unread posts phrase and change the link from search.php?do=getnew to /forumpath/search.php?do=getnew

Hey PAUL - Great hack = Thanx
Question: JPiC is run from http://JPiCForum.info and doesn't have a forum path.
Anyway idea on how to work with vBAdvanced? Hope this doesn't sound too stupid LOL

Jacquii.

JohnBee
03-02-2007, 11:37 AM
This hack would be awesome if we could move it around freely in the WB instead of it being bound or located by a statement. Any chance it could be done as a variable?

Smoothie
03-02-2007, 02:25 PM
This hack would be awesome if we could move it around freely in the WB instead of it being bound or located by a statement. Any chance it could be done as a variable?Agree 100%. While on the subject, it's redundant to have the unread posts as a link and new posts link in the navbar.

Paul M
03-02-2007, 05:09 PM
There are no plans to change anything in this mod.

BarryoBrien
03-13-2007, 01:02 PM
over the past few days the new post link says there is 10 posts unread even tho they have all been read my members are saying the same thing for about 30 posts it was working fine the past few weeks I havent installed any other hacks since this one please help thanks

Paul M
03-13-2007, 07:16 PM
There is nothing I can tell you without admin/sql access to your forum.

PoetJA-1975
03-15-2007, 08:06 AM
OK - I'm pretty sure this modification should be seen on vBadvanced portal page. I can't see it!?!? Any ideas?

Thanx in advance,

Jacquii.

Paul M
03-15-2007, 10:49 AM
I think you would need to ask the vba team about that, I don't use it.

kall
03-15-2007, 05:43 PM
OK - I'm pretty sure this modification should be seen on vBadvanced portal page. I can't see it!?!? Any ideas?

Thanx in advance,

Jacquii.
Looking at the xml, having just woken up.. if the following is the new variable:
$unread

You need to add that to your vBA Global Variables box in your vBACMPS AdminCP area.

PoetJA-1975
03-16-2007, 10:50 AM
Looking at the xml, having just woken up.. if the following is the new variable:
$unread

You need to add that to your vBA Global Variables box in your vBACMPS AdminCP area.

FABULOUS! Thanx very much KALL ;)

Jacquii.

liwo
04-14-2007, 07:17 PM
Having looked through that thread I haven't seen anyone mentioning this, but I can see no sense in it (line 3 and 5 of the plugin code)
$xforum_ids = array_keys($vbulletin->forumcache);

$xforum_ids = array_keys($vbulletin->forumcache);

I think one time this line should be enough ;)

Paul M
04-14-2007, 08:54 PM
Indeed, well spotted. :)

Looking in cvs it seems that crept in during the update from 1.18 to 1.19, not sure how it happened, but it will be removed for the next release.

ragtek
04-15-2007, 04:13 AM
nice one

the other thing per pm

popowich
04-15-2007, 09:27 AM
Hello,

I'm a long time user of this and some of your others mods, thanks! One of my members recently brought an issue to my attention. If a member adds a user to their ignore list, their new posts still show up under the "unread posts" link. The vbulletin standard "new posts" link found in the navbar does not show these posts. Does it make sense, and is it possible to exclude the posts for consistency in a future version of tis product?

Thank you,
-Raymond

Paul M
04-15-2007, 10:10 AM
I think one time this line should be enough ;)That duplicate line has been removed in v1.20.

If a member adds a user to their ignore list, their new posts still show up under the "unread posts" link. The vbulletin standard "new posts" link found in the navbar does not show these posts. Does it make sense, and is it possible to exclude the posts for consistency in a future version of tis product?You are correct, this does not currently take into account ignored users. However it is a good point that I will look into for a future release. :)

rknight111
04-30-2007, 12:10 PM
If I disable this mod just to check for a problem and enable it again will it clear all the users status on this modification so they all go back to no posts read. The problem I have is when you go back to the forum home page there is a small delay from when the header pops up to the remainder of the screen. I wanted to see what may cause this, and rule this out.

RON

Paul M
04-30-2007, 06:38 PM
If I disable this mod just to check for a problem and enable it again will it clear all the users status on this modification so they all go back to no posts read. Nope.

inciarco
04-30-2007, 07:54 PM
Excellent Add-On, Paul M!! :up:

Thank You Very Much!! :up:

:)

TTG
05-04-2007, 07:02 AM
Is there a possibility of removing certain forums from the new posts figure ?
I have a download section where I'm uploading 4,000 games and I don't want the new posts included in the new posts figures.

Mrdby
05-08-2007, 12:03 PM
it works..maybe the next release members could have the option to turn it on or off in out usercp.

Charlie98902
05-08-2007, 01:16 PM
Is there a possibility of removing certain forums from the new posts figure ?
I have a download section where I'm uploading 4,000 games and I don't want the new posts included in the new posts figures.

I also have a management section and have noticed that when a post made there it shows to all members about it and when they click on unread posts they see that there is no new posts. So this would be a nice feature.

inciarco
05-12-2007, 01:07 PM
Magnific Add-On!! :up:

Works Ok With vBulletin 3.6.6!! :up:

:)

MeMySelfNi
05-17-2007, 09:18 AM
*installed*

Mrdby
05-18-2007, 06:58 PM
this doesn't update along with this hack..why is that?

https://vborg.vbsupport.ru/showthread.php?p=1250375

Paul M
05-18-2007, 09:45 PM
Erm, maybe because that completely alters the welcome box ..... ;)

DeiseHost
05-21-2007, 04:35 PM
I can't get this to work at all on my forums.
I upload the file as outlined but it doesn't show anything up the top of my forums about unread posts etc.

halcyoncmdr
05-21-2007, 05:20 PM
I can't get this to work at all on my forums.
I upload the file as outlined but it doesn't show anything up the top of my forums about unread posts etc.

You have to be using the database marking system. I think using cookies is the default, but I'm not positive. We switched to the database arkup shortly after installing to begin with, so it wasn't a problem for me.

DeiseHost
05-21-2007, 06:00 PM
Ok.
I am new to VB so can anyone explain what the Database Marking System is?

Paul M
05-21-2007, 06:47 PM
It's the system that keeps a record of what threads each member has read.

There are two systems - the old one used a members cookie, the new one keeps records in the database.

DeiseHost
05-21-2007, 07:14 PM
Yep got it working.
Nice feature. Thanks.

InfoNirvana
05-27-2007, 05:14 AM
In my Plugin & Products System,

The words "Display Unread Posts" appears.
It has a strikethrough through it.

And it doesn't appear to be working.

Ideas ?

Paul M
05-27-2007, 11:19 AM
Enable it.

TBolley
05-29-2007, 07:23 AM
dont work with 3.6.7 pl1

Paul M
05-29-2007, 09:07 AM
Yes it does.

If you have a problem then you can post it and someone may help you. Please don't make false statements such as that as they are liable to be deleted, since they are wrong and misleading.

TBolley
05-29-2007, 11:36 AM
Yes it does.

If you have a problem then you can post it and someone may help you. Please don't make false statements such as that as they are liable to be deleted, since they are wrong and misleading.

install works well but (see screen) no unreaded post on box.

regards & thanx for help

TBolley

EDIT: Sorry works now forgot to enable it (my fault).....

AndyPandy
06-02-2007, 12:53 PM
works fine on the default vb style but I have other custom styles and it does not work on them :( any ideas?

Andy

InfoNirvana
06-03-2007, 09:34 PM
Enable it.
Oddly that worked.

<--- I'm new.
THX.

Dekard
06-04-2007, 02:47 PM
pretty straight forward. I've got it installed at overclockingwiki.org and its working just fine.

Cooleyvol
06-06-2007, 04:42 PM
Any way for members to choose which forums are included so that if they arent active in certain areas of the forums, they won't see new posts in those areas?

Paul M
06-06-2007, 08:20 PM
Nope, they isn't any exclusion feature in this.

Cooleyvol
06-06-2007, 10:19 PM
Nope, they isn't any exclusion feature in this.

How about in vB itself? Not just in this mod?

Paul M
06-07-2007, 09:02 AM
If there were a default vb feature to do that I would have said so. :)

fpattberg
06-07-2007, 09:55 AM
Hi.

It does not work for me.

Where do I need to go to check whether I have the database thread marking system on? :confused:


Thanks.
Fabian

Paul M
06-07-2007, 03:24 PM
ACP > vBulletin Options > General Settings > Thread/Forum Read Marking Type

fpattberg
06-08-2007, 06:24 AM
Works nicely now.

Thanks Paul.

Fabian

transitbus
06-15-2007, 10:09 PM
I have a nissue where it no longer is updating "smoothly"

ther is actualyl a two fold issue

1) I will go to my forum and this mod will say no unread posts but the individual forums will show as having posts/replies

2) Once reading the unread posts then going back to the forum home page, it will still show the unread count.

I am not sure if I need to go bac kin and see if I have a time out or setting now working as it should or if thie mod is having issues but I wanted to post this

Paul M
06-16-2007, 12:19 PM
Are you sure you haven't changed back to the cookie based thread marking system.

hamidkh
06-19-2007, 05:08 PM
works fine on the default vb style but I have other custom styles and it does not work on them :( any ideas?

Andy

i have same error , plz help us

hamidkh
06-19-2007, 05:19 PM
i slove my problem

i customize XML file and it's work for my customize style

Trana
06-19-2007, 07:59 PM
I upgraded two hacks that I had previously installed and this is no longer working.

VBSEO 3.0RC to 3.0Gold
VBA CMPS 2.0 to 3.0

I did not make any other changes and this seems to be broken now.

Does anyone have any idea what I should check?

Thanks.

Paul M
06-19-2007, 09:00 PM
Define broken.

I run VBSEO and that has no effect on this. I don't see how CMPS would affect it (unless you mean just on the portal page).

Yours
06-20-2007, 01:01 AM
I have this installed on 3.6.7 and It doesn't show where it should be. Is there any possible template edits I could do to fix this?

Trana
06-20-2007, 04:02 AM
Define broken.

I run VBSEO and that has no effect on this. I don't see how CMPS would affect it (unless you mean just on the portal page).

I don't understand it either. Basically it doesn't show up anymore. I reinstalled the XML product, is there anything else that should be done?

Trana
06-20-2007, 04:42 AM
Ahh, I figured it out. I had removed the </ br> in the navbar during a template edit. It would be helpful to have an install file that explains in a note the method you use for changing the screen since us old school hackers are used to manually putting variables into our templates.

Paul M
06-20-2007, 09:57 AM
I have this installed on 3.6.7 and It doesn't show where it should be.

I would guess you have customised your Navbar and removed the code this looks for.

Dotara
06-21-2007, 05:05 PM
[Solved] working just fine.

brvheart
06-21-2007, 09:08 PM
Paul, I would I get this to work if I wanted to use it in the header instead of the navbar? I believe that it is looking for the navbar, but on my mobile style I use the header for everything...any help would be greatly appreciated :)

Paul M
06-21-2007, 10:01 PM
Easiest way is to insert a comment in the header template where you want this to appear (such as <!-- UNREAD -->) and then edit the mods Auto-Template settings to search for that comment.

Edit: Hmm actually, I never put those settings in this mod, so you will have to edit the $search_text variable in the plugin.

Note to self: I must update this.