PDA

View Full Version : importing from different sites


tomshawk
01-24-2004, 03:10 AM
Hello;

If possible I really need a script that will allow me to import a backend.php file from a phpnuke site, into my site.
Also a script that will allow me to import an external.php file from another vBulletin site.

I can figure out how to get it into a block but I need the scripts themselves.

any help would be most greatly appriciated.

Thank you

cruelio
01-24-2004, 04:42 AM
you are looking for an RSS syndication script....
find an open source RSS aggregator PHP script and just put it inside a block...

tomshawk
01-24-2004, 08:50 PM
Hello, Thank you for the thought

I found a good script, CaRP

http://www.mouken.com/rss/carp/

It is actually quite powerful, but I've tryed and tryed , though I thought it would be easy, I can not figure out how to integrate this.

I set up a quick test page with the simple script http://www.tomshawk.com/test.php and it works great, but

I can not figure out how to get a template to pull this information.

the info in the test.php page is


<?php
require_once "/home/tomshawk/carp/carp.php";
CarpCacheShow('http://securelyspeaking.com/backend.php');
?>


any help would be greatly appriciated

tomshawk
01-25-2004, 01:49 PM
Hello:

I was told I can not call this directly from within a template

I was told to either put this content into a file and call it from phpinclude_start or put this content into the phpinclude_start directly and assign either to a variable I can call from the template I want it in.

Does anybody know how to do this?

tomshawk
01-27-2004, 03:16 AM
Bump.

I really need this to incorporate some sister sites.

Please!!!

I'm willing to pay

tomshawk
01-28-2004, 04:48 AM
Just wanted to let everyone know,

with a little nudge, (being kind to myself :p ) from Wayne Luke at vbulletin.com

I got this working

http://www.tomshawk.com ;)

noonespecial
12-29-2004, 07:56 AM
Just wanted to let everyone know,

with a little nudge, (being kind to myself :p ) from Wayne Luke at vbulletin.com

I got this working

http://www.tomshawk.com ;)
What did you use to assign to a varible? I tried and couldnt get it to work .. can you please show me ??

tomshawk
12-29-2004, 01:21 PM
What did you use to assign to a varible? I tried and couldnt get it to work .. can you please show me ??

I have created a couple of hacks for doing this.

https://vborg.vbsupport.ru/showthread.php?t=71047
https://vborg.vbsupport.ru/showthread.php?t=69339

Once I figured out how, it got easy.

It was just the learning curve, that took a while :p

The second link I have above, explains what to do, in reply to this thread.

The first one, is a much better solution ;) IMHO