php forum
php mysql forum
php mysql smarty
 
Topic Options
#44794 - 02/09/04 08:29 PM Redirect after change of profile.
brihan Offline
Junior Member

Registered: 08/23/00
Posts: 3
Loc: San Clemente, CA USA
Hi,

I had tried the login.cgi mod on my 5.45c board and it worked OK but it really messed up the "New Message" icons. My members couldn't tell what they had already read.

I want to try going about this in a slightly different way that will help me with a second problem which is having members keep their e-mail address up to date.

What I want to do is have them log into the board through the "Profile".
http://inspectionnews.com/cgi-bin/ubb-cgi/ubbmisc.cgi?action=editbio

This way it will set their cookie (that takes care of one problem) and they will have to review their profile and hopefully will keep it up to date (that take care of the second problem.

Now here is my question/request for help.

After they click the "Submit" button in the profile I would like to redirect them directly to the forum summary page
http://inspectionnews.com/cgi-bin/ubb-cgi/Ultimate.cgi?action=intro&BypassCookie=true
rather than the current page which confirms the update and gives them a choice of where to go. This will remove one step/page to get on to the board. This is important because I am already making them jump through a hoop.

If you know how to handle this redirect please let me know.

Thank you for any help you can provide.

And before the question is asked, I have not updated because I have many hacks on the board and it works very well for me.

Thank you,

Brian

Top
#44795 - 02/09/04 10:16 PM Re: Redirect after change of profile.
Charles Capps Offline
Admin Emeritus
Resident Code Hacker

Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
You really, really need to upgrade. 5.45c is over four years old, and many stability and security improvements have been made since then, not to mention features. Most of the things that you've hacked in (at first glance) are stock features now...

There have been a grand total of seven active topics in this forum in the past year. The 5-series is dead. It's REALLY time to move on. smile

Now, as to address your problem....

It's a tough one. The cookies are set using javascript in the 5-series, so setting the login cookie during a redirect isn't gonna be too easy.

My first thought is using another actual Javascript to redirect the profile edit confirmation screen to Ultimate.cgi... though they'd still see the confirmation page for a bit.

Oh, and if this really is their first login, you'll want them to redirect to Ultimate.cgi, without the BypassCookie bit. BypassCookie ensures that their new post indicators aren't updated...
_________________________
UBB.classic: Love it or hate it, it was mine.

Top


Who's Online
0 registered (), 29 Guests and 13 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
How to hide sub forums from summary page
by Ruben Rocha
Today at 02:58 PM
Spell Check [beta]
by Bill B
Yesterday at 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
Yesterday at 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
Yesterday at 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
Yesterday at 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks