Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Atakan Rss Feeds Views 2.00 Details »»
Atakan Rss Feeds Views 2.00
Version: 2.03, by Atakan KOC Atakan KOC is offline
Developer Last Online: Mar 2023 Show Printable Version Email this Page

Version: 3.5.8 Rating:
Released: 02-18-2006 Last Update: 04-08-2006 Installs: 91
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

Atakan RSS View Feeds 2.03 :banana:

Installation

Please 2.00 previous version lift and again install...

Installation in two easy steps:

1. Upload all the files from the "files" directory in this zip into your forums directory.

2. Import product-1901.xml as a product. (Via "Plugin System" > "Manage Products" > "Add/Import Product" in your Admin CP.)
Upgrade Info

Allow Overwrite [YES]

If you upgrate this sw you will have some problem, first you must remove the old versiyon and install the new version. Then you won't have any problem

Upload


newsview.php == forum/newsview.php
adminnewsx.php == forum/admincp/adminnewsx.php
xmlparser.php == forum/includes/xmlparser.php
cpnav_rssview.xml == forum/includes/xml/cpnav_rssview.xml

Template Change

Template: navbar

now open your navbar template:
Admincp >> Styles & Templates >> Style Manager >> *template* >> navbar

Find this code

HTML Code:
<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
Place under it

HTML Code:
<td class="vbmenu_control"><a href="newsview.php">Rss News</a></td>


Feed List

Fead Name :
Yahoo News
Feed Location :
http://rss.news.yahoo.com/rss/topstories

Fead Name : Fox News
Feed Location :
http://www.foxnews.com/xmlfeed/rss/0,4313,0,00.rss

Show Your Support

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

Comments
  #92  
Old 04-24-2006, 01:49 PM
djwins djwins is offline
 
Join Date: Jan 2005
Posts: 167
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a problem with
”™ displaying instead of '

I tried this fix here but it didnt work for this:
https://vborg.vbsupport.ru/showpost....7&postcount=82
Reply With Quote
  #93  
Old 06-13-2006, 01:06 PM
liljimmy liljimmy is offline
 
Join Date: Dec 2005
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anybody have any luck fixing the "Syndicated content not available" message after installing this hack? Like a previous poster mentioned, my host is Dreamhost.
Reply With Quote
  #94  
Old 06-17-2006, 10:20 PM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

liljimmy, it's not gonna work, until Atakan updates his hack to use the safer cURL library instead.

http://wiki.dreamhost.com/index.php/Allow_url_fopen
Reply With Quote
  #95  
Old 07-20-2006, 07:20 PM
lexx27's Avatar
lexx27 lexx27 is offline
 
Join Date: May 2005
Location: Athens
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to change the rss encoding output (not utf-8) ?
Reply With Quote
  #96  
Old 07-21-2006, 01:32 PM
yilmazcetin yilmazcetin is offline
 
Join Date: Mar 2006
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Atakan KOC
Hi kenanulas.

Turkie rss list

Sabah gazetesi
http://www.sabah.com.tr/rss/sondakika.xml

Anadolu Ajansı
http://www.aa.com.tr/rss/ajansguncel.xml

Radikal T?m Haberler
http://www.radikal.com.tr/radikal.xml

Ajansspor Formula 1
http://www.ajansspor.com/rss/formula.xml

Ajansspor Futbol
http://www.ajansspor.com/rss/futbol.xml

Ajansspor Motor Sporları
http://www.ajansspor.com/rss/motorsporlari.xml

Ajansspor Tenis
http://www.ajansspor.com/rss/tenis.xml

Ajansspor Voleybol
http://www.ajansspor.com/rss/voleybol.xml



1 ka? tanesi işine yarar sanırım. Elimde genelde spor ağırlıklı linker var

arkadaslar yardim edin bunlari nereye ekleyecegiz bende cikmadi hepsini yaptim sayfa cikiyor bos
admin cpanleldede cikanin icnde sadece su var aktifte yaptim ama su yazi var

