Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-06-2002, 04:25 AM
Jakeman's Avatar
Jakeman Jakeman is offline
 
Join Date: Nov 2001
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default request: welcoming thread upon registration

i would like a hack that creates a new "welcoming thread" in forum X when a user registers. the hack would create the thread imediately upon registering or after they confirm their e-mail address depending on if the admin requires e-mail confirmation or not. the standarderror page after the user registers or confirms their e-mail address would give them a link to their welcoming thread.

good idea? i think so. now somebody go make it.
Reply With Quote
  #2  
Old 07-06-2002, 07:43 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's not appropriate to ask a Moderator if he searched in the full releases but I really recall somone made it?

I also recall I answered a thread in requests forum relating this subject a few months ago and I might have given the hack in that thread.

If I'm wrong, sorry about it..
Reply With Quote
  #3  
Old 07-06-2002, 09:26 AM
Jakeman's Avatar
Jakeman Jakeman is offline
 
Join Date: Nov 2001
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

uhhh... of course i searched the full releases forum!

*me goes to search full releases forum*

i didn't find a hack like this in my search.
Reply With Quote
  #4  
Old 07-06-2002, 09:52 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh ok, so here you are..

A rough one but you can depend on the code and make further modifications..

BTW I didnt test it, but it uses the stable algorithm in my greetings for birthdays and user's X post hacks so I believe it should work..

Enjoy..

Logician
Attached Files
File Type: txt welcomethread.txt (1.7 KB, 39 views)
Reply With Quote
  #5  
Old 07-06-2002, 07:52 PM
tractor-beam tractor-beam is offline
 
Join Date: May 2002
Location: Maine
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Logician
oh ok, so here you are..

A rough one but you can depend on the code and make further modifications..

BTW I didnt test it, but it uses the stable algorithm in my greetings for birthdays and user's X post hacks so I believe it should work..

Enjoy..

Logician
I am confused by the text file. I am not sure if you actaully want me to remove the code when you say "cut" or add the code you created AFTER "cut".

Also, I am not sure where the new template code for "post_welcome_thread" begins and ends.

I think this a GREAT hack!

Thanks!

- Gerry
Reply With Quote
  #6  
Old 07-06-2002, 08:22 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you just need to ADD it after the code. You dont delete the original code. "cut" there symbolize where the code block begins and ends...

I didnt include the content of the "post_welcome_thread" template. You can design it as you like. Simply use a plain text message. It will be the message of your welcome thread. So for example use something like that:

--------------
Dear Members,

We have a new member: $bbuserinfo[username] has just registered our board.. Let's greet him with a warm welcome..

Site Admin
----------------
Reply With Quote
  #7  
Old 07-07-2002, 01:56 AM
tractor-beam tractor-beam is offline
 
Join Date: May 2002
Location: Maine
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Perfect. Thanks Logician!

- Gerry
Reply With Quote
  #8  
Old 07-07-2002, 12:54 PM
tractor-beam tractor-beam is offline
 
Join Date: May 2002
Location: Maine
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Logician
I didnt include the content of the "post_welcome_thread" template. You can design it as you like. Simply use a plain text message.
Thanks again. I created a template called "post_welcome_thread" and put it the text you recommended just to start with.

I registered as a new user and the new message was created just great...except...the template text was never inserted. I just got the title of the message with no body.

I made sure to ADD the text right after the code you specified. I am stumped. Thanks for the help!

Oh, the only other things I changed was to correct the forum ID to the new one I created and changed "Admin" name to my actual admin username.
Reply With Quote
  #9  
Old 07-07-2002, 01:09 PM
tractor-beam tractor-beam is offline
 
Join Date: May 2002
Location: Maine
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Disregard!

I found that you had "post_greeting_thread" instead of "post_welcome_thread" in your SQL insert statement.

Works great now!
Reply With Quote
  #10  
Old 07-07-2002, 01:49 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok I updated the instructions, thx..
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:06 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04164 seconds
  • Memory Usage 2,275KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete