PDA

View Full Version : How can I send a Welcome PM to visitors??


vividbreeze
11-23-2008, 11:42 PM
How can I send a WELCOME PM to visitors, so it would make them want to sign up and check the msg?

PaulSonny
11-23-2008, 11:59 PM
I dont think is possible as PM's require a User ID.

What you may be able to do is display a notice to Guests and only Guests.

Regards, Paul.

vividbreeze
11-24-2008, 12:30 AM
Well check out this Paul:

http://whatsyourview.net/forum/

How are they doing this??

dismas
11-24-2008, 12:50 AM
It looks like they just added the text and image to their header template and linked the image to their registration page. Then when someone registers, they get a welcome PM.

It seems more like deceptive registrations than an actual PM notification.

KW802
11-24-2008, 12:51 AM
Well check out this Paul:

http://whatsyourview.net/forum/

How are they doing this??All it does is to point to register.php; that can be accomplished by just using a style conditional....<if condition="$show['registerbutton']">
You have a new PM! Click here <a href="$vboptions[bburl]/register.php$session[sessionurl_q]" rel="nofollow">here</a> to read it!
</if>Of course you should then have your vB configured to generate a new PM to new users so once they do register then they will in fact have a new PM. ;)

vividbreeze
11-24-2008, 01:02 AM
Where do I put that code KW802?

Sorry im a newb still in training :)

SEOvB
11-24-2008, 02:54 AM
Place it in your header or navbar templates where ever you want it to appear

KW802
11-24-2008, 03:06 AM
Where do I put that code KW802?

Sorry im a newb still in training :)

Place it in your header or navbar templates where ever you want it to appearAs FRDS said, you can put it really wherever you want it to appear. In the example link you gave, it was the "navbar" template that appeared to be modified.

vividbreeze
11-24-2008, 05:44 PM
Thank you! It worked great!

Now, how can I get it to flash??

KW802
11-24-2008, 06:06 PM
Thank you! It worked great!

Now, how can I get it to flash??Depends on what text/graphics you're using. If you want to duplicate the example link you gave, they are using an animated GIF file (the same one that is being used here at vB.org). Because the GIF is what is being animated then you do not have to do anything special, just use the html <img> tag to display the graphic.

If you post the code you've done so far, we can point you in the right direction.

vividbreeze
11-24-2008, 09:36 PM
Yea I posted the code on http://www.truckmountforums.com/forums but it's only left of the header, I am not sure how to put it anywhere else. I just copy/pasted the code you gave me directly into the header file at the end.

SEOvB
11-24-2008, 10:48 PM
You'll need to get an image that flashes then use some code like


<div align="right" class="smallfont"><a href="register.php"><img src="/images/flashing.gif" border="0">Your text</a></div>

vividbreeze
11-24-2008, 11:32 PM
Okay I got that last code, so how can I embed both of the codes you gave me together to only show to unregistered users?

The 1st code allowed me to do that, but the new code you gave me shows to everyone.

SEOvB
11-25-2008, 08:48 PM
<if condition="$show[guest]">
<div align="right" class="smallfont"><a href="register.php"><img src="/images/flashing.gif" border="0">Your text</a></div>
</if>

UKBusinessLive
11-26-2008, 04:00 PM
Hi Guys, what a great idea, i'm adding it to my site too, I've added the above codes but the flashing gif appears below the writing :erm: How can i get it to appear right after rather than below, here the code i have so far...

<DIV ALIGN=RIGHT>
<if condition="$show['registerbutton']">
You have a new PM! Click here <a href="$vboptions[bburl]/register.php$session[sessionurl_q]" rel="nofollow">here</a> to read it!
<if condition="$show[guest]">
<div align="right" class="smallfont"><a href="register.php"><img src="http://i475.photobucket.com/albums/rr114/ukbusinesslive/newpm.gif" border="0"></a>
</div>
</if>
</if>

$ad_location[ad_header_end]




https://vborg.vbsupport.ru/external/2008/11/5.gif

Thanks in advance ;)

KW802
11-26-2008, 06:03 PM
Hi Guys, what a great idea, i'm adding it to my site too, I've added the above codes but the flashing gif appears below the writing :erm: How can i get it to appear right after rather than below, here the code i have so far...
You want to make sure that your link is on the same line as the other text. And you only need to check for one of the conditionals.

Try this instead (not tested but should work and point you in the right direction)...

<if condition="$show['registerbutton']"><div align="right">You have a new PM! Click here <a href="$vboptions[bburl]/register.php$session[sessionurl_q]" rel="nofollow">here</a> to read it! <a href="$vboptions[bburl]/register.php$session[sessionurl_q]"><img src="http://i475.photobucket.com/albums/rr114/ukbusinesslive/newpm.gif" border="0"></a></div></if>

$ad_location[ad_header_end]

UKBusinessLive
11-26-2008, 06:21 PM
Thank you Kind Sir,

Will upload it now, Thanks again :D:D

****EDIT***
Works a treat Thanks again, I've just enabled sending newbies PM's, so let see how long it'll be to get my first member using this method :)

vividbreeze
11-28-2008, 05:27 PM
Just add the last code FRDS posted....works good here: http://www.truckmountforums.com/forums/