Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 15 Apr 2012, 05:26
Popa Andrei's Avatar
Popa Andrei Popa Andrei is offline
 
Join Date: May 2008
Real name: Popa Andrei Florin
Modify RSS reader

I use this rss reader to get mi data from the forum
How do i modifie to show only the last 10 updates
Regards

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
EliteGamers Arena
Best private servers.Join us now!
Reply With Quote
  #2  
Old 18 Apr 2012, 10:46
Popa Andrei's Avatar
Popa Andrei Popa Andrei is offline
 
Join Date: May 2008
Real name: Popa Andrei Florin
bump
__________________
EliteGamers Arena
Best private servers.Join us now!
Reply With Quote
  #3  
Old 18 Apr 2012, 15:28
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Maybe add a couple lines (in red) near the top:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


then change function end_element like this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


But this really only ignores everything after the first 10 items returned in the feed, which means that if there are more than 10 some are just going to be lost.
Reply With Quote
  #4  
Old 18 Apr 2012, 17:29
Popa Andrei's Avatar
Popa Andrei Popa Andrei is offline
 
Join Date: May 2008
Real name: Popa Andrei Florin
Thak you very much.
That worked perfect
You are mi saviour.
__________________
EliteGamers Arena
Best private servers.Join us now!
Reply With Quote
  #5  
Old 26 Jun 2012, 01:57
Popa Andrei's Avatar
Popa Andrei Popa Andrei is offline
 
Join Date: May 2008
Real name: Popa Andrei Florin
any ideea how to fecth and display in the html output the thread creation date and time?
__________________
EliteGamers Arena
Best private servers.Join us now!
Reply With Quote
  #6  
Old 26 Jun 2012, 13:08
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
You can edit the feed and put {feed:date} in the body template.

ETA: oops - I forgot we're talking about your custom reader script. Let me look at that...

OK, try this: Change function character_data() to:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Then at the beginning of the end_element function:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


then use $date in the html output. (I haven't tested this at all).

Last edited by kh99; 26 Jun 2012 at 15:47. Reason: missed some highlighting
Reply With Quote
  #7  
Old 26 Jun 2012, 15:02
Popa Andrei's Avatar
Popa Andrei Popa Andrei is offline
 
Join Date: May 2008
Real name: Popa Andrei Florin
I changed the page to this but ain`t working.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
EliteGamers Arena
Best private servers.Join us now!
Reply With Quote
  #8  
Old 26 Jun 2012, 15:48
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
There's one more part that I missed highlighting in red - at the beginning of character_data(), you need to add $date to the global statement.
Reply With Quote
  #9  
Old 26 Jun 2012, 15:55
Popa Andrei's Avatar
Popa Andrei Popa Andrei is offline
 
Join Date: May 2008
Real name: Popa Andrei Florin
Ty its working but i think it needs a little adjustements.
Look
Attached Images
File Type: jpg Untitled.jpg (150.9 KB, 10 views)
__________________
EliteGamers Arena
Best private servers.Join us now!
Reply With Quote
  #10  
Old 26 Jun 2012, 16:01
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Oh, right. At the bottom of the end_element() function, where there's $title = "", $description = "", etc, add $date = "";
Reply With Quote
  #11  
Old 26 Jun 2012, 16:07
Popa Andrei's Avatar
Popa Andrei Popa Andrei is offline
 
Join Date: May 2008
Real name: Popa Andrei Florin
TY very much,working like a charm.
__________________
EliteGamers Arena
Best private servers.Join us now!
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add-On Releases News Reader with RSS Feeds - For Dummies lefthome vBulletin 3.6 Add-ons 64 10 Oct 2010 17:11



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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


New To Site? Need Help?

All times are GMT. The time now is 20:59.

Layout Options | Width: Wide Color: