FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » login on main page
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
login on main page [message #2754] Wed, 22 May 2002 06:05 Go to next message
chris1581 is currently offline  chris1581   United States
Messages: 1
Registered: May 2002
Karma: 0
Junior Member
I want to be able to login to the forums from my main page....how do i do this?
Re: login on main page [message #2755 is a reply to message #2754] Wed, 22 May 2002 08:39 Go to previous message
delvar is currently offline  delvar   United Kingdom
Messages: 7
Registered: May 2002
Location: UK
Karma: 0
Junior Member
I just did this for a site im working on, all you have to do is take the login.php from your forum sub directory and move it into the root directory.

if you want the login page as is do the folowing for a quick hack,

chage the folowing lines,
include_once "GLOBALS.php";
to
include_once "forum/GLOBALS.php";

where 'forum' is the directory with your forum in.

when you do this some of the images do not show up, right click the image place holder and select properties, find the image name then do a 'find' from the start menu and look for a file with that image name in (forum/privarte/include/usercp.inc i think it is), open that file with notepad (or whatever php editor you use) and search within that document for the image name.

make sure it reads
<img src="<?php echo $GLOBALS['WWW_ROOT'].$GLOBALS["fud_img_suffix"]; ?>top_home.gif" border=0 alt="Forum Home">

note the '$GLOBALS['WWW_ROOT'].' bit, just add it in and it should work.
next test each link on the page and correct the link if it doesnt work, a bit of a pain realy.



realy you only need the form part and change the path to 'forum/login.php', open login.php and read down till you find the login table copy out the HTML and place it in your own page, change the submit path, bobs your uncle.
when you login from the main page you will be droped into the forum login screen (I have not tested this but cant see anything that can go wrong).




Hay 'tis anuver usles sig!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Groups Manager???
Next Topic: Yabb-Converter
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 20 11:30:46 GMT 2024

Total time taken to generate the page: 0.02685 seconds