Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Additional external.php feed format Details »
Additional external.php feed format
Mod Version: 1.00, by okrogius (Member) okrogius is offline
Developer Last Online: Dec 2005 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.0 Rating: (0 vote - 0 average) Installs: 10
Released: 03 Jan 2004 Last Update: Never Downloads: 47
Not Supported  

Those of you who integrate your feed in a PHP page will appreciate the simplicity of working with this .

Once installed you can just include your therads on your site's pages (example) via simply reading contents of external.php?type=php (be it via fopen, etc), and then processing the results through an unserialize() call.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 06 Jan 2004, 15:19
gldtn gldtn is offline
 
Join Date: Apr 2003
Are you saying we can use php instead of JS, XML, etc..? Very cool if you are
Reply With Quote
  #3  
Old 06 Jan 2004, 15:22
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Real name: Zachery Woods
im not sure but couldnt this lead to some security risks? such as grabbing important varibles?
__________________
Looking for ImpEx?
Reply With Quote
  #4  
Old 06 Jan 2004, 15:29
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Nov 2001
Real name: Faruk
Not really important variables, and even the ones they can grab are pretty pointless to them, unless there is a security risk elsewhere in vB3 that is related to variables whose names they can figure out due to this ($threadcache).

Not much of a concern if you ask me.
__________________
EverythingvB.com is closed; it will merge into the KuraFire Network, version 6. KF*N 6 will have information about XHTML, CSS, PHP and vBulletin, and especially all those combined.
Reply With Quote
  #5  
Old 06 Jan 2004, 20:40
okrogius okrogius is offline
 
Join Date: Dec 2001
Originally Posted by Faranth
im not sure but couldnt this lead to some security risks? such as grabbing important varibles?
No external information is passed via this, composed to using rss/xml/etc. Prime benefit is easyness of use; say you have a PHP page which should display latest threads.

Would it be easier to just open a file, unserailize its contents, and use the array (around 3 lines of code); or, open a file, create your own array parsing xml data (30+ lines)? You decide for yourself, personally I find the previous option a lot easier.

Last edited by okrogius; 06 Jan 2004 at 20:43.
Reply With Quote
  #6  
Old 19 Jan 2004, 14:47
Detomah's Avatar
Detomah Detomah is offline
 
Join Date: Sep 2003
Real name: Tom
Could you possibly explain this a litte more please.

I would really like to be able to do this, but am not sure of the exact processes and what exactly I would have to do to get certain threads showing on my home page with this...

Could you possibly give an example of the code that would be needed to grab and display the thread please.

I'm learning fast, but still need guidance now and then.
Reply With Quote
  #7  
Old 19 Jan 2004, 19:00
okrogius okrogius is offline
 
Join Date: Dec 2001
sure, using this getitng yoru threads can be as simple as:


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

Reply With Quote
  #8  
Old 20 Jan 2004, 03:45
firenuts firenuts is offline
 
Join Date: Aug 2002
Sorry, what does this add-on do exactly? Can I specify a thread ID and allow it to export all content to XML?
Reply With Quote
  #9  
Old 29 Jan 2004, 22:00
Detomah's Avatar
Detomah Detomah is offline
 
Join Date: Sep 2003
Real name: Tom
Originally Posted by okrogius
sure, using this getitng yoru threads can be as simple as:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
That's what I was hoping to see.

I'll give it a go and see how the results turn out.

Thanks.
Reply With Quote
  #10  
Old 31 Jan 2004, 19:11
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Real name: Marco
what is the difference between the RSS hack and this?
Reply With Quote
  #11  
Old 09 Feb 2004, 05:40
Myr7h Myr7h is offline
 
Join Date: Jan 2004
Originally Posted by okrogius
sure, using this getitng yoru threads can be as simple as:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
its not as simple as that other wise i wouldn't get this error message:
Parse error: parse error, unexpected '<', expecting T_VARIABLE or '$' in G:\wampp2\htdocs\mnracing\index.php on line 230
Reply With Quote
  #12  
Old 03 Mar 2004, 23:42
Mr. Brian's Avatar
Mr. Brian Mr. Brian is offline
 
Join Date: Jan 2003
Real name: Brian
Did you change the URL to your's instead??

Originally Posted by Myr7h
its not as simple as that other wise i wouldn't get this error message:
Parse error: parse error, unexpected '<', expecting T_VARIABLE or '$' in G:\wampp2\htdocs\mnracing\index.php on line 230
Reply With Quote
  #13  
Old 04 Mar 2004, 23:31
Geographic2 Geographic2 is offline
 
Join Date: Apr 2003
Same error here:

on this line:

for ($i=0; $<count($threads); $i++) {


Are you sure that is right?

ok now I see it needs to be

for ($i=0; $i<count($threads); $i++) {


I see the application of this, very nice. Quick way to flip things across. Damn I love this external.php

Last edited by Geographic2; 04 Mar 2004 at 23:37.
Reply With Quote
  #14  
Old 30 Nov 2004, 21:58
andor andor is offline
 
Join Date: May 2004
Hey, this is a great simple mod - love it. Thanks!
Reply With Quote
  #15  
Old 01 Dec 2004, 00:12
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Real name: Mosh Shigdar
To work with FPS_EXTERNAL.PHP

To get this Mod to work with KW802's replacement for external.php in this thread "FPS_EXTERNAL.PHP -- New options added & RSS compliant version of external.php" - http://www.vbulletin.org/forum/showthread.php?t=69834, use the following instructions instead of the ones attached here:

Open fps_external.php (or whatever you renamed it to).

Find:

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

Under it add:

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

Find:

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

Above it add:

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

Hope this helps,

jd
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 23:24.

Layout Options | Width: Wide Color: