Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2006
Posts: 811
old hand
old hand
Joined: Jun 2006
Posts: 811
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.

Joined: Jun 2006
Posts: 811
old hand
old hand
Joined: Jun 2006
Posts: 811
Any tips on this one? Thanks.

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
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;
?>

Joined: Jun 2006
Posts: 811
old hand
old hand
Joined: Jun 2006
Posts: 811
Thank you. I'll give it a shot.

Joined: Feb 2007
Posts: 678
W
old hand
old hand
W Offline
Joined: Feb 2007
Posts: 678
Interesting.
That code you posted above Rick.... where does that go?

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
I believe it goes in your footer insert.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Feb 2007
Posts: 678
W
old hand
old hand
W Offline
Joined: Feb 2007
Posts: 678
Which parts would I need to modify. It didn't work like that frown

Joined: Dec 2003
Posts: 70
H
journeyman
journeyman
H Offline
Joined: Dec 2003
Posts: 70
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.

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
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.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2007
Posts: 4
M
stranger
stranger
M Offline
Joined: Jun 2007
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 smile

Joined: Jun 2006
Posts: 1,344
G
veteran
veteran
G Offline
Joined: Jun 2006
Posts: 1,344
Yea, hack the header.tpl file and add it in http://www.yourforum.com/ubbthreads/ubbthreads.php?ubb=online#

Last edited by gliderdad; 06/18/2007 11:28 PM.
Joined: Jun 2006
Posts: 1,344
G
veteran
veteran
G Offline
Joined: Jun 2006
Posts: 1,344
Just add this in the header.tpl were you wan it and it will open in a new page
Code
<a href="http://www.your_forum.com/ubbthreads/ubbthreads.php?ubb=online" target="_blank">Who's Online</a>

Joined: Jun 2007
Posts: 4
M
stranger
stranger
M Offline
Joined: Jun 2007
Posts: 4
thanks man...that got it

Joined: Jun 2006
Posts: 1,344
G
veteran
veteran
G Offline
Joined: Jun 2006
Posts: 1,344
No prob, that was the first thing I did too. But I made buttons instead of the links.

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
FYI, to move the contents of the WOL to your forums, I did just fine by pasting the contents of the "external use" section into my crfm template; you can see this at the bottom of:
http://www.elitewebgamers.com/forum/ubbthreads.php


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Nov 2006
Posts: 3,095
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095
Likes: 1
Off Topic: That's sort of a nice CSS theme there Giz

Joined: Jun 2006
Posts: 1,344
G
veteran
veteran
G Offline
Joined: Jun 2006
Posts: 1,344
He does nice work eh? I taught him everything he knows, jk roflmao.

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Originally Posted by gliderdad
He does nice work eh? I taught him everything he knows, jk roflmao.
You wish lol...

Originally Posted by ntdoc
Off Topic: That's sort of a nice CSS theme there Giz
Dankies... I plan to release some of that series once my server gets back up and I stop being so friggen stressed out...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2006
Posts: 1,344
G
veteran
veteran
G Offline
Joined: Jun 2006
Posts: 1,344
LOL, your right I do wish

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Originally Posted by Gizmo
I plan to release some of that series once my server gets back up and I stop being so friggen stressed out...
One thing i'm waiting on is that I have to redo the images; some are png's and they need to be gif's; and the height i'm doing to 20 vs trying to cover a full cell; etc.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2007
Posts: 4
M
stranger
stranger
M Offline
Joined: Jun 2007
Posts: 4
one other quick question and i'm done ( i think)...is there any way to make it show the old style "Extra Info" stuff? Any way to maybe use something from an older release in the footer maybe? I'd like it to show something like this at the bottom, which is from the 6.5.2 release (see below)...

let me explain a little...I'm trying to avoid the whole "portal" thing...it's nice but not what i need for this particular website...I've been using threads since the old days and I don't want to switch forum software...I'm more than happy with the way it performs...I just want to stay with a current release for security and upgrade issues...and to continue to support the cause of course...I keep all my license up to date so i can get the latest releases even if i don't upgrade. Thanks again for the help guys...I've been using this for a while but it's been a while since i did a lot of this so i'm having to re-learn a lot smile



Extra information
Show favorite forums.
4164 Registered User(s).
Welcome to our newest member, Canmyyla
There are no birthdays today.
There are 14 registered and 4 anonymous users online.
Max users online was 78 @ 11/17/06 10:05 PM
Current adjusted date is: 06/20/07 11:18 PM

Joined: Jun 2007
Posts: 2
D
stranger
stranger
D Offline
Joined: Jun 2007
Posts: 2
I am also interested in knowing if this can be accomplished.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (Nightcrawler), 552 guests, and 173 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)