vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   importing from different sites (https://vborg.vbsupport.ru/showthread.php?t=60654)

tomshawk 01-24-2004 03:10 AM

importing from different sites
 
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 Code:

<?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

Quote:

Originally Posted by tomshawk
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

Quote:

Originally Posted by noonespecial
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


All times are GMT. The time now is 06:15 AM.

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.01325 seconds
  • Memory Usage 1,726KB
  • 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
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete