I am bringing this question from
InfoPop\'s UBB Support Forum to get modification help for the Perl script in the "ultimatebb.cgi" file.
My question has been asked before on this board, in the
Archives however, I am taking the question further and wanting help with modifying the Perl script. My question digs deeper into making a modification to the "
ultimatebb.cgi" file.
Thank you Charles or whomever, if you can tweak the code for me.
UBB uses an HTML login form which caries a value in the hidden input field, named "refer". The value is the URL of the page where a user clicked on the Login link, so that when the user loggs in, they are returned to the page they were looking at when they discovered they needed to login. This function is only available inside UBB, but I would like to make it availabe outside the UBB to use anywhere on the website. In other words, I would like to return users to the static web page where they entered their login name.
I intend to apply the URL of the page, which a user is viewing, to the form's "refer" value using JavaScript or an SSI tag. However I need the UBB script to handle this request without dumping the user at the front door of the UBB.
Below is the section of Perl code that handles the login of users.
[code][/code]Thanks in advance for helping me with this hack.
GoodGuy
David Longhurst