PDA

View Full Version : Miscellaneous Hacks - VbAdvanced ModulFix (Cyberhype Black)


DarkSuyan
05-15-2007, 10:00 PM
Here is a little Hack to change the Style of the Modules from VbAdvanced into the Categorys Style (Normal is a simple Table)

Copy this code and replace it replace it with the content of the adv_portal_module_shell template which can foound by browsing: acp->styles&templates->manage styles-><<>>->vBAdvancedCMPS->adv_portal_modul_shell!


$mods[formcode]
<div class="forbg">
<div class="forl">
<div class="forr">

<div class="fortitel"><strong><phrase 1="$vboptions[bbtitle]"><span class="smallfont"><strong> <if condition="$mods['link']"><a href="$mods[link]">$mods[title]</a><else />$mods[title]</if></strong></span></phrase></strong>
</div>
</div>
</div>

</div>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tbody id="collapseobj_module_$mods[collapse]" style="$modcollapse">

<if condition="$show['tablerow']">


<tr>
<td class="$bgclass">
$modulehtml
</td>
</tr>
<else />
$modulehtml
</if>
</tbody>
</table></phrase>
</td>
</tr>

</table>
<div class="c_border_bottombg">
<div class="c_border_bottom_left">
<div class="c_border_bottom-right">
</div>
</div>
</div>
<!--Hack By DarkSuyan, www.egameszone.de, Hack is copyright so dont sale it-->


Here are 2 Screenshots of the Portal, with and without the Hack: (Link doesnt work correct, open the Screens in a new tab or window for big screen.)

The Standard:
http://suyven.han-solo.net/uploads/withouthackm.jpg (https://vborg.vbsupport.ru/attachment.php?attachmentid=64431&stc=1&d=1179399486)

With the Hack:
http://suyven.han-solo.net/uploads/withhackm.jpg (https://vborg.vbsupport.ru/attachment.php?attachmentid=64430&stc=1&d=1179399462)

bitdefuser
05-16-2007, 11:33 PM
This is a template modification, not an add-on.
I've reported this to a moderator and they'll move it.

DarkSuyan
05-16-2007, 11:39 PM
ok thx, i am a little bit new here in this Forum...

djjeffa
05-16-2007, 11:49 PM
screen shots not showing

DarkSuyan
05-16-2007, 11:50 PM
yeah have updated now.
But the Screens dont linked correct... wehn you click on it, its open the small pic.... it works only if you open the link on the picture in a new tab or window.

DarkSuyan
05-17-2007, 01:38 AM
Anyone knows how the Code is for replacing the code in the template within a product?
The i can upload as a xml data...

dbirosel
05-17-2007, 03:42 AM
It's really hard to see the screenshots. Can you enlarge it please.

kenfuzed
05-17-2007, 04:47 AM
Interesting but couldn't get it working (as-is). Not quite sure what the reasoning is behind all the nested <div>'s but without using your style sheet it could be useless to others.

BTW... I've never seen someone put a copyright notice on a template edit :erm:

tehPARADOX
05-17-2007, 05:23 AM
He didn't link his screenshots, here they are:

Before
http://suyven.han-solo.net/uploads/withouthack.JPG

After
http://suyven.han-solo.net/uploads/withhack.JPG

DarkSuyan
05-17-2007, 08:27 AM
i linked them with the url= tag but they doesn work... however the div tag is the impotant part of the hack..without them you havent the style...

kenfuzed
05-18-2007, 04:09 AM
i linked them with the url= tag but they doesn work... however the div tag is the impotant part of the hack..without them you havent the style...With or without doesn't look like it would make any difference without using your css... but glad it works for you :rolleyes:

DarkSuyan
05-19-2007, 02:11 PM
With or without doesn't look like it would make any difference without using your css... but glad it works for you :rolleyes:

hmm you right it works only with the cyberhype style.. but if anyone need an for an other style i can make on for you ;-)