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)
-   -   Redirect New Members to Post Introduction Thread (https://vborg.vbsupport.ru/showthread.php?t=38302)

Velocd 05-05-2002 10:00 PM

Redirect New Members to Post Introduction Thread
 
Redirect New Members to Post Introduction Thread
V1.0 | Tested on Vbulletin 2.2.4, 2.2.5 | By Velocd

-----------------------------------------------------------------

Whats is it?
This hack will redirect new registered members, after they have filled their information out, to the introduction forums new thread posting screen. Here they can create their first post, and then submit it.

Why Should I care?
For one, this will partially guarantee all members having a post count of at least 1 ^_^

But more importantly, members will integrate more easily into the forums, and will be eager to read all replies to their introduction thread. Then they will feel more welcomed, and thus begin to post more on themselves.

The only drawback:
If you're using email verification, this hack will not work :( I didn't have the time tonight to figure out how to make it compatible with email verification, but maybe later I can figure it out (unless somebody beats me to it ;))

Hope you enjoy it!

DWZ 05-06-2002 07:38 AM

Quote:

Originally posted by Velocd
Demo or Screenshots?
None really, unless you want to register at my forums to get a live example. ^_^

oh, what the hell :)

BTW, this is what they see after clicking "submit" on the register page. You are just redirected to the "make new thread" page in the into forum...

RDX1 05-06-2002 07:39 AM

sounds like great idea

why not have it so it redirects on activation?

inetd 05-06-2002 07:50 AM

I want: redirect new members to introduction thread... But not post.

Velocd 05-06-2002 12:26 PM

Quote:

Originally posted by NerdNations
sounds like great idea


why not have it so it redirects on activation?

It is redirecting upon activation, ofcourse I don't use email-verification on my forums so it seems that way.

Try using this then:

Place:
PHP Code:

$goto="newthread.php?s=$session[sessionhash]&action=newthread&forumid=29";
  eval(
"standardredirect(\"".gettemplate("redirect_introduction")."\",\"$goto\");"); 

Somewhere in the activation part, in register.php. Like search for

PHP Code:

// Already activated
      
eval("standarderror(\"".gettemplate("error_activate_wrongusergroup")."\");");
      exit; 
  }


And put it on the line below the last closing bracket.

This is not tested since I don't use email verification, but you can try yourself.

Quote:

Originally posted by inetd
I want: redirect new members to introduction thread... But not post.
Thats easy enough, just replace this line here:
PHP Code:

$goto="newthread.php?s=$session[sessionhash]&action=newthread&forumid=29"

With this:
PHP Code:

$goto="forumdisplay.php?s=$session[sessionhash]&forumid=29"

And replace "29" with whatever the forum ID number is.

Floris 05-06-2002 06:31 PM

That is what I was looking for too :)'
Maybe your update can have a Admin Control Panel option, so you can let the admin choose to either make a new post, or redirect to a post (give number) ? Would make your hack complete!

Velocd 05-06-2002 07:55 PM

Good idea ^_^
I'll think about it when I get home tonight.

Floris 05-07-2002 06:44 AM

Cool! :)

Psychdrone 05-07-2002 06:23 PM

That would be cool if someone could make this work with emailnotification!

Velocd 05-07-2002 08:56 PM

Try my version above, in post #5. It may work, but (whenever I get the time :/) I'll test it out and update the TXT.

InnerSelf 03-30-2003 08:15 PM

i installed it also, and it werks perfectly!!

1 thing, is there maybe a way to delay the

"Thank you for registering, $username. You will now be redirected to create an introduction for yourself." part that you can see that longer. it shows like 0.5 seconds on my forum so maybe members dont know what to write :)

just a thought

Mike11212 05-28-2003 11:15 PM

this doesn't seem to be a popular hack
but ya know what people
it has done wonders for my site and its a must install.

Cloudrunner 05-28-2003 11:36 PM

did the email notification fix work?

Oblivion Knight 05-29-2003 06:45 AM

Velocd, for the redirecting upon e-mail activation to work, I THINK the correct place for the code would be to

replace this:
PHP Code:

            eval("standarderror(\"".gettemplate("error_activatedthanks")."\");"); 

with this:
PHP Code:

            $goto="newthread.php?s=$session[sessionhash]&action=newthread&forumid=29"
              eval(
"standardredirect(\"".gettemplate("redirect_introduction")."\",\"$goto\");"); 

I haven't tested it yet, but I think it should work..
Currently I don't have the ability to set up a test board or anything and I don't really want to test it on my live forums.. ;)

insanctus 05-29-2003 07:47 AM

I installed and it works great. I do not use the email function as of yet due to it would discurage some sign ups. (only at 50 members so needs all he can get)

But I do like this hack. ~ Hits Install

Gutspiller 07-09-2003 01:05 AM

If we added a hack that took out those loading pages will this hack still work or will the page just get bypassed?


All times are GMT. The time now is 01:02 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.02252 seconds
  • Memory Usage 1,755KB
  • 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
  • (6)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (16)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete