vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Miscellaneous Hacks - VbAdvanced ModulFix (Cyberhype Black) (https://vborg.vbsupport.ru/showthread.php?t=147415)

DarkSuyan 05-15-2007 10:00 PM

VbAdvanced ModulFix (Cyberhype Black)
 
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!

Code:

$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

With the Hack:
http://suyven.han-solo.net/uploads/withhackm.jpg

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

Quote:

Originally Posted by DarkSuyan (Post 1249325)
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

Quote:

Originally Posted by kenfuzed (Post 1249977)
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 ;-)


All times are GMT. The time now is 05:49 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.01134 seconds
  • Memory Usage 1,739KB
  • 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_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)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