vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   How-To use Vbulletin members (https://vborg.vbsupport.ru/showthread.php?t=168600)

Linuxy 01-23-2008 10:51 PM

How-To use Vbulletin members
 
Hello ;

How are you All :)

i am happy to became a member in your community :)

i have been wondering about something since 3 years but i didn't get a useful answer about it .
let us start my question for assuming that i got a website which i have a small article script in it the script is my Home Page
www.site.com
and also i got a Vbulletin forums which is in this link
www.site.com/forums
Now , i do not want to crate two members tables for the Vbulletin DB and article script DB.
tha question is : Can i used my currently members in Vbulletin DB in article script ?
that i want only my vbulletin members can read the articles in article script ?
and also add comments to the article script by their vbulletin names ?
how could i check in my script about the user if he has a member in my vbulletin forums such as that simple code :
PHP Code:

<?
if($User_Name){
echo "Hello Vbulletin member";
}
else {
echo "You do not have permission to access this article please register in out forums by going to www.site.com/forums/register.php";
}
?>

that was my question i hope it is easy and i get an answer about it .. and i will be grateful for any answer to help me ..

Linuxy

Dismounted 01-24-2008 03:04 AM

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


All times are GMT. The time now is 11:52 PM.

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.00945 seconds
  • Memory Usage 1,711KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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