Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
XML News Feeds Details »»
XML News Feeds
Version: 1.00, by JJR512 JJR512 is offline
Developer Last Online: Jun 2006 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 03-19-2002 Last Update: Never Installs: 6
 
No support by the author.

This hack presents to the user a list of news headlines from many news sources on the Internet. Each headline is a link to the full article on the respective news source's website. Headlines are available from a wide variety of news source types, such as business, entertainment, finance, society, sports, technology, and regional international and regional US news. There are, at this time, over 330 different news feeds in 15 categories.

All newsfeeds are pulled through Moreover.com. A list of all newsfeeds is pulled from an XML category list at Moreover.com and presented to the user as a checkbox list so that the user can select the specific feeds he or she wants to see. The user is also able to select how many headlines from each newsfeed will be shown.

User settings are stored in a new custom table in the database. When a user who has not yet selected any custom feeds views the news page, he or she is shown a default newsfeed. This is preset to "Top stories" but can be changed by the webmaster if desired. The user is also shown a message directing him or her to create his or her own custom list of newsfeeds. If a non-registered or unlogged-in person views the news page, he or she is also shown the default newsfeed.

Demo: A demo of this hack is currently available on my test forums here: http://www.jjr512.com/testvb/index.php There is a link below the vBulletin logo that says "News Page". This link takes you to the news feeds page. As a guest, you cannot change any settings. Feel free to login to a test-purposes registered account: Username: Test Registered User; PW: testpw.

This has been installed and tested only by myself on 2.2.2. Since I have not yet worked with 2.2.4, I cannot attest to the compatibility. However, this hack is entirely an add-on, not a modification of any existing part of vBulletin, so I do not believe there is any reason it shouldn't work on 2.2.4.

If you have any problems or questions, let me know.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-20-2002, 05:38 AM
Lesane's Avatar
Lesane Lesane is offline
 
Join Date: Oct 2001
Location: The Netherlands
Posts: 1,149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks great 'JJR512', i will install this one later. Well done, thanks.
Reply With Quote
  #3  
Old 03-28-2002, 05:36 PM
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
Posts: 1,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this hack and I really like it. I was hoping I could get some help customizing it a little bit. In the instructions it says to change the default news things to:

"the easiest way that I would suggest is to set your own settings to what you want as the default, then copy the value of the sources field for your record to the sources field for the userid=0 record. Then set your own settings to whatever you want."

I don't know how to do this. I don't want to telnet, but I have a phpadmin thingy built into my admin control panel so if I could get some instructions on how to do it, that would be great.

The other question I had is, instead of having 1 column going down the page I would like 2 columns sharing the page 50% for each, with each being a percentage or two away from the outside (far left/far right) of the page.

Can somebody please help me with this?

I don't know what code I need to edit.

Thanks for any help you can provide me with.
Reply With Quote
  #4  
Old 04-07-2002, 01:35 AM
John's Avatar
John John is offline
 
Join Date: Mar 2002
Location: Norwich, UK
Posts: 1,543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This doesn't work for me at all

When I load the newsfeed.php file, it just loads and loads and loads - but nothing ever comes up. Seems to work on the demo site though...
Reply With Quote
  #5  
Old 04-09-2002, 10:14 PM
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
Posts: 1,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Gutspiller
I installed this hack and I really like it. I was hoping I could get some help customizing it a little bit. In the instructions it says to change the default news things to:

"the easiest way that I would suggest is to set your own settings to what you want as the default, then copy the value of the sources field for your record to the sources field for the userid=0 record. Then set your own settings to whatever you want."

I don't know how to do this. I don't want to telnet, but I have a phpadmin thingy built into my admin control panel so if I could get some instructions on how to do it, that would be great.

The other question I had is, instead of having 1 column going down the page I would like 2 columns sharing the page 50% for each, with each being a percentage or two away from the outside (far left/far right) of the page.

Can somebody please help me with this?

I don't know what code I need to edit.

Thanks for any help you can provide me with.
Bump!
Reply With Quote
  #6  
Old 04-15-2002, 12:38 AM
pgowder's Avatar
pgowder pgowder is offline
 
Join Date: Nov 2001
Location: West Columbia, SC
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I also installed it with no success.

There is nothing on the newsfeed.php page???

Thanks
Reply With Quote
  #7  
Old 04-17-2002, 08:43 PM
pgowder's Avatar
pgowder pgowder is offline
 
Join Date: Nov 2001
Location: West Columbia, SC
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello????
Reply With Quote
  #8  
Old 01-11-2003, 10:44 PM
lifesourcerec's Avatar
lifesourcerec lifesourcerec is offline
 
Join Date: Jan 2002
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works fine with me. Just takes a while for the articles to show up. Had to remove the images since they were not included in the zip file. Overall, nice hack. Now trying to figure out how to pre-pick the news feeds.
Reply With Quote
  #9  
Old 06-17-2003, 01:55 PM
Intex Intex is offline
 
Join Date: Apr 2002
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

JJR512 - excellent hack. Installed perfectly. Just need to work on some customisation.

I notice you're running myvbindex on your site too and you have this display in the central area. Can you let me know how you did this? Thx .

[high]* Intex clicks install.[/high]
Reply With Quote
  #10  
Old 07-04-2003, 01:34 PM
Intex Intex is offline
 
Join Date: Apr 2002
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sometimes this produces an execution timeout as its exceeded 30 seconds to display the page. I guess because of delays to the news server etc.

Where can I change the execution timeout. Would this be an overall PHP setting?
Reply With Quote
Reply

Thread Tools

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. The time now is 01:18 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07843 seconds
  • Memory Usage 2,289KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete