.

Kolumny

Forum rules
1. Zezwala się na umieszczanie pytań związanych z webmasteringiem phpBB3
2. Pytania które będą zawierały problemy z podstawami HTML i CSS będą przenoszone do Kosza.
3. Tytuł zakładanego tematu powinien być krótki i sensowny, tematy zatytułowane w ten sposób PROBLEM, POMOCY itd. będą przenoszone do kosza.
4. Jeżeli założyłeś wątek na http://phpbb3.pl i założysz taki sam tutaj otrzymasz ostrzeżenie (3 ostrzeżenia = ban).

Kolumny

Postby MarciNXM » 8 Sep 2010, o 21:28

Witam. Na jakimś forum widziałem poradnik na zmiane ułożenia subfor w kolumnach itp. Po proszę o link.

User avatar
MarciNXM
Junior
1 year of membership
Junior
Posts: 148
Joined: 31 May 2010, o 15:34
Cash on hand: 339.95
Bank: 5,099.79
Invitations sent: 0
Successful invitations: 0
Points: 2
phpBB Knowledge:: 5

Re: Kolumny

Postby napus » 8 Sep 2010, o 21:30

http://lmgtfy.com/?q=subforum+display+options

Image
User avatar
napus
Administrator
2 years of membership2 years of membership
Administrator
Posts: 2641
Images: 1
Joined: 29 Apr 2010, o 16:26
Cash on hand: 33,682.50
Bank: 14,448.22
Location: Rzeszów
National Flag: Poland
Invitations sent: 1
Successful invitations: 0
Highscores: 6
Points: 225
phpBB Knowledge:: 8

Re: Kolumny

Postby MarciNXM » 9 Sep 2010, o 16:38

xD Dziękuję

EDIT@
Żeby nie robić nowego tematu to mam nowe pytanie. Gdzieś było ze pokazywało AJAX liczba spedzonego czasu na forum. Szukałem i tu i w google ale nie znalazłem

User avatar
MarciNXM
Junior
1 year of membership
Junior
Posts: 148
Joined: 31 May 2010, o 15:34
Cash on hand: 339.95
Bank: 5,099.79
Invitations sent: 0
Successful invitations: 0
Points: 2
phpBB Knowledge:: 5

Re: Kolumny

Postby Jacold » 9 Sep 2010, o 17:08

Może to Cię zainteresuje:
http://forum.phpbb3-mods.pl/advanced-forum-statistics-t175.html
Nie jest to w AJAXie, ale może przypasi.

Image
Image
User avatar
Jacold
Stały bywalec
1 year of membership
Stały bywalec
Posts: 400
Images: 1
Joined: 24 Jun 2010, o 23:23
Cash on hand: 272.85
Bank: 19,605.48
Location: Poznań
Invitations sent: 0
Successful invitations: 0
Highscores: 16
Points: 15
phpBB Knowledge:: 6

Re: Kolumny

Postby MarciNXM » 9 Sep 2010, o 17:32

Nie chodzi mi coś prostego, ONLINE TIEM AJAX czy jakoś to nazwe nosiło. Dodawało linijke ile ktos przesiedział na forum

User avatar
MarciNXM
Junior
1 year of membership
Junior
Posts: 148
Joined: 31 May 2010, o 15:34
Cash on hand: 339.95
Bank: 5,099.79
Invitations sent: 0
Successful invitations: 0
Points: 2
phpBB Knowledge:: 5

Re: Kolumny

Postby napus » 9 Sep 2010, o 17:55

[BETA] User Online Time

Image
User avatar
napus
Administrator
2 years of membership2 years of membership
Administrator
Posts: 2641
Images: 1
Joined: 29 Apr 2010, o 16:26
Cash on hand: 33,682.50
Bank: 14,448.22
Location: Rzeszów
National Flag: Poland
Invitations sent: 1
Successful invitations: 0
Highscores: 6
Points: 225
phpBB Knowledge:: 8

Re: Kolumny

Postby MarciNXM » 9 Sep 2010, o 20:11

W tym modzie co mi dałeś to jak mam przestawić żeby były np. 4 rzędy?

User avatar
MarciNXM
Junior
1 year of membership
Junior
Posts: 148
Joined: 31 May 2010, o 15:34
Cash on hand: 339.95
Bank: 5,099.79
Invitations sent: 0
Successful invitations: 0
Points: 2
phpBB Knowledge:: 5

Re: Kolumny

Postby jarek26 » 9 Sep 2010, o 22:06

Da się ale jest z tym trochę kombinowania. Jak chcesz to mogę ci to zrobić ale to nie ten dział..

User avatar
jarek26
Moderator
1 year of membership
Moderator
Posts: 412
Joined: 4 Jun 2010, o 18:32
Cash on hand: 1,814.05
Bank: 16,788.35
Location: Łomża
National Flag: Poland
Invitations sent: 0
Successful invitations: 0
Points: 52
phpBB Knowledge:: 6

Re: Kolumny

Postby MarciNXM » 10 Sep 2010, o 17:25

W tamtym temacie został podany taki kod:
Code: Select all
#
#-----[ OPEN ]---------------------------------------------
#

language/en/acp/board.php


#
#-----[ FIND ]---------------------------------------------
#

   'COLUMN'                  => '2 columns side by side',


#
#-----[ REPLACE WITH ]-------------------------------------
#

   'COLUMN'                  => '3 columns side by side',



#
#-----[ OPEN ]---------------------------------------------
#

styles/prosilver/template/forumlist_body.html


#
#-----[ FIND ]---------------------------------------------
#

                  <!-- IF forumrow.S_SUBFORUM_DISPLAY === '1' -->
                     <!-- BEGIN subforum -->
                        <div class="<!-- IF forumrow.subforum.S_ROW_COUNT is odd -->column2<!-- ELSE -->column1<!-- ENDIF -->"><a href="{forumrow.subforum.U_SUBFORUM}" class="subforum <!-- IF forumrow.subforum.S_UNREAD is odd -->unread<!-- ELSE -->read<!-- ENDIF -->">{forumrow.subforum.SUBFORUM_NAME}</a></div>
                     <!-- END subforum -->


#
#-----[ AFTER ADD ]----------------------------------------
#

                  <!-- IF forumrow.S_SUBFORUM_DISPLAY === '1' -->
                     <!-- BEGIN subforum -->
                        <div class="subforum-<!-- IF forumrow.subforum.S_ROW_COUNT mod 3 eq 1 -->column2<!-- ELSEIF forumrow.subforum.S_ROW_COUNT mod 3 eq 2 -->column3<!-- ELSE -->column1<!-- ENDIF -->"><a href="{forumrow.subforum.U_SUBFORUM}" class="subforum <!-- IF forumrow.subforum.S_UNREAD is odd -->unread<!-- ELSE -->read<!-- ENDIF -->">{forumrow.subforum.SUBFORUM_NAME}</a></div>



#
#-----[ OPEN ]---------------------------------------------
#

styles/prosilver/theme/common.css


#
#-----[ FIND ]---------------------------------------------
#

.column1 {
   float: left;
   clear: left;
   width: 49%;
}

.column2 {
   float: right;
   clear: right;
   width: 49%;
}


#
#-----[ AFTER ADD ]----------------------------------------
#

.subforum-column1 {
   float: left;
   clear: left;
   width: 32%;
}

.subforum-column2 {
   float: left;
   width: 32%;
}

.subforum-column3 {
   float: right;
   clear: right;
   width: 32%;
}


#
#-----[ EOM ]----------------------------------------------
#


Lecz jak robię według tej instrukcji (mam bazowany na subsilver2) to pisze error i działów nie widzę error w forumlist_body i te .css do stylesheet na koniec walnołem. Może ktoś przerobić to na subsilver2?

User avatar
MarciNXM
Junior
1 year of membership
Junior
Posts: 148
Joined: 31 May 2010, o 15:34
Cash on hand: 339.95
Bank: 5,099.79
Invitations sent: 0
Successful invitations: 0
Points: 2
phpBB Knowledge:: 5

Re: Kolumny

Postby napus » 10 Sep 2010, o 17:26

Jaki error ??

Image
User avatar
napus
Administrator
2 years of membership2 years of membership
Administrator
Posts: 2641
Images: 1
Joined: 29 Apr 2010, o 16:26
Cash on hand: 33,682.50
Bank: 14,448.22
Location: Rzeszów
National Flag: Poland
Invitations sent: 1
Successful invitations: 0
Highscores: 6
Points: 225
phpBB Knowledge:: 8

Next



Return to Webmastering

Who is online

Users browsing this forum: No registered users and 0 guests