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 to Register Hack - Redirect from newreply.php, newthread.php & usercp.php... (https://vborg.vbsupport.ru/showthread.php?t=44900)

Chris M 10-22-2002 10:00 PM

Redirect to Register Hack - Redirect from newreply.php, newthread.php & usercp.php...
 
What does this hack do?

This hack will allow you to redirect unregistered users from accessing the User CP, Newthread and New Reply, straight to the Registration page...

// Modifications - Start
Queries to Run = 0
Files to Modify = 3 (newreply.php, newthread.php & usercp.php)
Templates to Edit = 0
Templates to Add = 1
Number of Modifications = 6
Time to install = 3 minutes
// Modifications - End

Support

Support for this hack will only be given in this thread...

Testing

I have tested this on my Offline vBulletin 2.2.8 Board...

In theory, this should work for all vB 2.2.x versions, but my advice is to backup your files just in case;)

Screenshots

See the post below;)

=-=

The instructions are attached in a .txt file:)

Satan

Chris M 10-23-2002 02:09 PM

This screenshot shows the Re-direction...

Satan

N9ne 10-23-2002 04:14 PM

Cool :)

Merjawy 10-23-2002 04:19 PM

This is by far is cool.. a must install...

I needed this, where have you been all my life?

I got users who don't understand that they have to reg. before they can post/reply and I have it in big red letters on forum home and yet still :)

thnx mate

Floris 10-23-2002 04:48 PM

I guess you just made a new friends hs :)

Merjawy 10-23-2002 04:54 PM

easy budd :)

Chris M 10-23-2002 05:17 PM

Lol...

I just coded it cos I got bored, and it was easy to do;)

Glad you all like it;)

Satan

N9ne 10-23-2002 05:47 PM

Can you make a lot of other hacks like these? Enough people will use them, I don't know, just make anything :p

Chris M 10-23-2002 05:50 PM

Lol...

I do and probably still will;)

Satan

TheSaint-AeD 10-23-2002 07:54 PM

Quote:

Originally posted by hellsatan
Lol...

I just coded it cos I got bored, and it was easy to do;)

Noticed it already, how many Hacks did you already release the last 2 Weeks? ^^

Good Work :up:

Chris M 10-23-2002 08:03 PM

Probably about 4:D

Thanks:)

Satan

Vile 10-24-2002 01:28 AM

Excellent idea:)
Installed. Thanks for the hack.

[D]Vincent 10-24-2002 05:15 AM

You forget that the Unregistered Usergroup is also for Not Logged In. So why would someone that already registered and doesn't use cookies, logged out last visit, or deleted his cookies(and other things) want to be redirected to the Register page :P But other than that nice hack.

TheSaint-AeD 10-24-2002 07:37 AM

Well, I don't think it's the point if the Users wants or doesn't want to. I guess this Hack is morely for all this stupid Users you got on every Board, and send you PN's like "I cannot post, can you help me?" or something nerving like this. I tried lots of ways, standart PN to every new member and stuff like that which reduced PN's already from about 30 / day to 5 / day. There cannot be enough Hacks to guide these n00bs.

Dean C 10-24-2002 07:45 AM

Cool idea but im not going to use it :D

_ miSt

Chris M 10-24-2002 10:53 AM

Hmm...

I had the same thought as [D]Vincent...

But then I thought - Why would they try and reply, post a new thread, or goto their usercp if they know they arent logged in???

Satan

[D]Vincent 10-24-2002 11:29 AM

Well sometimes I get logged out of my forums when I'm trying to post for no reason :P only every now and then though.

Chris M 10-24-2002 11:47 AM

Weird...

Perhaps you need to change your Cookie Timout value;)

Satan

Sketch 10-24-2002 09:29 PM

Quote:

Originally posted by Merjawy

I got users who don't understand that they have to reg. before they can post/reply and I have it in big red letters on forum home and yet still :)

why don't you just change your forum options to prevent unregistered users from posting. It's a built in vB feature. ;)

Merjawy 10-25-2002 04:15 AM

Quote:

Originally posted by Sketch
why don't you just change your forum options to prevent unregistered users from posting. It's a built in vB feature. ;)


you missed the point mate

they can't post.. they just don't always understand that they can't and even writen in big red letters in main page.. they still attemp to post/reply

maybe this hack when it takes them to the river, they just might swim ;)

Merjawy 10-25-2002 04:19 AM

this the hack could use some improvent, how bout adding a note saying " and for you [D]Vincent need to relog in "

just teasing nothing else :)

Chris M 10-25-2002 09:58 AM

I understand that...

Users rarely seem to understand the "Register" concept;)

Satan

corsacrazy 11-17-2002 04:13 PM

VERY useful

heretic 01-16-2003 01:29 PM

is there any way to redirect this from showthread? i.e. when they try to view a post?

Chris M 01-17-2003 04:46 PM

Hmmm...

I shall look into that for you:)

Satan

Heffe2000 02-22-2003 01:42 AM

I think I might use it, but mod if to point to the global login page hack from another post...

RetroDreams 09-05-2003 12:43 PM

Quote:

01-16-03 at 04:29 PM heretic said this in Post #24
is there any way to redirect this from showthread? i.e. when they try to view a post?
Yep, you can. I added the USERCP code of this hack to the SHOW THREAD section of the showthread.php and it works like a charm.

}

FWF 10-04-2003 08:02 PM

love this!

*installs*


All times are GMT. The time now is 04:45 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.01149 seconds
  • Memory Usage 1,763KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (28)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