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 Offline

Wizard

Registered: 01/10/00
Posts: 5354
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 & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

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 Offline

Wizard

Registered: 01/10/00
Posts: 5354
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 & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

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 Offline

Wizard

Registered: 01/10/00
Posts: 5354
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 & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

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



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks