php forum
php mysql forum
php mysql smarty
 
Topic Options
#107539 - 10/26/00 11:52 AM Active.cgi (latest threads) HTML formatting for SSI
CTH Offline
Member

Registered: 09/13/00
Posts: 509
Loc: England
Hey,

I'm using Active Threads to pull the latest topics on to my front page.

Problem is though is that the way Active.cgi is written it formats the results in the most ugly way.

When I try to edit the HTML no matter what I seem to do the script always goes kaput and stops working completely.

So I was hoping someone might be able to help me out.

I believe this code is responsible for the SSI formatting ....

$PAGE .= qq(
<div align="left">
<li><FONT SIZE="1" FACE="$FontFace">
<b><a href="$NonCGIURL/Forum$threaddata[4]/HTML/$threaddata[2].html">$threadheader[8]</a></b></FONT>

<FONT SIZE="1" FACE="Times New Roman">Last Updated on $TheDate at $TheTime);</div>
}

}

}

I want to get rid of the <li> and I want to center the results consecutively down the page. Giving the fonts different colors.

Simply removing the <li> tag seemed to just crash the script for starters !!!

Can anyone please help me ????

I've been off and on at this for a month now lol

TotalNewbie

Top
#107540 - 10/26/00 10:39 PM Re: Active.cgi (latest threads) HTML formatting for SSI
empire Offline
Member

Registered: 08/17/00
Posts: 795
Loc: U S of A
hmmmmmmmmmmmmmmmmmmmm.
thats not all the code for it.
Look in the page where its embedded. there should be a "<ul>" and "</ul>" tag. get rid of them.

in the code you posted:
get rid of the "<li>" tag.
then find "<div align="left">", delete it.
find "</div>" and delete it.

what you do to format it from there is up to you. I would reccommend a table, of course. But I can't tell you exactly how to do that since I don't have all the code.

okely dokely.

------------------
-david
<FONT size="1">Choose your future.
www.antipopculture.org </FONT s>

Top
#107541 - 11/04/00 03:15 AM Re: Active.cgi (latest threads) HTML formatting for SSI
CTH Offline
Member

Registered: 09/13/00
Posts: 509
Loc: England
Empire,

This is how it outputs on my main page ...


<div align="left">
<li><FONT SIZE="1" FACE="Verdana, Arial">
<b><a href="http://www.url to post">Why Did The Chicken Cross The Road? (Last One For Tonight)!</a></b></FONT>

<FONT SIZE="1" FACE="Times New Roman">Last Updated on 04 November 2000 at 04:03 AM
<div align="left">
<li><FONT SIZE="1" FACE="Verdana, Arial">
<b><a href="http://www.url to post">Nice site MiShY</a></b></FONT>

<FONT SIZE="1" FACE="Times New Roman">Last Updated on 04 November 2000 at 04:00 AM
<div align="left">
<li><FONT SIZE="1" FACE="Verdana, Arial">
<b><a href="http://www.url to post">lets start our own story</a></b></FONT>

<FONT SIZE="1" FACE="Times New Roman">Last Updated on 04 November 2000 at 02:45 AM
<div align="left">
<li><FONT SIZE="1" FACE="Verdana, Arial">
<b><a href="http://www.url to post">Disappearing C-ROM</a></b></FONT>

<FONT SIZE="1" FACE="Times New Roman">Last Updated on 04 November 2000 at 12:46 AM
<div align="left">
<li><FONT SIZE="1" FACE="Verdana, Arial">
<b><a href="http://www.url to post">To All New Members and Visitors</a></b></FONT>

<FONT SIZE="1" FACE="Times New Roman">Last Updated on 04 November 2000 at 12:35 AM
<div align="left">
<li><FONT SIZE="1" FACE="Verdana, Arial">
<b><a href="http://www.url to post">How to know a graphic size........</a></b></FONT>

<FONT SIZE="1" FACE="Times New Roman">Last Updated on 04 November 2000 at 12:29 AM
<div align="left">
<li><FONT SIZE="1" FACE="Verdana, Arial">
<b><a href="http://www.url to post">Any news on......</a></b></FONT>

<FONT SIZE="1" FACE="Times New Roman">Last Updated on 04 November 2000 at 12:29 AM</ul>


and it looks terrible. If I even try putting it in a table the script gives me an SSI error.

I believe the code I posted above truely is all that is responsible for SSI output.

I mean that is a standard active.cgi (its one of the mods in the database if ya wanna take a look) and it doesn't even close any of its HTML tags !!!!

Can ya help mate ????

Thanks,

TotalNewbie

<FONT COLOR="#6699cc" SIZE="1" FACE="Verdana, Arial">This message has been edited by TotalNewbie on November 04, 2000 at 03:17 AM</font>

Top
#107542 - 11/04/00 10:58 PM Re: Active.cgi (latest threads) HTML formatting for SSI
CTH Offline
Member

Registered: 09/13/00
Posts: 509
Loc: England
~bump~


Top
#107543 - 02/26/01 01:04 AM Re: Active.cgi (latest threads) HTML formatting for SSI
NSX Offline
Junior Member

Registered: 01/29/01
Posts: 17
I want to add the results from Active or Resent topics to the front page of my web site, but I can not use SSI. Is there a way to use a Java script to pull the active HTML into a frame on a page?
In other words, I want a small framed area, about 200x200 that would display the first 5 or 6 latest topics hyper links.

My email is nsxsc@nsxsc.com

Thanks

Top
#107544 - 02/26/01 07:53 PM Re: Active.cgi (latest threads) HTML formatting for SSI
NSX Offline
Junior Member

Registered: 01/29/01
Posts: 17
I have created a non-SSI News fader type of hack. It can be used on any html page, even your index page.

Get the hack here:
non-SSI News Fader 1.0

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks