vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Add a vB Addon to portalmod ? (https://vborg.vbsupport.ru/showthread.php?t=280534)

HawkeBoE 03-23-2012 12:33 AM

Add a vB Addon to portalmod ?
 
Hi,

could anyone tell me how to add an vB AddOn Advanced Voicetool Viewer to a portalmod vBadvanced CMPS?

vBadvanced has his own Modules you can add further modules as php file module, template module and html module, I tried all three of them but didn't get it (also tried to create a php file with {vb:raw tsviewer_bits} in it, and add this as a php module but it didn't work.
Maybe I missed something, because I've no idea about those things like wrapper, templatecontent etc.

The AV Viewer has a menu where you can set a Templatehook display Position like forumhome_wgo_pos2. But I can't link to an adv_portal template.


Last thing I tried is to copy the code of tsviewer_viewerbit
PHP Code:

<div id="ts_viewer" class="wgo_subblock section tsx_type_{vb:raw server.type} tsx_status_{vb:raw server.status}">
<
h3 class="blocksubhead">{vb:raw server.indicator}&nbsp;&nbsp;<span class="ts_servername">{vb:raw server.icon}&nbsp;{vb:raw server.name}</span>&nbsp;{vb:phrase phrase_tsx_currentuser, {vb:raw server.usercount}}</h3>
    <
div>
    <
vb:if condition="$server[status]==1">
    <
vb:commentstatus(1) == onlinestatus(2) == offlinestatus(3) == inactive </vb:comment>
        <
vb:if condition="$server[usercount] > 0">
            {
vb:raw server.userlist}    
        <
vb:else />
            {
vb:phrase tsx_nouser}        
        </
vb:if>
        <
span class="tsxview_joinlink">
            <
a href="{vb:raw server.joinurl}">{vb:phrase tsx_joints}</a>
        </
span>
    <
vb:else />
        {
vb:phrase tsx_serveroffline}
    </
vb:if>
    </
div>
</
div

into a existing (search) module template of vBadvanced. But this don't work also.
My Homepage: http://www.brotherhoodofelfez.de/
Sorry if something sounds silly... I don't know much about coding.

Thank you!

ForceHSS 03-23-2012 01:30 AM

if you dont no how to install plugins best to ask someone to do it for you try any of these sections
https://vborg.vbsupport.ru/forumdisplay.php?f=112
https://vborg.vbsupport.ru/forumdisplay.php?f=30

HawkeBoE 03-23-2012 08:31 AM

Hi, thank you for your answer. But isn't there a defference in how to install a plugin (both addons are installed properly) and embed one addon into an other.

Update:
I tried to add a new module page in vBa CMPS, called the page "ts viewer" with tsviewer als pageid.
Embeded the page as custom contet in the vBa CMPS pagesettings (where you can manage where the modules should be placed)
To this module page I integrated the tsviewer_overall.php.

But it still doesn't work. :(

Lynne 03-23-2012 03:51 PM

You should be asking that question over on the vbadvanced site since that is where support for that modification is given.


All times are GMT. The time now is 07:38 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.01112 seconds
  • Memory Usage 1,732KB
  • 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)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