vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Welcome Message in Any Forum (https://vborg.vbsupport.ru/showthread.php?t=35398)

OldManWillow 02-23-2002 10:00 PM

Ok. I have edited PPN's new member in a forum hack to welcome someone into any forum on your board.
Basically if you want to welcome a member and have your current members welcome them this is the hack for you.
Check out the text file it has all you need to do it.
Thanks to PPN for the majority of this hack! 99% of the credit goes to him.
You can see it in action here:
http://www.lotronline.com/forums/for...p?s=&forumid=3
Comments and questions are appreciated!

neal 02-24-2002 08:39 PM

oh sweet, this is awesome.

I'm going to add it to my Newbie forum right away.

Another demo for people thinking about installing:

http://www.teenagedweb.com/forumdisp...p?s=&forumid=8
http://www.teenagedweb.com/showthrea...=2918#post2918

(Teenaged Web is the auto poster)

I recommend to people thinking of installing.

OldManWillow 02-24-2002 08:39 PM

Glad you like it

neal 02-24-2002 09:56 PM

Installed and working, thanks OldManWillow.

I used my default board username to send the autopost, then modified the code in register.php to change its userid from 0 to what it actually is. Now, instead of showing up as a guest and not being able to view its profile, you can view its profile and it shows up as a user.

I've one small bug for you:

When you use vbcode, in specific the [url] code, in the welcome_newuser template, you get a parsing error when you register and nothing but a title in the post. I believe this is with all vbcode, but it's only been tested with the url.

Otherwise, great idea and it works great!

OldManWillow 02-24-2002 09:57 PM

thanks man! I like the user idea I am gonna do that

Bald Bouncer 02-25-2002 08:13 PM

I requested this hack quite a while ago, nice one.
I haven't installed it yet but the instructions seem a bit vague, is it posible to elaborate on setting it to post in certain forums other than a set one etc..
Thanks BB

OldManWillow 02-25-2002 08:18 PM

It is all in the instructions that PPN wrote. You just need to set the forum id to whatever. In the admin panel under user registrations there is a spot where you edit which forum it goes into. Pick one and enjoy!

Bald Bouncer 02-25-2002 09:55 PM

Cool sorted now I just skipped through it a bit fast and missed it.
All working now :D

OldManWillow 02-25-2002 09:57 PM

: ) hope you like it!

Raptor 02-27-2002 01:18 AM

i'd like to know what script changes to make to show an actual member instead of the auto poster and also how to link to the new members profile, pm & email in the template

OldManWillow 02-27-2002 01:19 AM

User registrations is on the vbulletion options link. : ) Anything else you need feel free to ask!

Raptor 02-27-2002 01:24 AM

Quote:

Originally posted by OldManWillow
User registrations is on the vbulletion options link. : ) Anything else you need feel free to ask!
yeah i got that - its 3:30am and i feel so stupid

edited the last bit out of pure embarresment :p

Raptor 02-27-2002 01:25 AM

i accidentley ran both quereies twice

how to delete them and start again ?

Raptor 02-27-2002 01:31 AM

sorted now - works great

Raptor 02-27-2002 01:38 AM

Quote:

Originally posted by neal
Installed and working, thanks OldManWillow.

I used my default board username to send the autopost, then modified the code in register.php to change its userid from 0 to what it actually is. Now, instead of showing up as a guest and not being able to view its profile, you can view its profile and it shows up as a user.

I've one small bug for you:

When you use vbcode, in specific the [url] code, in the welcome_newuser template, you get a parsing error when you register and nothing but a title in the post. I believe this is with all vbcode, but it's only been tested with the url.

Otherwise, great idea and it works great!

could you post the code you used for your welcome_user template please - thanks :)

OldManWillow 02-27-2002 01:43 AM

sure

OldManWillow 02-27-2002 01:44 AM

Welcome $username to $bbtitle!
Enjoy Yourself and post often!

neal 02-28-2002 11:21 AM

Quote:

Originally posted by Raptor


could you post the code you used for your welcome_user template please - thanks :)

certainly:

Code:

Please welcome $bbtitles's newest member, $username!

$username has just registered to become the newest addition to the Teenaged Web community.  Existing members, please welcome $username in!

$username's profile: http://www.teenagedweb.com/member.php?s=$session[sessionhash]&action=getinfo&userid=$userid
Email $username:  http://www.teenagedweb.com/member.php?s=$session[sessionhash]&action=mailform&userid=$userid
Send $username a PM:  http://www.teenagedweb.com/private.php?s=$session[sessionhash]&action=newmessage&userid=$userid

Thank you for joining $username.  We hope you will maximize your experience while at $bbtitle,

The $bbtitle Staff
http://www.teenagedweb.com


Raptor 02-28-2002 05:14 PM

fantatsic thanks :)

I combined this with the number of posts to view threads hack and set it up so they HAD to reply to their welcome message before they could use the forum

gives them a good introduction to the forum

OldManWillow 02-28-2002 06:38 PM

cool man!

Lionel 03-01-2002 05:13 PM

I already installed PPN autoposter hack. Will this interfere?

OldManWillow 03-01-2002 05:14 PM

I don't think so.

ForKmaN 03-03-2002 11:53 AM

Quote:

Originally posted by Raptor
fantatsic thanks :)

I combined this with the number of posts to view threads hack and set it up so they HAD to reply to their welcome message before they could use the forum

gives them a good introduction to the forum

Can I have that?

ForKmaN 03-03-2002 12:16 PM

Hmm I tried installing but got an error..the instructions wernt really that clear...

do I have to replace anyhting with froum ID before I do it?

Can someone post it with detailed instructions for us try hard hackers?

NYI Fan 03-03-2002 09:51 PM

This is great! I installed this along with the auto PM, in which i put a link tothe forum their welcome message is posted!

Thank you!

Sigon 03-03-2002 09:53 PM

You need to add the forum ID in your Admin CP>>Vbulletin Options section

ForKmaN 03-04-2002 12:42 AM

I dont get it ...

I need detailed instructions :p

WreckRman2 03-07-2002 07:52 PM

Quote:

Originally posted by neal

I used my default board username to send the autopost, then modified the code in register.php to change its userid from 0 to what it actually is. Now, instead of showing up as a guest and not being able to view its profile, you can view its profile and it shows up as a user.

How did you get it to count the posts? I added the number to show a name and that works but it doesn't increase his post count...

dawl 03-11-2002 11:31 AM

what code do I need to change to make the "auto poster" an actual user ?

Karri 03-13-2002 12:56 AM

Yes I would love to know that too, what part of the code do I nee dto change to make it look like the auto post is coming from me and not an automated response.

Thanks!!!

dawl 03-14-2002 07:34 PM

anyone ?

Karri 03-18-2002 12:08 AM

Still trying to figure out how to make the autopost look as though it came from me, and not having very much luck so any assistance would be appreciated. :)

Tim Wheatley 03-18-2002 06:21 AM

Works on 2.2.4

dawl 03-18-2002 12:10 PM

it works great !! I'd just like to know how to set it up so that the welcome post comes from me rather than the "auto poster"

Sigon 03-18-2002 06:27 PM

You need to add it so that instead of saying autoposter it says its from your name

Karri 03-18-2002 07:10 PM

ok so for example this line in the code reads

PHP Code:

(NULL,'".addslashes(htmlspecialchars("$username"))."','".time()."',
'$newregthreadforumid','1','0','".addslashes("Auto Poster")."','0','"
.addslashes("Auto Poster")."'
,'".time()."','0','1','0')"); 


so I should change "Auto Poster" to "My User Name"? Do I need to put my user ID# in there somewhere as well?

Thanks!!!

Karri 03-21-2002 03:55 AM

bump...

dawl 03-24-2002 12:27 PM

bumping again

Karri 03-25-2002 04:14 PM

OK I was able to get the auto post to come from my name and user ID, changed the "Auto Poster" to my user name and the first "0" after it to my user ID#. Now the new posts come from me which is great, it looks much more personalized to my users to see a post welcoming them from me than from an automated response.

Now I have a new question. :) How do I get my auto posts to include my signature? Which variable in the code to I need to change to have it do that?


Thanks!!!

HellRazor 03-25-2002 04:22 PM

Rather than having this welcome everyone who registers, I'd like to see the welcome message generated when I provide someone a certain access group. I.E., when I provide someone a selected access, the welcome message is generated in a certain forum.

Is there anyone who could modify this hack to do something like that?


All times are GMT. The time now is 04:46 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.01336 seconds
  • Memory Usage 1,808KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete