The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Unread Posts and Reputation Comments (welcome box) Details »» | |||||||||||||||||||||||||||
Unread Posts and Reputation Comments (welcome box)
Developer Last Online: Nov 2023
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'. Show Your Support
|
Comments |
#22
|
||||
|
||||
How can we move the text to a different place? I'd prefer it under the "Private Messages: Unread/Total"
|
#23
|
|||
|
|||
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
|
#24
|
||||
|
||||
Quote:
|
#25
|
||||
|
||||
Quote:
|
#26
|
||||
|
||||
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.
|
#27
|
||||
|
||||
Thx Paul - very useful.
|
#28
|
|||
|
|||
great hack big thx form me
|
#29
|
||||
|
||||
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']);
|
#30
|
||||
|
||||
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']); $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']); And don't forget to refresh your Browser |
#31
|
||||
|
||||
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 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|