vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   NEW Modified RSS News Feed Hack (https://vborg.vbsupport.ru/showthread.php?t=63798)

ConqSoft 04-14-2004 05:16 PM

Suggestion for a future version: Ability to give a descriptive name to the feed. If you use the same userid to post multiple feeds, they all show up the same in the dropdown. :(

Also, ability to delete a feed would be nice. :)

Good work!

gmarik 04-14-2004 05:24 PM

This seems even better...

Slapyo 04-14-2004 06:22 PM

Quote:

Originally Posted by Morrus
This hack seems to be working fine!

Is there a way to change the formating of the output, though? Rather than a line break and then "View the entire article", can it be set to just append "(Read more...)" at the end of the text (no line breaks)?

if you want to change the output of the feed, just open up rss_update.php

FIND:
PHP Code:

$rss_description $rss_allItems[$j][DESCRIPTION];
$rss_description .= "{br}{br}[url=" $rss_allItems[$j][LINK] . "]View the Entire Article[/url]{br}"

REPLACE WITH:
PHP Code:

$rss_description $rss_allItems[$j][DESCRIPTION];
$rss_description .= " [url=" $rss_allItems[$j][LINK] . "](Read more...)[/url]{br}"

you can format it however you like. but this is the section where you would modify the formatting of the post itself. note, you use the {br} tag to create breaklines, not the standard <br /> tag.

Slapyo 04-14-2004 06:23 PM

Quote:

Originally Posted by ConqSoft
Suggestion for a future version: Ability to give a descriptive name to the feed. If you use the same userid to post multiple feeds, they all show up the same in the dropdown. :(

Also, ability to delete a feed would be nice. :)

Good work!

ya, i noticed this problem too ... but now that i pretty much have the insertion of the post going good i can work on additional features for it.

sjau 04-14-2004 08:04 PM

Hmmmm, good work to have opened a new thread with a fixed version :)

ckaosII 04-14-2004 08:38 PM

Ehhh,

Sorry for not being an expert her..

I'm new to this stuff :rolleyes:

I've followed your install instruction, and now what? How do I get to work? Can I use other rss feeds?

I've noticed a Hacks section in my admincp containing: RSS News Feed but don't know how to configure it, would have been nice with a COMPLETE install/configure instruction for dummies like me :nervous:

ckaosII 04-14-2004 09:18 PM

Hello,


Woahh, got it to work all by my self :rolleyes:

SnowBot 04-14-2004 11:01 PM

Well i just cant understand this at all, i have it working fine on one of my boards, mostly un-hacked as its a new project.

www.thepremierleague.co.uk

But its still not working on

www.synergyforums.com I have done the exact thing but still doesnt work. I get no errors but nothing is being posted, all i can think of is that its another hack thats messing this up. synergyforums is hacked and modded a great deal.

I will PM you an admin login like was said and see if you can figure something out. Maybe you can tell what hack maybe stopping this from posting the feed.

Slapyo 04-15-2004 03:06 AM

i have added in the ability to delete bots. until i can add in the ability to give a bot a description, i include the bot id next to the bot's name. hopefully this will help clear up some confusion as to the bots.

the only file edited was /admincp/rss_admin.php if you want to just upload that file.

Dontom 04-15-2004 04:07 AM

Quote:

Originally Posted by Slapyo
i have added in the ability to delete bots. until i can add in the ability to give a bot a description, i include the bot id next to the bot's name. hopefully this will help clear up some confusion as to the bots.

the only file edited was /admincp/rss_admin.php if you want to just upload that file.

perfect - thank you!
I have a problem with one feed - it just wont work (other feeds worked for me)
Can someone tell me whats wrong with this one?
http://www.procycling.de/news/news_rss.php

Thank you
Tom


All times are GMT. The time now is 06:25 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.01545 seconds
  • Memory Usage 1,743KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete