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

Home » FUDforum » FUDforum Installation Issues » Removing links from login.php
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
icon6.gif  Removing links from login.php [message #1368] Wed, 10 April 2002 04:02 Go to next message
Effexx   United States
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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 #1393 is a reply to message #1371] Thu, 11 April 2002 18:50 Go to previous messageGo to next message
Effexx   United States
Messages: 4
Registered: April 2002
Karma: 0
Junior Member
Okay....I did that and now the links are removed from all the pages, not just the login page. What do I do now???

Re: Removing links from login.php [message #1394 is a reply to message #1393] Thu, 11 April 2002 19:06 Go to previous message
Ilia is currently offline  Ilia   Canada
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: MySQL Version - Will it be ok?
Next Topic: SQL Post-Installation Problems
Goto Forum:
  

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

Current Time: Wed Jun 26 20:03:11 GMT 2024

Total time taken to generate the page: 0.02155 seconds