MyBB Community Forums
Hide links until users logs in? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: Hide links until users logs in? (/thread-103443.html)



Hide links until users logs in? - tizdaz - 2011-09-08

Hi Smile

I want to place the "Admin" & "User" CP links elsewhere, but how do i hide them until the user logs in like they do in the default location?

Thanks
i also want to make some other links (such as view profile) work the same way when i place it elsewhere


RE: Hide links until users logs in? - Praveer - 2011-09-08

Cant understand what u mean.


RE: Hide links until users logs in? - JordanMussi - 2011-09-08

if it is in the header go to your theams templats (if you don't know how go to your theams and on the right is a templats link) then header then you can do what you wont.


RE: Hide links until users logs in? - tizdaz - 2011-09-08

hi guys ta for reply Wink

i want to remove most of the links in the small header bar at the top of forum such as user CP / Admin CP & the View New Posts / Private Messages etc & place them into my sideboxes instead.

Im using custom code in index (not a plug in) for sideboxes, but how do i make the side boxes only show the links inside them when the user has logged in? ...like as they do normally when in the header?
better still... how could i hide the actual box until user has logged? this be much better as then i wouldnt need to hide each of the links inside... just the box Smile


RE: Hide links until users logs in? - tizdaz - 2011-09-08

i dont want to remove them though Sad just want to move them into my sideboxes then either make the links hidden until user has logged in, or hide the actual side box until user has logged... Hiding the actual sidebox i prefer though


RE: Hide links until users logs in? - tizdaz - 2011-09-08

heres what i mean

http://www.carpinmad.co.uk/board/index.php

the sidebox on left that shows "User CP" link to guests, but i want the box to not show to guests?
ahh oki ta dude, wil lgive that ago, but is it possible to hide the boxes instead? ..otherwise guests will just see a blank sidebox im guessing?