php forum
php mysql forum
php mysql smarty
 
Topic Options
#39666 - 02/26/01 07:43 PM non-SSI News Fader for your Home Pages
NSX Offline
Junior Member

Registered: 01/29/01
Posts: 17
Since my service provder would not allow me to have SSI pages, I created this simple hack to display the Latest Active Topics on my Index page and other non-Forum pages to drive traffic to my site.

This is like the news fader hack, but you don't need SSI.

Please read the nonSSInewsfader.txt file before asking for help. Do not modify the search2.txt file, simply rename it per the instructions and save it to your cgi directory.

Demo: NSXSC.com

Two files are needed for this hack, but not much coding is required.

non-SSI News Fader 1.0
Second required file

Please ask for help here, no email please.

Enjoy!

Top
#39667 - 02/28/01 09:23 PM Re: non-SSI News Fader for your Home Pages
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
I like it NSX, thanks... my web host at stand's present site doesn't have a clue on how to set SSI for cgi scripts up, this should look good anyways.
_________________________
- Allen wavey
- What Drives You?

Top
#39668 - 02/28/01 09:38 PM Re: non-SSI News Fader for your Home Pages
NSX Offline
Junior Member

Registered: 01/29/01
Posts: 17
Thanks Allen, coming from you that means a lot.

- Bill

Top
#39669 - 02/28/01 09:49 PM Re: non-SSI News Fader for your Home Pages
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
You are welcome.
You probably want to take the $header out of the output, for those with lots of header... will really mess up the output. You have the $footer taken out already.

Other than that, looks good.
_________________________
- Allen wavey
- What Drives You?

Top
#39670 - 02/28/01 10:22 PM Re: non-SSI News Fader for your Home Pages
NSX Offline
Junior Member

Registered: 01/29/01
Posts: 17
Oh yeah, forgot about that.

I'll change the download.

Thanks

Top
#39671 - 03/09/01 05:54 PM Re: non-SSI News Fader for your Home Pages
Schu Offline
Junior Member

Registered: 03/09/01
Posts: 22
Hey, great hack.. how can I add the username next to the post?
_________________________
bbs.foofighters.com

Top
#39672 - 03/09/01 06:15 PM Re: non-SSI News Fader for your Home Pages
NSX Offline
Junior Member

Registered: 01/29/01
Posts: 17
You can leave the name, or other info in the hack by simply looking at the search.cgi file and compairing it to the search2.cgi file and putting back in any html code that you want.

Top
#39673 - 03/10/01 01:15 AM Re: non-SSI News Fader for your Home Pages
TroyR Offline
Junior Member

Registered: 03/10/01
Posts: 12
Can this be setup to show only the most recent threads from one particular forum? Will it show them if they have not been replied to in the last day?

I'd like to be able to set up a section that only allows certain people to start threads with newsworthy items. In particular, I might be able to use this for a 'newsletter' that is published on the site every week.

That way the guy that publishes it could get the latest links to show up on the front page of the site without my having to edit the front page myself every week to update the links.

Top
#39674 - 03/10/01 10:39 AM Re: non-SSI News Fader for your Home Pages
NSX Offline
Junior Member

Registered: 01/29/01
Posts: 17
You know, I'm not sure. All this hack does is take the UBB search results and display them. So if you can create a search result with the items you are asking about, it could be done. But that is over my head. Anyone?

Top
#39675 - 03/10/01 11:38 AM Re: non-SSI News Fader for your Home Pages
TroyR Offline
Junior Member

Registered: 03/10/01
Posts: 12
Yep. I can do that. Thanks.

Top
#39676 - 03/11/01 09:56 AM Re: non-SSI News Fader for your Home Pages
DavidB Offline
Junior Member

Registered: 03/11/01
Posts: 1
Any idea why we would be getting "Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator,
..." when we run the search2.cgi?

[ March 11, 2001: Message edited by: DavidB ]

Top
#39677 - 03/14/01 01:27 PM Re: non-SSI News Fader for your Home Pages
tcsokas1 Offline
Junior Member

Registered: 03/14/01
Posts: 4
Loc: Michigan
Thanks alot! I was just in the middle of putting together a home page for my site.
Since last week we been trying figure out
how to make the topics updated on my home page without having to change it all the time.
You hack has made my site a lot better! http://www.thenflforum.com

Homepage is in the process of getting completed..

Thanks alot,
tcsokas
thenflforum.com
_________________________
If you like Football or any sports please stop by The NFL Forum

Top
#39678 - 03/14/01 02:51 PM Re: non-SSI News Fader for your Home Pages
NSX Offline
Junior Member

Registered: 01/29/01
Posts: 17
I found out another way of using this cool hack. The current hack uses a scroll window, but you could also have the current topics show up just like a part of your page. You can see an example at www.nsxsc.com/news.html Just look at the lower, right hand corner. My lastest topics show up as part of the page now. You still need to download the search2.txt file and change it to search2.cgi and upload to your cgi-bin. But instead of using the first file for creating the scroll window like I'm using here: www.nsxsc.com, you can use the following code to insert your current active topics into any page:

<!--webbot bot="HTMLMarkup" startspan --><object type="text/x-scriptlet" width=100% height="400" data="http://www.nsxsc.com/cgi-bin/search2.cgi?action=getdaily">
</object><!--webbot bot="HTMLMarkup" endspan -->

Be sure to change the URl location in the script or you will be posting my topics!

Have fun!

[ March 14, 2001: Message edited by: NSX ]

Top
#39679 - 01/16/03 08:30 AM Re: non-SSI News Fader for your Home Pages
Metallifukinca Offline
Member

Registered: 08/21/00
Posts: 620
Loc: Toronto, Ont
Dude, you still have this code laying around ?
I tried emailing you, but the email comeback

Top
#39680 - 01/20/03 09:56 AM Re: non-SSI News Fader for your Home Pages
Metallifukinca Offline
Member

Registered: 08/21/00
Posts: 620
Loc: Toronto, Ont
i guess not frown

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