You need to have it as: Code You need to have it as: Code
 
Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2000
Posts: 5,834
Likes: 20
UBBDev Owner
Time Lord
UBBDev Owner
Time Lord
Joined: Jan 2000
Posts: 5,834
Likes: 20
It's actually quite easy, you just have to keep some things in mind.

Instead of
Code
<font color="#FFFFFF">
You need to have it as:
Code
<font color="#FFFFFF">
Beginning of each line has to be:
Code
echo "
End of each line:
Code
";
Example from UGN Security
Code
echo "<a name="$topicnum"></a>";
echo "<table border="0" cellpadding="0" cellspacing="0" width="95%" class="content">";
echo "<tr>";
echo "<td width="50%" colspan="2"><b>$title</b></td>";
echo "<td width="50%" colspan="2">";
$morepath = $CGIURL . "/ultimatebb.cgi?ubb=get_topic;f=" . $forum . ";t=" . $topicnum;
echo "<p align="right"><b><a href="$morepath">Read More...</a></b></td>";
echo "</tr>";
echo "<tr>";
echo "<td width="100%" class="spacer" colspan="4"><hr></td>";
echo "</tr>";
echo "<tr>";
echo "<td width="100%" colspan="4">";
print($postdet);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td width="100%" class="spacer" colspan="4"><hr></td>";
echo "</tr>";
echo "<tr>";
echo "<td width="33%">Posted by ";
print("<a href="$authorurl">$author</a> at $postdate $posttime");
echo "</td>";
echo "<td width="33%" colspan="2">";
echo "<p align="center"><a href="http://www.undergroundnews.com/#top">Return to Top</a></td>";
echo "<td width="33%">";
$commentpath = $CGIURL . "/ultimatebb.cgi?ubb=reply;f=" . $forum . ";t=" . $topicnum;
echo "<p align="right"><a href="$commentpath">Comments ($comment_count)</a></td>";
echo "</tr>";
echo "</table>

";
If you include breaks in your table code you'll want to remove them from the line:
Code
        echo "

";
Any questions just post 'em.


UBBDev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.threads: My UBB Themes, My UBB Scripts
Sponsored Links
Entire Thread
Subject Posted By Posted
How to add table tags to UbbNews Hack. Ruben Rocha 11/19/2003 4:52 AM
Re: How to add table tags to UbbNews Hack. Gizmo 11/19/2003 5:57 AM
Re: How to add table tags to UbbNews Hack. Ruben Rocha 11/20/2003 1:29 PM
Re: How to add table tags to UbbNews Hack. Gizmo 11/21/2003 5:13 AM
Re: How to add table tags to UbbNews Hack. Gizmo 11/21/2003 5:14 AM

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:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,575
Posts293,931
Members13,823
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
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-2025 VNC Web Services