Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications

Reply
 
Thread Tools
New Notification Image Details »»
New Notification Image
Version: 1.00, by ericgtr ericgtr is offline
Developer Last Online: Feb 2022 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.7.0 Beta 3 Rating:
Released: 12-24-2007 Last Update: Never Installs: 107
Template Edits
 
No support by the author.

Now that we have notifications, I have modified my previous New PM hack to go along with the new setup. This will display when ever there is a new PM or Notification to grab the users attention.

In the navbar template find:
Code:
<if condition="$show['pmwarning']"><div><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></div></if>
</div>
</td>
Add this right under:
Code:
<if condition="$show['notifications']">
<td class="alt2" valign="top" nowrap="nowrap">
<img src="$stylevar[imgdir_misc]/notification.jpg" alt="You have a new Notification" border="0"></a>
</td>
</if>
Upload the attached "notification.jpg" to your /images/misc directory

~Please click Install if you use this~

Show Your Support

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

Comments
  #22  
Old 02-11-2008, 06:06 PM
Derekclarke's Avatar
Derekclarke Derekclarke is offline
 
Join Date: Dec 2005
Location: N.Devon
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope still in the same place.....
Reply With Quote
  #23  
Old 02-12-2008, 07:28 PM
Rich's Avatar
Rich Rich is offline
 
Join Date: Mar 2004
Location: U.S.A
Posts: 921
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, this should fix it:

Code:
<td class="alt2" valign="top" nowrap="nowrap">
<if condition="$show['notifications']">
<img src="$stylevar[imgdir_misc]/notification.jpg" alt="You have a new Notification" border="0" /> </a>
<else />
<img src="$stylevar[imgdir_misc]/nonotification.jpg" alt="You have no new notifications" border="0" />
</if>
</td>
I was in a hurry and only had the td showing if there was a notification.
Reply With Quote
  #24  
Old 02-23-2008, 08:18 PM
Derekclarke's Avatar
Derekclarke Derekclarke is offline
 
Join Date: Dec 2005
Location: N.Devon
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep That done it Thanks...

It looks Great.
Reply With Quote
  #25  
Old 04-21-2008, 09:10 PM
yaoren's Avatar
yaoren yaoren is offline
 
Join Date: May 2007
Location: Maryland, USA
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OH I love this, ty ty!
Reply With Quote
  #26  
Old 04-21-2008, 09:42 PM
yaoren's Avatar
yaoren yaoren is offline
 
Join Date: May 2007
Location: Maryland, USA
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Somehow I couldn't edit my previous post.

Anyhow this works fine as you can see although it forced my credits off. How can I fix this?

Attachment 79075

*Edit - sorted it out, sorry!
Reply With Quote
  #27  
Old 05-06-2008, 11:47 AM
dannykilla's Avatar
dannykilla dannykilla is offline
 
Join Date: Jun 2007
Location: Manchester, UK
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would this work with the Sound Notification hack?
Reply With Quote
  #28  
Old 05-07-2008, 01:44 PM
LorraineMc LorraineMc is offline
 
Join Date: Mar 2007
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you have installed...this is so cute....I really wanted to use your avatar for the notification image. (I think that image is so cute for this) is there away to move the image to the left of the notification box rather then to the right? (I am not handy dandy with code so I don't want to play to much....I did try valign=left but that doesn't work) can you tell me an easy solution?

Thanks aj8690 for your image, as I am using that one right now and it works perfect
Reply With Quote
  #29  
Old 05-08-2008, 07:28 AM
LorraineMc LorraineMc is offline
 
Join Date: Mar 2007
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really hope you don't mind but i mirrored the image and converted it back to a gif and am using this as my notification image and wanted to share it back here...thank you again for this great mod.
Attachment 80132
Reply With Quote
  #30  
Old 05-08-2008, 08:16 PM
Replicators's Avatar
Replicators Replicators is offline
 
Join Date: Jul 2005
Location: Jamestown, NY
Posts: 344
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is what i am using, feel free to use them if you want, i didn't make em.
Reply With Quote
  #31  
Old 06-13-2008, 01:19 PM
racechick20 racechick20 is offline
 
Join Date: Aug 2006
Location: Lancaster, UK.
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey there, Ericgtr.

Thank you for a great little mode. I love it and I desperately want to use it but can I get it to work? Can I cocoa. I am using a custom skin and would have to use this in part of the side bar. I think it has to go in here somewhere, with a little editing, but what ever I do and however I try, I break the design. My image is 26x26 pixels. I've attached it, it's one I made so if anyone wants it - feel free.

PHP Code:
<div class="lbh">Quick Member Login:</div>
<
div class="lb">
    <if 
condition="$show['member']">
            <
div class="smallfont">
            <
span class="lbi"><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></span><br />
            <
phrase 1="$pmbox[lastvisitdate]2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase><br />
            <if 
condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]2="$vbphrase[total_x_nav_compiled]3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase><br></if>
            <if 
condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if>
        </
div>
    <else /> 
Any ideas of how I could include this? I don't mind it being at the top or on a seperate line. Here's a screen shot of where it should go. And all this is part of the header template.
Reply With Quote
Reply

Thread Tools

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 04:49 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
  • Page Generation 0.11869 seconds
  • Memory Usage 2,313KB
  • Queries Executed 25 (?)
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
  • (3)bbcode_code
  • (1)bbcode_php
  • (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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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