php forum
php mysql forum
php mysql smarty
 
Topic Options
#311820 - 10/25/06 06:34 AM Move menu
Nardus Offline
Junior Member

Registered: 03/07/03
Posts: 9
Loc: Denmark
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

Top
#311821 - 10/25/06 05:43 PM Re: Move menu [Re: Nardus]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5133
Loc: Portland, OR, USA
delete it out of the header.tpl file, and make a custom island with those links in it instead...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#311822 - 10/26/06 08:43 AM Re: Move menu [Re: Gizmo]
Nardus Offline
Junior Member

Registered: 03/07/03
Posts: 9
Loc: Denmark
Hmm, if I'm trying that-I get an error when building the "Custom Island".

Example: I want to move

{if $user_list}
<a href="{$config.BASE_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showmembers">{$lang.USER_LIST}</a>      
{/if}

to a custom island. When copying the code into the custom island I get an error.

Am I doing it wrong?

Kristian

Top
#311823 - 10/26/06 05:37 PM Re: Move menu [Re: Nardus]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5133
Loc: Portland, OR, USA
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:
Code:
{if $user_list}
<a href="{$config.BASE_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showmembers">{$lang.USER_LIST}</a> &nbsp; &nbsp; &nbsp;
{/if}


It will be:
Code:
<a href="http://www.yoursite.tld/forum/path/ubbthreads.php/ubb/showmembers">User List</a>



Edited by Gizmo (10/26/06 05:38 PM)
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#311824 - 10/27/06 05:58 AM Re: Move menu [Re: Gizmo]
Nardus Offline
Junior Member

Registered: 03/07/03
Posts: 9
Loc: Denmark
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?


Edited by Nardus (10/27/06 05:59 AM)

Top
#311827 - 10/28/06 04:13 PM Re: Move menu [Re: Nardus]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5133
Loc: Portland, OR, USA
You could try something like this (in the PHP section)
Code:
<?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
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#311845 - 10/31/06 10:49 AM Re: Move menu [Re: Gizmo]
Nardus Offline
Junior Member

Registered: 03/07/03
Posts: 9
Loc: Denmark
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.

Top


Who's Online
0 registered (), 27 Guests and 12 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Spell Check [beta]
by Bill B
Yesterday at 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
Yesterday at 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
Yesterday at 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
Yesterday at 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks