Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
5 registered (Ruben, Stan, SteveS, tradge, Pilgrim), 46 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 12/20/03
Posts: 4423
Top Posters (30 Days)
Ruben 51
DennyP 24
Gizmo 23
Dunny 17
SteveS 14
AllenAyres 12
SD 10
dbremer 10
drkknght00 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#182817 - 04/18/07 10:37 AM Help with External Use styles
ScriptKeeper Offline

veteran
Registered: 12/09/06
Posts: 1420
Loc: UK
I can't understand why in the External Islands style uses "tdheader" and "alt-1" when the main Left/Right Column style uses "lefttdheader" and "leftalt-1".

Surely that's a mistake?

Obviously, my external sidebar doesn't match the internal one. How can I alter this?
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#182821 - 04/18/07 11:54 AM Re: Help with External Use styles [Re: ScriptKeeper]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
By default, it's set to just use the main tdheader/alt-1 classes. If you want it to match the side column instead, you can just change the class names to lefttdheader and leftalt-1 in the code you get on the External Use link.
Top
#182822 - 04/18/07 12:11 PM Re: Help with External Use styles [Re: Rick]
ScriptKeeper Offline

veteran
Registered: 12/09/06
Posts: 1420
Loc: UK
OK, so the code I see for the Who's Online is:

 Quote:
<?php
if (!defined('UBB_MAIN_PROGRAM')) define('UBB_MAIN_PROGRAM',1);
$style_side="";$tbopen="";$tbclose="";
echo "<table width=\"100%\">";
include("/***/***/***/ubbt/languages/english/generic.php");
include("/***/***/***/ubbt/cache/online_now.php");
echo "</table>";
?>
so where do I change the class names?

Also, as an example, this code only displays "1 (Username) 43". How do I fill in the gaps and add the extra info to display "1 registered (Username) and 43 anonymous users online"?
Top
#182823 - 04/18/07 01:04 PM Re: Help with External Use styles [Re: ScriptKeeper]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Ah, ok. Actually you just need to modify this line:

$style_side="";$tbopen="";$tbclose="";

You'd change that to:

$style_side="left";$tbopen="";$tbclose="";

As for what it's displaying. That's a bug with 7.1. You need to add one more line of code to it. Right before this:

include("/***/***/***/ubbt/languages/english/generic.php");

Add this:

include("/***/***/***/ubbt/languages/english/portal_islands.php");
Top
#182831 - 04/18/07 05:35 PM Re: Help with External Use styles [Re: Rick]
ScriptKeeper Offline

veteran
Registered: 12/09/06
Posts: 1420
Loc: UK
OK, that works better but I have no border.
Top
#182872 - 04/19/07 04:24 PM Re: Help with External Use styles [Re: ScriptKeeper]
ScriptKeeper Offline

veteran
Registered: 12/09/06
Posts: 1420
Loc: UK
Do I need to add the wrapper somewhere here?
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10489 Members
36 Forums
33841 Topics
181706 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image