Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
GTHighlight Unread Announcements Details »»
GTHighlight Unread Announcements
Version: 1.00, by Princeton Princeton is offline
Developer Last Online: Nov 2022 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.6.8 Rating:
Released: 06-14-2007 Last Update: Never Installs: 60
Template Edits
 
No support by the author.

A modification which highlights unread announcements within the forumdisplay.php page.

This modification requires manual edits.

Show your support and click Mark As Installed, Nominate For MOTM, or Support Developer.

The current highlight color is "gold". If you prefer another color just make the changes by replacing every instance of "gold" with your preferred color.

If you do not have a modified threadbit_announcement template you can just copy the contents of threadbit_announcement.txt to the threadbit_announcement template; otherwise, follow the instructions found within the README file.



Recently Released Modifications:

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 11-14-2007, 09:03 PM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Need help. Cannot find alt1. I have a custom threadbit_announcement template.

What should my edits be?

Code:
<tr>
    <td class="announcement"><img src="$stylevar[imgdir_statusicon]/announcement_$announcement[statusicon].gif" border="0" alt="$vbphrase[announcement]" /></td>
    <td class="announcement" colspan="$announcecolspan">
        <div>
            <span class="smallfont" style="float:$stylevar[right]">$vbphrase[views]: <strong>$announcement[views]</strong> <a href="announcement.php?$session[sessionurl]f=$foruminfo[forumid]$announcementidlink"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[view_announcement]" border="0" /></a></span>
            <strong>$vbphrase[announcement]</strong>: <a href="announcement.php?$session[sessionurl]f=$foruminfo[forumid]$announcementidlink">$announcement[title]</a>
        </div>
        <div>
            <span style="float:$stylevar[right]"><if condition="$show['forumtitle']"><a href="forumdisplay.php?$session[sessionurl]f=$announcement[forumid]">$announcement[forumtitle]</a> </if><span class="smallfont">$announcement[postdate]</span></span>
             <span class="smallfont">
                <a href="member.php?$session[sessionurl]u=$announcement[userid]">$announcement[username]</a>
                <if condition="$announcement['usertitle'] != ''">($announcement[usertitle])</if>
            </span>               
        </div>
    </td>
</tr>
Reply With Quote
  #13  
Old 11-21-2007, 08:07 AM
GhoHan's Avatar
GhoHan GhoHan is offline
 
Join Date: Oct 2007
Location: Jakarta - Indonesia
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by chadi View Post
Need help. Cannot find alt1. I have a custom threadbit_announcement template.

What should my edits be?

Code:
<tr>
    <td class="announcement"><img src="$stylevar[imgdir_statusicon]/announcement_$announcement[statusicon].gif" border="0" alt="$vbphrase[announcement]" /></td>
    <td class="announcement" colspan="$announcecolspan">
        <div>
            <span class="smallfont" style="float:$stylevar[right]">$vbphrase[views]: <strong>$announcement[views]</strong> <a href="announcement.php?$session[sessionurl]f=$foruminfo[forumid]$announcementidlink"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[view_announcement]" border="0" /></a></span>
            <strong>$vbphrase[announcement]</strong>: <a href="announcement.php?$session[sessionurl]f=$foruminfo[forumid]$announcementidlink">$announcement[title]</a>
        </div>
        <div>
            <span style="float:$stylevar[right]"><if condition="$show['forumtitle']"><a href="forumdisplay.php?$session[sessionurl]f=$announcement[forumid]">$announcement[forumtitle]</a> </if><span class="smallfont">$announcement[postdate]</span></span>
             <span class="smallfont">
                <a href="member.php?$session[sessionurl]u=$announcement[userid]">$announcement[username]</a>
                <if condition="$announcement['usertitle'] != ''">($announcement[usertitle])</if>
            </span>               
        </div>
    </td>
</tr>
I copied the the whole contents of threadbit_announcement.txt to the threadbit_announcement template.

It seems working fine, though.

nice mods, installed.
Reply With Quote
  #14  
Old 11-21-2007, 10:50 AM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tested with 3 different user id's.....

I tried to update current (default) threadbit_announcement template with edits... no flashing

I completely replaced the threadbit_announcement template with contents of provide threadbit_announcement.txt .... no flashing

Doesn't work for our site using v.3.6.7pl1...

Reverted template back to standard vBulletin default that was there....

Thanks anyway ...

Regards,
Badger
Reply With Quote
  #15  
Old 11-27-2007, 12:36 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BadgerDog View Post
Tested with 3 different user id's.....

I tried to update current (default) threadbit_announcement template with edits... no flashing

I completely replaced the threadbit_announcement template with contents of provide threadbit_announcement.txt .... no flashing

Doesn't work for our site using v.3.6.7pl1...

Reverted template back to standard vBulletin default that was there....

Thanks anyway ...

Regards,
Badger
confused .. it's not suppose to be "flashing"
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:39 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05903 seconds
  • Memory Usage 2,257KB
  • Queries Executed 19 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete