Page Index Toggle Pages: [1] 2  Send TopicPrint
Hot Topic (More than 10 Replies) Recent forum posts on a web page. (Read 9453 times)
Mr. B
New Member
*
Offline


Pseudo-webmaste r

Posts: 7
Joined: Mar 24th, 2002
Gender: Male
Recent forum posts on a web page.
Mar 24th, 2002 at 6:50am
Print Post  
I browsed the mod section for a while to no avail, i'm looking for code that would show the recent forum posts an a web page, like Boardmod had, and is rewriting.
  


Back to top
WWWICQ  
IP Logged
 
Michael
God Member
*****
Offline


Recursion \Re*cur"sion\,
n. - See recursion.

Posts: 1003
Joined: Oct 23rd, 2001
Gender: Male
Re: Recent forum posts on a web page.
Reply #1 - Mar 24th, 2002 at 1:18pm
Print Post  
http://boardmod.yabbforum.com/mods.php?dl=246&filename=print_headlines12.zip

Cool site you've got their, great signature, too. Wink
  

~ Michael ~
-------------
The MikeCam
A truly wise man never plays leapfrog with a unicorn.
Back to top
IP Logged
 
Mr. B
New Member
*
Offline


Pseudo-webmaste r

Posts: 7
Joined: Mar 24th, 2002
Gender: Male
Re: Recent forum posts on a web page.
Reply #2 - Mar 25th, 2002 at 1:14am
Print Post  
Thanks for the link.  I still can't get it to work though.  I've entered the code in to my shtml page and all I see is the code I typed.

<--#exec cgi="./cgi-bin/yabb/Headlines.pl" -->

That being the case, i'd have to believe there's something wrong with that code.

The file, headlines.pl, is in the right place and has been CHMODed 755.

SSI is working, I have a news script on the same page.

ANy help would be appreciated.
  


Back to top
WWWICQ  
IP Logged
 
Christer Alexander
God Member
*****
Offline


Make my day...

Posts: 3443
Location: Lethbridge
Joined: Feb 10th, 2002
Gender: Male
Re: Recent forum posts on a web page.
Reply #3 - Mar 25th, 2002 at 10:02am
Print Post  
Quote:
<--#exec cgi="./cgi-bin/yabb/Headlines.pl" -->


OK, so I'm a newbie at SHTML but shouldn't it be <!--#exec cgi="./cgi-bin/yabb/Headlines.pl" -->
??? ???
  

Code
Select All
unless(0) { stab("LoonyPandora"); next; } 

Back to top
IP Logged
 
Michael
God Member
*****
Offline


Recursion \Re*cur"sion\,
n. - See recursion.

Posts: 1003
Joined: Oct 23rd, 2001
Gender: Male
Re: Recent forum posts on a web page.
Reply #4 - Mar 25th, 2002 at 10:06am
Print Post  
That's right, you need the exclamation mark at the beginning.
  

~ Michael ~
-------------
The MikeCam
A truly wise man never plays leapfrog with a unicorn.
Back to top
IP Logged
 
Christer Alexander
God Member
*****
Offline


Make my day...

Posts: 3443
Location: Lethbridge
Joined: Feb 10th, 2002
Gender: Male
Re: Recent forum posts on a web page.
Reply #5 - Mar 25th, 2002 at 1:47pm
Print Post  
woohoo! I was right!  Cheesy
  

Code
Select All
unless(0) { stab("LoonyPandora"); next; } 

Back to top
IP Logged
 
Mr. B
New Member
*
Offline


Pseudo-webmaste r

Posts: 7
Joined: Mar 24th, 2002
Gender: Male
Re: Recent forum posts on a web page.
Reply #6 - Mar 25th, 2002 at 10:15pm
Print Post  
Thanks alot, I can't believe I didn't figure that was a standard comment.  I'm still having trouble, I get the following...

[an error occurred while processing this directive]

I'll keep working at it, i'm sure it can be fixed.  Thanks again.
  


Back to top
WWWICQ  
IP Logged
 
Michael
God Member
*****
Offline


Recursion \Re*cur"sion\,
n. - See recursion.

Posts: 1003
Joined: Oct 23rd, 2001
Gender: Male
Re: Recent forum posts on a web page.
Reply #7 - Mar 25th, 2002 at 10:30pm
Print Post  
It means there's an error in the script somehow. Try running the script alone and see what happens.
  

~ Michael ~
-------------
The MikeCam
A truly wise man never plays leapfrog with a unicorn.
Back to top
IP Logged
 
Mr. B
New Member
*
Offline


Pseudo-webmaste r

Posts: 7
Joined: Mar 24th, 2002
Gender: Male
Re: Recent forum posts on a web page.
Reply #8 - Mar 25th, 2002 at 10:45pm
Print Post  
Yup, 500 server error

http://www.thedarkmasters.net/cgi-bin/yabb/Headlines.pl

"The server encountered an internal error or misconfiguration and was unable to complete your request."

I wonder if changing the following config line in headlines.pl would fix it.

$scripturl = qq~$boardurl/YaBB.cgi~;

Perhaps it may help to making this variable a direct link like "YaBB.cgi";.  That didn't work but something close may  help, any ideas.
  


Back to top
WWWICQ  
IP Logged
 
Knight
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 85
Joined: Mar 3rd, 2002
Re: Recent forum posts on a web page.
Reply #9 - Mar 28th, 2002 at 8:03pm
Print Post  
Hey Mr. B

One of your problems I encountered before so here I go:

<--#exec cgi="./cgi-bin/yabb/Headlines.pl" -->

You before the /cgi-bin there is a .

Remove the .

It should look like this:
/cgi-bin/yabb/Headlines.pl
  

Thanks & Regards,
Indra aka Knight
Back to top
 
IP Logged
 
Floyds
New Member
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: Mar 15th, 2002
Re: Recent forum posts on a web page.
Reply #10 - Apr 8th, 2002 at 2:12pm
Print Post  
Is it posoble to edit the headlines.pl file so it can only display the headlines of 1 forum section eg News ??
  
Back to top
 
IP Logged
 
memobug
Full Member
***
Offline


I love Bonsai!

Posts: 135
Joined: Aug 30th, 2001
Re: Recent forum posts on a web page.
Reply #11 - Apr 9th, 2002 at 5:56am
Print Post  
Floyds wrote on Apr 8th, 2002 at 2:12pm:
Is it posoble to edit the headlines.pl file so it can only display the headlines of 1 forum section eg News ??


Yep

http://boardmod.yabbforum.com/yabb/YaBB.pl?board=hacks;action=display;num=101136...
  
Back to top
WWW  
IP Logged
 
Tony Greco
Guest


Re: Recent forum posts on a web page.
Reply #12 - May 11th, 2002 at 7:14pm
Print Post  
Okay, I can get the script to run, but I can't get it to "include" on the page...

I tried the suggestions above, but it still doesn't seem to want to work

Help...
  
Back to top
 
IP Logged
 
Tony Greco
Guest


Re: Recent forum posts on a web page.
Reply #13 - May 11th, 2002 at 7:23pm
Print Post  
btw, here's the code I used

<!--#exec cgi="/cgi-bin/yabb/Headlines.pl" -->
  
Back to top
 
IP Logged
 
MoverPrime
Junior Member
**
Offline


I Am!

Posts: 79
Joined: Nov 28th, 2001
Gender: Male
Re: Recent forum posts on a web page.
Reply #14 - May 23rd, 2002 at 6:06pm
Print Post  
Actually if you are on a win2k server that might be the problem. I still havent managed to get any of the headlines.pl mods to work on mine. If you are using yabb gold try the print hello and who is online mod instead. That worked perfectly for me using java script. But then I had to go and upgrade to SP1.1 and I havent had headlines on my front page since. Arghhh. The who is online part works great still though.... darn I wish someone would fix the "print hello and who is online" mod for SP1.1.  ???
  

probbly..
Back to top
WWWICQ  
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint