Posted on: 03/19/04 05:12pm
By: Anonymous (Mark)
1. I installed geeklog and love it but where is my forum??
2. How do I access admin on my site?
3. Is there a way to have RSS feed located not in a block left or right but as a center block or article?
No forum in portal?
Posted on: 03/19/04 05:19pm
By: Turias
1. The forum is a plugin. Download it at
PortalParts[*1] .
2. http://yoursite/admin/
Make sure you login as an admisitrator. Alternatively, there should be an admin functions block when you log in. You should be able to get to all the admin functions from there.
No forum in portal?
Posted on: 03/19/04 06:01pm
By: Anonymous (Mark)
Thanks for the info.
Anyone know about center blocks or topics?
What I want is to add several RSS feeds but I don't want the layout to be extremely long left and right blocks with noting in the middle. I want to be able to display some of the feeds in the middle of the page also.
No forum in portal?
Posted on: 03/19/04 06:09pm
By: Turias
I don't know much about feeds, but could you create a static page to hold the info that you want?
No forum in portal?
Posted on: 03/19/04 06:27pm
By: Anonymous (Mark)
There is no way to add an XML file to a static page that I can see. If I put the feed link in I just show the link
example:
http://rss.topix.net/rss/news/matt-drudge.xml
No forum in portal?
Posted on: 03/20/04 03:04pm
By: geKow
You would need a rss parser script to actually show the feeds. I used
RSSFeedMagic[*2] an put it on static pages.
(Example)[*3]
geKow
No forum in portal?
Posted on: 03/20/04 04:19pm
By: Anonymous (Mark)
[QUOTE BY= geKow] You would need a rss parser script to actually show the feeds. I used
RSSFeedMagic[*2] an put it on static pages.
(Example)[*3]
geKow[/QUOTE]
Your site with the news feeds looks GREAT and that's what I would like to do but am not that knowledgeable to be able to do that.
If I download and install RSSFeedMagic then how do I integrate that with geeklog and what do you put in the static pages to display this?
No forum in portal?
Posted on: 03/20/04 04:47pm
By: geKow
It's quite easy. Just download the script and place the file somewhere at your server (memorize the path (not the URL!))
Create a static page and fill in what is explained at the feedmagic page.
Simple usage
<?php
require_once("RSSFeedMagic/RSSFeedMagic.php");
$RSSFeedMagic = &new RSSFeedMagic();
// We want to retrieve the last 5 news from php.net
$RSSFeedMagic->fetch("http://www.php.net", 5);
?>
You need to enable php for the static page
geKow
No forum in portal?
Posted on: 03/20/04 05:00pm
By: Anonymous (Mark)
[QUOTE BY= geKow] It's quite easy. Just download the script and place the file somewhere at your server (memorize the path (not the URL!))
Create a static page and fill in what is explained at the feedmagic page.
Simple usage
<?php
require_once("RSSFeedMagic/RSSFeedMagic.php");
$RSSFeedMagic = &new RSSFeedMagic();
// We want to retrieve the last 5 news from php.net
$RSSFeedMagic->fetch("http://www.php.net", 5);
?>
You need to enable php for the static page
geKow
[/QUOTE]
when I enable php I have to name it something right? Does it matter what it's named and is there somewhere else this has to be put?
No forum in portal?
Posted on: 03/20/04 05:17pm
By: Anonymous (Mark)
[QUOTE BY= geKow] It's quite easy. Just download the script and place the file somewhere at your server (memorize the path (not the URL!))
Create a static page and fill in what is explained at the feedmagic page.
Simple usage
<?php
require_once("RSSFeedMagic/RSSFeedMagic.php");
$RSSFeedMagic = &new RSSFeedMagic();
// We want to retrieve the last 5 news from php.net
$RSSFeedMagic->fetch("http://www.php.net", 5);
?>
You need to enable php for the static page
geKow
[/QUOTE]
RSSFeedMagic install instructions and documentation is very little. You say memorize the path and not the URL (for what?)
Here are my install instructions:
- Edit the config file to match your settings
Match my settings??
This is config.php:
define("_RSSFM_ABSOLUTE_URI_", "http://dev.izibox.isa-geek.org/RSSFeedMagic/RSSFeedMagic");
define("_DEFAULT_CACHE_ENABLED_", true); // 3 minutes
define("_DEFAULT_CACHE_EXPIRE_", 320); // 3 minutes
define("_DEFAULT_CSS_", "default.css");
define("_DEFAULT_CACHE_DIR_", '/tmp');
how do I know
MY settings.
No forum in portal?
Posted on: 03/20/04 06:33pm
By: geKow
Sorry, I was a bit in a hurry and a bit unprecise
here we go
You can add html code to your static page too, but that is a different story.
geKow
No forum in portal?
Posted on: 03/20/04 07:12pm
By: icode
This looks like something I can do now. Thank You. I will let you know how it goes tomorrow.
No forum in portal?
Posted on: 03/20/04 08:17pm
By: Barry Vrielink
Thanks for the information geKow. I was also looking for a RSS feeder like this. I had to change 2 more things myself:
1 - Edit the public_html/RSSFeedMagic/lib/RSSFeedMagicParser.php and change the line require_once("../RSSFeedMagic/config.inc.php"); to point to a real path (instead of ..).
2 - I had to use "return $data1;" instead of "print $data1;". If I didn't use "return" it would display very strangely. I don't know why yet (learning the PHP basics right now). But if somebody knows why please enlighten me.
No forum in portal?
Posted on: 03/21/04 12:06am
By: icode
[QUOTE BY= Barry Vrielink] Thanks for the information geKow. I was also looking for a RSS feeder like this. I had to change 2 more things myself:
1 - Edit the public_html/RSSFeedMagic/lib/RSSFeedMagicParser.php and change the line require_once("../RSSFeedMagic/config.inc.php"); to point to a real path (instead of ..).
[/QUOTE]
I also had to do this to get rid of the error but I still get this error:
Fatal error: Call to undefined function: is_a() in /usr/local/psa/home/vhosts/mysite.com/httpdocs/RSSFeedMagic/RSSFeedMagic.php on line 64
This is line 64 in above file:
if(is_a($result, "RSSChannel")){
Help please. Also geKow on your page do you select
Centerblock: When checked, this Static Page will be displayed as a center block on the index page.
No forum in portal?
Posted on: 03/21/04 01:04pm
By: icode
I wrote the author and he fixed my problem. If anyone else has this problem this is how he fixed it:
is_a() is a php function that appeared with PHP 4.2.0, maybe your php version is older ?
Anyway, if you want to fix it simply replace this:
if(is_a($result, "RSSChannel")){
with:
if(get_class($result) == "rsschannel"){
No forum in portal?
Posted on: 03/21/04 02:09pm
By: icode
My next problem is I can't seem to change the look by changing the css file. I have changed some things in the standard.css file and have tried to access it with this:
$RSSFeedMagic1->setCss("../css/standard.css");
Any help on how to access a different css file?
No forum in portal?
Posted on: 03/21/04 04:06pm
By: geKow
He, I'm glad that it worked for you. Sorry i forgot the "../RSSFeedMagic/config.inc.php" path change. Good that you found out.
geKow
No forum in portal?
Posted on: 03/21/04 11:11pm
By: Turias
[QUOTE BY= icode] My next problem is I can't seem to change the look by changing the css file. I have changed some things in the standard.css file and have tried to access it with this:
$RSSFeedMagic1->setCss("../css/standard.css");
Any help on how to access a different css file?[/QUOTE]
The easiest way would probably to "import" the new css file in your current theme's css file. Use
@import url(url-to-new-file.css);
No forum in portal?
Posted on: 03/22/04 12:40am
By: icode
[QUOTE BY= Turias] The easiest way would probably to "import" the new css file in your current theme's css file. Use
@import url(url-to-new-file.css);[/QUOTE]
I am not sure I understand. Can you explain?
No forum in portal?
Posted on: 03/22/04 09:55am
By: Turias
Put that line at the top of your style.css file in your theme, but change url-to-new-file.css to the path to a new css file with the RSSFeedMagic css definitions.
No forum in portal?
Posted on: 03/22/04 11:28am
By: Anonymous (icode)
[QUOTE BY= Turias] Put that line at the top of your style.css file in your theme, but change url-to-new-file.css to the path to a new css file with the RSSFeedMagic css definitions.[/QUOTE]
All I want to do is change the css file for the RSS feed nothing else.
No forum in portal?
Posted on: 03/22/04 11:43am
By: Anonymous (icode)
I looked in the style.css file as you mentioned and cannot see what you are talking about??
No forum in portal?
Posted on: 03/22/04 12:20pm
By: Turias
Ok.
Step 1: get the CSS definition file for the RSS display
Step 2: name it rss-style.css
Step 3: place it in your theme folder
Step 4: open style.css
Step 5: put "@import url(rss-style.css);" at the top of the style.css file (remove the quotes).
Step 6: edit rss-style.css as you would like.
Step 7: do a jig