Disclaimer: Please backup every file that you intend to modify. If the modification modifies the database, it's a good idea to backup your database before doing so.
Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.
No problem. I'm so used to this now from Mambo that I get very annoyed on sites where it doesn't work so I thought I might as well create a mod for it.
I was thinking of having the login page getting the referer so that it would work regardless of how you got to the login page, but since some Personal Firewalls strip this I thought it was better to just use the login link in the navigation bar instead. If you have login links in other places you could add the same thing as in the ubbt_unregisterednav.tmpl file to make it work there as well.
Cool, that one was on my list for a long time. Just as a note. REQUEST_URI doesn't work on all php configurations. It shouldn't work if you use FASTCGI for example. But you can use something similar, for example: $return = "http://" .$_ENV['SERVER_NAME'] . $_ENV['PATH_INFO'];
I'm sure someone has asked this somewhere already, but why isn't this available in the standard threads, at least as an administrative option? and maybe as something a user can set back to the present state of affairs if desired! Tony
It depends on which version of IIP you are running... But it's where the rest of the form is printed... In my (old) version there's a line that looks like this:
Is it possible to have a autlogin, users that are subscribed, in the subscriptions mail that would take you to the actual post. I have a lot of users that have bad password memories, autologin from the board is no good as they move around on different PC's. Big Thanks
Shouldn't be too hard to change the link in the email to go to the login page instead with the real link as the return page. But that would make the link in the mail very long. Maybe it would be better to just have some indication that the user should be returned to a specified post instead. That shouldn't be very hard either, but would require some extra coding in the login page as well.
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.