vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How much Knowldge is needed to make a product (https://vborg.vbsupport.ru/showthread.php?t=212582)

mikey1991 04-30-2009 11:14 PM

How much Knowldge is needed to make a product
 
My query is with regards to this: https://vborg.vbsupport.ru/showthread.php?t=211791

I do believe that it would be so much easier for the users of the hack that I just make this a product with auto template edits and affects all skins, and options in the ACP where you can change the links.

Question is, how much work would this be, and how would I be able to do it? Can anyone do it for me? Are there any tutorials on doing it myself? or any applications I could use?

NB: I want to make it either fully self sufficient, where you just import the product and it creates the templates and vBACP Admin options, or semi sufficient, where you import the product that then creates the templtes which you go edit yourself.

EnIgMa1234 05-01-2009 12:05 AM

Turn debug mode on in the admincp first of all.

That way you can add templates and settings directly from the admincp to your product file.

mikey1991 05-01-2009 12:42 AM

Just did that, wow, thats alot of interesting info it gives... But whatI don't see is How it helps me to import templates into a product?

--------------- Added [DATE]1241154931[/DATE] at [TIME]1241154931[/TIME] ---------------

Thanks alot to BlueNinjaGo For enlightening me on how to create a product.

Still need help on making the vBoptions correspond to the template, like how to do a basic enable/disable

ragtek 05-01-2009 05:48 AM

Have you checked https://vborg.vbsupport.ru/forumdisplay.php?f=187 ?

mikey1991 05-01-2009 06:08 AM

There is not a dropdown in the search box for searching articles and I couldn't see anything on the first or second pages

ragtek 05-01-2009 06:19 AM

1 Attachment(s)
There are 2 good methods for searching articles;)

ragtek 05-01-2009 06:25 AM

But what exactly do you mean with enable a template with options?

mikey1991 05-01-2009 07:26 AM

Like... the Enable disable option..

You click enable and the template is created, you click disable and the template is commented out/disabled some how...

It works with other hacks (Cyb stats etc, theres an enable/disable link in the admincp)

ragtek 05-01-2009 07:35 AM

You mean to de/activate the complete modification???

In my opinion thats a unnecessary option because you can make this on the Manage Products page in the acp!

So you save much time on coding and you don't need to make the check everytime!

but if you want make it:
1. create a yesno option in the acp (heres a good tutorial) https://vborg.vbsupport.ru/showthread.php?t=127432) name it myplugin_active

2. in your plugin you can use now $vbulletion->options['myplugin_active']
that would be:
PHP Code:

if ($vbulletin->options['myplugin_active']
{
   ...



mikey1991 05-01-2009 10:41 AM

Thanks for that link, I'll watch that video, and to clarify, yep thats what I meant.


All times are GMT. The time now is 04:21 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.01021 seconds
  • Memory Usage 1,730KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (1)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