Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[RELEASE-addon] Homepage Login on Non-VB Page -- Addon Details »
[RELEASE-addon] Homepage Login on Non-VB Page -- Addon
Mod Version: 1.00, by badmeetsevil- (Member) badmeetsevil- is offline
Developer Last Online: Jul 2002 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: Rating: (0 vote - 0 average) Installs: 12
Released: 18 Oct 2001 Last Update: Never Downloads: 0
Not Supported  

Here's a little mini-addon to a very popular hack by RobAC. You can view the original hack here.

When Rob released this hack, it would log you in, and bring you to the Forums home. This was very fustrating to some, who put the logon on their mainpage, and it'd bring them to the Forums Home, and not back to where they logged in.

I decided to do it myself, and found it pretty simple.

What this little addon will do, is when you login, it'll bring you back to the page you were previously on when you logged on. So, lets say you had Rob's login code on your mainpage, and you logged in, it'd bring you back to your mainpage saying "Welcome Back, Username". This will work with any page since it uses "$HTTP_REFERER". "$HTTP_REFERER" is just a little code that tracks the last page you've been on.

To install this, you'll need to change one line in your member.php.

Find

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and replace it with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Once you do this, this should bring you back to the page you were on while logging in.

Thanks Rob for the great hack!

Does this work for you?

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
[RELEASE v2] Homepage Login on non-vB page RobAC vBulletin 2.x Full Releases 60 24 Mar 2003 11:12

Comments
  #2  
Old 18 Oct 2001, 04:36
drumsy's Avatar
drumsy drumsy is offline
 
Join Date: Nov 2001
Real name: Daniel
Thanks, I'll try it!

Btw, both these hacks would work on say, a block on PHPnuke?
Reply With Quote
  #3  
Old 18 Oct 2001, 15:08
RobAC RobAC is offline
 
Join Date: Oct 2001
No problem. I'm glad it's helped out. I apologize for not updating it with more features, but I just haven't had the time. I've got a few major projects I'm trying to roll out on my own site and haven't been here in the support forums much.

Looks like a cool feature!
Reply With Quote
  #4  
Old 18 Oct 2001, 16:07
certify's Avatar
certify certify is offline
 
Join Date: Nov 2001
Thumbs up

Thanks!

I'm looking for this for quite sometime now.
Reply With Quote
  #5  
Old 18 Oct 2001, 19:25
badmeetsevil-'s Avatar
badmeetsevil- badmeetsevil- is offline
 
Join Date: Oct 2001
Hehe. No problem. Rob did all the work, I just edited a very little part of it.
Reply With Quote
  #6  
Old 24 Oct 2001, 12:57
certify's Avatar
certify certify is offline
 
Join Date: Nov 2001
badmeetsevil-

Now that we have the login return to the referrer page can you do one for logout too?

It would be a complete package then won't you think instead of going to the forum cookies clear page which is irritating.
Reply With Quote
  #7  
Old 24 Oct 2001, 20:48
badmeetsevil-'s Avatar
badmeetsevil- badmeetsevil- is offline
 
Join Date: Oct 2001
Here you go certify.

The following code will return you to your previous page when you log out of your Forums.

Open the template "error_cookieclear" and change this

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to this


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This should work. Tell me if it doesn't.
Reply With Quote
  #8  
Old 25 Oct 2001, 14:05
certify's Avatar
certify certify is offline
 
Join Date: Nov 2001
Thumbs up

Thanks, I'll try it now!
Reply With Quote
  #9  
Old 25 Oct 2001, 19:58
badmeetsevil-'s Avatar
badmeetsevil- badmeetsevil- is offline
 
Join Date: Oct 2001
Is it working correctly? I only tested it a bit on my forums, but it seems to be working fine.
Reply With Quote
  #10  
Old 26 Oct 2001, 07:46
certify's Avatar
certify certify is offline
 
Join Date: Nov 2001
Thumbs up

It works!!!
Reply With Quote
  #11  
Old 26 Oct 2001, 13:52
badmeetsevil-'s Avatar
badmeetsevil- badmeetsevil- is offline
 
Join Date: Oct 2001
Great. Glad I could help out.
Reply With Quote
  #12  
Old 21 Apr 2002, 21:57
mashby's Avatar
mashby mashby is offline
 
Join Date: Jan 2002
Real name: Michael Ashby
And you helped me too badmeetsevil! Thanks for a great thread.
Reply With Quote
  #13  
Old 09 May 2002, 22:49
ThoughtDiver ThoughtDiver is offline
 
Join Date: Apr 2002
Everything works except the redirect after you log in... It wants to take me to the path:

http://www.site.com/forums/://www.site.com/forums/member.php?s=&s=e98eeae106620a081645e7295b9dd4f9

It's like it's repeating a portion of the URL and then at the end there are even two "s" params being passed. Can anyone give me a hint where to look?

Thanks,
Scott
Reply With Quote
  #14  
Old 23 Nov 2002, 11:59
glo's Avatar
glo glo is offline
 
Join Date: Aug 2002
thanks Bad meets Evil!

I havent tested it yet, but once i complete my webwelcome hack i will let u know!

I have already clicked install!!!
Reply With Quote
  #15  
Old 27 Nov 2002, 11:31
glo's Avatar
glo glo is offline
 
Join Date: Aug 2002
Hi guys, the hack now always seems to send me back to the "request password" screen?

Even when logging in from withn the vB index page?

Any ideas why this is doing it???
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 00:04.

Layout Options | Width: Wide Color: