PDA

View Full Version : Miscellaneous Hacks - Display Unread Posts


Pages : 1 [2]

Mellow
01-01-2011, 04:50 PM
Phrases ? Not really sure what you mean.

In the parse_templates plug in, there's 3 phrases, one is dup_x_unread_posts and if you look at the contents of that phrase, it's

You Have {1} <a href="{3}search.php?do=getnew&contenttype=vBForum_Post">Unread {2}</u></a>

Trek's changes work well to get the correct count of unread posts w/filtered forums however the search string needs to contain the &exclude={vb:raw bbuserinfo.excludeforumids} for it to work with the modifications others that noted in that thread.

I'm not sure any of those changes align with typical coding standards but it sure seems like they are close to getting the two products to work together.

Paul M
01-01-2011, 10:13 PM
No phrases should need to be changed. The filtering modification should already be excluding its selected forums, thats its purpose.

Rikzg
01-21-2011, 06:07 AM
Hey Paul,

thanks for develop this for 4.1.

But now I need your help.
I want to translate the Phrase into german and also I don´t need the "Your last vistit"

Please tell me header_userinfo template needs to be edit.

Regards
Frederik

Swordman844555
02-13-2011, 07:33 AM
Old articles from the CMS will reappear as new?

Paul M
02-13-2011, 11:31 AM
Old articles from the CMS will reappear as new?
I dont understand the question.

Swordman844555
02-13-2011, 11:56 AM
Older articles (posts) from the CMS will suddenly appear as new even though they were already read.

Please excuse my bad English.

Paul M
02-13-2011, 01:02 PM
Are you allowing CMS articles to have comments ?

Swordman844555
02-13-2011, 01:16 PM
Yes.

But there were no new comments!

Super Cat
04-02-2011, 12:16 AM
I'm getting the wrong day, how do I correct this?

hugh_
04-09-2011, 09:22 PM
I installed this on a newly upgraded forum using vbulletin 4.1.3 but I get the following garbled text with a broken link on the second line:

You last visited: Today at 09:34 PM : You Have 4,779 Unread
You have %1$s unread %2$s

^ points to: %3$ssearch.php?do=getnew%4$s

How can I fix this?

Thanks...

Paul M
04-10-2011, 11:42 AM
I would guess you have an old customised phrase in there somewhere that you need to revert.

dlewisr
04-20-2011, 06:25 PM
Love it mate. Jobs a good 'un. Installed and voted on ;)

Froberg
04-22-2011, 11:18 AM
Another 'un for a Paul M mod-batch! :)

Anopheles
06-05-2011, 05:53 PM
I installed this on a newly upgraded forum using vbulletin 4.1.3 but I get the following garbled text with a broken link on the second line:

You last visited: Today at 09:34 PM : You Have 4,779 Unread
You have %1$s unread %2$s

^ points to: %3$ssearch.php?do=getnew%4$s

How can I fix this?

Thanks...

Me 2! ;-(
Where R those old customised phrases??
Name of the phrase?
Thank U :D

Anopheles
06-05-2011, 06:16 PM
@hugh_
these R the phrases:


dup_posts
dup_x_unread_posts
dup_unread_posts
dup_no_posts

Luca_ITA
08-06-2011, 02:53 PM
THX. Works perfect on 4.1.5pl1

bosanci28
08-07-2011, 03:46 AM
very useful mod!
thanks,works fine in 4.1.5

apn3a
08-15-2011, 09:47 PM
Hello

My members loved this mod from its older vb versions. Recently i upgraded to vb4.

There is any person here that make it work with custom style?

Thank you :)

Mark.B
08-16-2011, 01:24 AM
Hello

My members loved this mod from its older vb versions. Recently i upgraded to vb4.

There is any person here that make it work with custom style?

Thank you :)

I might be wrong but I think this mod is triggered by template hooks, so you just have to make sure they are in the custom style.

It certainly shows in mine and I hacked around with the header template quite a bit.

Paul M
08-16-2011, 10:54 AM
I believe you are correct.

apn3a
08-16-2011, 11:57 AM
Thank you for the replies

Well
The hook {vb:raw template_hook.header_userinfo} is in header template but the phrase You have No Unread Posts it is not longer clickable like it should be.

Paul M
08-16-2011, 02:38 PM
Check you dont have customised phrases, dup_no_posts in this case.

Also, remember that only the 'Unread Posts' portion of the phrase is clickable.

apn3a
08-16-2011, 03:15 PM
No everything is okay with phrases. The script works fine with the default style.
But i have a custom style, that's why i asked for help. Looks like the the page background cover /ovelap the link.

You know some designers only wants to grab money from clients and after this.... poof. No support at all. It is apparently a html issue but i am limited with this. I asked from the designer to add a css or a divider but he refused.

Anyway thank you for the assistance Paul. I wanted so much the module...

Mark.B
08-16-2011, 11:13 PM
No everything is okay with phrases. The script works fine with the default style.
But i have a custom style, that's why i asked for help. Looks like the the page background cover /ovelap the link.

You know some designers only wants to grab money from clients and after this.... poof. No support at all. It is apparently a html issue but i am limited with this. I asked from the designer to add a css or a divider but he refused.

Anyway thank you for the assistance Paul. I wanted so much the module...

