Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications

Reply
 
Thread Tools
Private message Animation Details »»
Private message Animation
Version: 1.00, by basilrath basilrath is offline
Developer Last Online: Oct 2015 Show Printable Version Email this Page

Category: Private Messages Enhancements - Version: 4.0.x Rating:
Released: 04-02-2010 Last Update: 12-06-2010 Installs: 148
Template Edits
 
No support by the author.

This cool little mod will simply enhance and add some fun to your Private Message alert and adds a little flash animation to the bottom right corner of your board. The flash mail box can then be clicked and will redirect to your private message box. Animation is based on forum home page but can easily be added to display on any page required or indeed every page and will dissapear when mailbox is read.

Added new MSN Style Pop up alert box


There are three animations you can use. including msn style pop up alert box

If anyone has a different path and needs this altering in the swf and fla please post and i will arrange this asap - thanks



Edit template - FORUMHOME

Find
PHP Code:
{vb:raw footer
After add
PHP Code:
<!-- mail -->
<
vb:if condition="$bbuserinfo[pmunread]">
<
a style="display:scroll;position:fixed;bottom:-40px;right:-20px;" title="Click Here - new message!">
<
object type="application/x-shockwave-flash" 
   
data="/path-to-your/you-got-mail.swf" 
    
width="150" height="250">
     <
param name="movie" value="/path-to-your/you-got-mail.swf" />
   <
param name="quality" value="high"/>
  <
param name="wmode" value="transparent"/>
 </
object>
</
vb:if>
<!-- 
end of mail --> 
Save template

Upload - the relevant swf to your forum root

Note: the flash file target url is based on the relative path of

/forum/private.php although this can be changed via the fla

Demo can be seen via the site ............ HERE

Tested on ie,ff and Safari 4


added alternative swf animated mail character - choose either for your notification

+++ Updated and added "you-got-mail.swf" to suit any board using "forums" in path +++

==============================================

MSN Style Pop up Alert Added to Alert (including sound)

Same idea code below in the same place as above (use this for msn style pop up alert)

PHP Code:
<!-- mail --> 
<
vb:if condition="$bbuserinfo[pmunread]"
<
a style="display:scroll;position:fixed;bottom:1px;left:3px;" title="Click Here - new message!"
<
object type="application/x-shockwave-flash"  
   
data="/path-to-your/msn-popup.swf"  
    
width="148" height="119"
     <
param name="movie" value="/path-to-your/msn-popup.swf" /> 
   <
param name="quality" value="high"/> 
  <
param name="wmode" value="transparent"/> 
 </
object
</
vb:if> 
<!-- 
end of mail --> 
The MSN Alert can be seen on the youtube clip here

http://www.youtube.com/watch?v=S0tz8TWH4MM
(sound not on video clip)

or login on
username: msn
password: pass123
use the demo-mods stlye at the bottom of site to view test message


path to private.php is set at: /forum/private.php
(The fla is attatched also if the path needs changing on msn-popup.swf)



Mark Installed

Download Now

File Type: zip you-got-mail.zip (19.5 KB, 869 views)
File Type: zip mail-fla.zip (55.9 KB, 646 views)
File Type: zip mail2.zip (12.0 KB, 508 views)
File Type: zip you-got-mail(forums-path).zip (17.6 KB, 617 views)
File Type: zip msn-popup.zip (89.0 KB, 247 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
CharlieDelta, doctorsexy

Comments
  #22  
Old 04-04-2010, 10:16 PM
basilrath's Avatar
basilrath basilrath is offline
 
Join Date: Apr 2006
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hia

firstly change the path to the swf to suit your forums of the two instances that say "/path-to-your/you-got-mail.swf" in red

the green is just the positioning which you can leave

<!-- mail -->
<vb:if condition="$bbuserinfo[pmunread]">
<a style="display:scroll;position:fixed;bottom:-40px;right:-20px;" title="Click Here - new message!">
<object type="application/x-shockwave-flash"
data="/path-to-your/you-got-mail.swf"
width="150" height="250">
<param name="movie" value="/path-to-your/you-got-mail.swf" />
<param name="quality" value="high"/>
<param name="wmode" value="transparent"/>
</object>
</vb:if>
<!-- end of mail -->

then change the fla path to your private.php path - if you havnt any idea how to edit an fla then tell me your forum path first

if you still have a problem ill edit the fla to suit your board so it works.
Reply With Quote
  #23  
Old 04-05-2010, 06:50 AM
sulasno sulasno is offline
 
Join Date: Feb 2010
Posts: 588
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this Mod is not working in the default style but it's working in another style;
I wonder why ?

edit

found the cause; me bad lol
Reply With Quote
  #24  
Old 04-05-2010, 06:56 AM
steve1966 steve1966 is offline
 
Join Date: Dec 2007
Posts: 504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by basilrath View Post
hia

firstly change the path to the swf to suit your forums of the two instances that say "/path-to-your/you-got-mail.swf" in red

the green is just the positioning which you can leave

<!-- mail -->
<vb:if condition="$bbuserinfo[pmunread]">
<a style="display:scroll;position:fixed;bottom:-40px;right:-20px;" title="Click Here - new message!">
<object type="application/x-shockwave-flash"
data="/path-to-your/you-got-mail.swf"
width="150" height="250">
<param name="movie" value="/path-to-your/you-got-mail.swf" />
<param name="quality" value="high"/>
<param name="wmode" value="transparent"/>
</object>
</vb:if>
<!-- end of mail -->

then change the fla path to your private.php path - if you havnt any idea how to edit an fla then tell me your forum path first


if you still have a problem ill edit the fla to suit your board so it works.
hello i sent you a pm if could please edit the file for me thanks
Reply With Quote
  #25  
Old 04-05-2010, 07:49 AM
basilrath's Avatar
basilrath basilrath is offline
 
Join Date: Apr 2006
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok steve.......... having looked at your board root you need the following code added. I will edit the fla for you so the link gets your private.php. I will edit the fla to suit "forums" and attatch the file asap.

PHP Code:
<!-- mail --> 
<
vb:if condition="$bbuserinfo[pmunread]"
<
a style="display:scroll;position:fixed;bottom:-40px;right:-20px;" title="Click Here - new message!"
<
object type="application/x-shockwave-flash" 
data="http://www.shareme.org/forums/you-got-mail.swf" 
width="150" height="250"
<
param name="movie" value="http://www.shareme.org/forums/you-got-mail.swf" /> 
<
param name="quality" value="high"/> 
<
param name="wmode" value="transparent"/> 
</
object
</
vb:if> 
<!-- 
end of mail --> 
The mod now has the attatched "you-got-mail.swf" to suit your board being "forums" so anyone who's board has "forums" rather than "forum" choose the relevant zip.

Hope this fixes the problem Steve
Reply With Quote
  #26  
Old 04-05-2010, 01:08 PM
YankForum's Avatar
YankForum YankForum is offline
 
Join Date: Mar 2010
Location: MY
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice
thnx 4 sharing
installed in 30 seconds with no problem
Reply With Quote
  #27  
Old 04-05-2010, 02:11 PM
DJPushpu DJPushpu is offline
 
Join Date: Feb 2010
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its not working on my site
i am installed this code but not working
www.dadasongs.com
Reply With Quote
  #28  
Old 04-05-2010, 02:38 PM
basilrath's Avatar
basilrath basilrath is offline
 
Join Date: Apr 2006
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

With the path your board currently sits on you will need to add the following code to place the swf on site.........

PHP Code:
<!-- mail --> 
<
vb:if condition="$bbuserinfo[pmunread]"
<
a style="display:scroll;position:fixed;bottom:-40px;right:-20px;" title="Click Here - new message!"
<
object type="application/x-shockwave-flash" 
data="www.dadasongs.com/you-got-mail.swf" 
width="150" height="250"
<
param name="movie" value="http://www.dadasongs.com/you-got-mail.swf" /> 
<
param name="quality" value="high"/> 
<
param name="wmode" value="transparent"/> 
</
object
</
vb:if> 
<!-- 
end of mail --> 
This should be fixed
Reply With Quote
  #29  
Old 04-05-2010, 04:04 PM
DJPushpu DJPushpu is offline
 
Join Date: Feb 2010
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by basilrath View Post
With the path your board currently sits on you will need to add the following code to place the swf on site.........

PHP Code:
<!-- mail --> 
<
vb:if condition="$bbuserinfo[pmunread]"
<
a style="display:scroll;position:fixed;bottom:-40px;right:-20px;" title="Click Here - new message!"
<
object type="application/x-shockwave-flash" 
data="www.dadasongs.com/you-got-mail.swf" 
width="150" height="250"
<
param name="movie" value="http://www.dadasongs.com/you-got-mail.swf" /> 
<
param name="quality" value="high"/> 
<
param name="wmode" value="transparent"/> 
</
object
</
vb:if> 
<!-- 
end of mail --> 
This should be fixed
its working but after click image url go to http://www.dadasongs.com/forum/private.php
when the my url is http://www.dadasongs.com/private.php
how solve it ????
Reply With Quote
  #30  
Old 04-05-2010, 07:04 PM
basilrath's Avatar
basilrath basilrath is offline
 
Join Date: Apr 2006
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
its working but after click image url go to http://www.dadasongs.com/forum/private.php
when the my url is http://www.dadasongs.com/private.php
how solve it ????

ok download the zip i have attatched in this post. I have edited the fla file to suit your board. Simply upload to your froum and overwrite the one you used previously. everything else is the same.
Attached Files
File Type: zip you-got-mail.zip (17.6 KB, 114 views)
Reply With Quote
  #31  
Old 04-06-2010, 03:11 AM
DJPushpu DJPushpu is offline
 
Join Date: Feb 2010
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by basilrath View Post
ok download the zip i have attatched in this post. I have edited the fla file to suit your board. Simply upload to your froum and overwrite the one you used previously. everything else is the same.
Thanks Bro
its working
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:12 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.08805 seconds
  • Memory Usage 2,383KB
  • Queries Executed 26 (?)
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
  • (6)bbcode_php
  • (4)bbcode_quote
  • (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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • 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
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete