Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Aug 2000
Posts: 2
brihan Offline OP
Junior Member
OP Offline
Junior Member
Joined: Aug 2000
Posts: 2

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".

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
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,


Sponsored Links
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
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.

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
Visit us on Facebook
Member Spotlight
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
Forum Statistics
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,819
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 70
Gizmo 16
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2021 VNC Web Services

Powered by UBB.threads™ PHP Forum Software 8.0.0
(Snapshot build 20210915)
Responsive Width:

PHP: 7.3.29 Page Time: 0.012s Queries: 18 (0.007s) Memory: 0.7853 MB (Peak: 0.8146 MB) Data Comp: Zlib Server Time: 2021-12-02 09:52:20 UTC
Valid HTML 5 and Valid CSS