Previous Thread
Next Thread
Print Thread
Rate Thread
#222521 08/18/2002 12:24 PM
Joined: Apr 2002
Posts: 15
Newbie
Newbie
Offline
Joined: Apr 2002
Posts: 15
Hi,
Can any body help me with adding top posters to my ubbthreads.php page ?

I added the include link..it worked correctly..BUT...it shows in the wrong place..I can't add a table for it..and it wont display in any of the existing tables.

Help ?

Thank you for your time and effort.

Abdullah

Sponsored Links
dude_demon #222522 08/18/2002 3:51 PM
Joined: Apr 2002
Posts: 15
Newbie
Newbie
Offline
Joined: Apr 2002
Posts: 15
Any body ?..Help !

dude_demon #222523 08/18/2002 4:07 PM
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
I thought I answered this over at Infopop?

sjsaunders #222524 08/18/2002 11:12 PM
Joined: Apr 2002
Posts: 15
Newbie
Newbie
Offline
Joined: Apr 2002
Posts: 15
Hi,

Yes you did and I replied to that...I was hoping for more details.

Thanks

dude_demon #222525 08/18/2002 11:22 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
You got a link to what's happening?


- Allen wavey
- What Drives You?
Sponsored Links
dude_demon #222526 08/18/2002 11:32 PM
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
In your ubbthreads.tmpl file, just below this line:


<? //UBBTREMARK


add this:


echo <<<UBBTPRINT
<table border="0" cellspacing="0" cellpadding="5">
<tr>
<td align="left" valign="top">
UBBTPRINT;

include "addons/ubbtnews.php";

echo <<<UBBTPRINT
</td>
<td align="left" valign="top">
UBBTPRINT;



Ok now just before this line:


/* UBBTREMARK */ ?>


Add this:


echo <<<UBBTPRINT
</td>
</tr>
</table>
UBBTPRINT;


That should be all that is needed to pull the ubbtnews.php script into the ubbthreads.tmpl file. Also, remember to remove this line: require ("$path/main.inc.php"); from the ubbtnews.php script because it's not needed a second time. (ubbthreads.php has already called it)

sjsaunders #222527 08/19/2002 1:14 PM
Joined: Apr 2002
Posts: 15
Newbie
Newbie
Offline
Joined: Apr 2002
Posts: 15
Thanks for your time and effort...am gonna try it right away


dude_demon #222528 08/19/2002 2:35 PM
Joined: Apr 2002
Posts: 15
Newbie
Newbie
Offline
Joined: Apr 2002
Posts: 15
Hi,

This is the result am getting :
echo << UBBTPRINT; include "/home/mysite/www/ubbthreads/addons/ubbtposters.php"; echo << UBBTPRINT;

This is printed as text on the page ??

I did exactly what you told me ?

What's wrong here

Thanks


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
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
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,833
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-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)