vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Blinking PM message like here (https://vborg.vbsupport.ru/showthread.php?t=75103)

peterska2 01-25-2005 06:35 PM

Blinking PM message like here
 
OK I've probably missed it somehow but I can't find it using search either here or at vBT but I'm sure it has been released.

Can anyone either provide the link to the release or rumble up some code that will work quick for me?

Cheers.

Guy G 01-25-2005 06:38 PM

It was released, but not in this form.
I wuold also like to see the hack that this board uses.

Colin F 01-25-2005 06:38 PM

Quote:

Originally Posted by peterska2
OK I've probably missed it somehow but I can't find it using search either here or at vBT but I'm sure it has been released.

Can anyone either provide the link to the release or rumble up some code that will work quick for me?

Cheers.

There are some threads if you search on vBT for blink.

Here's one: http://www.vbulletintemplates.com/mo...ighlight=blink

peterska2 01-25-2005 06:51 PM

I've seen that one but I cwanted one that worked with an image rather than with the colors of the navbar

blackpheonix 01-25-2005 06:53 PM

bump

i prefer the writing across the pm box

Guy G 01-25-2005 07:30 PM

Quote:

Originally Posted by blackpheonix
bump

i prefer the writing across the pm box

Me 2 :)

EDIT: ahh this should be easy... no need for javascript as well...

Here it is by me :) :
Open up the navbar template and find:
HTML Code:

<td class="alt2" valign="top" nowrap="nowrap">
Replace with:
HTML Code:

  <td  valign="top" class="alt2" <if condition="$bbuserinfo['pmunread']">style="background-image: url(images/pmbg.gif); background-repeat: no-repeat;"</if> nowrap="nowrap" >
Replace the pmbg.gif with your image of use this one if its allowed..

peterska2 01-25-2005 08:08 PM

Many many thanks. It works a treat.

Guy G 01-25-2005 08:11 PM

Quote:

Originally Posted by peterska2
Many many thanks. It works a treat.

no problem just make sure you ask for permission if you use this site's picture...

ericgtr 01-25-2005 08:25 PM

1 Attachment(s)
I thought I would play with this too, when I ran a UBB Treads board it had the cool flashing mail icon (it's animated) and I missed that so I added it back with a simple conditional.

Find this section:
PHP Code:

2="$vbphrase[total_x_nav_compiled]3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase></if>
        </
div>
        </
td

Add this right under:
PHP Code:

    <if condition="$bbuserinfo['pmunread']">
                 
Your blinking image or whatever goes here
    
</if> 


blackpheonix 01-25-2005 08:33 PM

do we have permission to use the pm blinking gif off this site ill pay for it if everyone can use it as well

anyone regardes to ^^ post

Xenon 01-26-2005 03:25 PM

Quote:

Originally Posted by blackpheonix
do we have permission to use the pm blinking gif off this site ill pay for it if everyone can use it as well

anyone regardes to ^^ post

feel free to use it, it's not that a creative gif to claim special copyrights i'd say ;)

yoyoyoyo 01-26-2005 03:30 PM

1 Attachment(s)
here are a couple others to try. I like the blinking PM thingy, but I always thought it was weird how it says "PRIVATE MESSAG" and the E is cut off, so I redid the text sizing and spacing to be a bit easier to read.

Blueice41188 03-16-2005 09:29 AM

Thanks Guy G and yoyoyoyo for the info and gif, works great! :)

::edit:: I didn't notice this thread was from Janurary. Sorry for bringing back an old thread.

vakvak 05-24-2005 12:06 AM

Quote:

Originally Posted by Guy G
Me 2 :)

EDIT: ahh this should be easy... no need for javascript as well...

Here it is by me :) :
Open up the navbar template and find:
HTML Code:

<td class="alt2" valign="top" nowrap="nowrap">
Replace with:
HTML Code:

  <td  valign="top" class="alt2" <if condition="$bbuserinfo['pmunread']">style="background-image: url(images/pmbg.gif); background-repeat: no-repeat;"</if> nowrap="nowrap" >
Replace the pmbg.gif with your image of use this one if its allowed..


Quote:

Once installed, you need to edit the "global.php" file. Comment out the line that reads:

eval('$footer .= "' . fetch_template('pm_popup_script') . '";');
how
eval('$footer .= "' . fetch_template('pm_popup_script') . '";'); gif file exsample pls

djjeffa 12-16-2005 11:20 PM

can some one help me to get it to work with 3.5?

ericgtr 12-16-2005 11:32 PM

Here's a version updated for 3.5 http://www.forumtools.net/t37-howto-blinking-pm.html

djjeffa 12-16-2005 11:41 PM

Quote:

Originally Posted by ericgtr

I tried that

Code:

<if condition="$bbuserinfo['pmunread']">
                but what excatly do I put here?
    </if>

the pic is at http://djjeffa.com/vb/images/pmbg6.gif

ericgtr 12-17-2005 12:58 AM

Quote:

Originally Posted by djjeffa
I tried that

Code:

<if condition="$bbuserinfo['pmunread']">
                but what excatly do I put here?
    </if>

the pic is at http://djjeffa.com/vb/images/pmbg6.gif

Try this

Here is the image (animated and blinks) upload it and change the paths below accordingly. https://vborg.vbsupport.ru/

Code:

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


djjeffa 12-17-2005 01:08 AM

Quote:

Originally Posted by ericgtr
Try this

Here is the image (animated and blinks) upload it and change the paths below accordingly. http://www.guitars101.com/images/newpm.gif

Code:

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


it worked!!
thank you verer much for your time.

ericgtr 12-17-2005 02:00 AM

Quote:

Originally Posted by djjeffa
it worked!!
thank you verer much for your time.

Sure, glad it's working for you :)

cloyal 12-18-2005 08:59 PM

Dumb question where do I add this code at to get the blinking private message?

ericgtr 12-18-2005 09:27 PM

Quote:

Originally Posted by cloyal
Dumb question where do I add this code at to get the blinking private message?

I actually added the whole template mod here https://vborg.vbsupport.ru/showthrea...hreadid=103202 :)

KevNJ 01-29-2006 07:43 PM

Thanks Guy G for the scripting and yoyoyoyo for the gifs. Works perfectly!

UncoderMom 06-17-2006 11:43 PM

SWEET! Thanks!


All times are GMT. The time now is 04:03 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.01992 seconds
  • Memory Usage 1,776KB
  • 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
  • (4)bbcode_html_printable
  • (2)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (24)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete