PDA

View Full Version : Add a vB Addon to portalmod ?


HawkeBoE
03-23-2012, 12:33 AM
Hi,

could anyone tell me how to add an vB AddOn Advanced Voicetool Viewer (https://vborg.vbsupport.ru/showthread.php?t=264573) to a portalmod vBadvanced CMPS (http://www.vbadvanced.com/)?

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
<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:comment> status(1) == online, status(2) == offline, status(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.