Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Oct 2007
Posts: 10
M
mishter Offline OP
Newbie
OP Offline
Newbie
M
Joined: Oct 2007
Posts: 10
This is probably a simple newbie question, but how can I make a custom island in the middle row for UBB.Threads? I want to place a chart, or graphic, in the middle between a couple of category islands, but cannot seem to figure out how.


Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
In the middle column, or row? For the portal page or somewhere else?


- Allen wavey
- What Drives You?
Joined: Oct 2007
Posts: 10
M
mishter Offline OP
Newbie
OP Offline
Newbie
M
Joined: Oct 2007
Posts: 10
Sorry, I meant in the middle COLUMN. I would use this on either the portal page, or on the main page for non-logged in users (i.e. forum list).

Joined: Jan 2000
Posts: 5,819
Likes: 16
UBBDev / UBBWiki Owner
Time Lord
Offline
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,819
Likes: 16
There is a post in the templates forum covering this


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
Joined: Oct 2007
Posts: 10
M
mishter Offline OP
Newbie
OP Offline
Newbie
M
Joined: Oct 2007
Posts: 10
Gizmo,

I read through the template areas, and I didn't see the post that you mention. It could be my lack of understanding, but which posts mentions how to put a custom island in the middle column?

Thanks.

Sponsored Links
Joined: Jan 2000
Posts: 5,819
Likes: 16
UBBDev / UBBWiki Owner
Time Lord
Offline
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,819
Likes: 16
Odd, my post isn' where I left it...


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
Joined: Jan 2000
Posts: 5,819
Likes: 16
UBBDev / UBBWiki Owner
Time Lord
Offline
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,819
Likes: 16
follow this it covers placing a content island into the center section of your forum.


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
Joined: Oct 2007
Posts: 10
M
mishter Offline OP
Newbie
OP Offline
Newbie
M
Joined: Oct 2007
Posts: 10
Great, I'll give it a try. Thanks!

Joined: Oct 2007
Posts: 10
M
mishter Offline OP
Newbie
OP Offline
Newbie
M
Joined: Oct 2007
Posts: 10
Gizmo,

Can't seem to make this work, but I certainly can be doing something wrong. Couple of questions:

1. Does this work for v7.2.2 of UBB.Threads?
2. What is "WOL"?

Thx!

Joined: Nov 2003
Posts: 482
S
Enthusiast
Offline
Enthusiast
S
Joined: Nov 2003
Posts: 482
1. yes
2. Who's online

