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.

Admin Link Bottom of the page

Go down

Solved Admin Link Bottom of the page

Post by FrOsTyXi on December 25th 2014, 2:37 am

Changed the link but thx to one of the staff she said you could see the admin link when a guest. Is it possible to have a custom HTML page admin link that cant be seen unless admin is logged in?

@Ange gave me a code that makes the admincp link change in the fa toolbar.

Thanks for the help!
avatar
FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Solved Re: Admin Link Bottom of the page

Post by Ange Tuteur on December 25th 2014, 2:43 am

Hello @FrOsTyXi,

Do you just want to change the linked page at the bottom of the forum ?
avatar
Ange Tuteur
Forumaster

Male Posts : 13186
Reputation : 2893
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Admin Link Bottom of the page

Post by FrOsTyXi on December 25th 2014, 2:46 am

@Ange Tuteur wrote:Hello @FrOsTyXi,

Do you just want to change the linked page at the bottom of the forum ?

@Ange Yes that's it you gave me the javacode for the fa toolbar I just want to change the link at the bottom (Admincp) to a custom link but only admin can see it like it is by default
avatar
FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Solved Re: Admin Link Bottom of the page

Post by Ange Tuteur on December 25th 2014, 2:49 am

Create a new script with this in all the pages :
Code:
$(function() { $('.copyright a[href*="/admin/"]').attr('href','/NEW_URL') });

Just change /NEW_URL to the URL of your page. ^^
avatar
Ange Tuteur
Forumaster

Male Posts : 13186
Reputation : 2893
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Admin Link Bottom of the page

Post by FrOsTyXi on December 25th 2014, 2:58 am

Code:
$(function() { $('.copyright a[href*="/admin/"]').attr('href','/h3-ipb-admin-panel') });

@Ange Doesn't seem to work when i add this in new script all pages i still get the default link.
avatar
FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Solved Re: Admin Link Bottom of the page

Post by Ange Tuteur on December 25th 2014, 3:02 am

Okay, try this then :
Code:
$(function() { $('a[href^="/admin/index.forum"]').attr('href','/h3-ipb-admin-panel') });
avatar
Ange Tuteur
Forumaster

Male Posts : 13186
Reputation : 2893
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Admin Link Bottom of the page

Post by FrOsTyXi on December 25th 2014, 3:06 am

Thank you sir that worked great, again thanks for all your help with all these silly issues!

Merry Christmas @Ange
avatar
FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Solved Re: Admin Link Bottom of the page

Post by Ange Tuteur on December 25th 2014, 3:41 am

You're welcome ^^

Topic archived

Have a good day, and happy holidays. santa
avatar
Ange Tuteur
Forumaster

Male Posts : 13186
Reputation : 2893
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Back to top


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