The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

How to put the Admin Panel link into another page?

View previous topic View next topic Go down

How to put the Admin Panel link into another page?

Post by Beorn on January 7th 2011, 5:49 pm

I'd like to add the link to the Admin Panel to the bottom of my homepage (which is an HTML page I made, not the actual forum), but I have no idea how to go about doing it without it showing up on everyone's screens (I only want it to be visible for Admins of my forum).

The link is http://Alcryion.com/ if that helps at all; the link would be somewhere below the Alcryion TM banner at the bottom.

Also, while I'm on the subject, is there any way to make an HTML page that restricts all users except Admins to enter?

Beorn
New Member

Posts : 19
Reputation : 0
Language : English

Back to top Go down

Re: How to put the Admin Panel link into another page?

Post by boffer10 on January 7th 2011, 7:23 pm

I got tired of scrolling to the bottom of the index page to log into the AP, so I put a link at the top. It looks like this:



Code:
<BR><font face="arial,Helvetica"color="#1D510F" size="3"><table border=0  style="margin-left: auto; margin-right: auto;"><tr><TD align=center><a href=http://boffer.creatingforum.com/admin/>

<script language="JavaScript">

<!--

function Greeting() {

var dToday = new Date()

var nHours = dToday.getHours()

        if ((nHours >= 12) && (nHours < 18))  {

        document.write("Good Afternoon,")

        }

        else    {

                if (nHours >= 18)  {

 document.write("Good Evening,")

                }

                        else    {

 document.write("Good Morning,")

                        }

        }

}

Greeting()

//-->
//stop hiding from other browsers
</script></a></TD><TD> HERE!</TD></TR></TABLE></font><div style="margin:auto;text-align:center;width:100%">



It's kind of hidden in plain sight. The 'Good Morning' is the AP link. It changes to good afternoon or good evening depending on the users local time. If someone clicks on it accidentally, no big deal.

Here's my test forum to see what it looks like
http://boffer.creatingforum.com/

Edit: I guess I can't use braces in the code feature. If you substitute brace USERNAME brace for the word HERE in the code, it will identify each user by name.


Last edited by boffer10 on January 7th 2011, 7:36 pm; edited 2 times in total (Reason for editing : try to fix code)

boffer10
Forumember

Male Posts : 311
Reputation : 10
Language : english
Location : Go Seahawks!

http://squarefoot.creatingforum.com/

Back to top Go down

Re: How to put the Admin Panel link into another page?

Post by Guest on January 7th 2011, 7:27 pm

Its not possible to hide link for members in HTML pages (:
you can add the link which is:
Code:
http://help.forumotion.com//admin/index.forum
Replace forumotion link with your.
members can't open the ACP if they click it (:

Guest
Guest


Back to top Go down

Re: How to put the Admin Panel link into another page?

Post by Beorn on January 7th 2011, 8:01 pm

Thanks for the help Smile It's a bummer I can't hide it from users on an ordinary HTML page--but I'll try to get Boffer's idea working. Though, where do I put the code?

Beorn
New Member

Posts : 19
Reputation : 0
Language : English

Back to top Go down

Re: How to put the Admin Panel link into another page?

Post by Guest on January 7th 2011, 8:04 pm

Then im off now :d don't know he is talking about Smile

Guest
Guest


Back to top Go down

Re: How to put the Admin Panel link into another page?

Post by boffer10 on January 7th 2011, 11:43 pm

I put the code in the Homepage Message. The link only shows up there.

For an html page, put the code where you want the link to appear.


Depending on what you have, another way would be to make your text color the same color as the background. Or, have an empty gif that is linked.

It doesn't matter if they click on it, they still won't get access.

boffer10
Forumember

Male Posts : 311
Reputation : 10
Language : english
Location : Go Seahawks!

http://squarefoot.creatingforum.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum