Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-23-2012, 12:33 AM
HawkeBoE HawkeBoE is offline
 
Join Date: Mar 2012
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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!
Reply With Quote
  #2  
Old 03-23-2012, 01:30 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #3  
Old 03-23-2012, 08:31 AM
HawkeBoE HawkeBoE is offline
 
Join Date: Mar 2012
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 03-23-2012, 03:51 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:38 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.03426 seconds
  • Memory Usage 2,196KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete