Previous Thread
Next Thread
Print Thread
Rate Thread
#311820 10/25/2006 6:34 AM
Joined: Mar 2003
Posts: 9
Junior Member
Junior Member
Offline
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
Nardus #311821 10/25/2006 5:43 PM
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
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, My UBB Scripts
Gizmo #311822 10/26/2006 8:43 AM
Joined: Mar 2003
Posts: 9
Junior Member
Junior Member
Offline
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

Nardus #311823 10/26/2006 5:37 PM
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
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:
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 5: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, My UBB Scripts
Gizmo #311824 10/27/2006 5:58 AM
Joined: Mar 2003
Posts: 9
Junior Member
Junior Member
Offline
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.
Sponsored Links
Nardus #311827 10/28/2006 4:13 PM
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
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, My UBB Scripts
Gizmo #311845 10/31/2006 11:49 AM
Joined: Mar 2003
Posts: 9
Junior Member
Junior Member
Offline
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.


Link Copied to Clipboard
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
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)