MyBB.de Forum
MyBBPro - Druckversion

+- MyBB.de Forum (https://www.mybb.de/forum)
+-- Forum: Anpassungen (https://www.mybb.de/forum/forum-47.html)
+--- Forum: Theme-Veröffentlichungen und -Support (https://www.mybb.de/forum/forum-83.html)
+--- Thema: MyBBPro (/thread-30521.html)

Seiten: Seiten: 1 2 3 4 5 6


MyBBPro - MyBB.de Bot - 15.09.2014

Eine neue Erweiterung wurde veröffentlicht: MyBBPro

Zitat:In the name of God. - بسم الله الرحمن الرحیم
It's the first multi color theme for 1.8!  
By: AliReza_Tofighi
I Use BootstrapGithub OctIcons and Flat UI Colors for this theme.

Support in: http://community.mybb.com/thread-159645.html



RE: MyBBPro - Gurke258 - 03.03.2015

Gibt es die Möglichkeit das man sich auch hier anzeigen lassen kann wie viele Beiträge oder Themen sich in dem jeweiligem Forum befinden??


RE: MyBBPro - MrBrechreiz - 03.03.2015

Mit Sicherheit.
Es wurden da vermutlich nur die Variablen entfernt.


RE: MyBBPro - Gurke258 - 03.03.2015

Also ich habe schon versucht die neue forumbit_depth1_cat durch das standard zu ersetzen, aber dann sieht es alles ganz komisch aus.


Hier sind mal die beiden Codes:


MyBBPro (ohne meine Bearbeitung)

PHP-Code:
<div class="forumbit">

 <div class="thead{$expthead}">
   <div class="expcolimage"><span data-src="{$expcolimage}id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}title="{$expaltext}"> </span></div>
   <div class="forumbit-head-lastpost hidden-xs"><strong>Last Post</strong></div>
   <div><strong><a href="{$forum_url}">{$forum['name']}</a></strong><br /><div class="smalltext">{$forum['description']}</div></div>
 </div>
 <div style="{$expdisplay}id="cat_{$forum['fid']}_e">
   {$sub_forums}
 </div>
</
div>
<
br /> 

Standart MyBB

PHP-Code:
<table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder">

<
thead>
<
tr>
<
td class="thead{$expthead}colspan="5">
<
div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}title="{$expaltext}/></div>
<
div><strong><a href="{$forum_url}">{$forum['name']}</a></strong><br /><div class="smalltext">{$forum['description']}</div></div>
</
td>
</
tr>
</
thead>
<
tbody style="{$expdisplay}id="cat_{$forum['fid']}_e">
<
tr>
<
td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<
td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
<
td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>
<
td class="tcat" width="200" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</
tr>
{
$sub_forums}
</
tbody>
</
table>
<
br /> 



RE: MyBBPro - MrBrechreiz - 03.03.2015

Im forumbit_depth2_forum Template wirdt Du fündig ^^


RE: MyBBPro - Gurke258 - 03.03.2015

Okay,

jetzt muss ich nur noch schauen wie ich das am besten angepasst bekomme...  Huh


RE: MyBBPro - MrBrechreiz - 03.03.2015

Vergleiche die beiden Templates, dann wird es dir schon auffallen.


RE: MyBBPro - Gurke258 - 03.03.2015

Also ich habe jetzt das

PHP-Code:
<td class="{$bgcolor}valign="top" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>

<
td class="{$bgcolor}valign="top" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td


Hier zwischen eingefügt:
PHP-Code:
<div class="forumbit-row">

 <span class="forum_status forum_{$lightbulb['folder']} ajax_mark_read" title="{$lightbulb['altonoff']}id="mark_read_{$forum['fid']}"></span>
 <div class="forumbit-content">
   <strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
 <td class="{$bgcolor}valign="top" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
     <td class="{$bgcolor}valign="top" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>
</
div>
 <div class="forumbit-lastpost hidden-xs">{$lastpost}</div>
</
div

und da kam das raus -> siehe Anhang


RE: MyBBPro - MrBrechreiz - 04.03.2015

Da fehlen jetzt noch die sprach Variablen. Diese solltest sich in der cat befinden.


RE: MyBBPro - Gurke258 - 04.03.2015

Ohje, das wird aufwendiger als ich gedacht habe Sad