Jump to content

Ajutor Ipb 3.2.3 - Subforumuri Pe 3 Coloane


aLeX95

Recommended Posts

  • 3 weeks later...

Interesant pluginul dar costa, daca nu ai bani sa cumperi pluginul, incearca varianta manuala !

Mergi la:

AdminCP > Look & Feel > (choose skin) > ipb_styles.css

Adauga la sfarsitul CSS-ului:

table.ipb_table ol.subforums1 {margin-top: 3px;float: left;width: 33%;}table.ipb_table ol.subforums1 li{background: url('/forum/public/style_images/marble/subforum_nonew.png') no-repeat 0 50%;padding: 0 15px 0 15px;margin: 0;float: left;}table.ipb_table .subforums1 li.unread { font-weight: bold; background-image: url('/forum/public/style_images/marble/subforum_new.png'); }table.ipb_table ol.subforums2 {width: 33%;overflow: hidden;}table.ipb_table ol.subforums2 li {background: url('/forum/public/style_images/marble/subforum_nonew.png') no-repeat 0 50%;padding: 0 15px 0 15px;margin: 0;float: left;}table.ipb_table .subforums2 li.unread { font-weight: bold; background-image: url('/forum/public/style_images/marble/subforum_new.png'); }table.ipb_table ol.subforums3 {width: 33%;overflow: hidden;}table.ipb_table ol.subforums3 li {background: url('/forum/public/style_images/marble/subforum_nonew.png') no-repeat 0 50%;padding: 0 15px 0 15px;margin: 0;float: left;}table.ipb_table .subforums3 li.unread { font-weight: bold; background-image: url('/forum/public/style_images/marble/subforum_new.png'); }

Mergi la:
AdminCP > Look & Feel > (choose skin) > Board Index > boardIndexTemplate

Cauta:

                                                  <ol class='ipsList_inline ipsType_small subforums' id='subforums_{$forum_data['id']}'>                                                   <foreach loop="subforums:$forum_data['subforums'] as $__id => $__data">                                                      <if test="showSubForumsLit:|:$__data[3]"><li class='unread'><else /><li></if>                                                            <a href="{parse url="showforum={$__data[0]}" seotitle="{$__data[2]}" template="showforum" base="public"}" title='{$this->lang->words['go_to_forum']}'>{$__data[1]}</a>                                                 </li>                                              </foreach>                                             </ol>

Inlocuieste ce e mai sus cu:

<ol class='ipsList_inline ipsType_small subforums2' id='subforums_{$forum_data['id']}'><foreach loop="subforums:$forum_data['subforums'] as $__id => $__data"></ol> <ol class='ipsList_inline ipsType_small subforums3' id='subforums_{$forum_data['id']}'><if test="showSubForumsLit:|:$__data[3]"><li class='unread'><else /><li></if></foreach></ol> <ol class='ipsList_inline ipsType_small subforums' id='subforums_{$forum_data['id']}'><foreach loop="subforums:$forum_data['subforums'] as $__id => $__data"></ol> <ol class='ipsList_inline ipsType_small subforums1' id='subforums_{$forum_data['id']}'><if test="showSubForumsLit:|:$__data[3]"><li class='unread'><else /><li></if><a href="{parse url="showforum={$__data[0]}" seotitle="{$__data[2]}" template="showforum" base="public"}" title='{$this->lang->words['go_to_forum']}'>{$__data[1]}</a></li></foreach></ol>

Si gata !

ATENTIE!

Daca ai forumul in alt folder decat "forum" trebuie sa modifici in codul CSS !

Succes !

  • Upvote 4
Link to comment
Share on other sites

  • 1 month later...

Am o intrebare, asta trebuie bagat in hooks sau unde?

Da.

cum adica

Daca ai forumul in alt folder decat "forum" trebuie sa modifici in codul CSS !

?? daca am /forum ? schimb sau cum?

Daca te uiti in codul CSS postat (cel din dreptul "Adauga la sfarsitul CSS-ului"), ai sa vezi niste adrese de genul:

