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

Reply
 
Thread Tools
Add flashing envelope PM notification Details »»
Add flashing envelope PM notification
Version: 1.00, by ericgtr ericgtr is offline
Developer Last Online: Feb 2022 Show Printable Version Email this Page

Version: 3.5.1 Rating:
Released: 12-17-2005 Last Update: 12-18-2005 Installs: 322
Template Edits
 
No support by the author.

A very simple template mod that's guaranteed to catch the users eye, see screenshot.

Please see the attached text file for instructions, here's the image

Enjoy!

Show Your Support

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

Comments
  #112  
Old 01-19-2007, 12:59 AM
RyanDe680 RyanDe680 is offline
 
Join Date: Sep 2003
Location: Oak Brook, IL
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by burntire View Post
Post up your template code and I will take a look.
Here you go, I just posted what is relevant:

Code:
<script type="text/javascript">
<!--
function log_out()
{
	ht = document.getElementsByTagName("html");
	ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
	if (confirm('$vbphrase[sure_you_want_to_log_out]'))
	{
		return true;
	}
	else
	{
		ht[0].style.filter = "";
		return false;
	}
}
//-->
</script>

<br />

<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="alt1" width="100%">
		<if condition="is_array($navbits)">
			<table cellpadding="0" cellspacing="0" border="0">
			<tr valign="bottom">
				<td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
				<td>&nbsp;</td>
				<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
			</tr>
			<tr>
				<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="" border="0" /><else /><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td>
			</tr>
			</table>			
		<else />
			<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
		</if>
	</td>	
	
	<if condition="$show['member']">
	
		<td class="alt2" valign="top" nowrap="nowrap">
		<div class="smallfont">
			<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />

<!-- / Flashing envelope hack starts here -->


<if condition="$bbuserinfo['pmunread']">
	<a href="http://www.lexfstyle.com/forum/private.php?"><img border="0" src="http://www.lexfstyle.com/images/pm/newpm.gif" width="22" 

height="10"></a>
	</if>

<!-- / Flashing envelope hack ends here -->

			<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
			<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></if>
			<if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if>
		</div>
		</td>
		
	<else />
Reply With Quote
  #113  
Old 01-19-2007, 01:49 AM
burntire burntire is offline
 
Join Date: Jun 2006
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The code looks fine.

I can not open the image with the link provided.

Is the url correct?
Reply With Quote
  #114  
Old 01-19-2007, 01:52 AM
RyanDe680 RyanDe680 is offline
 
Join Date: Sep 2003
Location: Oak Brook, IL
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Let's test

Reply With Quote
  #115  
Old 01-19-2007, 01:53 AM
RyanDe680 RyanDe680 is offline
 
Join Date: Sep 2003
Location: Oak Brook, IL
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, I think I figured it out

Let's try again:

Reply With Quote
  #116  
Old 01-19-2007, 02:01 AM
burntire burntire is offline
 
Join Date: Jun 2006
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There it is.
The url is wrong in the code
you need to change this

http://www.lexfstyle.com/images/pm/newpm.gif

to this

http://www.lexfstyle.com/forum/images/pm/newpm.gif
Reply With Quote
  #117  
Old 01-19-2007, 02:07 AM
burntire burntire is offline
 
Join Date: Jun 2006
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also you may want to use this. I move the <br /> that was after <strong> at the top and place it at the bottom. This will place the image next to the username. Just makes the style look better.

Code:
			<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong> <br /> Move this to the bottom
<!-- / Flashing envelope hack starts here -->


<if condition="$bbuserinfo['pmunread']">
	<a href="http://www.lexfstyle.com/forum/private.php?"><img border="0" src="http://www.lexfstyle.com/forum/images/pm/newpm.gif" width="22" 

height="10"></a>
	</if>

<!-- / Flashing envelope hack ends here -->

<br />
Reply With Quote
  #118  
Old 01-19-2007, 02:14 AM
RyanDe680 RyanDe680 is offline
 
Join Date: Sep 2003
Location: Oak Brook, IL
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There we go.

Thanks for your help burntire. I appreciate it.
Reply With Quote
  #119  
Old 01-19-2007, 02:17 AM
RyanDe680 RyanDe680 is offline
 
Join Date: Sep 2003
Location: Oak Brook, IL
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by burntire View Post
Also you may want to use this. I move the <br /> that was after <strong> at the top and place it at the bottom. This will place the image next to the username. Just makes the style look better.

Code:
			<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong> <br /> Move this to the bottom
<!-- / Flashing envelope hack starts here -->


<if condition="$bbuserinfo['pmunread']">
	<a href="http://www.lexfstyle.com/forum/private.php?"><img border="0" src="http://www.lexfstyle.com/forum/images/pm/newpm.gif" width="22" 

height="10"></a>
	</if>

<!-- / Flashing envelope hack ends here -->

<br />

I did that, and now it works in IE but not in Firefox...
Reply With Quote
  #120  
Old 01-19-2007, 02:18 AM
burntire burntire is offline
 
Join Date: Jun 2006
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RyanDe680 View Post
There we go.

Thanks for your help burntire. I appreciate it.
No problem.

If you ever get bored with the lexus and buy a hot rod mustang stop by my site.
Reply With Quote
  #121  
Old 01-19-2007, 02:20 AM
burntire burntire is offline
 
Join Date: Jun 2006
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RyanDe680 View Post
I did that, and now it works in IE but not in Firefox...

Works in FF for me??

Attach your code again.
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 01:46 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.04668 seconds
  • Memory Usage 2,317KB
  • 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
  • (4)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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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