Previous Thread
Next Thread
Print Thread
Rate Thread
Move menu #311820 10/25/2006 5:34 AM
Joined: Mar 2003
Posts: 9
Nardus Offline OP
Junior Member
OP Offline
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

Sponsored Links
Re: Move menu [Re: Nardus] #311821 10/25/2006 4:43 PM
Joined: Jan 2000
Posts: 5,787
Gizmo Offline
UBB.Dev / UBB.Wiki Owner
Time Lord
Offline
UBB.Dev / UBB.Wiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,787
delete it out of the header.tpl file, and make a custom island with those links in it instead...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.Sitemaps
Re: Move menu [Re: Gizmo] #311822 10/26/2006 7:43 AM
Joined: Mar 2003
Posts: 9
Nardus Offline OP
Junior Member
OP Offline
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

Re: Move menu [Re: Nardus] #311823 10/26/2006 4:37 PM
Joined: Jan 2000
Posts: 5,787
Gizmo Offline
UBB.Dev / UBB.Wiki Owner
Time Lord
Offline
UBB.Dev / UBB.Wiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,787
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>      
{/if}


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


Last edited by Gizmo; 10/26/2006 4:38 PM.

UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.Sitemaps
Re: Move menu [Re: Gizmo] #311824 10/27/2006 4:58 AM
Joined: Mar 2003
Posts: 9
Nardus Offline OP
Junior Member
OP Offline
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 4:59 AM.
Sponsored Links
Re: Move menu [Re: Nardus] #311827 10/28/2006 3:13 PM
Joined: Jan 2000
Posts: 5,787
Gizmo Offline
UBB.Dev / UBB.Wiki Owner
Time Lord
Offline
UBB.Dev / UBB.Wiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,787
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 - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.Sitemaps
Re: Move menu [Re: Gizmo] #311845 10/31/2006 10:49 AM
Joined: Mar 2003
Posts: 9
Nardus Offline OP
Junior Member
OP Offline
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 Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,787
Joined: January 2000
Forum Statistics
Forums63
Topics37,493
Posts293,672
Members13,829
Most Online5,166
Sep 15th, 2019
Top Posters(All Time)
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,787
Greg Hard 4,625
Top Posters(30 Days)
isaac 5
DCPhil 2
Gizmo 1
Today's Statistics
Currently Online 621
Topics Created 0
Posts Made 1
Users Online 2
Birthdays 17
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2019 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Snapshot build 20191115.dev)
Responsive Width:

PHP: 5.4.45 Page Time: 0.041s Queries: 29 (0.016s) Memory: 3.2730 MB (Peak: 3.4434 MB) Data Comp: Zlib Server Time: 2019-11-17 19:31:18 UTC
Valid HTML 5 and Valid CSS