Removing links from login.php [message #1368] |
Wed, 10 April 2002 04:02 |
Effexx
Messages: 4 Registered: April 2002
Karma: 0
|
Junior Member |
|
|
Is is possible to remove the icons and links from the login.php for FAQ, Home, Member & Search without screwing up the login functionality???
If so, care to give me a quick tutorial???
Also, how do you make the URL default to index.htm and not index.php without putting the forum in a seperate directory? I want to have a basic html opening page and then have users access the forum from that.
Thanx Effexx
|
|
|
Re: Removing links from login.php [message #1371 is a reply to message #1368] |
Wed, 10 April 2002 14:46 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Okie, to do what you want is pretty simple, you only need to modify a single file "usercp.inc", which is located inside the forum's data include directory.
The file itself is pretty simple, so you should be able to edit it no prob.
FUDforum Core Developer
|
|
|
|
Re: Removing links from login.php [message #1394 is a reply to message #1393] |
Thu, 11 April 2002 19:06 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Effexx wrote on Thu, 11 April 2002 2:50 PM | Okay....I did that and now the links are removed from all the pages, not just the login page. What do I do now???
|
Hm... well if you wanted to ONLY hide it on one page, you should have put the code inside an if() something like this:
if( !strstr($GLOBALS['REQUEST_URI', 'login.php') ) { show icon code etc.... }
FUDforum Core Developer
|
|
|