View Full Version : Miscellaneous Hacks - New Thread on Registration
tnguy3n
12-18-2004, 10:00 PM
Modded by tnguy3n
Requested here (https://vborg.vbsupport.ru/showthread.php?t=63762)
Live demo: http://www.all4actions.net (also screenshots attached)
Description: This hack automatically creates a "Welcome Thread" in an assigned forum when an user register a new account on your board.
Log into Admin CP, go to vBulletin Options -> User Registration Options, then to change your settings
Administrator of the board can:
- turn on or off this mod in the Admin CP.
- turn on or off an option which allow user to create an introduction thread on registration
- create/modify title + welcome message content easily
- assign a specific forum where Welcome Thread to be created in.
- etc
Version 1
New Queries: 6 (added to vb setting table)
File Mod: 1
Template mod: none
Installation time: 30-45 seconds
This version is to automatically create welcome thread on new registration.
Version 2
Queries: 7 add to setting table
Phrase: 2
File mod: 1
Template mod: 1
New template: 1
Installation time: 2-3 mins
version 2 is either to automatically create welcome message or let users creating their own introduction thread on registration.
Installer included.
Changees In version 2
- 1 query added to setting table
- 2 phrases added
- 1 new template
- 1 template mod (register)
- 1 extra code mod in register.php file.
Note: if you run WelcomeThread Installer. You must log into Admin CP, go to vBulletin Options -> User Registration Options and change those Welcome Thread settings to yours, then Save.
More instruction + trouble shooting, read this thread http://www.all4a-designs.com/forums/index.php?topic=21.msg22#msg22
lasto
12-19-2004, 08:46 PM
neat little hack u done there m8 and admin controlled well done
/me clicks install
Lionel
12-19-2004, 08:59 PM
Your instructions are wrong. Install is less than one minute, not 5-6 :-)
lasto
12-19-2004, 09:03 PM
Your instructions are wrong. Install is less than one minute, not 5-6 :-)
Installed and working fine - well easy :)
Can you do an addon for this if not to much trouble ?
post to mod room - posts saying new user has regged and in the post have the users email and ip (saves checking em in admincp)
Used to have this sort of hack on vb2 and liked it then.
cheers m8
tnguy3n
12-19-2004, 09:16 PM
Installed and working fine - well easy :)
Can you do an addon for this if not to much trouble ?
post to mod room - posts saying new user has regged and in the post have the users email and ip (saves checking em in admincp)
Used to have this sort of hack on vb2 and liked it then.
cheers m8
:rolleyes: lol... make it 5-6 mins for those turtles like me.
yup, to post in mod forum, just add an extra query. I'll look into it for ya. :)
kaotic
12-20-2004, 03:56 AM
So what this does is, everytime someone registers, it makes a post with the exact same content, changing only the variable of the user's name in the title?
If so, might I suggest the feature of allowing the user to edit the post's content while registering?
yinyang
12-20-2004, 06:59 AM
great hack. i've always thought about how something like this would be totally useful. it'll actually help people get used to posting also!!! but i agree with kaotic in that is there a way for them to post their own unique message instead of it being a boiler plate message created by admins?
fatalsex
12-20-2004, 08:21 AM
just perfect hack.
Its a first hack that i see , so you have 1 click install :)
GREAT JOB!
Have any others ? :)
Zelda-King
12-20-2004, 01:08 PM
I have a couple of queries (which I think will also benefit others here);
- What happens if we have 'moderate new users' enabled? Can it be made to only make threads for approved members?
- Can we designate a userid as the thread author? In my case we have a 'bot-admin' member for things like welcome PMs and such.
tnguy3n
12-20-2004, 01:44 PM
I have a couple of queries (which I think will also benefit others here);
- What happens if we have 'moderate new users' enabled? Can it be made to only make threads for approved members?
- Can we designate a userid as the thread author? In my case we have a 'bot-admin' member for things like welcome PMs and such.
okie. i got a new version with options allow users to post introduction thread on registration.
it seems that I gotta look into the mod again for approved members only.
check 1st post for update & upgrade instructions also available if ya wish to upgrade from 1st version. ;)
Delphiprogrammi
12-20-2004, 02:02 PM
this thing works but i don't see an option to turn it off ?
tnguy3n
12-20-2004, 02:08 PM
this thing works but i don't see an option to turn it off ?
Please check screenshots. You turn it on or off in AdminCP, under User Registration Options, and just check NO.
tnguy3n
12-20-2004, 02:25 PM
Screenshots for WelcomeThread v2.
Useful and easy to install .. thanks for the hack.
Clicked Install :)
Socomjunky.com
12-20-2004, 07:23 PM
Is there a Way when they have to fill in the welcome thread part to complete registration?
tnguy3n
12-20-2004, 08:45 PM
Is there a Way when they have to fill in the welcome thread part to complete registration?
yup, totally. That was what i was thinking when i coded version 2. if users do not fill out title + message field, it would return error; however, but I didn't have time to check all input and stuffs, besides, it may annoy the ppl.
Socomjunky.com
12-20-2004, 10:03 PM
okay another question. I just finished Installing Version 2.the whole zip hack everything went smoothly. But i went to test the haack out it was successful but its not sending the Post to the Forum. I did the installer i wasnt sure if i had to do anything with the update.txt
tnguy3n
12-20-2004, 11:35 PM
You gotta enter forumid where Welcome Thread to be created in. default forumid I used was 2, but you can change to whatever forumid that fits your board.
TheVirus
12-21-2004, 12:03 AM
You don't know how much of a blessing this hack is to my team. We welcome each new user, and this is gonna save us precious time.
*Clicks Install*
Socomjunky.com
12-21-2004, 12:10 AM
i put the forum Id and everything is set up and its not working. Below i posted some screen shots of my Admin panel.
tnguy3n
12-21-2004, 01:21 AM
i put the forum Id and everything is set up and its not working. Below i posted some screen shots of my Admin panel.
I visited your site, and based on your setting for welcome thread, it won't show in forum 3 because the forum of that id doesn't even exist. Click on the link and check it out yoursel http://www.socomjunky.com/forum/forumdisplay.php?f=3 . How about creating in some existing forums, say 159 . ;)
Socomjunky.com
12-21-2004, 01:35 AM
i put the correct Forum ID Number But its still not working. I want the New Thread to go to my " Lobby " Forum which ID is #79. Still doesnt work and i dont know what to do.
tnguy3n
12-21-2004, 02:16 AM
i put the correct Forum ID Number But its still not working. I want the New Thread to go to my " Lobby " Forum which ID is #79. Still doesnt work and i dont know what to do.
I don't know if this is a bug in Welcome Thread v2 or whether your forum access masks cause dis problem. I'll look into it when I got time. :)
TStaut
12-21-2004, 05:30 AM
Worked great, just what I needed! Thanks a ton.
The Realist
12-21-2004, 09:56 AM
Installed ok but its posting to the correct section but the actual content of the post is blank?
Ideas anyone?
tnguy3n
12-21-2004, 01:31 PM
Installed ok but its posting to the correct section but the actual content of the post is blank?
Ideas anyone?
Did you modify the template?
check and make sure in your template, name of message or textarea in your template must be welcomethread_message
<textarea name="welcomethread_message" cols="50" rows="10"></textarea>
or it assumes your message is null and you got blank content.
The Realist
12-21-2004, 02:45 PM
Where does it say this in the instructions to version 2?
Did you modify the template?
check and make sure in your template, name of message or textarea in your template must be welcomethread_message
<textarea name="welcomethread_message" cols="50" rows="10"></textarea>
or it assumes your message is null and you got blank content.
tnguy3n
12-21-2004, 02:54 PM
Where does it say this in the instructions to version 2?
I'm confused. you upgraded from version 1 or that was fresh installation of version 2?
If you upgrade to version 2, log into your admincp and create a new phrase as following:
Phrase Type: Register
Varname: welcome_message_default
Text: Hello, I'm new here, hope to be y'all's friend!
I made little mistake on dat in the upgrade instruction (which is already fixed now).
Lionel
12-21-2004, 04:52 PM
got a database problem in showthread after update
Invalid SQL: SELECT
COUNT(*) AS count FROM user WHERE referrerid =
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2
mysql error number: 1064
Socomjunky.com
12-21-2004, 05:10 PM
dam i tried everything nothing yet.
The Realist
12-21-2004, 05:21 PM
No not upgraded but new install using version 2.
I'm confused. you upgraded from version 1 or that was fresh installation of version 2?
If you upgrade to version 2, log into your admincp and create a new phrase as following:
Phrase Type: Register
Varname: welcome_message_default
Text: Hello, I'm new here, hope to be y'all's friend!
I made little mistake on dat in the upgrade instruction (which is already fixed now).
Lionel
12-21-2004, 05:21 PM
and after registering user gets this when trying to go back on forumhome
Invalid SQL: SELECT userid FROM usersonline WHERE userid=
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
mysql error number: 1064
Lionel
12-21-2004, 05:30 PM
everything is fine when I go back to my old register.php with previous version. I am using 3.01
tnguy3n
12-21-2004, 05:48 PM
@Lionel: update function only inserts 2 new phrases + 1 new setting, it doesn't tough user table.
I tested it on 3.0.3 . I'll get back to ya after I fully test this version 2 on earlier version of vb3 (luckily, i still have 3.0.1 on my laptop). :)
Socomjunky.com
12-21-2004, 06:54 PM
okay i fixed it. Thanks awesome hack and i just clicked install :)
tnguy3n
12-21-2004, 07:39 PM
everything is fine when I go back to my old register.php with previous version. I am using 3.01
I got vb 3.0.0 + 3.0.3 on my localhost, they all seemed to work fine, both fresh installation and upgrade. Try to upgrade again (don't forget to run welcomethread_installer.php , then upgrade option) and follow instructions closely.
If you still have problem with it, drop me a PM and i'll help you out when i'm available. ;)
msimonds
12-22-2004, 12:03 AM
oustanding and easy hack to install!
I would like to make it a manditory option and if they dont fill out the form, dont make a post!
joeychgo
12-22-2004, 01:38 PM
I like the idea of this hack alot - is there a way to make it so it also displays the results of selected provile fields such as 'Location' ?
Had 1st new member since installing this hack .. new member didn't fill in any 1st post so the default message was posted in the correct forum .. when he went to reply to the post :-
Database error in vBulletin 3.0.3:
Invalid SQL:
SELECT
userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP
mysql error number: 1054
-------------------------------------------------------------------------
Removed hack and all now works well !?
Re-installed and all works well now .. must have made an error on installation https://vborg.vbsupport.ru/external/2004/12/1.gif
Socomjunky.com
12-22-2004, 08:59 PM
okay i have the hack installed but its producing blank topics was it because they didnt fill out anything?
tnguy3n
12-22-2004, 09:08 PM
@TTG: I can't really find explanation why it causes those database error, maybe difference syntax used in mysql versions (i got mysql 4.x btw)... cuz like i said, this mod only add few queries to setting dbtable.
I got this mod tested on 3 vb boards, they all work fine without an error. i don't know if you guys follow the right instructions. :|
I like the idea of this hack alot - is there a way to make it so it also displays the results of selected provile fields such as 'Location' ?
This is public release, i try to make it as general as possible so that everyone can use it. If you need a custom mod, visit my dev board at http://www.all4a-designs.com/forums or drop an PM with your mod description, I'll help ya out on my sparetime.
tnguy3n
12-23-2004, 12:14 AM
okay i have the hack installed but its producing blank topics was it because they didnt fill out anything?
well, i think i found the bug you've mentioned on.
open register.php,
FIND:
{ $_POST['welcomethread_title'] = "$vbphrase[welcomethread_title_default]"; } // too lazy to check for empty title
REPLACE IT WITH:
{ $_POST['welcomethread_title'] = "Hi, I am new!"; } // too lazy to check for empty title
FIND:
{ $_POST['welcomethread_message'] = "$vbphrase[welcomethread_message_default]"; } // ehhh, use default if empty
REPLACE WITH:
{ $_POST['welcomethread_message'] = "Hello everyone, I am new here. Just thought to drop a line to say hi."; } // ehhh, use default if empty
Those will be default messages if user left title or message field blank. you can change it if you like.
I think i'll make those field as required ones after all. :squareeyed:
tteal
12-23-2004, 11:11 AM
I'll have to install this soon.....
Takamine334
12-23-2004, 11:58 AM
Your instructions are wrong. Install is less than one minute, not 5-6 :-)
Yeah, what gives? The instructions were all wrong. Took 2 mins (I'm not as fast as Lionel) :)
ChrisBaktis
12-24-2004, 02:34 PM
Is there a way to prevent a new post if a user chooses not to do one? We award certain contest points to new users when they do an intro post - so if they choose not to do one we do not one posted.
allright i have read all poster here but i thought no one got my error
everything about installer is smoothly include the part of setting in admincp ->.....option ...-> user reg....
I follow very tire the intruction of attachment and your dev board too
my error it
when my board has the new member reg this mod still created the thread in the forumid that i assigned but it's blank post and no title
there is only showed on the new welcome thread that is a name of new member
would you please take a look over this error for me
thanks
regards
Do the register.php edits shown on this thread (https://vborg.vbsupport.ru/showthread.php?t=73093&page=3&pp=15)
yes i did but still problem as my post
no thread and no title
tnguy3n
12-28-2004, 11:15 PM
allright i have read all poster here but i thought no one got my error
everything about installer is smoothly include the part of setting in admincp ->.....option ...-> user reg....
I follow very tire the intruction of attachment and your dev board too
my error it
when my board has the new member reg this mod still created the thread in the forumid that i assigned but it's blank post and no title
there is only showed on the new welcome thread that is a name of new member
would you please take a look over this error for me
thanks
regards
an fix for that was posted here. https://vborg.vbsupport.ru/showpost.php?p=585263&postcount=42
ChrisBaktis
12-29-2004, 03:11 AM
I didnt see an answer to my question - is there a way to make this an option so if a new user doesnt want to fill out the fields then NO default message is posted? Maybe I overlooked something but it appears that default will show if user doesnt do one manually.
I didnt see an answer to my question - is there a way to make this an option so if a new user doesnt want to fill out the fields then NO default message is posted? Maybe I overlooked something but it appears that default will show if user doesnt do one manually.
i get this error when i try to run the installer file any idea ?????
Fatal error: Call to undefined function: print_cp_header() in /home/dreamss/public_html/forums/welcomethread_installer.php on line 13
dcarr
12-30-2004, 05:47 PM
I followed all instructions and made sure that any changes were in the right place. My new user's message appears fine, but the Staff Welcome post doesn't show. Is it a time limit issue? Or am I still missing something
tnguy3n
12-30-2004, 08:08 PM
@ChrisBaktis: I'll include this option + welcome PM in new version of the mod
@H2k: open welcomethread_installer.php on line 13, comment out //print_cp_header() ... 1st report of error of installer btw.
@dcarr: if the user chooses to create introduction thread, welcome thread by staff won't be created.
dcarr
12-30-2004, 09:50 PM
Ahhhh understood...thanks very much.
ChrisBaktis
12-30-2004, 11:44 PM
great
folkish
01-05-2005, 04:34 AM
/me clicks install.
Nice hack!
joeychgo
01-11-2005, 02:23 AM
its a great hack
Rhoads
01-11-2005, 07:33 AM
Thnx , Great Hack
Works on vB 3.0.5
Ruffneck
01-13-2005, 09:42 PM
Nice it works fine...
DanCan
01-15-2005, 04:08 PM
@ChrisBaktis: I'll include this option + welcome PM in new version of the mod
@H2k: open welcomethread_installer.php on line 13, comment out //print_cp_header() ... 1st report of error of installer btw.
@dcarr: if the user chooses to create introduction thread, welcome thread by staff won't be created.
I still get the error on line 13 after having removed the comment. Line 13 now reads:
('Welcome Thread On Registration', ' ', ' ');
Do I need to fill the ' ' out with something? And I also need to run the welcomethread_installer.php? script, right?
The guide says nothing about this.
Delphiprogrammi
01-15-2005, 04:51 PM
first run welcomethread_installer.php after that edit register.php by the way "print_cp_header();" you can get rid of that by
require_once('./includes/adminfunctions.php');
DanCan
01-15-2005, 05:11 PM
Sorry, I don't understand? When I run the welcomethread_installer.php, I get the line 13 error, so what do I do to get on? And where should the require_once code be added?
wirewolf
01-15-2005, 06:20 PM
I installed the mod, and it works fine. Messages are posting in the correct forum and I don't get any errors.
However. I have the option for the user to create an intro on registration. If they choose to create thier own ("Yes"), but don't type in any thing the fields, then the default message ("Hi, I am new!" - "Hello everyone, I'm new here! Just thought to drop a line to say hi.") is printed in the correct forum. If they chooose "No", again with no input to the fields, then my default (Admin) Welcome Message Text is posted. I would like to get rid of the "Yes"/"No" option and make it them "required fields" (like password, name, email, etc). In other words, they HAVE to input to the fields, and if they don't, they will get an error message similar to if they have an incorrect email address, or forget to enter a password field, etc.
The default Welcome Message from "Staff" gets to look ridiculous after awhile. With the same message shown over and over, it lacks the personal touch.
I assume this would require recoding in register.php, but I'm not sure of the correct syntax.
John
DanCan
01-16-2005, 04:35 PM
I think I know what I may have done wrong: I created the user registration options manually by following this guide: http://www.all4a-designs.com/forums/index.php?topic=21.msg22#msg22
Now, I would like to remove the fields I have created since I am not able to run the install scripts as long as they are there.
Anybody knows how to remove the fields? Help would greatly be appreciated.
tnguy3n
01-16-2005, 06:09 PM
I think I know what I may have done wrong: I created the user registration options manually by following this guide: http://www.all4a-designs.com/forums/index.php?topic=21.msg22#msg22
Now, I would like to remove the fields I have created since I am not able to run the install scripts as long as they are there.
Anybody knows how to remove the fields? Help would greatly be appreciated.
Since you are unable to run the installer, it'd insert nothing into your database, so you don't have to remove any field. I doubt there must be something wrong with your vb core instead of my installer because there'r several ppl install the script and it seemed to work fine for them. :)
tnguy3n
01-16-2005, 06:12 PM
I installed the mod, and it works fine. Messages are posting in the correct forum and I don't get any errors.
However. I have the option for the user to create an intro on registration. If they choose to create thier own ("Yes"), but don't type in any thing the fields, then the default message ("Hi, I am new!" - "Hello everyone, I'm new here! Just thought to drop a line to say hi.") is printed in the correct forum. If they chooose "No", again with no input to the fields, then my default (Admin) Welcome Message Text is posted. I would like to get rid of the "Yes"/"No" option and make it them "required fields" (like password, name, email, etc). In other words, they HAVE to input to the fields, and if they don't, they will get an error message similar to if they have an incorrect email address, or forget to enter a password field, etc.
The default Welcome Message from "Staff" gets to look ridiculous after awhile. With the same message shown over and over, it lacks the personal touch.
I assume this would require recoding in register.php, but I'm not sure of the correct syntax.
John
in register.php,
FIND:
Hi, I am new!
and
Hello everyone, I'm new here! Just thought to drop a line to say hi.
REPLACE WITH YOUR OWN welcome title + message.
DanCan
01-16-2005, 06:16 PM
I am able to run the installer ( I just forget to put the installer.php in the admincp folder). When I run the installer, I get the following error message:
Database error in vBulletin 3.0.5:
Invalid SQL: INSERT INTO phrase (phraseid, languageid, varname, text, phrasetypeid) VALUES (NULL, '0', 'setting_welcome_thread_enable_title', 'Enable Welcome Thread on registration?', '5000')
mysql error: Duplicate entry 'setting_welcome_thread_enable_title-0-5000' for key 2
mysql error number: 1062
I think it is because I have already created the custom fields manually. Now I want to remove them, so I can run the installer properly. How do I do that?
tnguy3n
01-17-2005, 02:01 PM
I am able to run the installer ( I just forget to put the installer.php in the admincp folder). When I run the installer, I get the following error message:
I think it is because I have already created the custom fields manually. Now I want to remove them, so I can run the installer properly. How do I do that?
upload the attached file to your /forumroot/admincp/
run http://yoursite/forumroot/admincp/welcomethread_installer.php?op=uninstall , and that will to remove all current phrases and settings of this mod.
and to re-install, just run http://yoursite/forumroot/admincp/welcomethread_installer.php?op=install
DanCan
01-17-2005, 04:17 PM
Thanks a lot. Exactly what I looked for.
ChrisBaktis
01-17-2005, 08:28 PM
Any time frame when the next version will be out that will not post a new thread if the member doesnt do one himself?
DanCan
01-17-2005, 08:29 PM
Ups, I was to quick. Sorry, it doesn't work.
Let me try to be more clear about this.
1. I didn't put the welcome_installer.php in the admincp folder. Therefore I couldn't install the hack.
2. Instead I tried to do the hack manually by following this guide:
Okie, here's one other instruction on how to install this Welcome Thread on Registration hack. This take a little more longer or you can say "mod in a hard way".
To to this URL: http://yoursite/forum/admincp/options.php?do=addsetting&grouptitle=settinggroup_register
located here: http://www.all4a-designs.com/forums/index.php?topic=21.msg22#msg22
3. So I created the 6 varnames in 'user registration options' manually.
4. Now that I have found out how to install the hack, I don't know how to delete the 6 varnames I have created manually.
5. Since I never installed the hack, it evidently doesn't work to uninstall it.
------
BUT something is going on. Tonight we got a new user at 21:56 CET, and I could see that the Forum Staff as I call the welcome_thread_rep had created a post the very same minute. Since the 'Forum Staff' isn't used anywhere else on the board than for the purpose of generating an automatic welcome greeting, the board must have created a welcome greeting.
I obtained the information about a post made by Forum Staff on my Bindex portal, but it is nowhere to be found on the board. Moreover it doesn't have a title and seemingly no content.
I guess the reason is that I have created the 6 varnames + content in the user registration options, but I haven't added them to the phrase manager. Could that be the reason? And if so, what is the phrase type for each of the 6 varnames? Is it global?
Delphiprogrammi
01-20-2005, 09:00 AM
hi,
this hack works fine however i'm facing a problem.I'm looged into administrator account and in the forum i assigned to this hack (the forumid) i can't see the ip address of the posters.I can in *all* other forums .I'm not blaming your hack yet but.... if it is this is a serious bug look at the two images below the one where's no computer icon in the postbit template that is from your hack the second image is from another forum (on the same board)
edit
one more image showing my iplogging setting is correc :S why why why the hell ??
tnguy3n
01-21-2005, 01:07 PM
@ DanCan: it will delete all phrases, setting regardless to installer or instruction posted on my dev board that you used.
@Delphiprogrammi: thanks for pointing it out. attached is patch for the mod that you can use.
*first post is now updated*
@ChrisBaktis: will be out this weekend. it got pm new user feature and uShop integrated, and admin can set amount of points for users who make new thread at registration.
ChrisBaktis
01-21-2005, 02:02 PM
Great - looking forward to using this.
Delphiprogrammi
01-21-2005, 02:35 PM
@Delphiprogrammi: thanks for pointing it out. attached is patch for the mod that you can use.
*first post is now updated*
thanks for updating that working fine now
Bounce
01-21-2005, 04:37 PM
I''ve followed the instruction in the V 2.0.0 version but whern I go into User Registration Options its not showing :disappointed:
Bounce
01-21-2005, 04:41 PM
CaNCEL THAT I never ran the install script DOH lol
Very nice hack,thanks
tnguy3n
01-25-2005, 05:11 AM
Great - looking forward to using this.
:devious:
I got it working on my board now. v3 (http://www.all4a-designs.com/forums/index.php?topic=36.from1106636295;topicseen#msg74) :tired:
sgtmaj
02-03-2005, 02:32 PM
certainly saves me lots of time..............works great. thanx
ChrisBaktis
02-03-2005, 09:22 PM
Any word on when you will add the feature so a thread is NOT created unless the new member does one?
RaZor Edge
02-04-2005, 01:26 PM
Any word on when you will add the feature so a thread is NOT created unless the new member does one?
I would also like to see this feature added to this great hack!
mtrac
02-13-2005, 06:49 PM
At this point, I'll try anything to get my members to post. I've been looking for something like this because I mostly do my welcomes by PM -- my members have markedly different levels of expertise and interests so I try to gauge them and adjust the welcome accordingly. No more.
This hack installed pretty easily and works well. One more install click for you.
RaZor Edge
02-28-2005, 05:15 PM
Do you have plan to release V3 for download here?
wirewolf
03-01-2005, 12:27 PM
Great script. I've had installed for some time now and I chose the option to allow the new user to enter their own message on registration. Most do edit it, but some let the default message go through. But it has helped to get users to open up a bit and start posting. At least they start off with a post count of 1.
One thing though, I just noticed that my welcome emails to new registrants aren't going out. They are getting the "Activate your account" emails ok, but not the welcome email, neither after registration or after they have activated their account. I double checked my settings and the Welcome email box is checked "Yes".
Not blaming your script, but there seems to be a minor conflict with vbulletins' register.php script and this one. Because the new user now has a post count of 1, even though they have yet to activate or even if they have, the welcome email fails to go out. There is a line in register.php, around line 1495:
// activate account
$username = unhtmlspecialchars($userinfo['username']);
if ($vboptions['welcomemail'] AND !$userinfo['posts']) {
eval(fetch_email_phrases('welcomemail'));
vbmail($userinfo['email'], $subject, $message);
}
$username = $userinfo['username'];
eval(print_standard_error('registration_complete') );
}In the highlighted AND !$userinfo['posts']) means that if the user has a post count the welcome email does not go out. I deleted that one conditional, and tested it out by having a friend go and do a test registration. He got the Welcome email! If you have your settings set to "Moderate new members", or if you have your welcome on registration settings set to have the Admin "Welcome Message" displayed, this point is moot. But if you have the same conditions as I do, and your welcome emails aren't going out, you may want the check the above section in register.php. Of course this is a temp fix. Could a conditional be added in the "New Thread on Registration" script to work around this particular conflict?
John
tnguy3n
03-23-2005, 02:40 PM
@RaZor Edge: yup, in some time. It's fully operational and been running on my production board for a while, i just wait to add more features to it.
@wirewolf:
Did you add 2 phrases to Email Subject Text + Email Body Text?
for example:
Var Group: Email Subject Text
varname: welcomemail
Text: Welcome to $bbtitle, $username!
and for Email Body Text
varname: welcomemail
text: msg goes here
wirewolf
03-23-2005, 04:39 PM
Did you add 2 phrases to Email Subject Text + Email Body Text?
for example:
Var Group: Email Subject Text
varname: welcomemail
Text: Welcome to $bbtitle, $username!
and for Email Body Text
varname: welcomemail
text: msg goes here
This is what I have:
In my $vbphrase[welcomemail] Subject:
==========================
Welcome to the $vboptions[bbtitle]!
=========================
In my $vbphrase[welcomemail] Body:
==========================
Hi $username,
Thanks for registering at the $vboptions[bbtitle]! We are glad you have chosen to be a part of our community and we hope you enjoy your stay.
Please click this link for a Welcome Aboard Message:
http://shipmodeling.net/forum/welcome_aboard.html
Thanks again,
The the $vboptions[bbtitle] team
==========================
This the standard welcome mail that goes out. I wrote up a html page (the link above), as a more formal welcome. I could have included the html in the welcome email, but a lot of people don't accept html in their mail, and besides, it makes the email rather large.
John
KanyeWest
03-24-2005, 02:16 PM
when someone registers u wanna read a thread
it says
kanYeWest, you do not have permission to access this page. This could be due to one of several reasons:
1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
why
Delphiprogrammi
03-24-2005, 04:02 PM
when someone registers u wanna read a thread
it says
kanYeWest, you do not have permission to access this page. This could be due to one of several reasons:
1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
why
that one is easy check your permissions ... "can view threads" etc ...
KanyeWest
03-24-2005, 05:34 PM
i no that but im the admin i supposed to view everying but i cant i went in permissions still wont let me darn
KanyeWest
03-24-2005, 09:32 PM
never mind i found out that i had to put the forum id lol thanks anyways :ogre:
xtreme-mobile
04-12-2005, 08:03 AM
is there a way of the hack making the allocated person get an extra post count everytime it creates a welcoe post?
ive set it to admin but it doesnt add extra post count? any way?
Extreme John
07-28-2005, 02:07 AM
This hack is excellent, and I am VERY new at installing these, what a breeze, thank you.
BOWZONE
07-28-2005, 06:44 AM
Well, I have to say...what a great hack...
Everything installed perfectly and the script created a post in the proper forum.
*intalled!*
Thank you!
Club3G
08-08-2005, 06:06 PM
Hmm, installed, admincp stuff is there, but it's not creating the thread.
My forumid is an existing forum, and I have the user set to Welcome-Bot, userid #1.
Any ideas?
buffness
08-11-2005, 03:34 PM
can't get it to work for some reason. I did all the modifications, but there is nothing to edit in the vb options for user registeration options. It's still the same. Any help?
o0Hubba0o
08-17-2005, 12:05 AM
Did the file edit, ran the installer and went it and changed the settings and it works great.
sdsvtdriver
08-19-2005, 11:43 PM
works great!
although i have the default options set for 'instant email notifications' and to subscribe to posts, the new user isn't subscribed to this post.
this is probably an easy code change. this way, when people respond to the user's introductory post, they get an email and get reminded to return to the site.
ideas?
mtrac
08-20-2005, 05:09 PM
Any chance this will be updated for vB 3.5?
mtrac
10-05-2005, 12:34 PM
Bump
GeekFury
11-13-2005, 09:24 PM
hmmm...looks like it might not be updated.
But I found a new plug-in that might replace it:
https://vborg.vbsupport.ru/showthread.php?t=91887
RichTJ99
12-10-2005, 12:11 PM
installed on Version 3.0.10, works great. thanks
Haaday
12-20-2005, 02:09 PM
I am running 3.5.2 and in my register.php file I can not seem to find the line that has //save count and new .......... on it can someone help me out
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.