Sponsored Links
Joined: Jan 2000
Posts: 5,819
Likes: 16
UBBDev / UBBWiki Owner
Time Lord
Offline
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,819
Likes: 16
As SD said, it will work with any version of threads (as the code you tae from the external link will be from your version) and WOL is Who's Online.


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
Joined: Oct 2007
Posts: 10
M
mishter Offline OP
Newbie
OP Offline
Newbie
M
Joined: Oct 2007
Posts: 10
I followed the example that Gizmo gave me, no luck. I got the external use paths from the portal layout, and put them in the crfm.tpl file after the "{if $introtitle}" line, but don't see the Who's Online (just trying this for an example.

Here's an excerpt (the first 30 lines or so) of the cfrm.tpl file with the additional code:

Code
{* Script Version 7.2.2 *}


{if $introtitle}
{$tbopen}
<tr>
<td class="tdheader">
{$introtitle}
<?php
if (!defined('UBB_MAIN_PROGRAM')) define('UBB_MAIN_PROGRAM',1);
$style_side="";$tbopen="";$tbclose="";
echo "<table width=\"100%\">";
include("/home/content/p/e/n/pennyprofilers/html/forum/languages/english/portal_islands.php");
include("/home/content/p/e/n/pennyprofilers/html/forum/languages/english/generic.php");
include("/home/content/p/e/n/pennyprofilers/html/forum/cache/online_now.php");
echo "</table>";
?>
</td>
</tr>
<tr>
<td class="alt-1">
{$introbody}
</td>
</tr>
{$tbclose}
{/if}

{section name="cats" loop=$catrow}
{$tbopen}
<thead>

What am I doing incorrectly?

Last edited by Gizmo; 12/04/2007 8:30 PM. Reason: Added [code] tags.
Joined: Jan 2000
Posts: 5,819
Likes: 16
UBBDev / UBBWiki Owner
Time Lord
Offline
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,819
Likes: 16
You can't use PHP tags in smarty, instead change your to {/php}


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
Joined: Oct 2007
Posts: 10
M
mishter Offline OP
Newbie
OP Offline
Newbie
M
Joined: Oct 2007
Posts: 10
Thanks, makes sense. However, I tried this and it didn't seem to change anything, i.e., the WoL didn't appear at the top of the forum list as I would expect. Here's the current code:

Code

{* Script Version 7.2.2 *}


{if $introtitle}
{php}
if (!defined('UBB_MAIN_PROGRAM')) define('UBB_MAIN_PROGRAM',1);
$style_side="";$tbopen="";$tbclose="";
echo "<table width=\"100%\">";
include("/home/content/p/e/n/pennyprofilers/html/forum/languages/english/portal_islands.php");
include("/home/content/p/e/n/pennyprofilers/html/forum/languages/english/generic.php");
include("/home/content/p/e/n/pennyprofilers/html/forum/cache/online_now.php");
echo "</table>";
{/php}
{$tbopen}
<tr>
<td class="tdheader">
{$introtitle}
</td>
</tr>
<tr>
<td class="alt-1">
{$introbody}
</td>
</tr>
{$tbclose}
{/if}

{section name="cats" loop=$catrow}
{$tbopen}

Anything else I'm missing?

Joined: Oct 2007
Posts: 10
M
mishter Offline OP
Newbie
OP Offline
Newbie
M
Joined: Oct 2007
Posts: 10
Still trying to do this, but no luck. Any new ideas? Thanks in advance.

Joined: Dec 2003
Posts: 49
N
User
Offline
User
N
Joined: Dec 2003
Posts: 49
Move it to this -

Code

{* Script Version 7.2.2 *}


{if $introtitle}
{$tbopen}
<tr>
<td class="tdheader">
{$introtitle}
</td>
</tr>
<tr>
<td class="alt-1">
{$introbody}
</td>
</tr>
{$tbclose}
{/if}

{php}
if (!defined('UBB_MAIN_PROGRAM')) define('UBB_MAIN_PROGRAM',1);
$style_side="";$tbopen="";$tbclose="";
echo "<table width=\"100%\">";
include("/home/content/p/e/n/pennyprofilers/html/forum/languages/english/portal_islands.php");
include("/home/content/p/e/n/pennyprofilers/html/forum/languages/english/generic.php");
include("/home/content/p/e/n/pennyprofilers/html/forum/cache/online_now.php");
echo "</table>";
{/php}

{section name="cats" loop=$catrow}
{$tbopen}

That's how mine works.

Joined: Oct 2007
Posts: 10
M
mishter Offline OP
Newbie
OP Offline
Newbie
M
Joined: Oct 2007
Posts: 10
Thanks! That did it. I appreciate the help from all.

Joined: Jan 2000
Posts: 5,819
Likes: 16
UBBDev / UBBWiki Owner
Time Lord
Offline
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,819
Likes: 16
Sorry for not getting around to posting; basically what was happening was that you where saying for the code to only apply when the intro was enabled.

Thanks to Night for posting a fix for mishter smile


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
Joined: Sep 2003
Posts: 1
K
Lurker
Offline
Lurker
K
Joined: Sep 2003
Posts: 1
I used your code to place addon chat in a middle island, it worked like a charm except anytime my page refreshes it logs me out of addon chat.

any ideas on what causes that?

Joined: Jan 2008
Posts: 7
D
Lurker
Offline
Lurker
D
Joined: Jan 2008
Posts: 7
Would this work in 7.4.2 (or 7.4.1) I have tried it several ways now with a custom island and it didn't work at all. EDIT got it to work, but lost my whole right sidebar. LOL what am I doing wrong should I set to be say 80% instead so that it doesn't take out the sidebars?
Dunny

Last edited by Dunny; 01/21/2009 8:52 AM.
Joined: Jan 2008
Posts: 7
D
Lurker
Offline
Lurker
D
Joined: Jan 2008
Posts: 7
Oh it works smile That is why you don't let beginners play with code tipsy.

Anyway, it works like a charm! Thanks

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
You're welcome crazy


- Allen wavey
- What Drives You?

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
badfrog
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
Forum Statistics
Forums63
Topics37,557
Posts293,856
Members13,847
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,819
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 70
Gizmo 16
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2021 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Snapshot build 20210915)
Responsive Width:

PHP: 7.3.29 Page Time: 0.043s Queries: 59 (0.024s) Memory: 0.9009 MB (Peak: 1.0172 MB) Data Comp: Zlib Server Time: 2021-11-27 05:48:28 UTC
Valid HTML 5 and Valid CSS