vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v1.x (Archive - Closed for Posting) > Add-On Modules & Modifications

 
 
Thread Tools Display Modes
  #1  
Old 10-27-2004, 02:11 AM
tomshawk's Avatar
tomshawk tomshawk is offline
tech-unity.com
 
Join Date: Jun 2004
Posts: 452
Cool Newsfeed with Selector menu

Hello,

This mod was talked about in this thread
I assume clord got busy, I created my own version of it, It looks alot like his, but, I dont know what he is using to pull feeds with. i.e. What Aggregator

Anyway, I used carp

Obviously, this is the one Prerequisite: but, if you have another aggregator you can modify this to use your own

Carp
http://www.geckotribe.com/rss/carp/

you can download the free version here:
http://www.geckotribe.com/rss/carp/docs/download.php

Install Instructions:
http://www.geckotribe.com/rss/carp/docs/install.php

within the zip file is an instruction.txt file that should explain everything.

Demo:
http://www.tech-unity.com

Hope you like
Attached Files
File Type: zip newsfeed.zip (5.9 KB, 658 views)
__________________




Last edited by tomshawk; 10-28-2004 at 08:18 PM.
  #2  
Old 10-28-2004, 08:19 PM
tomshawk's Avatar
tomshawk tomshawk is offline
tech-unity.com
 
Join Date: Jun 2004
Posts: 452
Default Re: Newsfeed with Selector menu

Updated the Instruction.txt file in the zip

There was something I forgot to mention about the carp path in the php file.

hope you all enjoy
__________________



  #3  
Old 11-07-2004, 04:02 PM
Sc0rpion Sc0rpion is offline
Junior Member
 
Join Date: Jun 2004
Posts: 4
Default Re: Newsfeed with Selector menu

Very nice indeed and easy to install. Installed and running great. Appreciate the work you put in.

Thankyou.


p.s Is there a way for it to display more than one feed per site. So say a site has 6 diffrent feeds, I only need to click on that sites feed link in the dropdown box and all 6 feeds will scroll one after another.
  #4  
Old 11-08-2004, 01:46 AM
tomshawk's Avatar
tomshawk tomshawk is offline
tech-unity.com
 
Join Date: Jun 2004
Posts: 452
Default Re: Newsfeed with Selector menu

Quote:
Originally Posted by Sc0rpion
Very nice indeed and easy to install. Installed and running great. Appreciate the work you put in.

Thankyou.


p.s Is there a way for it to display more than one feed per site. So say a site has 6 diffrent feeds, I only need to click on that sites feed link in the dropdown box and all 6 feeds will scroll one after another.
Yes, there is a way

open the php file for your feed that is in the feed folder you created and find the line that has the feed

example from my site:
CarpCacheShow('http://www.mcseworld.com/forums/external.php?forumids=120,177,212');

below it add
echo '<p>';
CarpCacheShow('http://www.mcseworld.com/forums/external.php');

replacing http://www.mcseworld.com/forums/external.php with the new feed from the same site

For a live example

Hit my site, and choose MCSEWorld from the list of feeds.
http://www.tech-unity.com

Glad you like
__________________



  #5  
Old 11-11-2004, 01:12 PM
Sc0rpion Sc0rpion is offline
Junior Member
 
Join Date: Jun 2004
Posts: 4
Default Re: Newsfeed with Selector menu

Thanks for pointing me in the right direction.
  #6  
Old 12-11-2004, 12:05 PM
theMusicMan's Avatar
theMusicMan theMusicMan is offline
Senior Member
 
Join Date: May 2004
Posts: 491
Default Re: Newsfeed with Selector menu

Hi tomshawk

Thanks for posting this.... however... I am stuck!!!!

What should happen when I select my newsfeed from the dropdown menu ...? Do I need to do anything else...?

Also, in the template file I see a reference to a file called mydomain/pages.php?getpage=RSS but I dont see that file anywhere in the Zip file or in the CARP installation files... what is this?

Sorry about being dull...
__________________
John
www.theMouthPiece.com - Brass music discussion
www.reflectingme.com - gallery

Last edited by theMusicMan; 12-11-2004 at 12:32 PM.
  #7  
Old 12-12-2004, 03:17 AM
tomshawk's Avatar
tomshawk tomshawk is offline
tech-unity.com
 
Join Date: Jun 2004
Posts: 452
Default Re: Newsfeed with Selector menu

Sorry theMusicMan

That reference is a link to a custom page I have set up on my site, where people can lists of feeds on my site and pull a paticular one if they want http://www.tech-unity.com/pages.php?getpage=RSS

You can change that link to something else, or get rid of it all together.

As for what it is supposed to do,
Once you click on something in the dropdown, the box itself should change to the feed which you selected and scroll up.

Check out my site, to see it in action. It will give you an idea as to what it should look like. I dont see it on your site, so I cant troubleshoot it, sorry!
__________________



  #8  
Old 12-17-2004, 08:49 AM
Jester's Avatar
Jester Jester is offline
Member
 
Join Date: Dec 2004
Posts: 31
Default Re: Newsfeed with Selector menu

I'm sure I am doing something wrong but I can't figure out how to correct the following error message:

Warning: main(/home/strofan/carp/carp.php): failed to open stream: No such file or directory in /home/strofan/public_html/feed/feed1.php on line 7

Fatal error: main(): Failed opening required '/home/strofan/carp/carp.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/strofan/public_html/feed/feed1.php on line 7


The path is correct and the files are there, what could be causing the problem?
  #9  
Old 12-17-2004, 09:22 AM
tomshawk's Avatar
tomshawk tomshawk is offline
tech-unity.com
 
Join Date: Jun 2004
Posts: 452
Default Re: Newsfeed with Selector menu

From the errors, it looks like carp is not installed, or maybe it was installed to a different directory then what was in my example.

Could I get a link to your site?
__________________



  #10  
Old 12-17-2004, 07:38 PM
Jester's Avatar
Jester Jester is offline
Member
 
Join Date: Dec 2004
Posts: 31
Default Re: Newsfeed with Selector menu

Sure the link is: www.astrosfan.org

The module is currently setup so that the Admin is the only one who can view it.
  #11  
Old 12-18-2004, 01:19 AM
tomshawk's Avatar
tomshawk tomshawk is offline
tech-unity.com
 
Join Date: Jun 2004
Posts: 452
Default Re: Newsfeed with Selector menu

Quote:
Originally Posted by Jester
Sure the link is: www.astrosfan.org

The module is currently setup so that the Admin is the only one who can view it.
Because your module is only for admins, I cant really test.

Can you make a page for it, and just post the link here?

BTW, upload the file I attached into the root of your server and open it.

You should get something like this.

http://www.tech-unity.com/ssnews.php

This will tell you if Carp is installed correctly, because the errors I see above tell me it's not yet.
__________________



  #12  
Old 12-18-2004, 06:19 AM
Jester's Avatar
Jester Jester is offline
Member
 
Join Date: Dec 2004
Posts: 31
Default Re: Newsfeed with Selector menu

Quote:
Originally Posted by tomshawk
Because your module is only for admins, I cant really test.

Can you make a page for it, and just post the link here?

BTW, upload the file I attached into the root of your server and open it.

You should get something like this.

http://www.tech-unity.com/ssnews.php

This will tell you if Carp is installed correctly, because the errors I see above tell me it's not yet.
Thank you for attaching that php utility. It appears that you are correct, as I am seeing the same error messages. So would it be in the Carp files or the vBulletin files that I need to check (to correct this problem)?

I've left the file in the root so that you could see what the error message is.
  #13  
Old 12-18-2004, 06:41 AM
Jester's Avatar
Jester Jester is offline
Member
 
Join Date: Dec 2004
Posts: 31
Default Re: Newsfeed with Selector menu

I figured out what the problem was, I did not have /public_html/ as a part of the path. Now that it is working, it is having a problem with one of my other modules. On the right side I have a scores feed from CBSSportsline.com. When both the Newsfeed and the Scores are active, the Newsfeed is appearing where the Scores are and Scores are where the Newsfeed is. Crazy..
  #14  
Old 12-19-2004, 02:58 AM
gothic1213's Avatar
gothic1213 gothic1213 is offline
Senior Member
 
Join Date: Nov 2004
Posts: 107
Default Re: Newsfeed with Selector menu

Really like the work, thankyou very much for the hard work.
However, I keep getting the following error:

Fatal error: Call to undefined function: carpconf() in /home/lcsystem/public_html/feed/feed1.php on line 10

The carp installation is as yours, so paths are all correct.
Many thanks in anticipation.
  #15  
Old 12-19-2004, 03:38 AM
tomshawk's Avatar
tomshawk tomshawk is offline
tech-unity.com
 
Join Date: Jun 2004
Posts: 452
Default Re: Newsfeed with Selector menu

Quote:
Originally Posted by gothic1213
Really like the work, thankyou very much for the hard work.
However, I keep getting the following error:

Fatal error: Call to undefined function: carpconf() in /home/lcsystem/public_html/feed/feed1.php on line 10

The carp installation is as yours, so paths are all correct.
Many thanks in anticipation.
If you did not modify the feed1.php line 10 should say

Code:
CarpConf('maxitems',10);
All this line does is tell carp how many posts to pull from the site you set.

I'm assuming the directory where you installed carp is /home/lcsystem/carp/
If it is a different directory, modify line 12 to your represent your carp.php file.

Copy the attached file to the root of your server and load it into your Web Browser

You should get the feed from my site.

If you get the same error, check your carp installation, if this file works. Post the contents of line 10 of your feed1.php file
__________________



  #16  
Old 12-19-2004, 04:43 AM
gothic1213's Avatar
gothic1213 gothic1213 is offline
Senior Member
 
Join Date: Nov 2004
Posts: 107
Default Re: Newsfeed with Selector menu

Many thanks for the really prompt reply.
I ended up having to use:
require_once "./carp/carp.php";
for line 12 in the end, no idea why! When using the original line it kept saying carp was not installed. Still, works fine now and again, many thanks.
  #17  
Old 12-19-2004, 10:26 AM
tomshawk's Avatar
tomshawk tomshawk is offline
tech-unity.com
 
Join Date: Jun 2004
Posts: 452
Default Re: Newsfeed with Selector menu

Interesting

None-the-less I'm glad it works
__________________



  #18  
Old 02-19-2005, 11:53 AM
ptmuldoon ptmuldoon is offline
Member
 
Join Date: Jan 2005
Posts: 41
Default Re: Newsfeed with Selector menu

I've got this setup and working nicely. But can someone possibly tell where to find the code to change font and font size? I'm looking in the feeds and in the carp files and can't seem to find any reference to it. It must be there, but I'm missing it.
  #19  
Old 02-21-2005, 02:45 PM
ptmuldoon ptmuldoon is offline
Member
 
Join Date: Jan 2005
Posts: 41
Default Re: Newsfeed with Selector menu

anyone?
  #20  
Old 02-25-2005, 12:19 PM
Alderwazeh's Avatar
Alderwazeh Alderwazeh is offline
alderwazeh.com..CMPS fan
 
Join Date: Jan 2005
Posts: 125
Default Re: Newsfeed with Selector menu

Thanks a lot Tomshawk...
Indeed great work ... I will install it soon ...I enjoed your site installtion for this feed and I will do the same ... I appricaite it ..
This site gives free RSS News feeds I would say .. I picked the bbc news from there
http://www.freshcontent.net/

Last edited by Alderwazeh; 02-25-2005 at 12:25 PM.
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:12 PM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.