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
New PM Notification Details »»
New PM Notification
Version: 1.00, by ericgtr ericgtr is offline
Developer Last Online: Feb 2022 Show Printable Version Email this Page

Version: 3.6.0 Rating:
Released: 08-14-2006 Last Update: Never Installs: 386
 
No support by the author.

I've decided to upgrade my existing Flashing Envelope mod and change it around a little for 3.6. To see how it will look, checkout the screen shot.

Upload the attached image newpm.gif to your images/misc directory.

In the navbar template
Find:
Code:
<strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if>
		</div>
		</td>
Place Under: (be sure to change to your forum path to /forum/private.php)
Code:
<if condition="$bbuserinfo['pmunread']">
		<td class="alt2" valign="top" nowrap="nowrap">
	<a href="/forum/private.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/newpm.gif" alt="You have a new PM" border="0"></a>
		</td>
	</if>

Show Your Support

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

Comments
  #112  
Old 09-19-2007, 04:48 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Smiry Kin's View Post
well depends if your interested in seo, etc... and how your controlling your forums...

vb 3.7 will be table less... so it would be a good idea to have both options...
Having the newpm.gif placed in either a table or css is going to make the slightest difference in SEO. Also, VB 3.7 still has issues without tables that they are currently working out, there are still too many differences between IE6 and IE7 that need addressed, this is evident with their current blog system.
Reply With Quote
  #113  
Old 09-20-2007, 10:56 PM
danward's Avatar
danward danward is offline
 
Join Date: Dec 2006
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice mod thanks!
Reply With Quote
  #114  
Old 09-20-2007, 11:32 PM
WAHMama WAHMama is offline
 
Join Date: Jun 2006
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a neato mod Thanks
Reply With Quote
  #115  
Old 09-23-2007, 08:23 AM
triff's Avatar
triff triff is offline
 
Join Date: Sep 2007
Location: Norway
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi! Was just about to install the mod when I saw this:

"be sure to change to your forum path to /forum/private.php"

What does that mean? (Do you mean change the forum URL?)

What will it do? :P

Cheers!
Sverrre.
Reply With Quote
  #116  
Old 09-23-2007, 04:34 PM
woodcreeker's Avatar
woodcreeker woodcreeker is offline
 
Join Date: Jul 2007
Location: Northern WI
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You change the path in the navbar code you insert into the navbar template
Reply With Quote
  #117  
Old 09-23-2007, 05:36 PM
Jason Black Jason Black is offline
 
Join Date: Aug 2007
Location: New York
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It didn't work for me....it shows the link up there but it doesn't show the gif...i tried to change the name of th gif in both the codes and the uploaded file....but it still didn't work
Reply With Quote
  #118  
Old 09-23-2007, 05:42 PM
triff's Avatar
triff triff is offline
 
Join Date: Sep 2007
Location: Norway
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I still don't understand it. I've looked and the code to be inserted, and have looked in the navbar template. Is there some code in the navbar template that should be changed to /forum/private.php ? In that case what is that code? Or is it the new code that I'm going to change in any way? :-/

Sverre.
Reply With Quote
  #119  
Old 09-23-2007, 08:58 PM
Smiry Kin's's Avatar
Smiry Kin's Smiry Kin's is offline
 
Join Date: Dec 2005
Location: United Kingdom!
Posts: 954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by triff View Post
I still don't understand it. I've looked and the code to be inserted, and have looked in the navbar template. Is there some code in the navbar template that should be changed to /forum/private.php ? In that case what is that code? Or is it the new code that I'm going to change in any way? :-/

Sverre.
this code
PHP Code:
<if condition="$bbuserinfo['pmunread']">
        <
td class="alt2" valign="top" nowrap="nowrap">
    <
a href="/forum/private.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/newpm.gif" alt="You have a new PM" border="0"></a>
        </
td>
    </if> 
those still stuck, add me to msn...
Reply With Quote
  #120  
Old 09-24-2007, 12:43 PM
BioWaffen BioWaffen is offline
 
Join Date: Sep 2006
Location: Stuttgart
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very cool hack Thanks a lot

If your adress of forum is just a normal adress like whatiknow.com, then just put /forum/ away so that there is just "private.php?...."
Reply With Quote
  #121  
Old 09-24-2007, 03:23 PM
triff's Avatar
triff triff is offline
 
Join Date: Sep 2007
Location: Norway
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Smiry Kin's View Post
this code
PHP Code:
<if condition="$bbuserinfo['pmunread']">
        <
td class="alt2" valign="top" nowrap="nowrap">
    <
a href="/forum/private.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/newpm.gif" alt="You have a new PM" border="0"></a>
        </
td>
    </if> 
those still stuck, add me to msn...
but the correct forum path is allready included in that code! why is it written "remember to change your forum path to /forum/private.php" when it's allready changed in the code you're adding?

anyway i just installed it and it works great.

however, could anyone tell me how to remove that anoying pop-up that also comes and tells there's a new message & opens the inbox in a new window if it's clicked? I went to the pm options but didn't find anything there?

SGL.
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:01 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.10988 seconds
  • Memory Usage 2,323KB
  • 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
  • (2)bbcode_code
  • (2)bbcode_php
  • (3)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