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.


All times are GMT. The time now is 06:16 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.01292 seconds
  • Memory Usage 1,738KB
  • 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
  • (4)bbcode_php_printable
  • (3)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
  • (10)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