|
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
Former Developer
|
Former Developer
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:
<?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
old hand
|
old hand
Joined: Feb 2007
Posts: 678 |
Interesting. That code you posted above Rick.... where does that go?
|
|
|
|
Joined: Jun 2006
Posts: 16,375 Likes: 129
|
Joined: Jun 2006
Posts: 16,375 Likes: 129 |
I believe it goes in your footer insert.
|
|
|
|
Joined: Feb 2007
Posts: 678
old hand
|
old hand
Joined: Feb 2007
Posts: 678 |
Which parts would I need to modify. It didn't work like that 
|
|
|
|
Joined: Dec 2003
Posts: 70
journeyman
|
journeyman
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,375 Likes: 129
|
Joined: Jun 2006
Posts: 16,375 Likes: 129 |
should be as easy as placing the "external island" code in your footer.tpl file where you want them; you'd want to replace With So smarty knows how to deal with the islands.
|
|
|
|
Joined: Jun 2007
Posts: 4
stranger
|
stranger
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 
|
|
|
|
Joined: Jun 2006
Posts: 1,344
veteran
|
veteran
Joined: Jun 2006
Posts: 1,344 |
Last edited by gliderdad; 06/18/2007 10:28 PM.
|
|
|
|
Joined: Jun 2006
Posts: 1,344
veteran
|
veteran
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 <a href="http://www.your_forum.com/ubbthreads/ubbthreads.php?ubb=online" target="_blank">Who's Online</a>
|
|
|
|
Joined: Jun 2007
Posts: 4
stranger
|
stranger
Joined: Jun 2007
Posts: 4 |
|
|
|
|
Joined: Jun 2006
Posts: 1,344
veteran
|
veteran
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,375 Likes: 129
|
Joined: Jun 2006
Posts: 16,375 Likes: 129 |
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
|
|
|
|
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
veteran
|
veteran
Joined: Jun 2006
Posts: 1,344 |
He does nice work eh? I taught him everything he knows, jk roflmao.
|
|
|
|
Joined: Jun 2006
Posts: 16,375 Likes: 129
|
Joined: Jun 2006
Posts: 16,375 Likes: 129 |
He does nice work eh? I taught him everything he knows, jk roflmao. You wish lol... 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...
|
|
|
|
Joined: Jun 2006
Posts: 1,344
veteran
|
veteran
Joined: Jun 2006
Posts: 1,344 |
LOL, your right I do wish
|
|
|
|
Joined: Jun 2006
Posts: 16,375 Likes: 129
|
Joined: Jun 2006
Posts: 16,375 Likes: 129 |
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.
|
|
|
|
Joined: Jun 2007
Posts: 4
stranger
|
stranger
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  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
stranger
|
stranger
Joined: Jun 2007
Posts: 2 |
I am also interested in knowing if this can be accomplished.
|
|
|
1 members (Conrad),
162
guests, and
177
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|