vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - Unread Threads Marker (https://vborg.vbsupport.ru/showthread.php?t=252720)

BadgerDog 10-29-2010 09:39 AM

Installed .. thanks ... :)

Seems to work fine in 4.04pl1 as well ... :up:

Regards,
Badger

sross 10-29-2010 11:27 PM

You Are My Hero!

-donation sent thanks again :)

shri 10-30-2010 12:13 AM

Thank you! Works on 4.0.6. Donation sent!

COL NIL SATIS 10-30-2010 11:59 AM

<li class="imodselector threadbit {vb:if !$thread['del_username'], $thread['statusstring']}" id="thread_{vb:raw thread.realthreadid}" title="{vb:raw thread.preview}">

dont seem to have that in my Template search_threadbit

Gah

COL NIL SATIS 10-30-2010 12:21 PM

<li class="imodselector threadbit {vb:if !$thread['del_username'], $thread['statusstring']}" id="thread_{vb:raw thread.realthreadid}">
<div class="icon{vb:raw thread.threadiconid} rating{vb:raw thread.rating}<vb:if condition="$thread['sticky']"> sticky<vb:else /> nonsticky</vb:if>{vb:if $thread['del_username'], ' deleted'}">
<div class="threadinfo thread">
<!-- status icon block -->
<a class="threadstatus" rel="vB::AJAX" title="
<vb:if condition="$show['threadcount']">
{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw thread.dot_count}, {vb:raw thread.dot_lastpost}}
</vb:if>
"></a>
<vb:if condition="$show[threadcount]"><span class="shade" style="float:{vb:stylevar right}"><br /><br /><a href="showthread.php?{vb:raw session.sessionurl}goto=mylastpost&amp;t={vb:raw thread.threadid}" class="lastpostdate understate" title="{vb:rawphrase vsajtylpit_jumptomylast}">►</a></span></vb:if>
<!-- title / author block -->
<div class="inner">
<h3 class="searchtitle">

<vb:if condition="$show['gotonewpost']"><a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_newpost}, 'threadid', 'threadtitle'}" id="thread_gotonew_{vb:raw thread.realthreadid}"><img class="gotonewpost" src="{vb:stylevar imgdir_button}/firstnew.png" alt="{vb:rawphrase go_to_first_new_post}" /></a>
</vb:if>

<vb:if condition="$thread['sticky']">
<img src="{vb:stylevar imgdir_misc}/sticky.gif" alt="{vb:rawphrase sticky_thread}" />
</vb:if>

<vb:if condition="$thread['movedprefix'] OR $thread['typeprefix'] OR $thread['moderatedprefix'] OR $thread['prefix_rich']">
<span class="prefix understate">
{vb:raw thread.movedprefix}
{vb:raw thread.typeprefix}
{vb:raw thread.moderatedprefix}
{vb:raw thread.prefix_rich}
</span>
</vb:if>
<a class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw thread.realthreadid}" title="{vb:raw thread.preview}">{vb:raw thread.threadtitle}</a>
</h3>


<div class="threadmeta">
<div class="author">
{vb:rawphrase started_by_x_y_z_a, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw thread.postusername}, {vb:raw thread.startdate}, {vb:raw thread.starttime}}
<vb:if condition="$show['unsubscribe']">
&nbsp; <a href="newreply.php?{vb:raw session.sessionurl}do=newreply&amp;t={vb:raw thread.threadid}" rel="nofollow">{vb:rawphrase reply}</a>
| <a href="subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;retur n=ucp&amp;t={vb:raw thread.threadid}" rel="nofollow">{vb:rawphrase unsubscribe}</a>
</vb:if>
<vb:if condition="$thread['pagenav']">
<dl class="pagination" id="pagination_threadbit_{vb:raw thread.realthreadid}">
<dt class="label">{vb:raw thread.totalpages} {vb:rawphrase pages} <span class="separator">&bull;</span></dt>
<dd>
{vb:raw thread.pagenav}
<vb:if condition="$show['pagenavmore']"> ... <a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_lastpage}, threadid, threadtitle}">{vb:raw thread.totalpages}</a></vb:if>
</dd>
</dl>
</vb:if>
</div>
<vb:if condition="$show['managethread'] && $thread['del_username']">
<ul class="managethread">
<li class="rmanage"><a href="postings.php?{vb:raw session.sessionurl}do=editthread&amp;t={vb:raw thread.redirectthreadid}">{vb:rawphrase manage}</a></li>
</ul>
</vb:if>
</div>

</div>
<!-- iconinfo -->
<div class="threaddetails td">
<div class="threaddetailicons">
<vb:if condition="$show['taglist']">
<img src="{vb:stylevar imgdir_misc}/tag.png" alt="{vb:raw thread.taglist}" />
</vb:if>
<vb:if condition="$show['rexpires']">
<img src="{vb:stylevar imgdir_misc}/expires.gif" alt="{vb:rawphrase expires_on_x_y, {vb:raw thread.expiredate}, {vb:raw thread.expiretime}}" />
</vb:if>
<vb:if condition="$show['moderated']">
<img src="{vb:stylevar imgdir_misc}/moderated_small.gif" alt="{vb:rawphrase x_moderated_posts, {vb:raw thread.hiddencount}}" />
</vb:if>
<vb:if condition="$show['deletedthread']">
<img src="{vb:stylevar imgdir_misc}/trashcan_small.gif" alt="{vb:rawphrase x_deleted_posts, {vb:raw thread.deletedcount}}" />
</vb:if>
<vb:if condition="$show['paperclip']">
<a href="javascript://" onclick="attachments({vb:raw thread.threadid}); return false"> <img src="{vb:stylevar imgdir_misc}/paperclip.png" border="0" alt="{vb:rawphrase x_attachments, {vb:raw thread.attach}}" /></a>
</vb:if>
<vb:if condition="$thread['issubscribed']">
<img src="{vb:stylevar imgdir_misc}/subscribed.png" alt="{vb:rawphrase you_are_subscribed_to_this_thread}" />
</vb:if>
</div>
</div>
</div>


