Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 06-18-2014, 03:40 PM
tr0ll tr0ll is offline
 
Join Date: Aug 2011
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Integrate PHP Script

Hi, i write php script, its like: users can create their own list, and it can be seen at lists.php but i want to integrate this script to vBulletin.
I dont know how to do, i am a php coder but i never write anything for vBulletin before. Can anyone help me out for how can i integrate one php script to vbulletin or, code directly for vbulletin. Like variables, including files, functions etc..
Reply With Quote
  #2  
Old 06-18-2014, 03:50 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think this is a good place to start: https://vborg.vbsupport.ru/showthread.php?t=62164

If you have any more specific questions about functions and variables that are available, just ask and we'll try to help.
Reply With Quote
  #3  
Old 06-18-2014, 03:58 PM
tr0ll tr0ll is offline
 
Join Date: Aug 2011
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for my English Kevin. So, i checked out url that you are given to me. With that information i can create my own page with or without vBulletin files including it. I see. But i want my users can create list in a vBulletin page, and that list can be changed, deleted or liked. And i want to do all these things in vBulletin. I want to use member profile, admincp(to control and change list options), postbit etc.

I think ım asking you to Wiki for beginners vbulletin modificationers. I hope i can explain to you. Thanks for your help, regards.
Reply With Quote
  #4  
Old 06-18-2014, 05:04 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think I understand what you mean. Unfortunately, I don't believe such a thing exists. You can search the articles and search the forums here, and you can look for mods that already exist and see how they work. When I answer questions here I often read the vbulletin source code to figure things out. I know that's a lot of work, but I'm not sure what else to tell you.

I think there's a common misconception among beginner mod developers (at least I know it's one I had) that there should be some kind of api to do the things you'd want to do, but in fact there isn't. There are "hooks" at certain strategic locations where you can insert php code, but what you can do at a given hook location is not well-defined, it just depends on where in the vbulletin code they decided to put a hook.

I hope that makes sense, I guess English is not your first language so I hope it survives translation.
Reply With Quote
  #5  
Old 06-18-2014, 06:10 PM
tr0ll tr0ll is offline
 
Join Date: Aug 2011
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep, it is not my first language. I can understand you but my grammar is really awful. However, thanks. I will try hooks way without a single php file. Lets see what happens ^_^
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:09 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03962 seconds
  • Memory Usage 2,191KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete