|
Joined: Mar 2003
Posts: 9
Junior Member
|
Junior Member
Joined: Mar 2003
Posts: 9 |
Hi,
Is it possible to move the menu just above the forums (the one with Portal Page, Forum List, My Stuff, User List etc.) to a post island - and how do I do it?
Best reagards,
Kristian
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
delete it out of the header.tpl file, and make a custom island with those links in it instead...
|
|
|
|
Joined: Mar 2003
Posts: 9
Junior Member
|
Junior Member
Joined: Mar 2003
Posts: 9 |
Hmm, if I'm trying that-I get an error when building the "Custom Island". Example: I want to move {if $user_list} {$lang.USER_LIST} {/if} to a custom island. When copying the code into the custom island I get an error. Am I doing it wrong? Kristian
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
I don't know if the custom islands read smarty code; in fact, I don't even really understand it much so I'm not much help... You likely will have to fashion the URL's as they appear to a browser (non-wordletalized and all that fun stuff) So where it would be: {if $user_list} <a href="{$config.BASE_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showmembers">{$lang.USER_LIST}</a> {/if} It will be: <a href="http://www.yoursite.tld/forum/path/ubbthreads.php/ubb/showmembers">User List</a>
Last edited by Gizmo; 10/26/2006 5:38 PM.
|
|
|
|
Joined: Mar 2003
Posts: 9
Junior Member
|
Junior Member
Joined: Mar 2003
Posts: 9 |
But then the userlist will show up eventhough it has been disabled in the admin for non-registrered users. Does anyone have any idea of how to deal with that?
Last edited by Nardus; 10/27/2006 5:59 AM.
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
You could try something like this (in the PHP section) <?php if(isset($user_list)) { echo("<a href=\"http://www.yoursite.tld/forum/path/ubbthreads.php/ubb/showmembers\">User List</a>"); } ?> It's completely untested, and I doubt it'll work lol
|
|
|
|
Joined: Mar 2003
Posts: 9
Junior Member
|
Junior Member
Joined: Mar 2003
Posts: 9 |
Hmm, it didn't work but I don't get any errormessages.
I think I have to put something in the body-part but I don't know what.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 87
Joined: December 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|