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 - YOBROMOFO-Flashing PM's (https://vborg.vbsupport.ru/showthread.php?t=233218)

TimberFloorAu 01-14-2010 10:00 PM

YOBROMOFO-Flashing PM's
 
1 Attachment(s)
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

Big-Pete 01-15-2010 06:42 PM

Excellent, wondered if this would get vb4'd :)

iguano 01-15-2010 06:53 PM

installed, perfect
thanks :-)

VonDoom 01-15-2010 07:01 PM

Thanks

Trumpetrhapsody 01-15-2010 08:23 PM

Installed.

Suggestion though:

For the sake of universality, wouldn't it be better to use:
Code:

<a href="private.php{vb:raw session.sessionurl_q}">
Instead of customizing:
Code:

<a href="http://www.yobromofo.com/forum/private.php?">

TimberFloorAu 01-15-2010 08:26 PM

Only did absolute url, because some people have convoluted suites, with content and forum here there and everywhere.

Ste

Bram H 01-15-2010 09:39 PM

Very annoying mod!! :) Installed !! Now i am forced to read those messages that i aways overlook!

Thanks

TimberFloorAu 01-15-2010 10:55 PM

1 Attachment(s)
Alternate Image:

Included below. Please also change

width="22" height="10"

to

width="26" height="11"

viganothing 01-15-2010 11:19 PM

thanks installed

VonDoom 01-16-2010 12:09 AM

1 Attachment(s)
Another, Not sure where this came from found it in my FTP when i went to upload this mod decided it matched my forum a bit better so i kept it.

width="18" height="12"


All times are GMT. The time now is 08:40 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.01083 seconds
  • Memory Usage 1,732KB
  • 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
  • (4)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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