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

   Move menu to Del.icio.us Add to del.icio.us
  Digg Move menu Digg it
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 Online   shocked
Wizard

Registered: 01/10/00
Posts: 5122
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 Online   shocked
Wizard

Registered: 01/10/00
Posts: 5122
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 Online   shocked
Wizard

Registered: 01/10/00
Posts: 5122
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 (), 39 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by Ian_W
Yesterday at 03:47 PM
What do you use to edit the files
by Ian_W
Yesterday at 03:33 PM
BeyondCompare v3.00
by Ian_W
Yesterday at 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
Yesterday at 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3] Language file checker
by blaaskaak
09/09/08 12:56 AM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
ghengis317, NitroX, Dogan, EliYah-, W-D
13344 Registered Users
Top Posters Last 30 Days
AllenAyres 16
blaaskaak 13
FREAK1 7
Mike L_dup1 4
Chris Bale 4
Ian_W 4
tackaberry 3

 

 

 
fusionbb message board php hacks