Witam, wgrałem na forum sobie "Forum Category Icons (Advanced) 2.0.0" i nie działa za dobrze mi ;/ Poniżej macie screena w czym problem.
Kod:
http://desmond.imageshack.us/Himg337/scaled.php?server=337&filename=screenqox.png&res=medium
Gdy dodaję do
forumhome_forumbit_level2_post
Ten oto kod:
Kod:
<!-- Forum Category Icons -->
<vb:if condition="$vbulletin->options['forumiconimg_enabled'] && $forum['forumiconimg']">
<vb:if condition="$vbulletin->options['forumiconimg_location'] == '2'">
<!-- replace status icon with category icon -->
<!-- new posts -->
<vb:if condition="$forum['statusicon'] == 'new'"><a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread&f={vb:raw foruminfo.forumid}&markreadhash={vb:raw bbuserinfo.securitytoken}" rel="nofollow">
<img src="images/{vb:raw vboptions.forumiconimg_folder}/{vb:raw forum.forumiconimg}" style="<vb:if condition="$vbulletin->options['forumiconimg_margin_location'] == '1' OR $vbulletin->options['forumiconimg_margin_location'] == '3'">margin:{vb:raw vboptions.forumiconimg_margin};</vb:if> <vb:if condition="$vbulletin->options['forumiconimg_size'] == '1'">width:{vb:raw forum.forumiconimg_forum_width}px; height:{vb:raw forum.forumiconimg_forum_height}px;<vb:else />width:{vb:raw vboptions.forumiconimg_width}px; height:{vb:raw vboptions.forumiconimg_height}px;</vb:if>" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="{vb:rawphrase doubleclick_forum_markread}" /></a>
<!-- new posts locked -->
<vb:elseif condition="$forum['statusicon'] == 'new_lock' && $vbulletin->options['showlocks']" />
<img src="images/{vb:raw vboptions.forumiconimg_folder}/lock.png" style="background-image:url('images/{vb:raw vboptions.forumiconimg_folder}/{vb:raw forum.forumiconimg}'); background-repeat:no-repeat; <vb:if condition="$vbulletin->options['forumiconimg_margin_location'] == '1' OR $vbulletin->options['forumiconimg_margin_location'] == '3'">margin:{vb:raw vboptions.forumiconimg_margin};</vb:if> width:48px; height:48px;" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="" />
<!-- old posts locked -->
<vb:elseif condition="$forum['statusicon'] == 'old_lock' && $vbulletin->options['showlocks']" />
<img src="images/{vb:raw vboptions.forumiconimg_folder}/lock.png" style="background-image:url('images/{vb:raw vboptions.forumiconimg_folder}/{vb:raw forum.forumiconimg}'); background-repeat:no-repeat;<vb:if condition="$vbulletin->options['forumiconimg_margin_location'] == '1' OR $vbulletin->options['forumiconimg_margin_location'] == '3'">margin:{vb:raw vboptions.forumiconimg_margin};</vb:if> width:48px; height:48px;" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="" />
<vb:else />
<!-- old posts -->
<img src="images/{vb:raw vboptions.forumiconimg_folder}/{vb:raw forum.forumiconimg}" style="<vb:if condition="$vbulletin->options['forumiconimg_margin_location'] == '1' OR $vbulletin->options['forumiconimg_margin_location'] == '3'">margin:{vb:raw vboptions.forumiconimg_margin};</vb:if> <vb:if condition="$vbulletin->options['forumiconimg_size'] == '1'">width:{vb:raw forum.forumiconimg_forum_width}px; height:{vb:raw forum.forumiconimg_forum_height}px;<vb:else />width:{vb:raw vboptions.forumiconimg_width}px; height:{vb:raw vboptions.forumiconimg_height}px;</vb:if> <vb:if condition="$vbulletin->options['forumiconimg_status'] == '1' && $forum['statusicon'] == 'old' && $bbuserinfo['userid']"><vb:if condition="is_browser('ie')">filter:alpha(opacity={vb:raw vboptions.forumiconimg_opacity}); -ms-filter:"alpha(opacity={vb:raw vboptions.forumiconimg_opacity})";<vb:else />opacity:0.{vb:raw vboptions.forumiconimg_opacity};</vb:if></vb:if>" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="{vb:rawphrase forum_contains_no_new_posts}" />
</vb:if>
<vb:else />
<!-- do nothing -->
<img src="{vb:stylevar imgdir_statusicon}/{vb:raw forum.imageprefix}forum_{vb:raw forum.statusicon}-48.png" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="" />
</vb:if>
<div class="forumdata">
<div class="datacontainer">
<vb:if condition="$vbulletin->options['forumiconimg_location'] == '0'">
<!-- category icon after status icon -->
<img src="images/{vb:raw vboptions.forumiconimg_folder}/{vb:raw forum.forumiconimg}" alt="{vb:raw forum.title}" style="float:left; <vb:if condition="$vbulletin->options['forumiconimg_margin_location'] == '1' OR $vbulletin->options['forumiconimg_margin_location'] == '3'">margin:{vb:raw vboptions.forumiconimg_margin};<vb:else />margin-right:4px;</vb:if> <vb:if condition="$vbulletin->options['forumiconimg_size'] == '1'">width:{vb:raw forum.forumiconimg_forum_width}px; height:{vb:raw forum.forumiconimg_forum_height}px;<vb:else />width:{vb:raw vboptions.forumiconimg_width}px; height:{vb:raw vboptions.forumiconimg_height}px;</vb:if>;" />
<div>
<h2 style="font-weight:bold; font-size:13px;"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2>
<vb:if condition="$show['browsers']"><span class="viewing">({vb:raw forum.browsers} {vb:rawphrase viewing})</span></vb:if>
<vb:if condition="$show['forumdescription']"><p>{vb:raw forum.description}</p></vb:if>
</div>
<vb:elseif condition="$vbulletin->options['forumiconimg_location'] == '1'" />
<!-- category icon under forum title -->
<div class="titleline">
<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2>
<vb:if condition="$show['browsers']"><span class="viewing">({vb:raw forum.browsers} {vb:rawphrase viewing})</span></vb:if>
</div>
<vb:if condition="$show['forumdescription']"><p class="forumdescription"><img src="images/{vb:raw vboptions.forumiconimg_folder}/{vb:raw forum.forumiconimg}" style="float:left; <vb:if condition="$vbulletin->options['forumiconimg_margin_location'] == '1' OR $vbulletin->options['forumiconimg_margin_location'] == '3'">margin:{vb:raw vboptions.forumiconimg_margin};<vb:else />margin-right:4px;</vb:if> <vb:if condition="$vbulletin->options['forumiconimg_size'] == '1'">width:{vb:raw forum.forumiconimg_forum_width}px; height:{vb:raw forum.forumiconimg_forum_height}px;<vb:else />width:{vb:raw vboptions.forumiconimg_width}px; height:{vb:raw vboptions.forumiconimg_height}px;</vb:if>" alt="{vb:raw forum.title}" />{vb:raw forum.description}</p></vb:if>
<vb:else />
<!-- do nothing -->
<div class="titleline">
<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2>
<vb:if condition="$show['browsers']"><span class="viewing">({vb:raw forum.browsers} {vb:rawphrase viewing})</span></vb:if>
</div>
<vb:if condition="$show['forumdescription']"><p class="forumdescription">{vb:raw forum.description}</p></vb:if>
</vb:if>
<vb:else />
<!-- Forum Category Icons Disabled -->
<img src="{vb:stylevar imgdir_statusicon}/{vb:raw forum.imageprefix}forum_{vb:raw forum.statusicon}-48.png" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="" />
<div class="forumdata">
<div class="datacontainer">
<div class="titleline">
<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2>
<vb:if condition="$show['browsers']"><span class="viewing">({vb:raw forum.browsers} {vb:rawphrase viewing})</span></vb:if>
</div>
<vb:if condition="$show['forumdescription']"><p class="forumdescription">{vb:raw forum.description}</p></vb:if>
</vb:if>
<!-- End Forum Category Icons -->
To robi mi się tak jak na obrazku nr 1, niby ikonki są itp ale się rozpada ;/
Jak by co umieszczam wam cały mój kod "forumhome_forumbit_level2_post" i prosił bym o pomoc.
Kod:
<li id="forum{vb:raw forum.forumid}" class="forumbit_post L2">
<div class="forumrow table">
<div class="statbox">
<img src="{vb:stylevar imgdir_statusicon}/{vb:raw forum.imageprefix}forum_{vb:raw forum.statusicon}-48.png" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="" />
</div>
<div class="foruminfo td">
<div class="forumdata">
<div class="datacontainer">
<div class="titleline">
<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2>
<vb:if condition="$show['browsers']"><span class="viewing">({vb:raw forum.browsers} {vb:rawphrase viewing})</span></vb:if>
</div>
<vb:if condition="$show['forumdescription']"><p class="forumdescription">{vb:raw forum.description}</p></vb:if>
<vb:if condition="$vboptions['showmoderatorcolumn'] AND $forum['moderators']">
<div class="moderators">
<h4>{vb:rawphrase moderators}:</h4>
<ol class="commalist">
{vb:raw forum.moderators}
</ol>
</div>
</vb:if>
<vb:if condition="$show['subforums']">
<div class="subforums">
<h4 class="subforumlistlabel">{vb:rawphrase subforums}:</h4>
<ol class="subforumlist commalist">
{vb:raw forum.subforums}
</ol>
</div>
</vb:if>
<vb:if condition="$show['forumsubscription']">
<p class="unsubscribe">
<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=removesubscription&f={vb:raw forum.forumid}" rel="nofollow">{vb:rawphrase unsubscribe_from_this_forum}</a>
</p>
</vb:if>
</div>
</div>
</div>
<vb:if condition="$forum['statusicon'] != 'link'">
<h4 class="nocss_label">{vb:rawphrase forum_actions}:</h4>
<vb:if condition="$vboptions['externalrss'] OR $show['member']">
<ul class="forumactionlinks td">
<vb:if condition="$forum['allowposting']"><vb:if condition="$vboptions['externalrss']"><li class="forumactionlink rsslink"><a href="external.php?{vb:raw session.sessionurl}type=RSS2&forumids={vb:raw forum.forumid}" title="{vb:rawphrase view_forum_rss_feed}">{vb:rawphrase view_forum_rss_feed}</a></li></vb:if>
<vb:if condition="$show['member']"><vb:if condition="$show['forumsubscription']"><li class="forumactionlink unsubslink"> <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=removesubscription&f={vb:raw forum.forumid}" title="{vb:rawphrase unsubscribe_from_this_forum}">{vb:rawphrase unsubscribe_from_this_forum}</a></li><vb:else /><li class="forumactionlink subslink"> <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=addsubscription&f={vb:raw forum.forumid}" title="{vb:rawphrase subscribe_to_this_forum}">{vb:rawphrase subscribe_to_this_forum}</a></li></vb:if></vb:if></vb:if>
</ul>
<vb:else />
<div class="forumactionlinks"></div>
</vb:if>
<h4 class="nocss_label">{vb:rawphrase forum_statistics}:</h4>
<ul class="forumstats td">
<li>{vb:rawphrase threads}: {vb:raw forum.threadcount}</li>
<li>{vb:rawphrase posts}: {vb:raw forum.replycount}</li>
</ul>
<div class="forumlastpost td">
<h4 class="lastpostlabel">{vb:rawphrase last_post}:</h4>
<div>
{vb:raw forum.lastpostinfo}
</div>
</div>
</vb:if>
<div class="clear"> </div>
</div>
<vb:if condition="$childforumbits">
<ul class="childsubforum">
{vb:raw childforumbits}
</ul>
</vb:if>
</li>
Tutaj również podaję INSTRUKCJĘ do instalacji modyfikacji: install.html - Speedy Share - upload your files here
Lecz gdy robię według niej to nie działa mi poprawnie.