|
Move CP Links into Nayar Sidebox (Solved)
|
|
03-06-2012, 08:18 AM
(This post was last modified: 07-08-2012 10:52 AM by MasqueradeCity.)
Post: #1
|
|||
|
|||
|
Move CP Links into Nayar Sidebox (Solved)
Hello there. :] I'm very new to all of this but with the help of support threads, I've been doing well so far.
I'm stumped on this, however. How do I move the CP links that appear in the welcome box (User CP — Mod CP — Admin CP — Log Out) into the side boxes? I'm currently using the plugin by Nayar. I tried moving the code... Code: <a href="{$mybb->settings['bburl']}/usercp.php"><strong>{$lang->welcome_usercp}</strong>...from the header templates into the side box but I receive this error above my header. Code: Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/ab64183/public_html/inc/plugins/sidebox.php(418) : eval()'d code on line 1I'd also like for those CP links not to be visible to guests, instead only appearing to those who have logged in. Basically, I'd like to move those links into the customizable, Nayar side box without altering how they're viewed when logged in and out. That being said, if there is a way to move the welcome box to the side just like another side box, that would work too. I'm also open to other side box plugins/methods which would allow me to do what I'm requesting. If there is another way to have side boxes which would allow me to have them on either side of my forum, staying beneath the width of the header, that would be super amazing. Thank you so much for any help given. :] Edit: Solved. |
|||
|
03-06-2012, 10:47 AM
Post: #2
|
|||
|
|||
|
RE: Move CP Links into Nayar Sidebox
Open header template and remove
Code: <div id="panel">Then paste this code wherever you want to show the links Code: {$welcomeblock}but let me guess, you're pasting raw HTML inside php. That's what giving you those errors. Try pasting this instead of just {$welcomeblock} and see if it works PHP Code: echo '{$welcomeblock}'; |
|||
|
03-06-2012, 08:14 PM
(This post was last modified: 03-06-2012 09:09 PM by MasqueradeCity.)
Post: #3
|
|||
|
|||
|
RE: Move CP Links into Nayar Sidebox
While the first step successfully removed the welcome box from beneath the toplinks, this second part didn't work.
Instead of showing the welcome block in the box, it looks like this. Code: echo \'\';Thank you so much for the help. :] Edit: I wonder if I'm just better off using this instead of a plugin to get what I want? http://mybbgroup.com/how-to-add-a-mybb-s...-required/ |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)
Search
Member List
Calendar
Help



