PDA

View Full Version : Redirect to Register Hack - Redirect from newreply.php, newthread.php & usercp.php...


Chris M
23 Oct 2002, 15:07
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
23 Oct 2002, 15:09
This screenshot shows the Re-direction...

Satan

N9ne
23 Oct 2002, 17:14
Cool :)

Merjawy
23 Oct 2002, 17:19
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
23 Oct 2002, 17:48
I guess you just made a new friends hs :)

Merjawy
23 Oct 2002, 17:54
easy budd :)

Chris M
23 Oct 2002, 18:17
Lol...

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

Glad you all like it;)

Satan

N9ne
23 Oct 2002, 18:47
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
23 Oct 2002, 18:50
Lol...

I do and probably still will;)

Satan

TheSaint-AeD
23 Oct 2002, 20:54
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
23 Oct 2002, 21:03
Probably about 4:D

Thanks:)

Satan

Vile
24 Oct 2002, 02:28
Excellent idea:)
Installed. Thanks for the hack.

[D]Vincent
24 Oct 2002, 06:15
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
24 Oct 2002, 08:37
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
24 Oct 2002, 08:45
Cool idea but im not going to use it :D

_ miSt

Chris M
24 Oct 2002, 11:53
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
24 Oct 2002, 12:29
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
24 Oct 2002, 12:47
Weird...

Perhaps you need to change your Cookie Timout value;)

Satan

Sketch
24 Oct 2002, 22:29
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
25 Oct 2002, 05:15
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
25 Oct 2002, 05:19
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
25 Oct 2002, 10:58
I understand that...

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

Satan

corsacrazy
17 Nov 2002, 17:13
VERY useful

heretic
16 Jan 2003, 14:29
is there any way to redirect this from showthread? i.e. when they try to view a post?

Chris M
17 Jan 2003, 17:46
Hmmm...

I shall look into that for you:)

Satan

Heffe2000
22 Feb 2003, 02:42
I think I might use it, but mod if to point to the global login page hack from another post...

RetroDreams
05 Sep 2003, 13:43
01-16-03 at 04:29 PM heretic said this in Post #24 (http://www.vbulletin.org/forum/showthread.php?postid=342628#post342628)
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
04 Oct 2003, 21:02
love this!

*installs*