![]() |
Unread Posts and Reputation Comments (welcome box)
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'. |
Thanks for the update. I was using the 3.5 version but its nice to have the official 3.6 one.
|
Thanks!
|
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?
|
I have the same issue. I actually went back to see if I needed to edit any templates. O_o
|
Working fine here. Just unistalled the old one and installed the new one. Didn't need to do any edits or settings.
|
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. |
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...
|
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.... |
Thank you Paul
|
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 |
It works fine for me but I would prefer to place it below the "You last visited" string. How can it be done?
|
Good hack Thanks
|
is a good mod, would be very helpful if i could get it to work...
The following dependencies were not met: Quote:
|
Quote:
|
Quote:
Quote:
|
Quote:
:D |
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! |
OK, I made it bigger. :p
|
Good one, installed
|
How can we move the text to a different place? I'd prefer it under the "Private Messages: Unread/Total"
|
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
|
Quote:
|
Quote:
|
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.
|
Thx Paul - very useful. :rolleyes:
|
great hack big thx form me :)
|
Quote:
Code:
$search_text = '</strong><br />'; Code:
$search_text = '\$vbphrase[last_visited_x_at_y]</phrase>'; Code:
$unread = construct_phrase('<a href=\"search.php?do=getnew\">'.$vbphrase['unread_posts'].'</a><br />',$postcount['unread']); Code:
$unread = construct_phrase('<br /><a href=\"search.php?do=getnew\">'.$vbphrase['unread_posts'].'</a><br />',$postcount['unread']); |
Quote:
Step 1: Open Paul's XML-File with Notepad Step 2: Search for: Code:
$vbulletin->templatecache['navbar'] = str_replace($search_text,$search_text.$unread,$vbulletin->templatecache['navbar']); Code:
$vbulletin->templatecache['navbar'] = str_replace("\$vbphrase[new_posts_nav]</a>","\$vbphrase[new_posts_nav] (".$postcount['unread'].")</a>",$vbulletin->templatecache['navbar']); And don't forget to refresh your Browser :p |
Quote:
Find this in Paul's XML-Product-File: Code:
$search_text = '</strong><br />'; Code:
$search_text = '\$vbphrase[private_messages_nav]</phrase></if>'; Code:
$unread = construct_phrase('<a href=\"search.php?do=getnew\">'.$vbphrase['unread_posts'].'</a><br />',$postcount['unread']); Code:
$unread = construct_phrase('<br /><a href=\"search.php?do=getnew\">'.$vbphrase['unread_posts'].'</a><br />',$postcount['unread']); Save with Notepad - Re-Import Hack, Allow overwrite 'yes', refresh Browser :) |
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 :( |
Quote:
|
Quote:
|
@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 |
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: Code:
$search_text = '<!-- Paul M, unread Post Count -->'; Code:
$unread = construct_phrase('<a href=\"search.php?do=getnew\">'.$vbphrase['unread_posts'].'</a><br />',$postcount['unread']); (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! |
Quote:
I am searching for a IP Solution after the Username ;) |
Quote:
That was my solution too, plus I changed it a little bit more to make it look like the "Private Messages" line!!! |
Quote:
|
Quote:
|
And it didn't work :(
|
All times are GMT. The time now is 10:38 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|