'/forum/public/style_images/marble/subforum_nonew.png'
Simply a spus ca daca forumul se afla in alt folder, sau in root (adaug eu), va trebui modificat CSS-ul, referindu-se strict la aceste linii, adica, daca ai forumul in foder-ul goanga, accesibil la adresa: www.site.ro/goanga, atunci va trebui sa modifici liniile de genul celei de mai sus cu:
'/goanga/public/style_images/marble/subforum_nonew.png'

P.S: In loc de marble, la fel, trebuie sa schimbi cu numele folder-ului in care ai tu imaginile temei.

Sper ca ai inteles :D, succes :pct2: !

  • Thanks 1
  • Upvote 1

Te-ai inregistrat? Ne-ar placea sa te prezinti.

Cum pot sustine forumul?
Cumpara de la eMag folosind acest link.
--------------------
oG2BN9d.gifse1WdXd.gifQG6MtmI.gifRHYjDzD.gifG5p1wui.gif

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

Salut! Eu am reusit sa fac sa apara pe 3 coloane, numai ca inainte sa fac asta fiecare subforum avea un "+" (plus) inainte si dupa ce am facut asta cu coloanele nu mai apare "+". Stiti cum fac sa apara inapoi? Ca arata mai bine cu "+". :D

Am revenit cu un edit: E f ciudat. Dupa ce am facut asta cu coloanele, la mine, pe pc meu se vede bine. La altii se vede ca la @Flopix :|.

EliteGamers Romania - Community Games | Addicted to Gaming | Counter Strike 1.6 | Minecraft | More

Forum: forum.elitegamers.ro

Site: www.elitegamers.ro

Link to comment
Share on other sites

  • 8 months later...

Mda ..

table.ipb_table ol.subforums1 {margin-top: 3px;float: left;width: 33%;}table.ipb_table ol.subforums1 li{background: url('/forum/public/style_images/marble/subforum_nonew.png') no-repeat 0 50%;padding: 0 15px 0 15px;margin: 0;float: left;}table.ipb_table .subforums1 li.unread { font-weight: bold; background-image: url('/forum/public/style_images/marble/subforum_new.png'); }table.ipb_table ol.subforums2 {width: 33%;overflow: hidden;}table.ipb_table ol.subforums2 li {background: url('/forum/public/style_images/marble/subforum_nonew.png') no-repeat 0 50%;padding: 0 15px 0 15px;margin: 0;float: left;}table.ipb_table .subforums2 li.unread { font-weight: bold; background-image: url('/forum/public/style_images/marble/subforum_new.png'); }table.ipb_table ol.subforums3 {width: 33%;overflow: hidden;}table.ipb_table ol.subforums3 li {background: url('/forum/public/style_images/marble/subforum_nonew.png') no-repeat 0 50%;padding: 0 15px 0 15px;margin: 0;float: left;}table.ipb_table .subforums3 li.unread { font-weight: bold; background-image: url('/forum/public/style_images/marble/subforum_new.png'); }

 

 În codul acesta trebui să modifici style_images/marble/ cu style_images/tema_ta ....

Link to comment
Share on other sites

  • Moderators

Mai bine folosiţi codul următor şi nu mai trebuie să modificaţi niciun fişier de imagini... (din ipb_styles.css)

 

table.ipb_table ol.subforums1 {margin-top: 3px;float: left;width: 33%;}table.ipb_table ol.subforums1 li{background: url('{style_images_url}/subforum_nonew.png') no-repeat 0 50%;padding: 0 15px 0 15px;margin: 0;float: left;}table.ipb_table .subforums1 li.unread { font-weight: bold; background-image: url('{style_images_url}/subforum_new.png'); }table.ipb_table ol.subforums2 {width: 33%;overflow: hidden;}table.ipb_table ol.subforums2 li {background: url('{style_images_url}/subforum_nonew.png') no-repeat 0 50%;padding: 0 15px 0 15px;margin: 0;float: left;}table.ipb_table .subforums2 li.unread { font-weight: bold; background-image: url('{style_images_url}/subforum_new.png'); }table.ipb_table ol.subforums3 {width: 33%;overflow: hidden;}table.ipb_table ol.subforums3 li {background: url('{style_images_url}/subforum_nonew.png') no-repeat 0 50%;padding: 0 15px 0 15px;margin: 0;float: left;}table.ipb_table .subforums3 li.unread { font-weight: bold; background-image: url('{style_images_url}/subforum_new.png'); }
  • Upvote 4
  • Downvote 2
Link to comment
Share on other sites

  • 1 month later...

Mai bine folosiţi codul următor şi nu mai trebuie să modificaţi niciun fişier de imagini... (din ipb_styles.css)

 

table.ipb_table ol.subforums1 {margin-top: 3px;float: left;width: 33%;}table.ipb_table ol.subforums1 li{background: url('{style_images_url}/subforum_nonew.png') no-repeat 0 50%;padding: 0 15px 0 15px;margin: 0;float: left;}table.ipb_table .subforums1 li.unread { font-weight: bold; background-image: url('{style_images_url}/subforum_new.png'); }table.ipb_table ol.subforums2 {width: 33%;overflow: hidden;}table.ipb_table ol.subforums2 li {background: url('{style_images_url}/subforum_nonew.png') no-repeat 0 50%;padding: 0 15px 0 15px;margin: 0;float: left;}table.ipb_table .subforums2 li.unread { font-weight: bold; background-image: url('{style_images_url}/subforum_new.png'); }table.ipb_table ol.subforums3 {width: 33%;overflow: hidden;}table.ipb_table ol.subforums3 li {background: url('{style_images_url}/subforum_nonew.png') no-repeat 0 50%;padding: 0 15px 0 15px;margin: 0;float: left;}table.ipb_table .subforums3 li.unread { font-weight: bold; background-image: url('{style_images_url}/subforum_new.png'); }

Bun si asta unde il punem?

Trebuie pus direct sau modificam ceva? Ma refer aici la numele temei sau altceva

Link to comment
Share on other sites

  • 2 months later...

Daca esti sigur ca ai pus in CSS codul pe care Courage l-a pus mai sus, atunci nu iti apar plus-urile pentru ca probabil nu le ai in folder-ul /public/style_images/master(sau numele folder-ului temei folosite).

Imaginile dupa care trebuie sa te uiti sunt intitulate: subforum_new.png si subforum_nonew.png. Daca nu le ai, pune-le in acel director si ar trebui sa iti apara.

  • Upvote 1

Te-ai inregistrat? Ne-ar placea sa te prezinti.

Cum pot sustine forumul?
Cumpara de la eMag folosind acest link.
--------------------
oG2BN9d.gifse1WdXd.gifQG6MtmI.gifRHYjDzD.gifG5p1wui.gif

Link to comment
Share on other sites

  • 4 weeks later...

Am facut tot ce ai zis , si numele de FBI am schimbat si uite cum imi apare acum. Pe tot forumul ...

httrio.png

Mod Instalare - Mergeti La Look & Feel > "Stilul Tau" > CSS> IPB_style.css si cauta urmatoarele:

 

table.ipb_table .subforums {
margin: 2px 0 3px 5px;
padding-left: 20px;
background: url({style_images_url}/subforum_stem.png ) no-repeat left 4px;
}
table.ipb_table .subforums li.unread { font-weight: bold; }

table.ipb_table .expander {
visibility: hidden;
width: 16px;
height: 16px;
display: inline-block;
}

Si schimbatil cu:

 

table.ipb_table .subforums {
margin: 2px 0 3px 0px;
padding-left: 0px;
overflow: hidden;
width: 450px;
}
table.ipb_table .subforums li{
background: url(http://site-ul-tau/forum/subforum_nonew.png]) no-repeat left 3px;
width: 27%;
padding: 4px 14px 0px;
margin: 0;
float: left;
}
table.ipb_table .subforums li.unread {
font-weight: bold;
background-image: url(http://site-ul-tau/forum/subforum_new.png));
}

 

 

Numarul coloanelor totul de pinde de forumul dvs cat va permite: width

  • Ex: width: 550px; & width: 25% = 4
  • Ex: width: 450px; & width: 27% = 3
  • Ex: width: 400px; & width: 33% = 2

Founder &  Developer -  CST16.ro - Live The Game With US

Contact: contact@CST16.ro

Steam: Contact Steam 

Skype: alehannnt

76561198343467454.pngAddFriend.png

 

Link to comment
Share on other sites

  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.