Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
YOBROMOFO-Flashing PM's Details »»
YOBROMOFO-Flashing PM's
Version: 2.00, by TimberFloorAu TimberFloorAu is offline
Developer Last Online: Jan 2013 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.0.1 Rating:
Released: 01-14-2010 Last Update: 01-15-2010 Installs: 163
Template Edits
Re-useable Code Translations  
No support by the author.

This is an update to ERICGTR so simple flashing PM notification.

PLEASE CLICK INSTALL

Installation is easy.
One template edit.
One image to upload.

First Grab the image, and upload via FTP to yourwebsite.com/forum/images

Remember the path !

Goto: admincp>styles and Templates>yourstyle>header

find:

Code:
<li class="welcomelink">{vb:rawphrase welcome_x_link_y, {vb:raw bbuserinfo.username}, {vb:link member, {vb:raw bbuserinfo}}}
add under:

Code:
<!--yobromofo.com flashing message-->
<vb:if condition="$bbuserinfo['pmunread']">
    <a href="private.php{vb:raw session.sessionurl_q}"><img border="0" src="images/newpm.gif" width="24" height="11"></a>
    </vb:if>
<!--yobromofo.com end flashing message-->
Remember to make sure image attributes width and height match the image

Click SAVE

Done

Enclosed:
1.Instructions
2. flashing pm gif

Supporters:
VonDoom
Dr.Osama

Update, simple template edits ! :up:

Revision 2 - 16th January 2010 AEST
Added VonDooms - Graphics

Download Now

File Type: zip YBMF-Flashing-PM(version2.00).zip (4.6 KB, 508 views)
File Type: zip colored_animated_envolopes.zip (27.1 KB, 438 views)

Screenshots

File Type: png preview.png (1.8 KB, 0 views)

Supporters / CoAuthors

Show Your Support

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

Comments
  #82  
Old 10-27-2013, 09:56 AM
lobosnake lobosnake is offline
 
Join Date: Sep 2013
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, I would be helpful if you look and tell me what it is.

thank you very much
Reply With Quote
  #83  
Old 10-30-2013, 04:16 AM
smirkley smirkley is offline
 
Join Date: Apr 2008
Posts: 627
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry, forgot,

add an elseif after the pm notification

using $notifications_total instead of the pm notification
Reply With Quote
  #84  
Old 10-30-2013, 06:18 AM
john7911 john7911 is offline
 
Join Date: Feb 2013
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you
Reply With Quote
Благодарность от:
lobosnake
  #85  
Old 10-31-2013, 11:49 PM
lobosnake lobosnake is offline
 
Join Date: Sep 2013
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did not understand very well, my English is very bad and I use a translator, so this would be correct?

Code:
<!--yobromofo.com flashing message-->
<vb:if condition="$bbuserinfo['pmunread']">
    <a href="private.php{vb:raw session.sessionurl_q}"><img border="0" src="images/newpm.gif" width="24" height="11"></a>
<else />
<vb:if condition="$notifications_total">


    </vb:if>
</vb:if>
	
<!--yobromofo.com end flashing message-->
thank you very much
Reply With Quote
  #86  
Old 11-01-2013, 02:42 AM
smirkley smirkley is offline
 
Join Date: Apr 2008
Posts: 627
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry. My setup is very custom, so I tried to apply it to code for you by using your example. You can add text and/or hyperlinks in any of the three conditions, but this should do the trick for the basic image setup. Untested, but should work for the newpm.gif

Code:
<!--yobromofo.com flashing message-->
<vb:if condition="$bbuserinfo['pmunread']" />
    <a href="private.php{vb:raw session.sessionurl_q}"><img border="0" src="images/newpm.gif" width="24" height="11"></a>
<vb:elseif condition="$notifications_total" />
    <a href="private.php{vb:raw session.sessionurl_q}"><img border="0" src="images/newpm.gif" width="24" height="11"></a>
<vb:else />
    
</vb:if>
<!--yobromofo.com end flashing message-->
Reply With Quote
  #87  
Old 11-02-2013, 10:24 AM
lobosnake lobosnake is offline
 
Join Date: Sep 2013
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello I served a lot, but still not get messages visit notify .
This is the code I am using:

Code:
<!--yobromofo.com flashing message-->
<vb:if condition="$bbuserinfo['pmunread']">
    <a href="private.php{vb:raw session.sessionurl_q}"><img border="0" src="images/newpm.gif" width="24" height="11"></a>
<vb:elseif condition="$notifications_total" />
    <a href="{vb:link member, {vb:raw bbuserinfo}}{vb:raw userinfo.userid}&tab=likes_received"><img border="0" src="images/newpm.gif" width="24" height="11"></a>
<vb:else />
    </vb:if>
<!--yobromofo.com end flashing message-->

Can you think of any way to do?
Reply With Quote
  #88  
Old 11-02-2013, 11:27 PM
smirkley smirkley is offline
 
Join Date: Apr 2008
Posts: 627
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The first condition is for pm's

The second is for all other notifications(will not see it if there are pm's

Third condition is for no notifications.

You can insert text or variables after the image tag but before the </a> for different text for each condition, including username.
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 04:18 AM.


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.04808 seconds
  • Memory Usage 2,306KB
  • Queries Executed 24 (?)
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
  • (5)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (8)post_thanks_box
  • (1)post_thanks_box_bit
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (3)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete