View Full Version : Newsfeed with Selector menu on vbAdvanced CMPS
tomshawk
10-26-2004, 10:00 PM
Hello Everyone
This little mod, is great if you want to incorporate news feeds into the vbAdvanced CMPS
There is the one Prerequisite: I use the freeware version of carp,
but, if you have another aggregator you can modify this mod 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
Update:
updated instruction.txt file in the zip to comment on the carp path ;)
nautiqeman
10-27-2004, 02:08 PM
Great! -- btw I'm on vbAdvanced.com too :) -- I'm the same guy that asked you for this. Installed and working -- thanks!!!!
tomshawk
10-28-2004, 01:07 AM
Great! -- btw I'm on vbAdvanced.com too :) -- I'm the same guy that asked you for this. Installed and working -- thanks!!!!
Glad you got it working and glad you like ;)
The Realist
10-28-2004, 05:22 PM
Installed and working 100%
Noticed in the php file you have not stated that the following needs changing as well to the correct path:
<?php
require_once "/home/techun/carp/carp.php";
Needs to be the path of the new user not the path to your site.
tomshawk
10-28-2004, 11:14 PM
Installed and working 100%
Noticed in the php file you have not stated that the following needs changing as well to the correct path:
Needs to be the path of the new user not the path to your site.
Thank you "The Realist" Updated the instruction file in the zip. ;)
Boofo
10-29-2004, 09:05 PM
Good idea. thank you, sir ;)
Now, can I have the Merllin setup you have. It is great! ;)
tomshawk
10-30-2004, 12:47 AM
Good idea. thank you, sir ;)
Now, can I have the Merllin setup you have. It is great! ;)
Thank you, glad you like ;)
The person that created the Merlin setup, said he'll be releasing soon.
That was a couple of weeks ago, I'll ask him about it. ;)
Remember though, anybody that wants it.
Only IE users can view the actual script. :p
I also only have it set up so Unregistered/Not logged in users can see it
tomshawk
10-30-2004, 05:16 AM
Now, can I have the Merllin setup you have. It is great! ;)
I just talked to the person that wrote the Merlin Module, he said he'll be releasing it sometime next week.
;)
NYI Fan
12-31-2004, 01:12 PM
Tom
This is GREAT! Installed without a hitch, and even though it's only been functional about an hour, I have already had a BUNCH of PMs from members who love this new feature!!
THANK YOU!
*clicks install*
tomshawk
12-31-2004, 04:52 PM
Tom
This is GREAT! Installed without a hitch, and even though it's only been functional about an hour, I have already had a BUNCH of PMs from members who love this new feature!!
THANK YOU!
*clicks install*
Thanks NYI Fan
This is easily my biggest hack to date, and I am glad it is welcomed so ;)
Happy New Year!!!
NYI Fan
12-31-2004, 04:58 PM
You're very welcome Tom!! It's praise well deserved!
And in case anyone wanted a different image for the news.gif, one of my members made these two for me, so I thought I would post 'em here to share with anyone who might want a choice (NO offense meant on the original, AT ALL! Just figured if someone wanted a choice, they could have one :) The background has been changed to match my colors, but should be very easy to change to match any forum - if anyone wants/needs a transparent version, just yell!
Happy and a healthy new year to you as well! May it be full of many more wonderful hacks from all of you wonderful, generous hackers!
dethfire
12-31-2004, 05:56 PM
can we get this without vbadvanced?
tomshawk
12-31-2004, 06:59 PM
can we get this without vbadvanced?
I cant imagine why it would not work with vbindex, but I have not played with it, so I dont know how the templates work.
As far as other portals, pretty much the same, you'll have to play with it.
Please let me know though if you get it working, as I am curious.
Just for giggles, What do you plan on using this with?
aranthorn
01-06-2005, 10:18 PM
Naw-ice, installed
vulture
03-25-2005, 03:43 PM
In template.txt it refers to pages.php
Can't find this anywhere. I'm using 3.0.7
tomshawk
04-03-2005, 04:01 PM
In template.txt it refers to pages.php
Can't find this anywhere. I'm using 3.0.7
Sorry vulture,
That is a link to a page I created with links of interest on my site
http://www.tech-unity.com/pages.php?getpage=RSS
You can change that link to whatever you want, or just remove it ;)
Blackbeard
04-04-2005, 07:52 AM
Iam having a few problems, iam getting a 404 error message when i select feed1.php on menu selector, i have put feed1.php in the carp folder and its chmod 711(folder is).
I get the welcome screen ok, but when selected not, but when i type url direct to feed1.php the screen with information comes up
here is my homepage to see what i mean
http://www.learnall-forum.com
tomshawk
04-04-2005, 05:10 PM
Iam having a few problems, iam getting a 404 error message when i select feed1.php on menu selector, i have put feed1.php in the carp folder and its chmod 711(folder is).
I get the welcome screen ok, but when selected not, but when i type url direct to feed1.php the screen with information comes up
here is my homepage to see what i mean
http://www.learnall-forum.com
the feed1.php file should not go into the carp folder.
The feed1.php file should go into the forumroot/feed directory like this
http://www.learnall-forum.com/feed/feed1.php
HTH
Blackbeard
04-04-2005, 06:51 PM
Thanks m8 got it sort, got your message on vbadvance
Starscream
04-05-2005, 11:26 PM
Is it possible to change the color of the scrolling news font? I have a dark theme and black lettering is not visible. I would appreciate the help.
BTW, this hack is great!
SRuvbnhad
04-07-2005, 03:40 PM
Is there a way for it to default to a certain feed without it actually having to be selected? Example, you go to a certain site and the news feed is already there for whatever.com without having to select it. I tried deleting the first option and creating a feed0.php but it doesn't work.
EDIT: NM I figured it out.
tomshawk
04-08-2005, 01:24 AM
Is there a way for it to default to a certain feed without it actually having to be selected? Example, you go to a certain site and the news feed is already there for whatever.com without having to select it. I tried deleting the first option and creating a feed0.php but it doesn't work.
EDIT: NM I figured it out.
Would you mind posting your code for us? I think it should be pretty simple, but being very busy right now, I dont have as much time as i'd like to tinker with things at the moment.
Starscream,
This should be fairly simple, i'll see if I can spend a few minutes on this, but... if you have an account at vbAdvanced there is a gentleman there that figured alot of these things out.
http://www.vbadvanced.com/forum/showthread.php?t=3098&page=2&pp=30
the post in question is by Protoss
HTH
NICE MOD - TOMSHAWK.
Q1:
// Display it
CarpCacheShow('http://www.linuxjournal.com/news.rss');
^^^^^^^^^^^^^^^^
is this where I will add my list of newsfeed drop down option???
Q2:
Where can I get newsfeed fo other stuff besides technical news... for instance i am looking for newsfeed on medical news.. that has some specific words in the news.
Can I do that using this mod??
appreciate your help
tomshawk
04-08-2005, 08:58 AM
NICE MOD - TOMSHAWK.
Q1:
// Display it
CarpCacheShow('http://www.linuxjournal.com/news.rss');
^^^^^^^^^^^^^^^^
is this where I will add my list of newsfeed drop down option???
Q2:
Where can I get newsfeed fo other stuff besides technical news... for instance i am looking for newsfeed on medical news.. that has some specific words in the news.
Can I do that using this mod??
appreciate your help
Just replace this "http://www.linuxjournal.com/news.rss" with the link to the rss feeds you want to use.
This will get the first one working, use the instructions to get more working ;)
Yes, you can use rss feeds for other things, i.e. not technical, but anything you want. the hard part for you is finding the medical feeds you want to use. ;) I dont have any for you :( , but, some of the medical sites you visit reguarly should have some feeds.
Here is one site that offers some ;)
http://www.medicinenet.com/rss/article.htm
Good luck with this
In template.txt it refers to pages.php
Can't find this anywhere. I'm using 3.0.7
I suppose that is a custom page that you will have to make..its not part of VB. I think Tomshawk wud know about it since he has it on his website.
TomsHawk - few things for you.
1. Excellent HACK! thumps up. I have been looking for something simmilar but did not find anything interesting. RSS is hte most underutilized aspect of forums/BB and u have done a good job.
I have rated the thread as all stars!
2. I am not sure if it is something that is possible but if I can somehow get a better display of the feeds.. then that would be just AWESOME
write now I have the feed up on seperate page but I was wondering if there is an option to have a break after each news item and maybe change the font etc.........that would look better on my boards. any suggestions on that.
Plus a question - Like CARP - are there are any newsfeed display softwares that have a GUI backend so that admins can configure the look and fee of each news feed?
cheers,
Vik
SRuvbnhad
04-11-2005, 05:20 AM
Would you mind posting your code for us? I think it should be pretty simple, but being very busy right now, I dont have as much time as i'd like to tinker with things at the moment.
This is what I did to have it default to a specific feed on a page load:
<form name="form">
<select name="select" onChange="displaydesc(document.form.select, thetext, 'textcontainer')">
<!--Feed 0-->
<option>Business Week - Top News</option>
<!--Feed 1-->
<option>Business Week - Investors News</option>
<!--Feed 2-->
<option>Business Week - Small Business News</option>
<!--Feed 3-->
<option>Alabama Weather Alerts</option>
<!--Feed 4-->
<option>Fox News - US & World</option>
<!--Feed 5-->
<option>Fox News - Business</option>
</select>
</form>
</span></td>
</tr>
<tr>
<td class="alt1" align="left"> <span id="textcontainer"></span>
<script type="text/javascript">
var thetext=new Array()
thetext[0]="<iframe width=\"100%\" height=\"200\" frameborder=\"0\" scrolling=\"no\" src=\"feed/feed0.php\" ></iframe>";
thetext[1]="<iframe width=\"100%\" height=\"200\" frameborder=\"0\" scrolling=\"no\" src=\"feed/feed1.php\" ></iframe>";
thetext[2]="<iframe width=\"100%\" height=\"200\" frameborder=\"0\" scrolling=\"no\" src=\"feed/feed2.php\" ></iframe>";
thetext[3]="<iframe width=\"100%\" height=\"200\" frameborder=\"0\" scrolling=\"no\" src=\"feed/feed3.php\" ></iframe>";
thetext[4]="<iframe width=\"100%\" height=\"200\" frameborder=\"0\" scrolling=\"no\" src=\"feed/feed4.php\" ></iframe>";
thetext[5]="<iframe width=\"100%\" height=\"200\" frameborder=\"0\" scrolling=\"no\" src=\"feed/feed5.php\" ></iframe>";
I added a feed0.php to the feed directory and just modified/removed some of the other code that was not necessary for it to work. So far it works flawlessly; granted it's not too pretty but for this particular site that's not a problem.
Live demo: http://minemanage.com
tomshawk
04-15-2005, 04:35 AM
The CARP website has been down for days now. Where are you guys getting the CARP software. Are they still around?
Any alternatives to using CARP?
If you are still interested in this addon, the Carp website is back up and running
;)
brianstevz
05-03-2005, 02:00 AM
Installed and works great. Took a little time to find which RSS streams I wanted but great hack!
tomshawk
05-05-2005, 04:38 AM
hey Tom,
Is there a way your mod can be adapted for CARP and GROUPER for news feeds to display on a vbAdvanced CMPS page.
The reason why I ask is because with GROUPER I can convert Google news searches into RSS feeds - which is my real objective: converting Google news searches into RSS and displaying on a vbAdvanced CMPS page.
Thoughts?
Hello blkatt,
I just read through the instructions for grouper.
It looks like it would be rather easy to do.
The instructions for grouper states creating a php file with the path to grouper.php and a set of search terms.
Once you upload this new php file, in my module you'll create a feed#.php file with its link pointing to this one you just uploaded.
And, the grouper.php file defaults to google, so it should work perfectly ;)
Give me a hollar if you want or need help setting this up, I wouldn't mind checking it out, but I myself, at least at the moment, dont need it. ;)
Good luck ;)
brianstevz, Congrats, I'm glad you like it ;)
blkatt
05-05-2005, 10:41 PM
Thanks Tom,
I may take you up on your offer for some assistance in setting this up. I am going to give it a shot this evening. I must admit I am a bit technically challenged at times. :) I'll let you know how it goes.
Thank you for all your help.
BigIke
05-11-2005, 08:08 PM
Hey great addon Tom. One question though- my news feed (http://sports.espn.go.com/espn/rss/news) displays everything in Times New Roman. Is there a way to change the font and font size so that everything looks "seamless"? My initial thought was that one of the carp files might need to be modified, but I didn't want to mess up what I've got so far. Thanks again for the addon
BigIke
05-14-2005, 02:40 PM
bump
tomshawk
05-14-2005, 02:52 PM
Hey great addon Tom. One question though- my news feed (http://sports.espn.go.com/espn/rss/news) displays everything in Times New Roman. Is there a way to change the font and font size so that everything looks "seamless"? My initial thought was that one of the carp files might need to be modified, but I didn't want to mess up what I've got so far. Thanks again for the addon
Sorry bringindaruckus,
I'm sorry for the late reply.
If you have an account over at vbadvanced, someone posted a way for you change fonts and what not, His name is Protoss, so he gets the credit for this. I attached the file
Just change to your feed and test it. Remember to save a copy of your feed file in case you dont like the changes. ;)
I hope it helps
BigIke
05-14-2005, 09:40 PM
awesome tom, thanks again... worked perfectly :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.