vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How can I send a Welcome PM to visitors?? (https://vborg.vbsupport.ru/showthread.php?t=197082)

vividbreeze 11-23-2008 11:42 PM

How can I send a Welcome PM to visitors??
 
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

Quote:

Originally Posted by vividbreeze (Post 1671671)
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....
Quote:

<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

Quote:

Originally Posted by vividbreeze (Post 1671687)
Where do I put that code KW802?

Sorry im a newb still in training :)

Quote:

Originally Posted by FRDS (Post 1671719)
Place it in your header or navbar templates where ever you want it to appear

As 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

Quote:

Originally Posted by vividbreeze (Post 1672109)
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

Code:

<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

Code:

<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...

HTML Code:

<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

Quote:

Originally Posted by UKBusinessLive (Post 1673435)
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)...

Code:

<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/


All times are GMT. The time now is 11:57 AM.

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.01276 seconds
  • Memory Usage 1,765KB
  • 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_code_printable
  • (1)bbcode_html_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (18)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