<!-- threadstats -->
<vb:if condition="!$show['notificationtype'] && !$thread['del_username']">
<ul class="threadstats td alt" title="<vb:if condition="$thread['dot_count'] > 0">{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw thread.dot_count}, {vb:raw thread.dot_lastpost}}</vb:if>">
<li class="stats"><a href="misc.php?do=whoposted&amp;t={vb:raw thread.threadid}" onclick="who({vb:raw thread.threadid}); return false;">{vb:rawphrase replies}</a>: {vb:raw thread.replycount}</li>
<li class="stats">{vb:rawphrase views}: {vb:raw thread.views}</li>
</ul>
</vb:if>
<vb:if condition="$thread['del_username']">
<!-- deleted by -->
<div class="threaddeleted td">
<div class="inner">
<div class="deletedby">
{vb:rawphrase thread_deleted_by_x, {vb:link member, {vb:raw thread}, null, 'del_userid', 'del_username'}, {vb:raw thread.del_username}}
</div>

<vb:if condition="$show['deletereason']">
<dl class="stats deletereason">
<dt class="reason">{vb:rawphrase reason}</dt>
<dd class="reason"> &nbsp;{vb:raw thread.del_reason}</dd>
</dl>
</vb:if>
</div>
</div>
<vb:else />
<!-- lastpost -->
<dl class="threadlastpost td">
<dt class="lastpostby hidden">{vb:rawphrase last_post_by}:</dt>
<dd>{vb:rawphrase last_post}: {vb:raw thread.lastpostdate} <em class="time">{vb:raw thread.lastposttime}</em></dd>
<dd>
<vb:if condition="$thread['lastposterid']">
{vb:rawphrase by_x, {vb:link member, {vb:raw thread}, null, 'lastposterid', 'lastposter'}, {vb:raw thread.lastposter}}
<vb:else />
{vb:rawphrase by_x_guest , {vb:raw thread.lastposter}}
</vb:if>
&nbsp;<a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_lastpost}, 'threadid', 'threadtitle'}#post{vb:raw thread.lastpostid}"><img src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" alt="{vb:rawphrase go_to_last_post}" /></a>
</dd>
</dl>
</vb:if>

<div class="threadpostedin td alt">
<p>
{vb:rawphrase forum}:<br /><a href="{vb:link forum, {vb:raw thread}, null, 'forumid', 'forumtitle'}" title="{vb:raw thread.forumtitleclean}">{vb:raw thread.forumtitle}</a>
</p>

</div>

<vb:if condition="$show['notificationtype']">
<!-- notification -->
<div class="threadnotification td">
<label for="thread_imod_checkbox_{vb:raw thread.realthreadid}">{vb:raw thread.notification}</label>
</div>
<label class="threadimod td">
<input type="checkbox" name="deletebox[{vb:raw subscribethread.$threadid}]" id="thread_imod_checkbox_{vb:raw thread.realthreadid}" value="yes" />
</label>
</vb:if>

<vb:if condition="$show['inlinemod']">
<!-- fourth block -->
<label class="threadimod">
<input type="checkbox" id="thread_imod_checkbox_{vb:raw thread.realthreadid}" name="imodcheck[{vb:raw thread.realthreadid}]" />
</label>
</vb:if>

</div>
</li>

where would i place the code????

djbaxter 10-30-2010 03:32 PM

Quote:

where would i place the code????
Right at the beginning of the template, before anything else.

COL NIL SATIS 10-30-2010 05:19 PM

Cheers Dj

Andreas 10-31-2010 06:20 AM

Quote:

Originally Posted by COL NIL SATIS (Post 2116021)
Code:

<li class="imodselector threadbit {vb:if !$thread['del_username'], $thread['statusstring']}" id="thread_{vb:raw thread.realthreadid}" title="{vb:raw thread.preview}">
dont seem to have that in my Template search_threadbit

You do, it is just slightly different (because you are using a different version?):
Code:

<li class="imodselector threadbit {vb:if !$thread['del_username'], $thread['statusstring']}" id="thread_{vb:raw thread.realthreadid}">

Mr Peabody 10-31-2010 06:28 AM

Great mod that basically adds a function in that should never been removed.
Thanks :)

COL NIL SATIS 10-31-2010 01:20 PM

Quote:

Originally Posted by Andreas (Post 2116271)
You do, it is just slightly different (because you are using a different version?):
Code:

<li class="imodselector threadbit {vb:if !$thread['del_username'], $thread['statusstring']}" id="thread_{vb:raw thread.realthreadid}">


Hmmmm...still cant get it to show on 4.0.6?? nevermind i will keep trying !!


All times are GMT. The time now is 07:16 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01167 seconds
  • Memory Usage 1,778KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete