Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Aug 2002
Posts: 218
Member
Member
Offline
Joined: Aug 2002
Posts: 218
The template has a small failure, its looking strange if you're board has different width and cellspacing/cellpadding values.

To correct this take this template:

----
<?
echo <<<template
$tbopen

<tr>
<td class="tdheader">
Board Rules
</td>
</tr>
$tbclose

$tbopen
<tr>
<td class="lighttable">
template;
$rules = @file("{$config['path']}/includes/boardrules.php");
if (!is_array($rules)) {
$rules = @file("{config['phpurl']}/includes/boardrules.php");
}
if ($rules) {
while(list($linenum,$line) = each($rules)) {
$boardrules .= $line;
}
}
echo $boardrules;
echo <<<template
</td>
</tr>
$tbclose

<br /><br />
template;
?>


------
Don't know why the original was looking so strange but after comparing it with the viewprivacy.tmpl the above lines came out and are working...

To see the difference I have an example for you:
WRONG (The contact us form has not the right size. Within this example its only a few pixels but this may depend on your theme settings)

RIGHT (The Boardrules have the correct width everytime, no matter what you put in your settings it will fit)

Check it out, I will fix this in the Examples within the next days

Last edited by jluerken; 02/15/2003 10:10 PM.
Sponsored Links
Entire Thread
Subject Posted By Posted
[6.2] Board Rules 1.2 JoshPet 02/11/2003 9:02 AM
Re: [6.2] Board Rules 1.0 jluerken 02/11/2003 12:21 PM
Re: [6.2] Board Rules 1.0 dimopoulos 02/11/2003 11:48 PM
Re: [6.2] Board Rules 1.0 Dalantech 02/12/2003 12:54 AM
Re: [6.2] Board Rules 1.0 AKD96 02/12/2003 2:21 AM
Re: [6.2] Board Rules 1.0 omegatron 02/12/2003 3:37 AM
Re: [6.2] Board Rules 1.0 JoshPet 02/12/2003 4:24 AM
Re: [6.2] Board Rules 1.0 JoshPet 02/12/2003 4:37 AM
Re: [6.2] Board Rules 1.0 JoshPet 02/12/2003 4:47 AM
Re: [6.2] Board Rules 1.0 JoshPet 02/12/2003 5:00 AM
Re: [6.2] Board Rules 1.0 omegatron 02/12/2003 5:04 AM
Re: [6.2] Board Rules 1.0 JoshPet 02/12/2003 5:16 AM
Re: [6.2] Board Rules 1.0 smilesforu 02/12/2003 5:19 AM
Re: [6.2] Board Rules 1.0 JoshPet 02/12/2003 5:22 AM
Re: [6.2] Board Rules 1.0 smilesforu 02/12/2003 5:37 AM
Re: [6.2] Board Rules 1.0 jluerken 02/12/2003 10:20 AM
Re: [6.2] Board Rules 1.0 JoshPet 02/12/2003 10:23 AM
Re: [6.2] Board Rules 1.0 jluerken 02/12/2003 10:49 AM
Re: [6.2] Board Rules 1.0 JoshPet 02/12/2003 10:51 AM
Re: [6.2] Board Rules 1.2 JoshPet 02/12/2003 11:21 AM
Re: [6.2] Board Rules 1.2 AKD96 02/12/2003 7:42 PM
Re: [6.2] Board Rules 1.2 jluerken 02/16/2003 5:01 AM
Re: [6.2] Board Rules 1.2 ehm 02/16/2003 7:17 AM
Re: [6.2] Board Rules 1.0 JoshPet 08/02/2003 10:16 PM

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:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Ruben Rocha
Ruben Rocha
Lutz,FL,USA
Posts: 253
Joined: January 2000
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 2080
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 11
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)