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

Home » FUDforum » FUDforum Installation Issues » Removing links from login.php
Show: Today's Messages :: Unread Messages :: Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
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 00:02 Go to next message
Effexx   United States
Messages: 4
Registered: April 2002
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 10: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
remove from buddy list
ignore all messages by this user
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 14:50 Go to previous messageGo to next message
Effexx   United States
Messages: 4
Registered: April 2002
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 15:06 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
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
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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: Mon May 27 08:19:31 EDT 2024

Total time taken to generate the page: 0.05307 seconds