vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Automatically Start a Welcome Thread in the Forum of Your Choice (https://vborg.vbsupport.ru/showthread.php?t=91887)

amykhar 07-08-2005 10:00 PM

Automatically Start a Welcome Thread in the Forum of Your Choice
 
This little mod will start a new thread in the forum of your choice when somebody registers.

The thread message is contained in a template, and easily customizeable on your part.

This version posts the thread when the user registers - but before he activates his email address.

Thanks to flypaper for providing a bugfix.

Installation Instructions: Import the product. Change the welcome_thread template to suit your needs. Change the setup variables in the welcome thread plugin to suit your needs.

Amy

P.Jackson 07-09-2005 07:30 PM

Got a link to any examples? otherwise great addition! :)

bigcurt 07-09-2005 07:32 PM

Dang amy, on a roll aren't ya? Good Job!

amykhar 07-09-2005 07:47 PM

Quote:

Originally Posted by P.Jackson
Got a link to any examples? otherwise great addition! :)

I'm just using a simple template for my welcome thread right now. It's not worth showing off yet. :D I'm too busy coding to be write something more fun and creative for a welcome.

http://www.eaforums.com/forums/showthread.php?t=40021

Cloudrunner 07-09-2005 07:59 PM

Small annoyance--

If you have templates names added in the HTML through you AdminCP, you will get the following when using this unelss you have the template names in THML comments disabled:
Quote:

<!-- BEGIN TEMPLATE: welcome_thread -->...<SNIP>...<!-- END TEMPLATE: welcome_thread -->
Just an FYI, most people will not run with template names in HTML to cut down on bandwidth, but I turn them on sometimes when working on a new style...oh and before I forget,

Thank You!

I've been waiting for someone to pop this one in for awhile now ;)

amykhar 07-09-2005 08:03 PM

Quote:

Originally Posted by Cloudrunner
Small annoyance--

If you have templates names added in the HTML through you AdminCP, you will get the following when using this unelss you have the template names in THML comments disabled:Just an FYI, most people will not run with template names in HTML to cut down on bandwidth, but I turn them on sometimes when working on a new style...oh and before I forget,

Thank You!

I've been waiting for someone to pop this one in for awhile now ;)

As a workaround, you don't HAVE to use the template. You could hard-code the message within the plugin.

And, you're welcome. :)

Amy

southernlady 07-11-2005 12:53 PM

Amy, this one has me a tad confused. I got the plugin downloaded...but what is this part:
Quote:

Change the hook to:
register_activate_process

And, in the plugin code, change:
And on the welcome_thread template, I've never actually created one from scratch..is there a way you could help here, please? Liz

amykhar 07-11-2005 02:02 PM

Quote:

Originally Posted by southernlady
Amy, this one has me a tad confused. I got the plugin downloaded...but what is this part:


And on the welcome_thread template, I've never actually created one from scratch..is there a way you could help here, please? Liz

The change the hook part is used only if you want to run this after the user activates their account. Give me a couple of secs, and I'll export that version and zip it up for people to download.

Amy

amykhar 07-11-2005 02:08 PM

Liz,
I added the alternate plugin. If you decide to use this one instead, just delete the first one and install the second. The only difference is when the thread is created.

Amy

southernlady 07-11-2005 02:11 PM

Thanks, Amy..I'll let you know in a few mins how the install went. Liz

southernlady 07-11-2005 03:05 PM

Amy, I'm having trouble making it go to my intro forum. I know I should put in my version of this: <a href="http://www.eaforums.com/forums/forumdisplay.php?f=23"> which for me is: <a href="http://mysouthernlady.com/forum/forumdisplay.php?f=21"> and yet, I ended up with it in a PRIVATE board when I tested it. Liz

Biker_GA 07-11-2005 04:33 PM

Amy, is it possible on the "welcome after activate" to actually wait until the user is approved by the administrator, and if disapproved/deleted, the post isn't posted? All requests must be manually approved by one of the admins on our site. Cuts down on the spammers like you wouldn't believe. :devious:

amykhar 07-11-2005 06:33 PM

I'm confused Liz. Which code are you changing? The plugin code or the template?

southernlady 07-11-2005 06:41 PM

That's in the welcome_thread template, Amy...it's sending them to the Private board for some screwy reason. Liz

amykhar 07-11-2005 06:43 PM

Quote:

Originally Posted by Biker_GA
Amy, is it possible on the "welcome after activate" to actually wait until the user is approved by the administrator, and if disapproved/deleted, the post isn't posted? All requests must be manually approved by one of the admins on our site. Cuts down on the spammers like you wouldn't believe. :devious:

Unfortunately, it can't be a plugin and have it done there at this time. The moderate code is contained in the admincp, which doesn't have hooks.

Amy

amykhar 07-11-2005 06:51 PM

Quote:

Originally Posted by southernlady
Amy, I'm having trouble making it go to my intro forum. I know I should put in my version of this: <a href="http://www.eaforums.com/forums/forumdisplay.php?f=23"> which for me is: <a href="http://mysouthernlady.com/forum/forumdisplay.php?f=21"> and yet, I ended up with it in a PRIVATE board when I tested it. Liz

I'd need to see the code in acion to see what's going on. What forumid is it trying to send them to? If you paste the code of the whole template within code tags, I'll try to see if I can spot your error.

Amy

southernlady 07-11-2005 06:58 PM

Code:

<p>Welcome $username!</p>
<p>Southernlady's Forum's is a very diverse place. There is a lot to do here - the trick is just knowing where to look.
   
First, introduce yourself. We're a friendly bunch and we welcome newcomers to the <a href="http://mysouthernlady.com/forum/forumdisplay.php?f=21"><strong>Welcome to Southernlady's Forum</strong></a>.</p>
<p>Also please read the Rules of the Mansion: <a href="http://mysouthernlady.com/forum/showthread.php?t=145"><strong>Rules of the Mansion</strong></a></p>
<p>We have a "Welcome to the Parlor (Daily Board)". It's usually the first place we stop in the mornings to catch up with each other. <a href="http://mysouthernlady.com/forum/forumdisplay.php?f=7"><strong>Welcome to the Parlor (Daily Board)</strong></a>.</p>
<p>We talk about pop culture, hobbies, raising kids, getting ahead at work, and just about anything else friends talk about around a Parlor or Kitchen Table.</p>
<p> So, if you are trapped in a cubicle at work or if you are a stay at home mom looking for something to do while the kids nap or you are just looking for some company and some fun, this is the place for you.

Here you go, Amy, this is the one on my default, Liz

southernlady 07-13-2005 12:14 PM

Amy, did we ever figure out this problem or should I just give in? Liz

amykhar 07-13-2005 06:36 PM

Quote:

Originally Posted by southernlady
Amy, did we ever figure out this problem or should I just give in? Liz

Sorry. I got sidetracked.

When I check the code, I'm having trouble with the daily board url. You have it set to go to forum 7. If I manually go to forum 7 (not using the code you posted) I get an error message about functions.php (which isn't changed in this mod) and am shown a no-permission page.

The issue seems to be with that forum, not this plugin.

southernlady 07-13-2005 06:52 PM

Amy, this was the one I was having problems with...it won't go there: http://mysouthernlady.com/forum/forumdisplay.php?f=21 And that is my Welcome board and not the Daily Board.

Right now, it's going to a Private forum where NO one has access without specific approval.

I understand the Daily board isn't accessable uuntil you are registered, but once a person is creating this thread, they will see that board. Liz

amykhar 07-13-2005 08:15 PM

Quote:

Originally Posted by southernlady
Amy, this was the one I was having problems with...it won't go there: http://mysouthernlady.com/forum/forumdisplay.php?f=21 And that is my Welcome board and not the Daily Board.

Right now, it's going to a Private forum where NO one has access without specific approval.

I understand the Daily board isn't accessable uuntil you are registered, but once a person is creating this thread, they will see that board. Liz

It goes to forum 21 for me with no problems using the code you posted.

Amy

amykhar 07-15-2005 08:13 PM

Gang,
In Beta 4, the threads are going to the moderation queue. I'm going to figure out how to fix that, and then update the plugin code.

amykhar 07-15-2005 08:33 PM

OK. I upgraded the new plugins for both versions of this mod. The changes I made won't hurt Beta 3; so if you are running an earlier version of Vbulletin, it should still work for you - but I don't guarantee it. ;)

Cloudrunner 07-16-2005 12:37 PM

Quote:

Originally Posted by amykhar
OK. I upgraded the new plugins for both versions of this mod. The changes I made won't hurt Beta 3; so if you are running an earlier version of Vbulletin, it should still work for you - but I don't guarantee it. ;)

Kewl!

One question though, where's the update zip?

;)

Bro_Joey_Gowdy 07-29-2005 10:23 PM

Nice!

*Rowdy clicks install, then downloads and installs*

P.Jackson 08-16-2005 11:00 PM

my threads are being put in moderation queue any ideas?

amykhar 08-17-2005 02:02 AM

Which version are you using? Before or after activation?

P.Jackson 08-17-2005 01:37 PM

before

amykhar 08-17-2005 01:58 PM

Ah. That explains it. Let me update that baby with some changes I made in the other. Back in about 15 minutes with a new before version.

Amy

amykhar 08-17-2005 02:08 PM

OK. I updated the welcomethread.zip. I made it a PRODUCT this time, not a plugin. So, if you have data in your welcome_thread template, copy it to a safe spot so you can restore it once the product is installed.

Amy

P.Jackson 08-17-2005 03:07 PM

awsome works amykhar thanks!

amykhar 08-17-2005 03:10 PM

my pleasure

NuclioN 08-17-2005 04:15 PM

This is a nice product but i wonder if it is possible to let new members add their intro message before they can register. I'm asking that because i know that new members will (most of the time) get involved immediately this way when they are questioned by entrance...something i've seen often with the 3.0x similar version of this addon.

RetroDreams 08-23-2005 12:32 PM

For some reason I can't get this to install on the vB 3.5 RC2. Did something change from beta 4 to RC 2 that kills this?

amykhar 08-23-2005 12:41 PM

Are you trying to install it as a product or a plugin?

Sovereign 08-23-2005 05:00 PM

uhh, what's with the welcome thread being moderated?

amykhar 08-23-2005 05:18 PM

That happened in RC2. I have played with it a bit but haven't had time to get into it in any depth.

Amy

fly 08-30-2005 01:34 PM

How would I have it also generate a PM to the user with the thread details?

thx!

amykhar 08-30-2005 01:56 PM

You would combine this hack with the send a welcome PM to users hack.

P.Jackson 08-30-2005 02:13 PM

Im still getting this aswell :( any ideas on a fix?

Quote:

Originally Posted by Sovereign
uhh, what's with the welcome thread being moderated?



All times are GMT. The time now is 04:23 AM.

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.01461 seconds
  • Memory Usage 1,819KB
  • 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
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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