vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=263)
-   -   Create Routes / Pages / widgets with vbulletin product (https://vborg.vbsupport.ru/showthread.php?t=322485)

bridge2heyday 04-29-2016 10:00 PM

Create Routes / Pages / widgets with vbulletin product
 
Hello ,
As I can't find a useful vbulletin 5 developer documentation anywhere , I was trying to learn it by reverse engineering some of the few products available here on vb.org
on some products .. I can see the product XML file have it's own pages /routes /widgets
Code:

<routes>
                <route guid="">
                        <regex></regex>
                        <class></class>
                        <arguments></arguments>
                        <product></product>
                </route>
</routes>

and widget
Code:

<widgets>
                <widget guid="">
                        <template></template>
                        <icon></icon>
                        <isthirdparty></isthirdparty>
                        <category></category>
                        <cloneable></cloneable>
                        <canbemultiple></canbemultiple>
                        <product></product>
                        <definitions>
                                <definition>
                                        <field></field>
                                        <name></name>
                                        <defaultvalue></defaultvalue>
                                        <isusereditable></isusereditable>
                                        <isrequired></isrequired>
                                        <displayorder></displayorder>
                                        <validationtype></validationtype>
                                        <product></product>
                                </definition>
                        </definitions>
                </widget>
</widgets>

and pages
Code:

<pages>
                <page guid="">
                        <title></title>
                        <metadescription></metadescription>
                        <moderatorid></moderatorid>
                        <displayorder></displayorder>
                        <pagetype></pagetype>
                        <product></product>
                        <parentGuid></parentGuid>
                        <pageTemplateGuid></pageTemplateGuid>
                        <routeGuid></routeGuid>
                </page>
</pages>

Where can I create pages/widgets/routes/pagetemplates and assign them to a product like we do with settings/phrases/hooks/templates ?
Thanks!

noypiscripter 04-30-2016 04:59 AM

This may help you.

https://vborg.vbsupport.ru/showthrea...95#post2514295

bridge2heyday 04-30-2016 07:31 AM

Quote:

Originally Posted by noypiscripter (Post 2569885)

Thanks , I've already seen this , but it don't answer my questions

robertw795 05-02-2016 12:51 PM

vBulletin 5 documentation is nearly non-existant, and the documentation that does exist barely helped me out. I just wrote my widget in the XML file, same goes for my templates. Then I edited the templates from the control panel.


All times are GMT. The time now is 06:39 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.01455 seconds
  • Memory Usage 1,726KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (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