vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   [How-To] Product Managament (vBulletin 3.5 RC 1 and up) (https://vborg.vbsupport.ru/showthread.php?t=92953)

Andreas 07-26-2005 08:46 PM

Doesn't seem to be case-sensitive.

It must not start with vb as this Prefix is reserved for Jelsoft :)

Logikos 07-26-2005 09:17 PM

Why do they get the vB Prefix, what makes them so darn special! ^^. Great how-to. This will help alot!

Christine 07-26-2005 09:20 PM

Thanks Kirby! :)

uae 07-27-2005 09:39 AM

First came the Plug-In system, took me a while to recreate an installation php files for my hacks.

Here comes the product thingy :(

It's not that I hate it or something, in fact I love it, but what about the time I have spent, gone for nothing ... nothing :cry: waaa

Andreas 07-27-2005 09:43 AM

Well, you could have waited until Gold ;)

loneranger 07-28-2005 07:05 PM

hi can somebody help me i have got this code from doing this tut but when i install this app it don't add the database please help me here also i think i need to build the phrases can anyone tell me what file i need to include and function to call in 3.5.0 think it's build_languages() don't know if it's changed
Code:

<?xml version="1.0" encoding="ISO-8859-1"?>

<product productid="imghost" title="Image Hosting final" description="Image Hosting" version="2.1 beta 2" active="1">
        <codes>
                <code version="2.1 beta 2">
                        <installcode><![CDATA[$db->query('CREATE TABLE '. TABLE_PREFIX .'image_host (
                                id INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
                                userid INT NOT NULL,
                                img_file VARCHAR(225) NOT NULL,
                                img_name VARCHAR(255) NOT NULL,
                                file_size INT NOT NULL,
                                img_width INT NOT NULL,
                                img_height INT NOT NULL
                                )TYPE=MyISAM;');
               
        $db->query("ALTER TABLE ".TABLE_PREFIX ."usergroup ADD imghost INT( 10 ) UNSIGNED NOT NULL ;");

        $db->query("ALTER TABLE ".TABLE_PREFIX ."usergroup ADD imghostset INT( 10 ) UNSIGNED NOT NULL ;");
       
        $db->query("ALTER TABLE ".TABLE_PREFIX ."usergroup ADD imghost_width INT( 10 ) DEFAULT '100' NOT NULL ;");

        $db->query("ALTER TABLE ".TABLE_PREFIX ."usergroup ADD imghost_height INT( 10 ) DEFAULT '100' NOT NULL ;");
       
        $db->query("ALTER TABLE ".TABLE_PREFIX ."usergroup ADD imghost_files INT( 10 ) DEFAULT '100' NOT NULL ;");]]></installcode>


Andreas 07-28-2005 07:23 PM

1 Attachment(s)
The attached Product XML works fine for me.

Phrases, Templates, Settings will be installed/uninstalled automatically - you don't have to do anything for that (except assigning them to your Product of course).
Please keep in mind that they must be in MASTER Style/MASTER Language!

MrNase 07-29-2005 02:05 AM

Custom vBulletin settings must be added with a query? Or is there a function available with adds them without using a query?

Erwin 07-29-2005 03:01 AM

This is an amazing new feature for vB - this means that installing hacks can all be done via Admin CP with no need to edit files, run queries, add templates or phrases. :D

Guest190829 07-29-2005 03:26 AM

Another great 3.5 tutorial, Kirby! :)


All times are GMT. The time now is 10:59 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.01312 seconds
  • Memory Usage 1,733KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (3)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