vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Private Messages Enhancements - New PM to Unregistered Users (https://vborg.vbsupport.ru/showthread.php?t=199417)

UKBusinessLive 12-20-2008 10:00 PM

New PM to Unregistered Users
 
1 Attachment(s)
I've had this little trick installed on my forum and its bought me a few decent registrations as a result.

As so many people where asking how its done, i thought i'd post it here for ease, giving credit to the guys below.

Credit to this edit, goes to KW802 and FRDS who made it so

What does it do??

When an unregistered person views your forum, they will see what appears to be an unread PM notification, with flashing gif, When the user clicks to read the message he's taken to the register page, Once registered he will recieve a welcome PM which has previously been set by yourself in your ACP, to send a PM to new registrations.

Thats it, so simple and it takes, practically minutes to install.

Where to edit??

Simply add the code below to your forums style header template, at the end and save, It really is that simple.
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://yourforum/newpm.gif" border="0"></a></div></if>
Edits to the Code

All you need to do is just upload the flashing newpm.gif to your images folder or any other folder you wish and provide the url in the code, if you view the code you'll see where it goes.

This will only show to unregistered viewers, registered members will not see this.

Hope it brings new registrations to your site also

Take care

;)

UKBusinessLive 12-21-2008 11:24 AM

Reserved :D

Vaupell 01-05-2009 01:33 PM

hmmm

it shows for all users, wish it only showed for unregistered users.

UKBusinessLive 01-05-2009 04:09 PM

Quote:

Originally Posted by Vaupell (Post 1702279)
hmmm

it shows for all users, wish it only showed for unregistered users.

Works fine for me, shows to unregistered users only, The minute i log in, it goes out, are you sure you copied the code ok??

islamicvd 01-10-2009 03:36 PM

It shows even in registration form, could it not be shown only on HOME template?

Rene Kriest 01-10-2009 03:50 PM

Quote:

Originally Posted by UKBusinessLive (Post 1702407)
Works fine for me

What's your experience with the changes so far? Is it doing as good as you expected and hopefully even better? :)

Did you notice any significant new registrations, what did your members say? Did it cause any confusion when they logged in the first time after you installed this addon?

UKBusinessLive 01-10-2009 04:02 PM

Quote:

Originally Posted by Rene Kriest (Post 1707419)
What's your experience with the changes so far? Is it doing as good as you expected and hopefully even better? :)

Did you notice any significant new registrations, what did your members say? Did it cause any confusion when they logged in the first time after you installed this addon?

Hi Rene,

I had a lot of unregistered guests viewing daily and i could see that they were looking at say 60% of the forum content (The other 40% is for registered members)

Since i used this hack i've had about 6 emails from new members saying that they love the arcade and they are glad the ads have gone, To be honest here, The ads in posts show for unregistered members and unless they registered they couldn't see or use the arcade. So they must of been lurkers for ages, and only registered when they saw the "You have email" Logo flashing.

So its a great way to get members to sign up, they will love the extra content that full membership brings. Plus they get a new email upon registering so thats there welcome emain from the admin sorted.

Caused no confusion, they simly love the extra content :D

bbcentral 01-11-2009 08:46 AM

1 Attachment(s)
I LOVE this idea!

But I hate doing template edits, so here's how I did it...

First I uploaded the newpm.gif image.

Then I created a new Notice in the AdminCP called "New Private Message".

I added this code to the notice:
Code:

<div style="text-align:center;"><a href="/forum/register.php"><img src="/forum/images/newpm.gif" alt="You have 1 new Private Message" border="0" /> You have <strong>1</strong> new Private Message Waiting!</a></div>
And then I setup the notice to only show to members of the Unregistered Users Group.

This is how it looks:
Attachment 92336

I might tweak it a little bit, but I think it will do the job for now :)

Edit: Here's my slightly updated version, I just changed the CSS of the surrounding DIV tag:
Attachment 92337

I'll keep an eye on my registrations and see if it increases because of this. If not I can always just disable the notice :)

UKBusinessLive 01-11-2009 08:54 AM

Now that is real cool well done :D:up:

Bexter 01-13-2009 11:21 AM

I like the notices idea better.
The original location and screenshot, reminded me of those spammy ads you get on some sites, and as it's right next to the ad it looks like it's part of it. I think I'll try it on the notices :).

Thanks both :)

UKBusinessLive 01-13-2009 06:15 PM

Quote:

Originally Posted by Bexter (Post 1710838)
I like the notices idea better.
The original location and screenshot, reminded me of those spammy ads you get on some sites, and as it's right next to the ad it looks like it's part of it. I think I'll try it on the notices :).

Thanks both :)

We're open to ideas here, thats the beauty of VBulletin Mods :D

Rene Kriest 01-14-2009 10:45 PM

Quote:

Originally Posted by UKBusinessLive (Post 1707433)
So its a great way to get members to sign up, they will love the extra content that full membership brings. Plus they get a new email upon registering so thats there welcome emain from the admin sorted.

Caused no confusion, they simly love the extra content :D

Well this sounds so exciting that I am going to give it a try. If it works for me I'll spend you a beer. ;)

Rene Kriest 01-14-2009 10:49 PM

Quote:

Originally Posted by UKBusinessLive (Post 1711236)
We're open to ideas here, thats the beauty of VBulletin Mods :D

Reminds me of the glorious movie Godfather. Usually those who disagreed with the boss did that only once in their life. Too bad that they didn't get a second chance... :D

Baf_Jams 01-15-2009 12:56 AM

Not really my cup of tea

Installed to test and in the top right it says you have a new PM

Surely a visitor knows that he ain't got new pm
and if they click on it it takes you to the registration page

Blah to cheesy for me

SEOvB 01-15-2009 01:01 AM

Quote:

Originally Posted by islamicvd (Post 1707406)
It shows even in registration form, could it not be shown only on HOME template?

Code:

<if condition="$show['registerbutton'] AND THIS_SCRIPT == index"><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://yourforum/newpm.gif" border="0"></a></div></if>

ragtek 02-18-2009 02:21 PM

this condition would be better:

Code:

<if condition="$show[registerbutton] AND THIS_SCRIPT != 'register' AND $show['guest']">
you'll need the guest condition because some forums also allowed "double registration" (don't know how it's exactly called in english version)

and != register is better the =='index' so its shown on every page, just not on register ;)


but, this condition is not testet! i've just noted it down but should work

Hornstar 02-21-2009 01:50 AM

Anyone found any confusion with this: ( I am thinking this could happen with some members) They open up the site it shows that you have 1 pm awaiting, but they already have an account so they create a new one.

2nd scenario. They see the 1 unread pm, sign in, and now they have no unread pms.

That is 2 scenarios that I think will cause confusion as it might be a bit misleading to those who already have accounts.

UKBusinessLive 02-21-2009 05:20 AM

Quote:

Originally Posted by hornstar1337 (Post 1750318)
Anyone found any confusion with this: ( I am thinking this could happen with some members) They open up the site it shows that you have 1 pm awaiting, but they already have an account so they create a new one.

2nd scenario. They see the 1 unread pm, sign in, and now they have no unread pms.

That is 2 scenarios that I think will cause confusion as it might be a bit misleading to those who already have accounts.


The conditional at the begining show the message only to unregistered members, When the click on it it takes them to the register page, Once registered, You set up the forum so that new members recieve a welcome PM, That the PM that they recieve.

In essence your telling them that they have a PM forfore they actually get it.

Its Human nature to find out what there email says, so in all everyones happy.

By using the conditional to show this only to guests and non registered members, means that registered members and members of other usergroups will never see it ;)

can you see how it works now???

ragtek 02-21-2009 05:59 AM

Quote:

Originally Posted by UKBusinessLive (Post 1750429)
The conditional at the begining show the message only to unregistered members

Thats not true ;)
Look at my condition

$show[registerbutton] can also be "true" for registered members;)

UKBusinessLive 02-21-2009 10:26 AM

Quote:

Originally Posted by ragtek (Post 1750442)
Thats not true ;)
Look at my condition

$show[registerbutton] can also be "true" for registered members;)

Then add a usergroup condition to the front of it, I've not had any problems with it?? :confused:

Hornstar 02-21-2009 07:49 PM

I understand what this does, but I was just saying that many members log out. so then they will see the unread pm and think cool I have a pm and then log back in and then they will see they do not have one lol

kkingg 02-21-2009 11:10 PM

thanks

UKBusinessLive 02-22-2009 07:35 AM

Quote:

Originally Posted by hornstar1337 (Post 1750940)
I understand what this does, but I was just saying that many members log out. so then they will see the unread pm and think cool I have a pm and then log back in and then they will see they do not have one lol

Oh I see where your coming from now ;)

Then they will see it if they log out all the time, just as some sites have increased ads for guests, which dissapear whenyou sign up.

This will happen if they use a public computer which means they'll have to log off but its strange they they feel the need to log off if they use their own PC.

If they log off they will revert back to un registered status which means theres not a lot you can do except to explain to them that the new PM when logged out is for new members only ;)

Lone Gunman 03-03-2009 12:46 AM

Quote:

Originally Posted by Bexter (Post 1710838)
I like the notices idea better.
The original location and screenshot, reminded me of those spammy ads you get on some sites, and as it's right next to the ad it looks like it's part of it. I think I'll try it on the notices :).

Thanks both :)

ditto
installed:up:

Bounce 03-26-2009 07:05 PM

I simply changed the wording to...


WANT to join ? Click here to register. :D

SpaceStar 03-31-2009 12:25 PM

Excellent idea - but I am still looking for a hack/modification to send PM to user fra ACL - havn't found yet :(

Brandon Sheley 03-31-2009 01:06 PM

nice mod, altho I'm sure I've seen it released here before :)
Might have to check it out on our forum

luxmail 04-05-2009 01:05 AM

if you use notices dont put it persistent. maybe your registered user wont register again :)

merk_aus 05-19-2009 10:36 PM

I installed it the Notices way but all and all a fantastic little addition I can see the benifits of it. Great Work!

aliali 05-29-2009 09:10 AM

nice....


All times are GMT. The time now is 06:21 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.02028 seconds
  • Memory Usage 1,810KB
  • 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
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (30)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