vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Private Messages Enhancements - Private message Animation (https://vborg.vbsupport.ru/showthread.php?t=239733)

basilrath 04-04-2010 10:16 PM

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.

sulasno 04-05-2010 06:50 AM

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

steve1966 04-05-2010 06:56 AM

Quote:

Originally Posted by basilrath (Post 2015832)
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

basilrath 04-05-2010 07:49 AM

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

YankForum 04-05-2010 01:08 PM

very nice
thnx 4 sharing :)
installed in 30 seconds with no problem

DJPushpu 04-05-2010 02:11 PM

its not working on my site
i am installed this code but not working
www.dadasongs.com

basilrath 04-05-2010 02:38 PM

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

DJPushpu 04-05-2010 04:04 PM

Quote:

Originally Posted by basilrath (Post 2016195)
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 ????

basilrath 04-05-2010 07:04 PM

1 Attachment(s)
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.

DJPushpu 04-06-2010 03:11 AM

Quote:

Originally Posted by basilrath (Post 2016363)
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:)


All times are GMT. The time now is 05:50 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.01415 seconds
  • Memory Usage 1,767KB
  • 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
  • (3)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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