Page Index Toggle Pages: 1 ... 8 9 [10] 11 12 ... 14 Send TopicPrint
Very Hot Topic (More than 25 Replies) RSS Feed for YaBB2 1.0 Beta 7 (Read 64267 times)
SSR
New Member
*
Offline


I love YaBB 2.1

Posts: 19
Joined: Jul 28th, 2006
Re: RSS_Feed_b6
Reply #135 - Jul 28th, 2006 at 6:00pm
Print Post  
johnjames123 wrote on Jul 13th, 2006 at 6:17am:
hi...

i am running YaBB 2.1 and have downloaded the mod RSS Feed (RSS_Feed_b6.zip) from here: http://www.boardmod.org/yabb/YaBB.pl?board=beta_y2;action=display;num=1119283954...

Post applying the mod through BoardMod 2.5.5, i uploaded the files on the server.

After i click on AdminCenter > BoardMod Mods > RSS Feed, i get the following error:

Untrapped Error:
Can't locate rdName/Sources/RSS_Feed.pl at AdminIndex.pl line 118.

i have already uploaded the file RSS_Feed.pl in the Sources directory (/home/username/public_html/myBoardName/Sources/)

i dont know why still the error... pleaase help... i am a first time installer of mods and know very little about PERL...

thanks for your time...

john



I had the same problem on a brand new board.
It looks like the admin file is missing from the zip file, there is a admin folder but no file in it.
  
Back to top
YIM  
IP Logged
 
xgreek
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 4
Joined: May 31st, 2006
Re: RSS Feed for YaBB2 1.0 beta1
Reply #136 - Jul 29th, 2006 at 9:11am
Print Post  
This is an old script that I was using...

###################################
#
# Elmware's Article Script v1.1.
# by Martin Gill William Elmgren.
#
# This script will post the articles (not including replies) of a designated Board on a web page.  The Webserver
# must support PHP in order to use this script.  Handy as an article publisher, and doesn't wast disk space
# creating two sets of files for each article because it uses the YaBB Boards and Messages files directly to
# display articles on the page.
#
# You may also create a template to customize the appearance of the articles on this page.  All you need to do is
# place the following tags inside the file called template.txt:
#
# <YaBB-Title>This will show the Subject of the post.
# <YaBB-Author>This will show the Author of the post.
# <YaBB-Article>This will display the entire message.
# Note: YaBBCodes do not work in this script.  If you know how to put them in, you are welcome to do so.
#
# This script works fine with YaBB2.  I don't know if it will work with any other version.
#
###################################

$YaBB_URL = "http://www.apocolypticaftermath.com/cgi-bin/yabb2/";
# pl or cgi
$YaBB_extension = "pl";

# Absolute path to YaBB.
$path_to_YaBB = "E:\virtualroot\athrud\apocolypticaftermath\cgi-bin\yabb2";

# Board Name(not Board Title).
$board_name = "news";

# Number of post to display.
$number_of_post = 20;

# Absolute path to this script and template.txt
$path_to_script = "E:\virtualroot\athrud\apocolypticaftermath";

###################################

$temp_filename = "rsstemplate.html";
$template_file = fopen($temp_filename, "r");
$template = fread($template_file, filesize($temp_filename));
fclose($template_file);
$board_file = file("$path_to_YaBB" . '/Boards/' . "$board_name" . '.txt');
for ($i=0; $i < count($board_file); $i++)
{
  if ($i < $number_of_post)
  {
    $temp = explode("|", $board_file[$i]);
    $threadid[] = $temp[0];
    $thread_filename = "$path_to_YaBB" . '/Messages/' . "$threadid[$i]" . '.txt';
    $thread_file = file("$thread_filename");
    $temp = explode("|", $thread_file[0]);
    $template_out = $template;
    $template_out = str_replace("<YaBB-Title>","$temp[0]",$template_out);
    $template_out = str_replace("<YaBB-Author>","$temp[1]",$template_out);
     $template_out = str_replace("<YaBB-Email>","$temp[2]",$template_out);
    $template_out = str_replace("<YaBB-Article>","$temp[8]",$template_out);
    echo "$template_out\r\n";
  }
}
##echo '<p><a href="' . "$YaBB_URL" . '/YaBB.' . "$YaBB_extension" . '?board=' . "$board_name" . '">Archives</a></p>' . "\r\n";

The point is that it still works with the latest version of yabb.  Now I'm not too sure of how all this works (and it's 5am) but it's able to grab the name of the person who posted the message.  Can this be used at least for people like myself who use http://www.feedforall.com/more-php.htm this script to convert it into HTML?
  
Back to top
 
IP Logged
 
SSR
New Member
*
Offline


I love YaBB 2.1

Posts: 19
Joined: Jul 28th, 2006
Re: RSS Feed for YaBB2 1.0 beta1
Reply #137 - Jul 29th, 2006 at 8:12pm
Print Post  
Is there any way to set RSS Feed up so that it only shows the latest topics, rather than the latest posts, or all the post/topics?  ???
  
Back to top
YIM  
IP Logged
 
SSR
New Member
*
Offline


I love YaBB 2.1

Posts: 19
Joined: Jul 28th, 2006
Re: RSS Feed for YaBB2 1.0 beta1
Reply #138 - Jul 29th, 2006 at 10:56pm
Print Post  
Update:

Still cant get B6 to work so been using B5.

Got it to feed the latest topics and not the latest reply/post. By changing the RSS_Feed.pl. (see attachment)
  

RSS_Feed.zip ( 4 KB | Downloads )
Back to top
YIM  
IP Logged
 
kidgixxer
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 37
Joined: Jul 27th, 2006
Re: RSS Feed for YaBB2 1.0 beta1
Reply #139 - Aug 7th, 2006 at 3:42am
Print Post  
Hey ssr i am using b6. If i backup my RSS_Feed.pl and replace it with the one you updated. Will it only show the posts and not the replys? or do i have to go back to b5?
  
Back to top
 
IP Logged
 
SSR
New Member
*
Offline


I love YaBB 2.1

Posts: 19
Joined: Jul 28th, 2006
Re: RSS Feed for YaBB2 1.0 beta1
Reply #140 - Aug 7th, 2006 at 3:44am
Print Post  
I dont know, but i will mod B6 for you.

Edit: Up loaded changed RSS_Feed.pl for B6
  

RSS_Feed_forB6.zip ( 4 KB | Downloads )
Back to top
YIM  
IP Logged
 
kidgixxer
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 37
Joined: Jul 27th, 2006
Re: RSS Feed for YaBB2 1.0 beta1
Reply #141 - Aug 7th, 2006 at 4:03am
Print Post  
wow not only a super fast reply. But a fix also. Thanks Ssr.
  
Back to top
 
IP Logged
 
SSR
New Member
*
Offline


I love YaBB 2.1

Posts: 19
Joined: Jul 28th, 2006
Re: RSS Feed for YaBB2 1.0 beta1
Reply #142 - Aug 7th, 2006 at 4:05am
Print Post  
Just happened to be at my computer Cheesy
Let me know how it works after you test it.
  
Back to top
YIM  
IP Logged
 
kidgixxer
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 37
Joined: Jul 27th, 2006
Re: RSS Feed for YaBB2 1.0 beta1
Reply #143 - Aug 7th, 2006 at 4:18am
Print Post  
Works perfectly. Now i can let people reply. without worrying about there reply taking over the main topic in the rss feed.
Thanks again.
This should definitely be an option in this mod to let you choose to show only the first topic.

Thanks again.  Smiley
  
Back to top
 
IP Logged
 
SSR
New Member
*
Offline


I love YaBB 2.1

Posts: 19
Joined: Jul 28th, 2006
Re: RSS Feed for YaBB2 1.0 beta1
Reply #144 - Aug 7th, 2006 at 4:24am
Print Post  
kidgixxer wrote on Aug 7th, 2006 at 4:18am:
..Now i can let people reply. without worrying about there reply taking over the main topic in the rss feed....


Yeh, that's why I did it in the first place. Grin

kidgixxer wrote on Aug 7th, 2006 at 4:18am:
..This should definitely be an option in this mod to let you choose to show only the first topic...


Was going to do that in a B7 but still cant get B6 to work  ???

Glad it worked in B6 as wall as B5 Cheesy
  
Back to top
YIM  
IP Logged
 
Hagi01
New Member
*
Offline


I love WSUS

Posts: 15
Location: Essen
Joined: Jul 3rd, 2006
Gender: Male
Re: RSS Feed for YaBB2 1.0 beta1
Reply #145 - Aug 9th, 2006 at 7:17pm
Print Post  
Hi,

Does B6 run together with Sub-Board for YaBB 2.1?  ???
  
Back to top
WWW  
IP Logged
 
SSR
New Member
*
Offline


I love YaBB 2.1

Posts: 19
Joined: Jul 28th, 2006
Re: RSS Feed for YaBB2 1.0 beta1
Reply #146 - Aug 10th, 2006 at 5:29am
Print Post  
Version 1.0B7

Added ability to switch between Show latest topic, or latest post/reply.

Took admin functions out of source file (RSS_Feed.pl) and put in admin file (RSS_Feed_Admin.pl) due to install problems I and others experienced.
  

RSS_Feed_b7.zip ( 13 KB | Downloads )
Back to top
YIM  
IP Logged
 
SSR
New Member
*
Offline


I love YaBB 2.1

Posts: 19
Joined: Jul 28th, 2006
Re: RSS Feed for YaBB2 1.0 beta1
Reply #147 - Aug 10th, 2006 at 5:46am
Print Post  
Hagi01 wrote on Aug 9th, 2006 at 7:17pm:
Hi,

Does B6 run together with Sub-Board for YaBB 2.1?  ???


B7 works w/ Sub-Board 1.0.8 however you can not include subbed boards in the RSS feed.
  
Back to top
YIM  
IP Logged
 
kidgixxer
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 37
Joined: Jul 27th, 2006
Re: RSS Feed for YaBB2 1.0 beta1
Reply #148 - Aug 16th, 2006 at 4:53pm
Print Post  
SSR, again you are the man.  Grin Grin
  
Back to top
 
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: RSS Feed for YaBB2 1.0 beta1
Reply #149 - Aug 16th, 2006 at 9:40pm
Print Post  
Hi,

fantastically all that is developed and the solutions for problems are found. It is only very stupid if always a new Mod stands in a new post. If you have something new, it would be nice if you point to the newest version in your post. But nobody more soon looks by with many appendices...
  

Greeting ThM
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 ... 8 9 [10] 11 12 ... 14
Send TopicPrint