vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Welcome Thread Redirect (on registration) by BOP5 (https://vborg.vbsupport.ru/showthread.php?t=258035)

BirdOPrey5 01-29-2011 10:00 PM

Welcome Thread Redirect (on registration) by BOP5
 
1 Attachment(s)
Welcome Thread Redirect by BOP5

This is the VB 4.x thread. The VB 3.8 thread is here although the code is identical:
https://vborg.vbsupport.ru/misc.php?...o5redirctonreg

Tested With vBulletin 3.8.6 and 4.0.8 and should work with all 3.8/4.0/4.1 versions released to date.

Version 0.9 - BETA. THIS IS BETA SOFTWARE. I have tested it on my test forums and 1 live forum. I do not know of any specific bugs but until I can confirm it works on more forums I will keep it marked as Beta.

Demo: http://www.juot.net/forums/showthread.php?t=19281 (You will have to register to be redirected, obviously.)

The purpose of this mod is to redirect users to a welcome thread after they have registered instead of the normal message vBulletin usually displays. The idea is to make them feel more welcome and a "welcome thread" seems more natural than a cold vBulletin generated message.

This mod can be used two ways. Stand alone this mod will simply redirect users to a specific thread you specify by threadid in the mod options.

The second and more intersting way is to use it as an add-on for another mod, BBR - Welcome Thread Upon Registration which can be found on vBulletin.org at: https://vborg.vbsupport.ru/showthread.php?t=229473. This mod has been designed and tested around version 2.02 of the "Welcome Thread" mod. I do not know if it will work with any other version.

Using it as an add-on this mod will redirect users to their own personal thread upon registration.

If your forum uses Email Verification the redirect will happen after they verify their email address. If you don't use Email Verification they will be forwarded immediately after registration. The mod with auto detect your verification settings.

This mod is NOT intended to be used if "moderating" new members, I haven't tested what would happen if you have moderation enabled.

Be aware the BBR - Welcome Thread Upon Registration mod has at this time has several known bugs mostly relating to Email Activation. This mod does not cause, nor can it fix any of those bugs.

If You intend to use this mod and the "Welcome Thread" mod together you must set your "Welcome Thread" mod to always create the new thread AFTER Email Activation IF you use Email Activation on your forum.

I've done my best to make this mod fail gracefully if a setting is wrong, the user generally won't see an error message but if the settings are wrong they may redirect to a different thread or get a message that a thread is not found, but registration will still complete correctly.

This mod adds 1 phrase to the "Front End - Redirect Messages group which can be customized or translated. This is the message displayed to the user for the few seconds before they are redirected.

Full instructions are in the zip file.

Always do a backup or make sure you have a recent backup handy before installing any new mods. Use at your own risk.

The Fine Print - If any day should come that I haven't logged into vbulletin.org for over 120 days I hereby authorize this mod and any other mods I have posted on vBulletin.org to be designated "re-usable code" status so long as any mods created from them remain free and available on vbulletin.org.

If you come across any problems with this mod please post the exact version of vBulletin you are using, if you are using the "Welcome Thread" mod, If you require Email Activation, and if you're willing, the URL of your forum. This will save me from having to ask you later and prove to me you read this post in full showing me you are worthy of help. ;)

BirdOPrey5 01-30-2011 12:53 AM

Reserved.

Juggernaut 01-30-2011 02:54 AM

tagged

g0dfather1984 01-30-2011 03:16 AM

Tagged as well.

GamerPerfection 01-30-2011 09:25 AM

Tagged. Will install later today I hope. :)

sticky 01-30-2011 10:54 AM

Must use it with welcome thread created after activation? Bummer, I had bugs with that so I disabled it.

BirdOPrey5 01-30-2011 12:17 PM

Quote:

Originally Posted by sticky (Post 2156391)
Must use it with welcome thread created after activation? Bummer, I had bugs with that so I disabled it.

Yeah... I have a couple ideas to do away with this restriction but one would require a database change, the other wouldn't but wouldn't work for anyone who hadn't yet activated if you changed your custom titles before they activated- this probably isn't a big deal but I want to think about it more before I code it.

RK KINGKONG 02-01-2011 03:10 AM

thanks BIRDOFPREY5 for your time and effort to bring us 4.1.1 users mods even if you dont run that version . shows your not selfish installed

sticky 02-02-2011 04:17 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2156413)
Yeah... I have a couple ideas to do away with this restriction but one would require a database change, the other wouldn't but wouldn't work for anyone who hadn't yet activated if you changed your custom titles before they activated- this probably isn't a big deal but I want to think about it more before I code it.

Let us know, I'll be following to see if uou decide to go down this route :)

OldSchoolDSL 02-02-2011 10:21 PM

Installed

4.1.1

(all I need now is someone to join)

DirtRider 03-06-2011 11:48 AM

Seeing the main mod is no longer supported I would like to see this one do the whole thing as in posting the welcome message as well :up:

BirdOPrey5 03-06-2011 12:03 PM

Quote:

Originally Posted by DirtBanger (Post 2170116)
Seeing the main mod is no longer supported I would like to see this one do the whole thing as in posting the welcome message as well :up:

It is unfortunate the author chose to remove his mod. However that does not mean his code is up for grabs, if I was to make a new mod (or add it to this one) it would need to be from scratch. I haven't decided yet, if I do I will post it here. Please don't ask me in a day or a week or a month if there was any progress- if there is anything to post, I will post it, if I haven't the answer is no.

DirtRider 03-06-2011 12:12 PM

It is a pity but I suppose that is the way it is. I will just hang around and see if you do it as it is a great mod to have :up:

BirdOPrey5 03-06-2011 12:29 PM

Quote:

Originally Posted by DirtBanger (Post 2170127)
It is a pity but I suppose that is the way it is. I will just hang around and see if you do it as it is a great mod to have :up:

If you still have the mod installed it still works, not like you have to uninstall it.

DirtRider 03-06-2011 12:45 PM

No I never installed it as it was not supported but I will give it a go thanks :up:

DirtRider 03-09-2011 07:41 AM

Oh well I see it is not available for download any more that I can see

BirdOPrey5 03-09-2011 12:41 PM

No it's not, I thought maybe you downloaded it but never installed.

BlueCheri 03-09-2011 03:59 PM

Very nice, thanx.

DirtRider 03-09-2011 04:40 PM

No I have only had VB installed now for about a week and needed it as I used a similar mod on my last forum software, oh dear so its the manual welcome message for me then lol

sticky 03-10-2011 01:18 AM

The welcome thread is a huge hit on my board and really helps new members integrate so I will keep it.

I want to add this to it but since this works with e-mail verification only I will have to wait a bit. The redirect is a great idea though and look forward to implementing it hopefully!

DirtRider 03-10-2011 05:14 AM

Is there any way I can get this welcome thread mod still

BirdOPrey5 03-10-2011 11:08 AM

Quote:

Originally Posted by DirtBanger (Post 2171735)
Is there any way I can get this welcome thread mod still

Not from vbulletin.org. Sometimes, rarely, mod authors upload their mods to other vBulletin related sites also so a google search couldn't hurt but it's not likely to help.

DirtRider 03-10-2011 02:14 PM

Ok thanks will try that

DirtRider 03-10-2011 02:47 PM

Thank BirdOPrey5 I found it so once I have it setup and have tested it I can then install this mod

DirtRider 03-11-2011 06:21 AM

1 Attachment(s)
I have installed the welcome thread and this one but when a new member logs on for the first time they get this message.

Quote:

vBulletin Message
Testy, you do not have permission to access this page. This could be due to one of several reasons:

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?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.


However the same member is able to manually navigate to the thread and post in it. My two mods are setup like this :confused:

BirdOPrey5 03-11-2011 12:46 PM

What URL is in he browser when you get that message?

Also please confirm you don't use email activation.

DirtRider 03-11-2011 01:45 PM

Yes I am using email activation and the URL is as follows http://triumphtalk.com/showthread.php?t=1

BirdOPrey5 03-11-2011 04:52 PM

OK, it's trying to redirect to thread id 1... I'm not sure why yet but that is why you are getting the error message.

Can you PM me the site where you got the other mod, I need to confirm it's the identical mod, if something is different it may explain why it isn't working.

venom2124 03-20-2011 04:15 PM

The BBR-Welcome on Thread on Registration isn't around anymore, so my question is do you happen to have a copy product or is there a way to modify this to automatically create a welcome thread and redirect to that thread.

BirdOPrey5 03-20-2011 04:26 PM

Unfortunately I'm not allowed to distribute the BBR-Welcome thread mod. Other users had success Google-searching for the mod, the author may have uploaded it to other sites. Make sure you get version 2.02 though if you do go looking for it.

At this time I'm not modifying this mod to create welcome threads, I may in the future. Is it possible? Sure for someone with a good understanding of php, mysql, and vbulletin... but basically it would be like starting a mod from scratch, there isn't any code in this existing mod to actually create a new thread.

It can still be used to forward people to an existing welcome thread you created. If you want a personal touch you could you my "Advanced [YOU] BB Code" mod along with it.
https://vborg.vbsupport.ru/showthread.php?t=254373

venom2124 03-20-2011 05:25 PM

It's all good I think this will work out a little bit better that creating threads that may only have replies from active members, especially if the new member decides not to be involved in the site.

Marked Installed

RedTrinity 03-21-2011 05:46 AM

I would love to see this hack incorporated with this intro/welcome hack, which is what we're currently using on our 4.1.2 forum.

BirdOPrey5 03-21-2011 01:07 PM

Quote:

Originally Posted by RedTrinity (Post 2175709)
I would love to see this hack incorporated with this intro/welcome hack, which is what we're currently using on our 4.1.2 forum.

I'm not really a fan of forcing people to do anything.

tweeker 07-13-2011 01:42 AM

Downloaded and saw your code for redirect. It is more complicated than I need. I want to redirect after registration to the Paid Subscriptions process, as all the members will need to pay to join.
I am not very familiar with vBulletin code or PHP for that matter and I don't want to mess with the way things work.
If I just make a fairly simple change like this, do I need to make a formal setup as a mod....it seems too complicated.
Since you know what you are doing would I be able to get your help with this?
Thanks!

BirdOPrey5 07-13-2011 12:12 PM

If yo want to force people to pay to join this isn't the mod for you.

Check out this mod by Lance for Hire: https://vborg.vbsupport.ru/showthread.php?t=263521

tweeker 07-13-2011 02:56 PM

I have downloaded and installed this Lancer for Hire mod, thanks but it did not function for some reason on my forum (and I tried everything). My forum owners also want the registration first and Paylpal second. Lance for Hire has those in the opposite order.

I thought you would be interested in assisting with a simple (or at least what I perceive to be simple) change.
The purpose for the forum is not for fun or to try to get a lot of users and it's purpose in not to make money.
It is for doctors breaking ground on a new type of treatment for neurological disorders to discuss and share ideas and findings. The low cost to join is to cover the hosting...Members would be 50 in number at most. So, in this case, it is considered that those who will join will do so for professional reasons and many of them will be invited to join.
I am guessing I should post a request in the thread for paid mods then.
Just thought you might be interested.
Thanks

BirdOPrey5 07-13-2011 06:11 PM

Perhaps this mod would better fit your needs- redirect to any page AFTER registration: https://vborg.vbsupport.ru/showthread.php?t=235509

I could modify my mod but I don't think it's needed.

tweeker 07-13-2011 06:52 PM

Wow, this is excellent!
I didn't find this one when I was looking. (but there's sure a lot out there!)
I will install and let you know how it turns out.
Thanks so much!

tweeker 07-14-2011 01:48 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2220134)
Perhaps this mod would better fit your needs- redirect to any page AFTER registration: https://vborg.vbsupport.ru/showthread.php?t=235509

I could modify my mod but I don't think it's needed.

I installed this suggested mod but it also does not have the complete function I am looking for.
No matter when you do the redirect, the new member can just ignore the paid subscription and enjoy full membership privileges once they have activated by the link in the email.
The code needs to be a little more sophisticated and turn on a flag when the subscription has been paid. This same flag needs to be checked before member is activated. I think I need the paid subscription part to actually be a part of the registration process, even on the same screen and then if they don't pay, they can't even get an activation email.
That gets a little more complicated but thanks for suggesting the redirect! It was worth a try.

archet1337 07-22-2011 11:51 PM

This is exactly what I was looking for!
Working great on my 4.1.4 board. Excellent mod. Rated 5!


All times are GMT. The time now is 07:13 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.01675 seconds
  • Memory Usage 1,830KB
  • 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
  • (8)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