That should be fairly straightforward to sort out you know.

I'd create a duplicate of your custom style, make it non-selectable, and have a play about (that way if you mess it up it doesn't matter!).

apn3a
08-17-2011, 12:25 PM
I did it already and i spend more than 3 days to find out. I give up, to old to pull my hairs with html issues :)


That should be fairly straightforward to sort out you know.

I'd create a duplicate of your custom style, make it non-selectable, and have a play about (that way if you mess it up it doesn't matter!).

mjfan227
08-18-2011, 01:51 AM
Awesome, works great. Thanks!

sadiq6210
08-25-2011, 07:23 AM
Paul, I have a problem
The system of new posts has been changed after installed this hack

Before:
When I visit the forum and click on (new posts) I got the new posts from last visit. The thread with new post will be in a (bold) title. and when I close the explorer that mean all thread will mark as a read. so when I visit the forum again and click on (new post) I will get only the new post from last visit. (for example 3 pages)


After Install this hack:
When I click on (new post) I got all post that includes unread posts even it's from 3 or 4 day, and when I close the explorer and open the forum next time I got same threads when I click on new posts some of it was from 5 days. (for example 10 pages)

I uninstalled the hack but still I have same problem
I want to return to the old system.

sadiq6210
08-25-2011, 07:43 AM
I re-installed it

It says (you have 28 unread posts from last visit)
but when I click to view these posts, I got 7 pages (unread posts for last 7 days)
But I want to show only the new posts from last visits as it was before I install the hack.

Paul M
08-25-2011, 10:38 AM
Please read the modification, this is already answered ;

The unread posts portion of this hack requires the database thread marking to be active.
Please be aware that installing this will enable that system (with automatic forum marking).
Forum marking choices are located in vBulletin Options > General Settings > Thread/Forum Read Marking Type

dmandem
08-25-2011, 12:14 PM
Have the same problem as apn3a, unread posts isn't clickable.

I am using a custom style (Seamus & banner).

sadiq6210
08-25-2011, 01:59 PM
Please read the modification, this is already answered ;

Thanks Paul
I appreciate your support

crazyboy1661
08-26-2011, 02:19 PM
When I am uploading the XML file i am getting this error. 4.1.5pl1 is our board version.
XML Error: not well-formed (invalid token) at Line 74

Pls guide me.

behnam
09-01-2011, 12:33 AM
i've just installed & its working pretty fine but im going to make some changes to it

may you please help me to make some changes to way that it looks?

this is the example what im going to make it look like:

https://vborg.vbsupport.ru/external/2011/08/1.jpg

dmandem
09-09-2011, 04:07 AM
My forum marking is active, however, the link doesn't work to show the new posts.

The link to new posts works on 'Home', just not on my actual forum. Using Seamus & Banner.

Disabled for now.

vBTwist
10-01-2011, 12:26 PM
Using the 'reputation' portion of this in conjunction with the post thanks hack and created our "like" modification with notifications ;)

Thanks :up:

gezuvor
10-13-2011, 04:13 AM
Great mod Paul, been using it for quite a while. I just updated my site to new styles and the mod gets compressed by the navbar now. Is it possible to move this to after the tabs by just changing the template_hook in the XML?

Paul M
10-16-2011, 11:50 AM
Updated: This is now available for the 4.1.x series of vBulletin only.

imported_Vishalsachar
11-06-2011, 05:37 AM
Great, great work! Installed and nominated

johon
11-18-2011, 10:26 AM
This is a great hack and I used it for years on my vB 3.x-Forum and installed it after upgrading to 4.1.x - but unfortunately it has 2 strange behaviors:


When there are no unread posts and you click on the link (even if makes no sense), a blank page appears instead a message or a forum page
The result from a click on the link is different fronm the result with a click on the menu item "New Posts" - shouldn't they be identical in a forum?


Can anyone confirm this behavior or is it a local problem of my forum? Any hints what to correct/ change?

Regards
Jo

Paul M
11-18-2011, 12:56 PM
No, I cannot confirm either of those behaviors.

johon
11-18-2011, 05:42 PM
No, I cannot confirm either of those behaviors.

Thanks for the info - so it might be a problem with an additional AddOn - seems I have to investigate that....

johon
11-19-2011, 02:58 PM
Thanks for the info - so it might be a problem with an additional AddOn - seems I have to investigate that....

What is curious: When I click on "No unread posts" the URL is http://www.florida-interaktiver.com/search.php?do=getnew[ARG:2%20UNDEFINED] ?? This causes the blank screen, I think.

Luca_ITA
12-23-2011, 02:11 PM
Just installed in 4.1.9
Working perfectly!
Thank you for this mod!!

Allego la traduzione in Italiano. Non sono traducibili:
Use Last Visit Date --> Utilizza la Data della tua ultima visita
p.s. Conta solo i mess in questo intervallo
Count All Posts Marked as Unread --> Conta tutti i messaggi non Letti
Disable Unread Posts Display --> Disabilita la Mod

heartsglad
12-24-2011, 12:56 AM
thanks for developer of this add, I have installed it on 4.1.9, working properly.

Just wanted to ask:
Is ist possible to make so that the plugin counts your own new posts as unread. My users are almways complaining that in "New Posts"(navbar) or in this plugin own posts of users are not shown.

regards,

Paul M
12-24-2011, 12:22 PM
No, that would not be sensible.

How can you not have read your own posts ??

Mark.B
12-24-2011, 04:51 PM
How can you not have read your own posts ??
I can think of many people who look as though they haven't. :erm:

jwaggoner
12-31-2011, 09:02 PM
My users were disappointed that this feature was no longer available with the 4.x.x forum. Thanks for making the mod.

I have several forums that are hidden except for selected users. When a member searches for Unread Posts they get a printout at the top of the page of all of the excluded forums. I would prefer that they not see that list as it raises more questions than I care to answer.

If I don't exclude any forums will they not be included for those members who don't have access to those forums anyway? I don't want them to find unread messages in forums they don't have access to.

Hippy
01-01-2012, 07:03 PM
Hi Paul great Mod
Can't believe I missed this all these years
any I have a issue
I have vbadvanced install and they both are using

$vbphrase[last_visited_x_at_y]

in return vbadvanced is showing this
Error: Header Template is Customised
what can I do to make them both work..?

thanks for the great mod
and I hope you have a great new year

Hippy
01-01-2012, 09:58 PM
I fixed it by maken a custom vbphrase

Paul M
01-02-2012, 01:56 AM
what can I do to make them both work..?

Sorry, I dont know much about vbadvanced.

I fixed it by maken a custom vbphrase
Good to hear.

Internetcafe
01-09-2012, 06:57 PM
I need to move it somewhere away from the area it's placed by default 'cos it can't be seen with the header graphic we use DeereTalk (http://www.deeretalk.com/forums/forum.php) .. can that be done without screwing it up !?

Very useful and I'd like our members to enjoy it if they could see it :)

Paul M
01-09-2012, 09:23 PM
Not very easily no.

Lemminator
01-10-2012, 02:14 AM
is it possible to set this on the left site on the top ?? how can i change this ??or what can i do ? sry but im new in vb :-)

greetz lemmi

ngphuc2k
01-10-2012, 07:49 AM
Good for my forum

Paul M
01-10-2012, 09:45 AM
is it possible to set this on the left site on the top ?? how can i change this ??or what can i do ? sry but im new in vb :-)

greetz lemmi
No, its position is fixed.

Kat-2
02-18-2012, 06:33 AM
Love this mod! A couple of problems though. In one of my themes (the one my posters use the most), the 'Unread Posts' is not clickable.
And the time seems to not be changing telling me when I logged in last.

BlueCheri
02-20-2012, 05:37 AM
Great mod, looking it for very long.

Installed, hope it will work fine.

Thanx

G!

Danny-E
02-22-2012, 12:24 PM
Ive installed this but when I go to usercp I get database error so had to disable for now.

Any idea whats wrong:

Database error in vBulletin 4.1.10:

Invalid SQL:

UPDATE user
SET lastrepcheck = 1329916978
WHERE userid = 2;

MySQL Error : Unknown column 'lastrepcheck' in 'field list'
Error Number : 1054
Request Date : Wednesday, February 22nd 2012 @ 01:22:58 PM
Error Date : Wednesday, February 22nd 2012 @ 01:22:59 PM
Script : http://www.x/usercp.php
Referrer : http://www.x/index.php
Classname : vB_Database
MySQL Version : 5.0.95

Paul M
02-22-2012, 04:36 PM
The install failed - lastrepcheck is a field created when you install it.

Nirjonadda
02-22-2012, 05:10 PM
Installed Thank you Paul M.

Danny-E
02-23-2012, 08:06 AM
The install failed - lastrepcheck is a field created when you install it.

Uninstalled and installed again. Seems to have fixed it. Thanks :).

Silver_2000_)!
03-07-2012, 12:10 PM
Anyone seen this

"You Have 3 Unread You Have %1$s Unread %2$s"

Emeralda
03-07-2012, 02:30 PM
Uhm, help, I think I broke something. Before I installed it, New Posts where showing all threads that had new posts in them, no matter if read or not, and that's how we all liked it. But after I've installed this mod and also after uninstalling it, something got messed up. And despite having new posts in Today's posts: http://img256.imageshack.us/img256/9748/fb5c6505a776492c8991f3c.png, it doesn't show them in What's New/New Posts anymore: http://img96.imageshack.us/img96/7695/ca60b5e3762246aa9ea4273.png after I read them. Did the mod permanently bug something?

EDIT: oh, there were go: http://prntscr.com/6sw2x It made a stealth edit to that setting.

Paul M
03-08-2012, 07:29 PM
Maybe you should actually read the first post, there is nothing stealthy about it.

The unread posts portion of this hack requires the database thread marking to be active.
Please be aware that installing this will enable that system (with automatic forum marking).
Forum marking choices are located in vBulletin Options > General Settings > Thread/Forum Read Marking Type

Kat-2
03-09-2012, 06:16 AM
Love this mod! A couple of problems though. In one of my themes (the one my posters use the most), the 'Unread Posts' is not clickable.
And the time seems to not be changing telling me when I logged in last.


I would like to know how to make this clickable please.

Silver_2000_)!
03-15-2012, 10:05 PM
anyone seen this odd text when there is more than one unread ?

You Have 2 Unread You Have %1$s Unread %2$s

Paul M
03-16-2012, 02:28 PM
Thats a sign of an old custom phrase. Check out the dup_ * phrases for old translations.

paulket
03-18-2012, 02:32 AM
I would like to know how to make this clickable please.

Having the same issue and would like to be able to fix it.

Hippy
03-18-2012, 12:26 PM
re install... becasue this mod works perfect with the lasters vb4.1.11

cagbaazee
03-20-2012, 10:24 AM
Hi, when i install the mod, but it is not clickable. what is worng with that.. Do please post yr answer. Thanks

Paul M
03-20-2012, 10:21 PM
Your question (?) is far too vague to post any response, in fact there isnt really even a question.

Trevor Matthews
03-21-2012, 01:17 PM
Hi Paul

I have a bit of an odd problem.
I use 4.1.11 and the mod was working fine but today it isn't updating the last visited message, the unread posts part is working fine. I am using Firefox.
Any ideas what I have messed up??

Paul M
03-21-2012, 02:34 PM
Nope, no idea, but things dont just stop without a reason. Have you changed something ?

Trevor Matthews
03-21-2012, 06:28 PM
Well not really, but I did uninstall the mod as it was clashing with the forum sponsors logo position. I re-installed it to allow the logo to be redesigned in the correct location, it has not worked since re-installation now I think about it.

Perhaps I need to re-install again.

Trevor Matthews
03-21-2012, 10:13 PM
Damn, had to un-install it, whatever I tried it still said my last login was at 4-31pm yesterday.

Paul M
03-22-2012, 09:56 PM
That is simply built from your lastvisit time, and would suggest you have a general forum issue or a browser cookie issue. Did you check if anyone else was affected ?

paulket
03-23-2012, 12:18 PM
Does anyone have this mod working with a header template that has been modified?

Hippy
03-23-2012, 01:17 PM
yes but did nothing different

Sunka
03-26-2012, 02:57 AM
Hi Paul

I have a bit of an odd problem.
I use 4.1.11 and the mod was working fine but today it isn't updating the last visited message, the unread posts part is working fine. I am using Firefox.
Any ideas what I have messed up??

Nope, no idea, but things dont just stop without a reason. Have you changed something ?

Another problem here.
It starts after update vB to last version (4.1.11).
Forums that marked NO for option "Index New Posts in Search Engine" in ACP are not showing when click on unread posts.

Before upgrade, everything works OK. So now, I have situation that link from this MOD show " You have 7 unread posts" but when you click on it, it show message that there is not any unread post. But yes, there are 7 unread posts in that forums with abowe selected options in ACP.

After I go to that forum and read posts, then link for this MOD finally shows "You have no unread posts".

Paul M
03-26-2012, 11:52 PM
Thats a change in the behavior of vB itself. Prior to 4.1.11 it didnt take that setting into account for 'whatsnew' searches. Until such time as I can update this to do the same, that will occur.

Merenguista
04-19-2012, 11:46 PM
Thank you very much Paul .. For a long time i'm lookin for a way to display notifications for réputations ..

Gn_Snake
05-06-2012, 07:17 PM
Hello,
I have a problem with the template.
I changed my template and i am having problems in the layout.
And it's possible to change the position?

Attach the image

Gn_Snake
05-07-2012, 11:55 AM
It would just have to <br>, but i do not know where to put it

Thanks for all

Mellow
05-12-2012, 12:59 PM
Does anyone have this mod working with a header template that has been modified?

yeah... I ended up just copying the vb4 default header on top of my custom one because the was a div section that, due to the alignment, would show the unread posts but the link was not there. I could have increased the size of that div via the css which worked but I didn't like the look so I just replaced my custom header template w/ base vb4 header and it looks fine to me. I'd rather have the unread posts display than the visual the custom header was giving me.

Adam H
05-23-2012, 12:53 AM
4.2 disabled this plugin for me, How do i get the unread posts back as i take it that its been integrated into the core rather than using a plugin ? My members are funny about having the You have xxx amount of unread posts . Whats new isnt good enough for them lol

Paul M
05-23-2012, 01:07 AM
I will be releasing an updated version for 4.2 that only has the unread posts part.

In the meantime, you could re-anable the mod, but turn off the reputation part of it.

Adam H
05-23-2012, 07:52 AM
I will be releasing an updated version for 4.2 that only has the unread posts part.

In the meantime, you could re-anable the mod, but turn off the reputation part of it.


Ah ok , thanks for that Paul, wasnt sure if everything had been built in or not.

Robru
05-24-2012, 04:59 PM
Thanks for this update, Paul! :)

BaanFarsang
05-25-2012, 01:03 AM
When selected no Forum Exclude List, Translation of Eng to Thai Language is not directly show translated language. But selected Forum Exclude List of vbcms comments can be shown translated language.

Paul M
05-25-2012, 03:06 PM
Err ... Sorry I dont follow.

Lionel
05-26-2012, 01:52 AM
Thank you Paul for 4.2.0 update

mgurain
05-28-2012, 10:40 AM
Thank you Paul for the upgrade,
but is there phrases for this mod ? I could not find.

Regards,,

BaanFarsang
05-28-2012, 03:47 PM
I have been Translated Eng to Thai Language but there are not directly show translated language.

http://img26.imageshack.us/img26/9702/28052555233508.png

http://img338.imageshack.us/img338/8493/28052555233530.png

Paul M
05-28-2012, 04:06 PM
There is more than 1 phrase.

mgurain
05-28-2012, 04:20 PM
I've translated the phrases too, but nothing changed !

wrang
05-28-2012, 06:47 PM
I have a diffrent template and the text is in blue can you give me a clue whare the coulor is set at the text Unread Post (ol?sta inl?gg)
138770


You Have No <a href="{1}search.php?do=getnew&contenttype=vBForum_Post">Unread Posts</a>

And the text is not linked

What to do.

wrang
05-30-2012, 06:48 PM
Strange it works for the default VB template but not in my template.

Is it possible to get this great mot in another place in the header or just for a test and if it work there

Paul.
05-30-2012, 07:14 PM
Thanks for updating!

del Drago
06-05-2012, 12:13 AM
Hi Paul,

I'm still on vbulletin 4.12, and I'm using the previous version of this mod in conjunction with Abe's Thank You Hack, so that users are notified when someone thanks them (they receive rep points when thanked).

However, it appears that the new rep mod built into vbulletin 4.2's core does not notify members when they've been thanked. I haven't witnessed this myself, but there are several posts in the Thank You Hack thread indicating this:

https://vborg.vbsupport.ru/showpost.php?p=2334599&postcount=2619

https://vborg.vbsupport.ru/showpost.php?p=2335224&postcount=2626

https://vborg.vbsupport.ru/showpost.php?p=2336502&postcount=2648

https://vborg.vbsupport.ru/showpost.php?p=2336542&postcount=2649

I'm waiting until there's a workaround before upgrading to 4.2, as my members have become accustomed to being notified when thanked.

Could you suggest a possible solution?

Thanks Paul! Your work to make vBulletin the best forum software is noticed, and very much appreciated.

davidg
06-05-2012, 08:51 PM
another great addon from Paul

Paul M
06-09-2012, 04:03 PM
Hi Paul,

I'm still on vbulletin 4.12, and I'm using the previous version of this mod in conjunction with Abe's Thank You Hack, so that users are notified when someone thanks them (they receive rep points when thanked).

However, it appears that the new rep mod built into vbulletin 4.2's core does not notify members when they've been thanked. I haven't witnessed this myself, but there are several posts in the Thank You Hack thread indicating this:

https://vborg.vbsupport.ru/showpost.php?p=2334599&postcount=2619

https://vborg.vbsupport.ru/showpost.php?p=2335224&postcount=2626

https://vborg.vbsupport.ru/showpost.php?p=2336502&postcount=2648

https://vborg.vbsupport.ru/showpost.php?p=2336542&postcount=2649

I'm waiting until there's a workaround before upgrading to 4.2, as my members have become accustomed to being notified when thanked.

Could you suggest a possible solution?

Thanks Paul! Your work to make vBulletin the best forum software is noticed, and very much appreciated.
Sorry, I have no idea how that may have worked, its not something I have ever added to this.

persianpros
06-09-2012, 06:44 PM
please add a section for manual template

Paul M
06-09-2012, 07:08 PM
I dont understand your request.

persianpros
06-09-2012, 07:29 PM
sorry for my bad english

it's not compatible with all skins for example CompleteVB skins so i can't use it

it's good to design a field in admincp->settings for it that we can disable auto template and add a $value manually to our skin

Paul M
06-09-2012, 07:35 PM
Sorry, thats not going to be done.

persianpros
06-09-2012, 08:30 PM
why ? :(

wrang
06-09-2012, 11:47 PM
I have a diffrent template and the text is in blue can you give me a clue whare the coulor is set at the text Unread Post (ol?sta inl?gg)
138770


You Have No <a href="{1}search.php?do=getnew&contenttype=vBForum_Post">Unread Posts</a>

And the text is not linked

What to do.

All works fine again. I have to change one thing in CSS and now it works fine

deverill2010
06-30-2012, 12:43 PM
Whats the code to manually get this to display? My it's showing on one of my themes but not the other so I'm assuming I need to add something somewhere.

djbaxter
07-18-2012, 03:12 AM
With vBulletin 4.2.0, where can I edit the display to change the CSS for the Unread Posts display? I'd like to change the hover properties for the link.

Paul M
07-18-2012, 11:53 AM
I'd like to say in the CSS templates....

However, it appears this is still using an old "wrapper" system which I'd completely forgot about, so you need to edit the dup_out phrase.

Hippy
07-18-2012, 10:08 PM
Hi paul
the phrase is <br /><div style="margin: 14px">{1}</div>
what should I make it ?
thanks

Paul M
07-18-2012, 10:43 PM
Whatever stying you want.

djbaxter
07-18-2012, 11:59 PM
If I add a color to that inline style, only the first part of the phrase is affeceted, i.e., instead of

You last visited: Today at 05:52 PM : You Have 2 Unread Posts

I get

You last visited: Today at 05:52 PM : You Have 2 Unread Posts

I tried adding style to the phrase and nothing changes.

Paul M
07-20-2012, 11:26 AM
There is nothing separating them in the default code, they are all just one piece of text inside the dup_out defined DIV.

Mark.B
07-26-2012, 08:14 PM
Hi Paul,

I'm still on vbulletin 4.12, and I'm using the previous version of this mod in conjunction with Abe's Thank You Hack, so that users are notified when someone thanks them (they receive rep points when thanked).

However, it appears that the new rep mod built into vbulletin 4.2's core does not notify members when they've been thanked. I haven't witnessed this myself, but there are several posts in the Thank You Hack thread indicating this:

https://vborg.vbsupport.ru/showpost.php?p=2334599&postcount=2619

https://vborg.vbsupport.ru/showpost.php?p=2335224&postcount=2626

https://vborg.vbsupport.ru/showpost.php?p=2336502&postcount=2648

https://vborg.vbsupport.ru/showpost.php?p=2336542&postcount=2649

I'm waiting until there's a workaround before upgrading to 4.2, as my members have become accustomed to being notified when thanked.

Could you suggest a possible solution?

Thanks Paul! Your work to make vBulletin the best forum software is noticed, and very much appreciated.

Sorry, I have no idea how that may have worked, its not something I have ever added to this.
Just as an aside, the workaround for this is to not use the core 4.2 function for notifying of rep, and instead re-enable Paul's mod in full. I can't provide detailed instructions for doing all of this but that will basically give you Like/Thanks notifications from Abe's Thanks hack once again.

OhSoBlonde
08-19-2012, 02:32 AM
Paul, we have a lot of user that use Tapatalk. When I installed Unreadposts-4200, my Tapatalk users were unable to see the "Unread" posts, but could still see "Participated" and "All" in the Latest tab on Tapatalk.

Any ideas?

Paul M
08-19-2012, 08:56 PM
Nope, I have no knowledge of Tapatalk.

Beckenbauer
08-24-2012, 06:55 PM
Is it possible to display only unread subscribed posts?

Paul M
08-25-2012, 09:52 PM
No.

thecore762
09-24-2012, 06:00 AM
Is there a way to make this mod a block for vBadvanced?

faisaly.com
10-09-2012, 08:26 AM
any way to make the color of post number red?

Tried phrase:

dup_unread_posts

I tried using this:

You Have <font color="red" <a href="{1}search.php?do=getnew&contenttype=vBForum_Post"></font> Unread Posts</a>

It didnt work, but then again it is searching for a condition where {1} is the color i am trying to change

xPonyx
10-22-2012, 04:15 PM
Appreciate you doing this, Paul. Unread posts has been the most asked-for feature, since moving from PHPBB.

flirtsnfriends
10-26-2012, 05:55 PM
Installed it very easily...marked installed and nominated for MOM...Now if I could only get the font color changed from white, so you could see it. How would I get it to display in red or black? Thanks

wildheart
11-02-2012, 07:55 AM
I want to make the Unread posts a tab in the Navigation Manager, please tell me what I must put in as the target url?

kfyonur
11-02-2012, 08:48 AM
how can i correct it ?

Paul M
11-03-2012, 01:51 PM
I want to make the Unread posts a tab in the Navigation Manager, please tell me what I must put in as the target url?

Its the standard "New Posts" link that already exists in the 4.2 menu.

wildheart
11-06-2012, 12:09 PM
Thank you very much.

wildheart
11-06-2012, 12:16 PM
I remember now why I asked the question. I want the Unread Posts (New Posts) to be a single standing tab like the forum tab and when I copy and paste the settings from New posts it does not work. It says "Sorry - no matches. Please try some different terms."

I dont understand why it wont work?

Paul M
11-08-2012, 01:35 AM
As I dont know exactly what you are copying and to where [etc], I cant answer that.

kfyonur
11-08-2012, 06:53 AM
how can i correct it ?

how about my problem ?

Paul M
11-08-2012, 11:59 PM
You are using a custom style, I cannot give support on that Im afraid.

sticky
11-10-2012, 12:32 AM
This no longer gives reputation notifications?

lamur
11-30-2012, 06:13 PM
QUestion. Right now it says:

You last visited: Today at 10:38 AM : You Have 86 Unread Posts

How can I modify it so it reads:

You last visited: Today at 10:38 AM
You Have 86 Unread Posts
Basically just adding a <br> somewhere so it's not on 1 line. Thanks!

Hippy
11-30-2012, 09:39 PM
you need to add <br /> by the way
In adminco go to search phrases for that text edit it there

inshajeex
12-04-2012, 08:49 AM
installed and mark as installed. thanks

flirtsnfriends
12-21-2012, 01:35 AM
Question ... I noticed today on our site that the word LAST -- sometimes turns into a hyperlink pointing others to a "credit check" site. This is more than likely a phishing site, and wanted to know if anyone else has seen this.

Is there a vulnerability I need to be aware of??

FnF ....

Paul M
12-21-2012, 03:23 PM
Sounds like you have some sort of keyword link modification installed - i.e. something that takes specific works and turns them into links.

rgaming
12-23-2012, 02:45 AM
Is there any way to make this compatible with vb 4.2? if not, is there another mod that is similiar to this that would work with 4.2? thanks!

craigvm
05-28-2013, 08:35 PM
great mod but how can i get it to display just under the nav bar

craigvm
05-28-2013, 08:37 PM
Is there any way to make this compatible with vb 4.2? if not, is there another mod that is similiar to this that would work with 4.2? thanks!

it worked for me on vb4.2.1

CAG CheechDogg
07-19-2013, 10:39 AM
Paul, any idea why it always says You last visited: 4 Weeks Ago at (what ever time, this time at 04:00 AM)?

But no matter what Paul it always says 4 weeks ago unless I click on "Mark forums read" , the times are correct just not the "4 weeks ago" which when I hit "mark forums read" it will say 30 minutes ago , or 3 hours ....

Paul M
07-20-2013, 11:40 AM
Nope, that really makes no sense at all.
Marking the forums read should change it to the current time.
Perhaps you have something installed that is inteferring with it.

mattcaswell
08-11-2013, 07:54 PM
Paul.. thanks for keeping the mods updated. This one was the first one my users said "HEY WHERE DID THE STUFF IN NOTIFICATIONS GO?"... you rock!

Caddyman
09-25-2013, 12:12 PM
Paul M, this is the only mod I run on every single install, awesome work man.

For those asking about why the unread post link, it not linked, on a template with a custom header...well...IDK why.

BUT, this is the fix I used, specifically on the Seasmus template. I turned the last visit date off in the acp>options>unread posts options

Float your toplinks to the left in vbulletin-chrome.css

.toplinks {
position: absolute;
left: 80px;
top: 0;
color: #ffffff;
font: normal normal normal 11px Arial, Tahoma, Calibri, Verdana, Geneva, sans-serif;
text-align: right;
background: none;

search for dup_out in language and phrases, and edit it to this....play around with the positioning

<div style="position: relative; top: -17px; left: 400px;height:10px;width:200px">{1}</div>

So now your unread post display is above the banner and clickable.

VBUsers
10-13-2013, 01:20 AM
Are we pretty secure using this mod? Im trying to go over all the products that might be letting hackers into my forum. I like this mod so I don't want to lose it. Just want to hear its up to date

ozzy47
10-13-2013, 01:22 AM
There is well over 1000 sites running this mod, and have had no security issues with it. :)

Reece^B
10-14-2013, 08:04 PM
Installed but don't show on custom skin, what code do I need to call it?

Thanks

Paul M
10-15-2013, 09:05 PM
You custom skin is probably missing some template hooks.

@vbusers, this is just display modification, it has no user input, so there isnt really anything about it that could be insecure.

Reece^B
10-16-2013, 11:26 AM
Is there code I could insert?

Paul M
10-17-2013, 06:41 PM
You are probably missing the template_hook "header_userinfo".

Find that in your default header, and copy it to your custom header in the same location (or as close as you can).

Robru
10-27-2013, 12:51 PM
Hello Paul, can you help me with this issue.
Only in IE10 its center the text, not in FF, Opera, Chrome and Safari.

When I login with the Facebook button, it stay good on the right side.

Phaedrus
01-21-2014, 06:13 AM
It wasn't notifying me on new reputation in 4.2.2, I installed the older version, now it is. I'm not sure why the notify wasn't working since it is supposed to be included in 4.2.2...

Thanks. My users love this mod.

whitewolf68
02-28-2014, 01:48 AM
Is there a way I can change the text color that this mod displays?

johon
09-02-2014, 06:20 AM
I have the problem that the counter (number) of unread messages isn't displayed anymore. The text is still visible and the link works, but no number of unread messages is visible.
In the phrase "$vbphrase[dup_unread_posts]" the text is You Have <a href="{1}search.php?do=getnew&contenttype=vBForum_Post">Unread Posts</a>"

When there are no unread messages, it's still the same message instead of "$vbphrase[dup_no_posts]" /"You Have No <a href="{1}search.php?do=getnew&contenttype=vBForum_Post">Unread Posts</a>")

wolfey
04-04-2015, 04:58 PM
Is there a way to run a report of a usergroup with only 50 users to display a list of # of unread posts per user?

persianpros
06-20-2015, 09:31 PM
Is it possible to show it left instead of right or right instead of left ? (like an option)

Eq4bits
06-28-2015, 02:22 PM
Is anyone running this on 4.2.3? I'm planning to upgrade tonight but do NOT want to lose the use of this fabulous mod that I've been using for years on several sites, members absolutely love it and claim they can't live without it.

Papa Bear
06-28-2015, 05:02 PM
Is anyone running this on 4.2.3? I'm planning to upgrade tonight but do NOT want to lose the use of this fabulous mod that I've been using for years on several sites, members absolutely love it and claim they can't live without it.


Yes it works just fine on 4.2.3

Paul M
06-28-2015, 09:08 PM
As per above, it should run just fine on 4.2.3

Eq4bits
06-28-2015, 09:36 PM
Thank you!

Eq4bits
06-29-2015, 05:06 PM
Ugh. I upgraded to 4.2.3 this morning. and the mod is behaving weirdly.
I'm going to try uninstalling and then re-installing to see if that fixes issue.
(it will show there are x# of unreads until you click the 'unread' link, then the 'search' loads with no unreads...)

Eq4bits
06-29-2015, 05:53 PM
I tried reinstalling but it's still not working correctly on my 4.2.3 =S
any ideas?

Eq4bits
06-29-2015, 05:56 PM
Also the built in 'get new posts' isn't working either (goes to ask about that at vb.com)

Eq4bits
06-30-2015, 07:23 PM
No response at vB.com (not surprising).
Anyone have any idea on how to make this unread posts mod work on 4.2.3?
The NUMBER of unread posts shows as does the link to click but when you click 'unread' it goes to the now unread posts message and the number of unreads disappears
it's been doing this since I upgraded to 4.2.3
I uninstalled, cleared system cache, re-downloaded from the link and reinstalled, went to options to set forums to exclude, clicked 'save', then cleared system cache again. It's still behaving as I described.
I'll be glad to send an admin i.d. and password via pm if necessary and can also provide ftp info.
thanks for any help.

Paul M
06-30-2015, 09:43 PM
Nothing has changed in 4.2.3 that would affect this, its working fine on my test 423.

Eq4bits
07-01-2015, 11:13 AM
Any ideas? Do i need to 'rebuild' something maybe in the maintenance section of admincp? Today's Posts works, but 'new posts' doesn't work either... which I'm assuming 'unreads' sorta works off of. Haven't been able to get any help at vb.com on the 'new posts' issue

Eq4bits
07-01-2015, 12:17 PM
Okay, I made a new style, plain jane vanilla, and it works. So it's something in my custom style.

Starts from scratch.......

Stratis
08-14-2015, 07:06 PM
Thanks for this Paul Marsden, is there a way please to put a variable and show where we like to show, many problems with skins.

I have vb4.2.0 pl4

concepts
08-14-2015, 08:40 PM
Working FANTASTIC on 4.2.3

Stratis
08-16-2015, 09:02 AM
What is the better "Maximum Cutoff Limit" to put in this option. (how many days)

Thanks

Paul.
08-18-2015, 07:05 PM
On vB5 now and really missing this mod.
I think it's the best one we've had.

Paul M
08-19-2015, 06:29 PM
Sadly yes, if you move to vB5, you will lose a lot of functionality, both core and mods.

Just in case you were wondering, I will not be porting this (or any of my mods) to vB5.
Its simply not worth the effort to me - and indeed, in many cases simply not possible anyway.

wolfey
10-17-2015, 04:54 PM
Is there a way to run a report of a usergroup with only 50 users to display a list of # of unread posts per user?


Hello

would love to have a way to do this.

Thanks

darksidemon2
10-26-2015, 10:05 PM
Strange it works for the default VB template but not in my template.

Is it possible to get this great mot in another place in the header or just for a test and if it work there

works perfect with the lasters vb4.2.3

darksidemon2
10-27-2015, 12:11 PM
Paul M, this is the only mod I run on every single install, awesome work man.

For those asking about why the unread post link, it not linked, on a template with a custom header...well...IDK why.

BUT, this is the fix I used, specifically on the Seasmus template. I turned the last visit date off in the acp>options>unread posts options

Float your toplinks to the left in vbulletin-chrome.css

.toplinks {
position: absolute;
left: 80px;
top: 0;
color: #ffffff;
font: normal normal normal 11px Arial, Tahoma, Calibri, Verdana, Geneva, sans-serif;
text-align: right;
background: none;

search for dup_out in language and phrases, and edit it to this....play around with the positioning

<div style="position: relative; top: -17px; left: 400px;height:10px;width:200px">{1}</div>

So now your unread post display is above the banner and clickable.

Only use this

<div style="position: relative; top: -17px; left: 400px;height:10px;width:200px">{1}</div>
Many thanks

wolfey
04-02-2016, 09:42 AM
Hello

would love to have a way to do this.

Thanks


What SQL query could I use to pull this information from tables?

Doesn't have to be neat, I was hoping to display a list of users with how many unread posts each have.

RedHacker
05-25-2016, 11:00 PM
How to add Red (Bold) Color of number of posts ?

RedHacker
06-19-2016, 01:36 AM
How to add Red (Bold) Color of number of posts ?

Anyone to help this ?

MarkFL
06-19-2016, 01:52 AM
Anyone to help this ?

If you are talking about the "Notifications" dropdown, try these selectors:

.toplinks .notifications a.popupctrl {
color: #800000;
}

.toplinks .notifications a.popupctrl:hover {
color: #FF0000;
}

RedHacker
06-19-2016, 02:27 AM
If you are talking about the "Notifications" dropdown, try these selectors:

.toplinks .notifications a.popupctrl {
color: #800000;
}

.toplinks .notifications a.popupctrl:hover {
color: #FF0000;
}

No the numbers of posts in this mod.

You last visited: Yesterday at 21:57 : You Have 5 Unread Posts

The number 5. How to put Bold Red Color ?

MarkFL
06-19-2016, 02:38 AM
No the numbers of posts in this mod.

You last visited: Yesterday at 21:57 : You Have 5 Unread Posts

The number 5. How to put Bold Red Color ?

Ah, okay...sorry for the misunderstanding. :)

Look in your "Phrase Manager" for the phrase "dup_x_unread_posts" and replace the first parameter {1} with:

<span style="color:red;">{1}</span>

RedHacker
06-19-2016, 02:59 AM
Ah, okay...sorry for the misunderstanding. :)

Look in your "Phrase Manager" for the phrase "dup_x_unread_posts" and replace the first parameter {1} with:

<span style="color:red;">{1}</span>

Thanks a lot