View Full Version : Profile Enhancements - Automatic Profile Commenter
Michael Biddle
02-26-2008, 10:00 PM
Automatic Profile Commenter
By: whitemike
White-Projects (http://www.white-projects.com)
What this does?
This will add a new profile comment to every newly registered member.
How to Install/Configure?
Import the product through vbulletin product manager.
vBulletin Options->Automatic Profile Commenter and configure
That is it!Hack options?
Master Enable/Disable
UserID to send comment from
Message that you want in the welcome profile message (BBCode Allowed).
You can now use the following
{username} - username of the newly registered user
{sitename} - name of your forums
{siteurl} - URL to your forums.New Features?
1.2 - Allows the use of variables to pull your website name
1.1 - Allows the use of smiliesPlease click INSTALL if you like and use.
SwollenCranium
02-27-2008, 12:24 AM
Thanks !
Romeos Tune
02-27-2008, 12:24 AM
giving this a shot! Thanks!
Michael Biddle
02-27-2008, 12:25 AM
Wow, you both beat my to save first post on thread.
SEOvB
02-27-2008, 01:45 AM
Any chance of the ablity to automatically add a userID to all new friends too!
forgot to say, nice hack, was thinking about requesting this!
Thanks
NeuroLancer
02-27-2008, 02:04 AM
Thanks alot for this :D works great.
Good companion of the you replacement mod ;)
Brandon Sheley
02-27-2008, 03:05 AM
great mod Mike, wonder where you got the idea :D
Magnumutz
02-27-2008, 03:12 AM
Yaaaay, glad to see that you made it work right.
*Installed*
Michael Biddle
02-27-2008, 03:32 AM
Your lying to me Magnumutz lol. No install from you.
Magnumutz
02-27-2008, 03:34 AM
Sorry dude, i guess i forgot... I installed now :D
Would it be possible to create 3-4 different messages which could be generated at random to the new users ?
Sending the same message to all new users would defeat the object of a personal welcome comment in their profile !
Yes, I realise we can change it perhaps once a month, but as time goes by, its another item that gets forgotten :)
Clicked install :up:
projectego
02-27-2008, 10:45 AM
* projectego clicks install :)
waller99
02-27-2008, 11:39 AM
I assume this doesn't work with 3.6.8? Does anyone know if there is anything like this that does? I have searched but cannot find anything. Thanks.
poprulz
02-27-2008, 01:05 PM
Nice little mod. Thanks.
There is no visitor message system in 3.6.8, it was introduced in 3.7 beta.
Michael Biddle
02-27-2008, 01:57 PM
Thanks all for installing so far.
And as poprulz said, their is no visitor message system in 3.6.x.
@TTG: I might think of that later, but not at this time.
Zaiaku
02-27-2008, 02:32 PM
Much needed idea, Thanks!
choccyclaire
02-27-2008, 10:38 PM
Much needed idea, Thanks!
I agree. :)
Thanks. :D
Michael Biddle
02-28-2008, 01:58 AM
Thanks guys. Glad you all like it.
Hornstar
02-28-2008, 06:48 AM
Exellent, this will hopefully allow new members after they sign up to view the profiles better and explore the site more. Will be installing this one for sure. thanks.
ramsayeg
03-12-2008, 11:22 AM
Would it be possible to create 3-4 different messages which could be generated at random to the new users ?
Sending the same message to all new users would defeat the object of a personal welcome comment in their profile !
Yes, I realise we can change it perhaps once a month, but as time goes by, its another item that gets forgotten :)
Clicked install :up:
That's a pretty good idea, I hope the next version introduces this feature.
Installed, thanks!
KURTZ
03-12-2008, 01:02 PM
TAGGED! for future use :)
burntire
03-12-2008, 05:48 PM
reserved
Holfy.com
03-12-2008, 10:40 PM
Installed. Works well. Thanks for this
Boofo
03-12-2008, 11:23 PM
Can this be made to only add it to verified users and not those that never email verify?
Michael Biddle
03-15-2008, 07:40 AM
@Boofo
Try changing the hook to register_activate_process
(not tested)
Boofo
03-15-2008, 09:58 AM
@Boofo
Try changing the hook to register_activate_process
(not tested)
Ok, done. Now, what is a good message to put in there? Any suggestions?
Michael Biddle
03-15-2008, 03:05 PM
Did it work?
Boofo
03-15-2008, 04:06 PM
I don't know. I haven't had anyone new sign up.
Boofo
03-15-2008, 05:05 PM
Mike, it worked great! But the smilie didn't parse and it shows as ; ) (without the space) in the message. Any way to fix that?
Michael Biddle
03-16-2008, 12:51 AM
So this is driving me bonkers now. I knew it was working before and it seemed to stop. I did some reasearch and see that its a vbulletin bug with beta 6. You can see the fix here if you are updated to beta 6 already. http://www.vbulletin.com/forum/project.php?issueid=24850
Also I am updating product to allow the use of smilies.
Boofo
03-16-2008, 04:29 AM
So this is driving me bonkers now. I knew it was working before and it seemed to stop. I did some reasearch and see that its a vbulletin bug with beta 6. You can see the fix here if you are updated to beta 6 already. http://www.vbulletin.com/forum/project.php?issueid=24850
Also I am updating product to allow the use of smilies.
Thank you, sir. Please let me know when you have the smilie fix. ;)
Michael Biddle
03-16-2008, 07:35 PM
It is already fixed and working ;)
Boofo
03-16-2008, 07:39 PM
Ah, you snuck it in on me. Thank you, sir. ;)
Got any recommendations for a good greeting message?
By the way, what is this in the query?
DBARRAY_NUM
Michael Biddle
03-16-2008, 08:06 PM
I actually copied that from the query vbulletin uses to generate the notifications at the top. I think it can be removed, but I just left it their. the DOARRAY_NUM is the same as MYSQL_NUM.
Boofo
03-16-2008, 08:19 PM
It is up to you. I don't know if it should be there or not. ;)
Can you direct me to the file that is in? I'm curious now as I have never seen it before.
And thanks again for the fix. Still no suggestions for the message? ;)
Michael Biddle
03-16-2008, 08:30 PM
Hello Person,
Welcome to my forums. You can introduce yourself to us here.
You might want to check out some of our popular forums here and here.
Enjoy your stay!
I think it was in either of these two:
./includes/functions_visitormessage.php
./includes/class_visitormessage.php
Boofo
03-16-2008, 08:36 PM
Thanks for the file info. And thanks for the message. Sounds good. ;)
Do I need to add breaks in the message or will it see the line breaks ok? Like a post, I mean. Also, is there a way to add their name in them message? Or did I miss that somewhere?
Michael Biddle
03-16-2008, 08:47 PM
It would should just work with you hitting enter.
Also for their username, I might get around to that today. I am doing some custom work and depending on time I will see what I can do.
Boofo
03-16-2008, 08:49 PM
Ok, great! Please let me know when you get that, sir. ;)
Good job on this, my friend. ;)
Zaiaku
03-18-2008, 12:57 AM
Works great. Althought I hate the idea of a mod I need to wait for someone to register to make sure it works but that's just me. Worked perfefctly on my heavily modded board. Thx!
Michael Biddle
03-18-2008, 01:40 AM
Why not just make a test account ;)
Brandon Sheley
03-18-2008, 01:57 AM
What was updated ?
Boofo
03-18-2008, 02:11 AM
@ Loco.M - The smilies not showing up was fixed.
@ Mike - Any fix for the username yet?
Zaiaku
03-18-2008, 03:14 AM
Why not just make a test account ;)
Just too lazy plus I knew it wouldn't be long before I had a new register on my site.
Brandon Sheley
03-18-2008, 03:48 AM
@ Loco.M - The smilies not showing up was fixed.
Ah, Thanks Bofo :up:
seangworld
03-18-2008, 07:21 AM
everything works fine for me.
Magnumutz
03-19-2008, 04:12 AM
Thanks Mike!
NeuroLancer
04-03-2008, 07:23 PM
I like this mod, having the variables is great :)
Reeve of shinra
04-03-2008, 09:53 PM
Works great, thanks!
nightbloom
04-04-2008, 04:00 AM
This is almost EXACTLY the hack I was hoping for. Is there any way you can make it so that the same ID can be added as their first friend request?
I have an account that is like my forum auto poster, posting threads for birthdays and responding to introduction threads. It usually takes ppl some time before they realize its not a real person. Having that ID be their first friend would be funny. ^^
samet54
04-04-2008, 05:35 AM
saolasın cok guzel birsey harıka oldu
Michael Biddle
04-04-2008, 02:37 PM
Please click install if you use.
KURTZ
04-05-2008, 12:44 PM
well done Mike & bobby :)
*INSTALLED
Boofo
04-28-2008, 08:41 PM
Just a head up, Mike. This is not working under the register_activate_process hook. Nothing shows up in the Visitor Message of the new user using that hook for some reason.
I had to uninstall this as it is not working in that hook.
Michael Biddle
04-29-2008, 09:37 PM
Why would it be in that hook Bob?
I have this one in register_addmember_complete.
If you have the email verification, it should be register_activation_process I believe.
Boofo
04-30-2008, 01:11 AM
I said it is under the register_activate_process hook and it is not working.
MissKalunji
05-01-2008, 03:29 AM
so far it's been working on 3.7.0 gold
koolfire
05-09-2008, 09:17 PM
If i ever upgrade my board to vBulletin 3.7 I will surely install this! I am just marking it installed so that i can find it later!
sdavis2702
05-24-2008, 09:20 AM
Awesome!
Green Cat
05-24-2008, 09:47 AM
*Installed*
Ok, done. Now, what is a good message to put in there? Any suggestions?
Can you please share the code that you modified, because I would like to only welcome members which have confirmed their mail.
Michael Biddle
05-26-2008, 09:49 PM
Read my response before that, it shows you how.
Green Cat
05-28-2008, 10:23 AM
Read my response before that, it shows you how.
Thanks !
franzis
05-31-2008, 12:41 PM
mods works, but not as i would like it to have?!
it creates the comment not in the profile of the new user but in my profile (my ID is the PosterID).
what can i do to make it posting the comments in the users profile?
MissKalunji
05-31-2008, 11:06 PM
uhm you must have dome something wrong...it does post on the users profile
franzis
06-01-2008, 11:28 AM
and what can i do wrong installing an addon? i've deinstalled it many times but always the same mistake...
is someone using a different userID, not useriD 1?
i'm using ID 2, maybe that's why it doesn't work?
Michael Biddle
06-02-2008, 11:17 PM
Go ahead and PM me the login details for your AdminCP and I will see what I can do.
Captain Tycoon
06-14-2008, 08:37 PM
Marked and Installed! Working Perfectly!
Julie
06-15-2008, 11:50 AM
Awesome, thanks! :)
I too vote on the random messages idea someone had here :)
anarki2009
06-17-2008, 01:59 AM
Installed Thanks
steve1966
06-17-2008, 07:22 AM
thanks i like the idea of this I will give it a try
Michael Biddle
06-19-2008, 02:08 AM
Please click install if you use it.
Boofo
06-19-2008, 02:23 AM
Excellent work, Mike. ;)
Wheezy
07-30-2008, 11:51 PM
This is great, thanks for sharing!
htscpl
08-01-2008, 09:59 AM
What a great addition. Anything that helps others feel like part of the community is OK by me. ** installs **
GSeybold
12-06-2008, 08:30 PM
Installed.. Thanks! :D
GSeybold
12-06-2008, 11:43 PM
bummer not working
Michael Biddle
12-06-2008, 11:45 PM
How exactly is it not working? Did you enable it from within the vBulletin Options?
GSeybold
12-06-2008, 11:46 PM
yes I've done everything correctly, Re installed twice. Just had a few new members and no messages where left.
Michael Biddle
12-06-2008, 11:56 PM
What version of vBulletin are you on?
GSeybold
12-06-2008, 11:56 PM
3.72
Michael Biddle
12-06-2008, 11:58 PM
Go ahead and PM me an admin account and I can look into it.
Sunka
12-14-2008, 04:23 AM
Installed.
Thank you!
mikeo9043
12-14-2008, 06:13 AM
Installed, good mod to have!
prodigyca
01-02-2009, 01:39 AM
Great Mod! Installed!
mradlin
01-03-2009, 08:57 PM
Works Great!! Installed!!
Michael Biddle
01-04-2009, 08:11 AM
Glad you all like it!
OK with 3.8, or should we wait for an update?
Bawtneez
01-12-2009, 12:14 AM
Installed, Thank you =]
apiasto
01-12-2009, 12:28 AM
nice hack to have.thnx
Michael Biddle
01-12-2009, 05:11 AM
OK with 3.8, or should we wait for an update?
Should work perfect, let me know if it does not.
ekantnl
01-17-2009, 05:12 PM
VB 3.4.7 PL1: the mod works,
but not with members that sign up via Facebook Connect.
Just to inform you :)
Michael Biddle
01-23-2009, 07:11 AM
I guess it would not work with the facebook connect as this is only on the register page. Also, I have never heard of vB 3.4.7 ;)
HaS?R
01-28-2009, 04:24 PM
Thanks.Look Great :)
Ohiosweetheart
03-04-2009, 03:29 PM
Michael do you plan to upgrade this for 3.8x?
Michael Biddle
03-05-2009, 11:20 PM
It should work with 3.8.1, I believe that is what Brandon over at vBulletin Setup (http://forum.vbulletinsetup.com) is running and he has it installed.
Ohiosweetheart
03-07-2009, 12:47 AM
It does. I use it on my site. But I was hoping that you'd repost it in the 3.8 section so that it doesn't get missed. :)
Michael Biddle
03-28-2009, 05:41 PM
It does. I use it on my site. But I was hoping that you'd repost it in the 3.8 section so that it doesn't get missed. :)
It is now in the 3.8 section. :D
Ohiosweetheart
03-29-2009, 03:07 AM
Great! I'd hate for anyone to miss this mod. My new members appreciate the profile comment right off the bat.
bbau01
03-29-2009, 06:56 PM
Thank you! Installed and works great
Michael Biddle
03-30-2009, 10:22 PM
Glad it is working :D
AteNa
03-31-2009, 12:14 PM
Thanks ...
Michael Biddle
03-31-2009, 06:08 PM
@AteNa:
Please click install if you like and use.
XtremeOffroad
03-31-2009, 08:37 PM
Nice mod.
Installed
Thanks
AteNa
04-01-2009, 01:44 PM
@AteNa:
Please click install if you like and use.
:)Thanks again
Michael Biddle
04-01-2009, 07:41 PM
Thanks!
Glad you all like it :D
AteNa
04-02-2009, 11:08 AM
Thanks!
Glad you all like it :D
It's really nice :)
dadoc
04-06-2009, 07:42 AM
Nice job guys
This is what I have been looking for
Michael Biddle
04-06-2009, 10:37 PM
Great! Glad you found it!
Artes_Marciales
04-10-2009, 12:54 PM
Installed, Thanks!! :)
any option to send Profile Commenter to ALL users? :erm:
I think that that would be great.
Best Regards!!
Michael Biddle
04-10-2009, 05:12 PM
Not at this time. This is only for a welcome comment.
Pamela
04-27-2009, 07:08 PM
Would it be possible to create 3-4 different messages which could be generated at random to the new users ?
Sending the same message to all new users would defeat the object of a personal welcome comment in their profile !
Oh that's a great idea! I'd love to see this too!
usearchme
04-27-2009, 08:57 PM
Yup nice little mod
militarytuners
04-29-2009, 09:53 PM
I really like this feature
Michael Biddle
05-01-2009, 12:53 AM
Glad you like it! :D
synseal
05-01-2009, 07:58 AM
Thanks sooooo much for this, really nice mod, Installed :)
ArnyVee
05-01-2009, 11:50 PM
Michael (or anyone else that might know), hopefully a real simple question that I've just never asked before.
I have a data field that I capture a first name in. What do I type in the "Message" field in order to 'pull' that info into the auto-message?
For example, the field may be field #8. So, I'd like it to say....
Welcome to our site "field #8"!
ArnyVee
05-04-2009, 10:53 AM
I have three members of my "welcoming committee" on my site. Can this mod be modified to include more than one user automatically posting?
Michael Biddle
05-04-2009, 11:12 PM
You could duplicate the mod and change the variables some.
ArnyVee
05-04-2009, 11:49 PM
Well, since I'm far from a coder, I guess that I'll have to make due for now until I learn something other than copy and paste ;)
Edited: Just had a new member join and no visitor message happened. I just noticed, this is for 3.8 vB. Does it not work on 3.7?
gcxboxps
05-19-2009, 02:29 AM
does this affect SEO as it creates duplicate content?
Michael Biddle
05-19-2009, 06:56 AM
I would not consider this to be dupe content.
gcxboxps
05-19-2009, 08:43 PM
I would not consider this to be dupe content.
but wouldn't the search engines as they see the same thing over and over?
marshal_ramdev
05-20-2009, 02:39 AM
thank you
Michael Biddle
05-20-2009, 02:41 AM
but wouldn't the search engines as they see the same thing over and over?
Tough call, your choice, not mine :D
thank you
Please click install if you use.
Jussel
05-21-2009, 09:11 PM
Installed ;) Nice.
Michael Biddle
05-22-2009, 08:16 PM
Glad you like it!
Thanks for clicking install.
blue6995
06-06-2009, 08:13 PM
Uninstalled - It doesn't make a new profile comment to every newly registered member
Michael Biddle
06-06-2009, 08:39 PM
Are you sure you had it enabled?
Selene
06-06-2009, 09:52 PM
Thanks for this hack, but I could not get it to work.
I installed it, was enabled by default.
Created a new used via admincp, and then logged in with those details.
And it had no profile comment.
Waited 10 minutes or so , but still no luck.
Uninstalled.
Though it is such a nice hack, I really want it to get to work.
Michael Biddle
06-06-2009, 09:56 PM
Do not register through admincp. Register through normal register.php ;)
Keesa
07-30-2009, 12:28 PM
:D:D:D:D:D:D:D:D:D:D
You just made my life.
yotsume
08-01-2009, 10:32 AM
EDIT: Error SOLVED
I installed this on my vb3.7x site and i set everything up. I made one edit to the product file before I installed so that the profile message would only go out to new users that confirmed their email address.
I was able to register fine but I received the following database error:
Database error in vBulletin 3.7.4:
Invalid SQL:
INSERT INTO vb_attachmentviewslog (attachmentid, userid, dateline)
VALUES (146, 203, 1249125999);
MySQL Error : Duplicate entry '146-203' for key 1
Error Number : 1062
Request Date : Saturday, August 1st 2009 @ 07:26:39 AM
Error Date : Saturday, August 1st 2009 @ 07:26:41 AM
Script : http://www.mysite.com/attachment.php?attachmentid=146
Referrer : http://www.mysite.com/
IP Address : xxxxxxxx
Username : xxxxxxxxx
Classname : vB_DatabaseSo how can I fix this? The edit I did to change the hook location was: <hookname>register_activate_process</hookname>
EDIT: I solved my database error by changing the suggested hook edit in a previous post back to defalt. The mod now worked perfectly and my new user has a great new automated welcome message!
THANKS FOR THIS! :D
Verionia
08-14-2009, 03:04 AM
Doesnt work for me - users are registered through joomla bridge, not vbulletin... can u make a fix? Ty.
Michael Biddle
08-16-2009, 03:02 AM
I do not know how the Joomla bridge works, if you could give me more details I can look into it.
multiplex
08-16-2009, 10:29 PM
hello Michael Biddle,
i think i found a bug. i am running bv3.8.3 and i should mention have enabled email confirmation feature in vboptioins-->user registration options-->Verify Email address in Registration-->YES
i also should mention i created 3 test accounts to test your hack out. i went through all the steps to register normally - i.e. not trough admin CP
so what is happening is this...
user registers...
user has to verify there email...
i go to my email and click on the verify account link provided...
i am then given a message that my account is verified but i am put into a cue to have my account moderated by an admin. i.e. i am put in the (COPPA) Users Awaiting Moderation Usergroup...
but in my user registration options the Moderate New Members option is set to NO
i had to disable this cause i dont want members to have to wait to be added to an active usergroup
can you please test this out. i wonder if others have noticed this. thanks
i should also mention i have Send Welcome Email feature enabled (also found in user registration options). normally, when a user registers and activates there account, a PM is sent. but when i installed this hack, the PM was NOT sent because i was put into the (COPPA) Users Awaiting Moderation Usergroup which can not accept PMs by default. but the visitor message did go through
marked as installed*
Ava-Kyrillos
08-18-2009, 07:02 AM
Thanks a lot
Verionia
08-18-2009, 07:34 PM
I do not know how the Joomla bridge works, if you could give me more details I can look into it.
users will register through joomla first, then they are automatically added to vbulletin user database as a new register... don't know if this mod will still work?
sebaldus
08-23-2009, 07:23 AM
Thanks a lot for a great Hack, Michael..:)
Regards from Sebaldus..:up:
helmica
10-15-2009, 08:53 AM
hi,
i need to upgrade to vb4 are Automatic Profile Commenteris ok by vb4?
thanks in advance for you help
Michael Biddle
10-16-2009, 12:49 AM
This mod will work on vb4.
TheLastSuperman
10-16-2009, 01:14 AM
Thanks Mike!
- Mike :p
Mike1018
12-28-2009, 11:05 PM
Awesome and very useful mod. Thanks!
COL NIL SATIS
01-02-2010, 03:47 PM
Wow this is cool..installs
cindy helmond
09-21-2010, 11:09 AM
i have moved my forum url but now if i use this mod then he gets the old link from the forum , can you change the url ? and where ?
Thx
Lpspider
03-14-2011, 08:42 AM
Is there an easy way to delay this comment? For example, xx minutes or x days after the new user has registered?
Sorry if I overlooked this. I think that would be superb.
Zylantex
03-14-2011, 03:33 PM
Installed today and working perfectly on 3.8.4 PL 2.
Thanks to the OP.
Voeltz
04-28-2011, 12:33 AM
This is just epic.. that's all i can and have to say. no bugs, works perfect.
Rich_Princess
04-29-2011, 03:59 AM
Any chance to get this working for version 4?? I love this mod on 3.x!! Thank you sooo much!!
Michael Biddle
04-30-2011, 07:03 AM
Does this not work on vB4? I have not tested it, however it should work the same.
MagicThemeParks
05-11-2011, 12:33 AM
Is there a way to add a custom profile field?
I like to have a 'first name' custom profile field and then use that to display the welcome message as opposed to the username.
c0der
05-21-2011, 06:16 AM
nice work
Drhago
02-02-2012, 03:53 PM
Nice work, thanks
Snowhog
08-19-2012, 07:27 PM
I was just looking for something exactly like this. Thank you. Installed and marked as such.
pablodip
06-27-2014, 06:30 PM
Excellent, running on 4.2.2
Tobin Frost
07-01-2014, 05:29 PM
Clicked install.
Thanks.
yahsuah
08-24-2015, 09:25 AM
Thanks for this great addon
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.