vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Include vB data on non-vb pages (https://vborg.vbsupport.ru/showthread.php?t=62341)

mOdEtWo 03-10-2004 05:39 AM

Include vB data on non-vb pages
 
Well, this isn't really a hack, but I'll make a request anyway...

I've looked at the current vB portals that's released, but haven't found what I'm looking for. I just want to design a page, and use php to fetch vB posts to the news section.

Now, how do I do that? What php tags do I need to include in my index.php file to be able to connect to the database and fetch data from a certain news forum?

TruckZMod 03-21-2004 06:05 AM

I'd be curious to see more info on this as well...

Owen 03-21-2004 01:04 PM

Pluhnews works fine with some modifications, just look near the end of the thread of that hack to figure out how to modify it to get it to work.

assassingod 03-21-2004 01:42 PM

Well what you would use is in your php file for including vBs stuff is:
Code:

        error_reporting(E_ALL & ~E_NOTICE);
        define('NO_REGISTER_GLOBALS', 1);
        define('THIS_SCRIPT', 'pagename');
       
        require_once('./global.php');

Change pagename to you file name.

Thats it simply, if you want any more help (For getting vB posts on a non vb page) just ask and i'll write you a script.

Darren Lewis 03-21-2004 02:47 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=62735" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=62735</a>

JacobiKenobi 03-23-2004 02:37 PM

Why can I not access that page? I am licensed and I can view everything else and download all hacks and such...

*looks around curiously wondering what is on the hidden page that he cannot access!*


All times are GMT. The time now is 11:09 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.00902 seconds
  • Memory Usage 1,715KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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