vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   how do i make a view questions about plugin development (https://vborg.vbsupport.ru/showthread.php?t=232616)

ageurtse 01-09-2010 06:47 AM

how do i make a view questions about plugin development
 
how do i make a new section with variables in cp->options
how do i make a new language phrase (our how you call it)

how do i put it al in a installebel plugin ?

so far i have a plugin and template. within the plugin a use some settings, i wish to alter these settings in cp->options->new section.
the text which is displayd should be translated in what ever language.

how do i put it all in a xml file, where can i find a manual ?

Lynne 01-09-2010 03:16 PM

You need to create a Product on the Manage Products page. Then when you add these other options or phrases, you select the product to add them in and when you export your product, they will all be there.

ageurtse 01-10-2010 05:16 AM

oke that works nearly good, but the template i create how do i add this to my product ?

only the plugin, phrase,settings are added to the export.

in the config.php file

the firstline i have is
$config['Misc']['debug'] = true;

now you can add settings and other stuff in the backend

Lynne 01-10-2010 03:34 PM

You add a template to the product by creating the template in the MASTER STYLE and selecting the product name from the product dropdown box.


All times are GMT. The time now is 12:09 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.01060 seconds
  • Memory Usage 1,707KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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