vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   [RELEASE] Apply to be Mod or Admin. VIA Email. (https://vborg.vbsupport.ru/showthread.php?t=48377)

Funkie 04-12-2003 06:09 AM

@Logik,
Thanx for the time in replying fella.
Its a nice lill hack,many thanx

Logik 04-12-2003 06:15 AM

Ok. Anything else. I will help you with it.

Funkie 04-12-2003 09:23 AM

Ho BTW,
/me clicked install

N9ne 04-12-2003 10:46 AM

If you want it posted into a forum, simply add a query to the submit part of the form, where it inserts into the thread and post tables, and you can set the forumid when entering into the thread table, as there's a forumid field I believe. I don't have time to go into detail, but that's the basic outline and should give you a good enough idea.

Funkie 04-12-2003 11:35 AM

Quote:

If you want it posted into a forum, simply add a query to the submit part of the form, where it inserts into the thread and post tables, and you can set the forumid when entering into the thread table, as there's a forumid field I believe. I don't have time to go into detail, but that's the basic outline and should give you a good enough idea

Ummmmmmm it does that,but my problem is using this mod from outside the forums root folder in a diff folder,on the same server.

I need to know how to call the global.php from outside the forum.

thanx for the input anyway.

N9ne 04-12-2003 12:22 PM

require('forums/global.php'); I believe.

Funkie 04-12-2003 12:49 PM

Fatal error: Failed opening required './global.php' (include_path='') in /home/xxxx/public_html/mod.php on line 9

N9ne 04-12-2003 12:50 PM

It says failed opening ./global.php ? it should have the directory of your forums before it.

Funkie 04-12-2003 01:12 PM

ehhe,yup changed the wrong file.
ok done that now all i get is a blank white page no errors??????????

N9ne 04-12-2003 01:33 PM

I'm not really sure what's wrong, all I know is that require call is what's used in vB to use global.php so I figured it could be used out of vB. Are you sure you've connected to the database and everything?


All times are GMT. The time now is 01:42 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.01029 seconds
  • Memory Usage 1,729KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete