Forum Search:
FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.
Calendar
Search
Help
Members
Control Panel
Logout [ CommonCrawl [Bot] ]
Home
Post Form
Logged in user:
CommonCrawl [Bot] [
logout
]
Forum:
FUDforum Suggestions
Title:
Poll:
[CREATE POLL]
Message Icon:
No Icon
Smiley Shortcuts:
[
list all smilies
]
Formatting Tools:
Size
1
2
3
4
5
6
7
Color
Sky Blue
Royal Blue
Blue
Dark Blue
Orange
Orange Red
Crimson
Red
Firebrick
Dark Red
Green
Lime Green
Sea Green
Deep Pink
Tomato
Coral
Purple
Indigo
Burly Wood
Sandy Brown
Sienna
Chocolate
Teal
Silver
Font
Arial
Times
Courier
Century
Body:
Forum Options:
HTML
code is
off
BBcode
is
on
Images
are
on
Smilies
are
on
Editing Time Limit
: Unlimited
[quote title=Ilia wrote on Thu, 21 February 2002 10:13]Good idea, we already have a built in refering url tracking, I'll see what needs to be done to allow the forum to redirect the person from the login form to the page they came from.<br><br>I suspect it will be working in latest CVS sometime tonight.[/quote]
File Attachments:
Allowed File Extensions:
jpg jpeg png gif txt doc gz bz2 inc php zip diff
Maximum File Size:
500KB
Maximum Files Per Message:
3
Options:
Post Notification
Notify me when someone replies to this message.
Include Signature
Include your profile signature.
Disable smilies in this message
Topic View
Re: Login return to the page you were on..
Thu, 21 February 2002 17:48
Ilia
Karma:
Sean, the feature you were talking about has been implemented in latest CVS.
Re: Login return to the page you were on..
Thu, 21 February 2002 10:13
Ilia
Karma:
Good idea, we already have a built in refering url tracking, I'll see what needs to be done to allow the forum to redirect the person from the login form to the page they came from.
I suspect it will be working in latest CVS sometime tonight.
Login return to the page you were on..
Wed, 20 February 2002 19:09
seang
Karma:
Hi there,
I think this would be a nice feature....
(Sorry about my messy code...but I am sure you will get the Idea)
On the page you detect the incorrect login:
$url = sprintf("%s%s%s","http://",$HTTP_HOST,$SCRIPT_NAME);
if !logged in then forward them to the login and send the url where you were at and and imporant info.
echo "<html><head><meta http-equiv=\"Refresh\" content=\"0; URL=".$root_dir."login.php?url=".$url.$query_string1."\ "><script language=\"JavaScript\">\n<!-- setTimeout(\"window.location = unescape('".$root_dir."login.php?url=".$url.$query_string1.& quot;')\",2000);\n //-->\n</script>\n</head>";
Header alway screw up for me incertain instances....and the meta redirect has trouble with one of the Opera browsers.
When you are at the login, set the default page if empty..
if (!($url_send) or ($url_send == "http://www.webdesigners.net.au/login.php")) {$url_send = $root_dir."community.php";}
In the login form have the old url and any important info:
<input name="url_send" type="hidden" value="<? echo $url ?>">
<? echo $query_form ?>
Then when every thing is ok again send them back
echo "<meta http-equiv=\"Refresh\" content=\"0;url=".$url_send."?".$query_string1."\& quot;><script language=\"JavaScript\">\n<!--\n setTimeout(\"window.location = unescape('".$url_send."?".$query_string1."')\",200 0);\n //-->\n</script>\n</head>";
Hope this is useful
Regards
Sean
Current Time:
Mon Mar 17 23:32:55 EDT 2025
Total time taken to generate the page: 0.06955 seconds