Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
0 registered (), 19 Guests and 23 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/05/06
Posts: 340
Top Posters (30 Days)
Ruben Rocha 103
Rick 81
Mark S 72
Thelockman 56
Gizmo 50
driv 35
Sirdude 30
ntdoc 30
packlite 24
AllenAyres 22
Latest Photos
bear test
Beach Barbie-Q
Sunset
Accept the challenge!
Trees
Page 1 of 3 1 2 3 >
Topic Options
Rate This Topic
#182731 - 04/15/07 03:51 PM Displaying Column Content in other Locations
Mitch P. Offline
addict

Registered: 06/23/06
Posts: 679
Rick, in an older thread, you gave a link to your personal site to show how you were able to display right and left column content at the bottom of the forum. Such as, "Who's Online," "Forum Stats," and "Newest Members".

Can you explain how you did that? Or, is that a hack and something I should ask about at UBBDev?

Thanks.

Top
#182765 - 04/17/07 09:08 AM Re: Displaying Column Content in other Locations [Re: Mitch P.]
Mitch P. Offline
addict

Registered: 06/23/06
Posts: 679
Any tips on this one? Thanks.

Top
#182771 - 04/17/07 12:24 PM Re: Displaying Column Content in other Locations [Re: Mitch P.]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7993
Loc: Aberdeen, WA
Sure, here's what I'm using to pull in the 3 islands on my personal site:

 Code:
<?php
if (!defined('UBB_MAIN_PROGRAM')) define('UBB_MAIN_PROGRAM',1);
$style_side="";$tbopen="";$tbclose="";

$wrapper_id = $style_array['wrappers'];                 

$tbopen = $wrappers[$wrapper_id]['open'];
$tbclose = $wrappers[$wrapper_id]['close'];   

echo <<<EOF
<table border="0" width="800" align="center">
<tr>
<td width="33%" valign="top">
EOF;
include("/path_to/english/generic.php");
include("/path_to/cache/online_now.php");
echo <<<EOF
</td>
<td width="33%" valign="top">
EOF;
include("/path_to/cache/forum_stats.php");
echo <<<EOF
</td>
<td width="33%" valign="top">
EOF;
include("/path_to/cache/new_users.php");
echo <<<EOF
</td>
</tr>
</table>
EOF;
?>
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#182773 - 04/17/07 12:55 PM Re: Displaying Column Content in other Locations [Re: Rick]
Mitch P. Offline
addict

Registered: 06/23/06
Posts: 679
Thank you. I'll give it a shot.

Top
#182852 - 04/18/07 11:37 PM Re: Displaying Column Content in other Locations [Re: Mitch P.]
willing Offline
addict

Registered: 02/12/07
Posts: 615
Interesting.
That code you posted above Rick.... where does that go?

Top
#182857 - 04/19/07 12:17 AM Re: Displaying Column Content in other Locations [Re: willing]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 12089
Loc: Portland, OR; USA
I believe it goes in your footer insert.
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#183339 - 04/27/07 02:33 AM Re: Displaying Column Content in other Locations [Re: Gizmo]
willing Offline
addict

Registered: 02/12/07
Posts: 615
Which parts would I need to modify. It didn't work like that \:\(

Top
#187644 - 06/18/07 06:23 PM Re: Displaying Column Content in other Locations [Re: willing]
harry Offline
journeyman

Registered: 12/25/03
Posts: 68
Loc: CA
I'm curious about the answer to this one? Would someone please provide instructions on how to place some of the custom islands at the bottom instead of on the side. Thanks.

Top
#187648 - 06/18/07 06:56 PM Re: Displaying Column Content in other Locations [Re: harry]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 12089
Loc: Portland, OR; USA
should be as easy as placing the "external island" code in your footer.tpl file where you want them; you'd want to replace
 Code:
<?php
-and-
?>


With
 Code:
{php}
-and-
{/php}


So smarty knows how to deal with the islands.
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#187668 - 06/18/07 08:24 PM Re: Displaying Column Content in other Locations [Re: Gizmo]
Mock Offline
stranger

Registered: 06/18/07
Posts: 4
that didn't work either...any way that someone might give a more detailed way to do this? Is there any way to just get the Who's Online to show like it has in the past? I don't have any use for the portal myself and I just want to use the forum software in the same way i've always used it...last version i used was 6.5.2 and it has the who's online at the top and it opens in a separate page when you click on it...any way to bring that back or just get it to show at the footer would be fine i guess? need a little more help though if you guys wouldn't mind spelling it out for a old fool like me \:\)

Top
Page 1 of 3 1 2 3 >


Shout Box

Today's Birthdays
theregit
Recent Topics
New members don't get access and are not displayed in the config panel
by Yomar
Yesterday at 03:32 AM
How to Change Link Color / Underline in styles?
by ECNet
01/07/09 10:00 PM
Chaging the "max online" number and date
by wanted
01/07/09 02:22 PM
7.4.1. In Threaded Mode - "Mark All Read" Doesn't Work
by packlite
01/07/09 10:26 AM
Custom island with sql connection
by Robje01
01/07/09 09:13 AM
Forum Stats
4296 Members
33 Forums
30687 Topics
156017 Posts

Max Online: 978 @ 06/24/07 08:19 PM