<p>Sorry, the board is unavailable at the moment while we are testing some functionality.</p>
<p>We will be back soon...</p>
Reply With Quote
  #97  
Old 07-21-2006, 03:33 PM
yilmazcetin yilmazcetin is offline
 
Join Date: Mar 2006
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hepsini tam kurdum ama c panele gelenide aktif ettim ama sunlari nereye yazacagim
Feed List

Fead Name : Yahoo News
Feed Location : http://rss.news.yahoo.com/rss/topstories

Fead Name : Fox News
Feed Location : http://www.foxnews.com/xmlfeed/rss/0,4313,0,00.rss
c panele gelmedi yazmak icin
tsk cevabiniz iicn
Reply With Quote
  #98  
Old 07-24-2006, 08:31 AM
Lalib's Avatar
Lalib Lalib is offline
 
Join Date: Mar 2006
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yilmazcetin
hepsini tam kurdum ama c panele gelenide aktif ettim ama sunlari nereye yazacagim
Feed List

Fead Name : Yahoo News
Feed Location : http://rss.news.yahoo.com/rss/topstories

Fead Name : Fox News
Feed Location : http://www.foxnews.com/xmlfeed/rss/0,4313,0,00.rss
c panele gelmedi yazmak icin
tsk cevabiniz iicn
yılmaz kardesim vbulletin secenekler -> rss feed -> add kısmından ekliyceksin adresleri

I am LoNeLY...
Reply With Quote
  #99  
Old 07-26-2006, 12:06 PM
www.1n1n.com www.1n1n.com is offline
 
Join Date: Feb 2005
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to change the rss encoding output (not utf-8) ?
Reply With Quote
  #100  
Old 08-12-2006, 01:30 AM
hex1848 hex1848 is offline
 
Join Date: Jan 2005
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by liljimmy
Anybody have any luck fixing the "Syndicated content not available" message after installing this hack? Like a previous poster mentioned, my host is Dreamhost.
I was able to get this fixed. The reason it was breaking is that many hosting providers have disabled fopen. As mentioned in a previous post in this thread the fopen calls needed to be replaced with cURL. I did a little research to figure out what needed to be done.

You need to edit the includes/xmlparser.php file and replace the render_news function with the code below:

New function (use this):
PHP Code:
function render_news($feed_url$showdetail$headlinestyle$detailstyle) {
    global 
$show_detail$headline_style$detail_style$max$count$insideitem$insideimage$code2;
    
$insideitem=false;
    
$insideimage=false;
    
$count 0;
    
$show_detail $showdetail;
    
$headline_style $headlinestyle;
    
$detail_style $detailstyle;

    
$xml_parser xml_parser_create();
    
xml_set_element_handler($xml_parser"startElement""endElement");
    
xml_set_character_data_handler($xml_parser"characterData");
    
    
$ch curl_init();
    
curl_setopt($chCURLOPT_URL$feed_url);
    
curl_setopt ($chCURLOPT_RETURNTRANSFER1);
    
$store curl_exec ($ch);
    
$xml curl_exec ($ch);
    
curl_close ($ch); 
    
    if (!
xml_parse($xml_parser$xmlTrue))
     {
     die(
sprintf("XML error: %s at line %d",
      
xml_error_string(xml_get_error_code($xml_parser)),
      
xml_get_current_line_number($xml_parser)));
     }
 
    
// Free up memory used by the XML parser
    
xml_parser_free($xml_parser);

Old function (for comparison):

PHP Code:
function render_news($feed_url$showdetail$headlinestyle$detailstyle) {
    global 
$show_detail$headline_style$detail_style$max$count$insideitem$insideimage$code2;
    
$insideitem=false;
    
$insideimage=false;
    
$count 0;
    
$show_detail $showdetail;
    
$headline_style $headlinestyle;
    
$detail_style $detailstyle;

    
$xml_parser xml_parser_create();
    
xml_set_element_handler($xml_parser"startElement""endElement");
    
xml_set_character_data_handler($xml_parser"characterData");
    
$fp = @fopen($feed_url,"r");
//           or die("Error reading RSS data.");
    
if ($fp) {
        while (
$data fread($fp4096))
           
xml_parse($xml_parser$datafeof($fp))
               or die(
sprintf("XML error: %s at line %d",  
                   
xml_error_string(xml_get_error_code($xml_parser)),  
                   
xml_get_current_line_number($xml_parser)));
        
fclose($fp);
        } else {
        
$code2 .= "<span class=\""$detail_style ."\">Syndicated content not available</span>";
        }
        
    
    
// Free up memory used by the XML parser
    
xml_parser_free($xml_parser);

Reply With Quote
  #101  
Old 08-13-2006, 06:09 PM
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
Location: Philadelphia
Posts: 1,073
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hex1848
I was able to get this fixed. The reason it was breaking is that many hosting providers have disabled fopen. As mentioned in a previous post in this thread the fopen calls needed to be replaced with cURL. I did a little research to figure out what needed to be done.

You need to edit the includes/xmlparser.php file and replace the render_news function with the code below:

New function (use this):
PHP Code:
function render_news($feed_url$showdetail$headlinestyle$detailstyle) {
    global 
$show_detail$headline_style$detail_style$max$count$insideitem$insideimage$code2;
    
$insideitem=false;
    
$insideimage=false;
    
$count 0;
    
$show_detail $showdetail;
    
$headline_style $headlinestyle;
    
$detail_style $detailstyle;

    
$xml_parser xml_parser_create();
    
xml_set_element_handler($xml_parser"startElement""endElement");
    
xml_set_character_data_handler($xml_parser"characterData");
    
    
$ch curl_init();
    
curl_setopt($chCURLOPT_URL$feed_url);
    
curl_setopt ($chCURLOPT_RETURNTRANSFER1);
    
$store curl_exec ($ch);
    
$xml curl_exec ($ch);
    
curl_close ($ch); 
    
    if (!
xml_parse($xml_parser$xmlTrue))
     {
     die(
sprintf("XML error: %s at line %d",
      
xml_error_string(xml_get_error_code($xml_parser)),
      
xml_get_current_line_number($xml_parser)));
     }
 
    
// Free up memory used by the XML parser
    
xml_parser_free($xml_parser);

Old function (for comparison):

PHP Code:
function render_news($feed_url$showdetail$headlinestyle$detailstyle) {
    global 
$show_detail$headline_style$detail_style$max$count$insideitem$insideimage$code2;
    
$insideitem=false;
    
$insideimage=false;
    
$count 0;
    
$show_detail $showdetail;
    
$headline_style $headlinestyle;
    
$detail_style $detailstyle;

    
$xml_parser xml_parser_create();
    
xml_set_element_handler($xml_parser"startElement""endElement");
    
xml_set_character_data_handler($xml_parser"characterData");
    
$fp = @fopen($feed_url,"r");
//           or die("Error reading RSS data.");
    
if ($fp) {
        while (
$data fread($fp4096))
           
xml_parse($xml_parser$datafeof($fp))
               or die(
sprintf("XML error: %s at line %d",  
                   
xml_error_string(xml_get_error_code($xml_parser)),  
                   
xml_get_current_line_number($xml_parser)));
        
fclose($fp);
        } else {
        
$code2 .= "<span class=\""$detail_style ."\">Syndicated content not available</span>";
        }
        
    
    
// Free up memory used by the XML parser
    
xml_parser_free($xml_parser);


finally some support for that issue and yes it's working on my end prpz to you my friend..
Reply With Quote
Reply


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 04:27 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.12070 seconds
  • Memory Usage 2,393KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_html
  • (4)bbcode_php
  • (4)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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