Skocz do zawartości
"Idzie nowe..." - o zmianach i nie tylko ×
Przeniesienie zakupów z IPS Marketplace / Moving bought items from IPS Marketplace ×

Dr.C4M3L3ON

Użytkownik
  • Postów

    530
  • Dołączył

  • Ostatnia wizyta

Odpowiedzi opublikowane przez Dr.C4M3L3ON

  1. DawPi, Ok :/

    Board Index > CatHeader_Expanded >

    <div style="display:{$data['div_fc']}" id="fc_{$data['id']}">
    <div class="tile_cat_centre">
    <div class="tile_cat_droit">
    <a style="float:left;" href="java script:togglecategory({$data['id']}, 0);"><img src="./style_images/<#IMG_DIR#>/tile_cat_gauche.gif" alt="" border="0" /></a>
    <div class="tile_cat2">						
    		<a href="{$this->ipsclass->base_url}showforum={$data['id']}">{$data['name']}</a>
    </div>
    </div></div>
    <div class="bordureg">
    <div class="bordured">
    <table cellpadding="4" cellspacing="1" border="0" width="100%" align="center">
    <tbody>
    <tr align="center">
      <td class="thead"> </td>
      <td class="thead" width="65%" align="left">{$this->ipsclass->lang['cat_name']}</td>
      <td class="thead" width="15%">{$this->ipsclass->lang['topics']}</td>
      <td class="thead" width="15%" nowrap>{$this->ipsclass->lang['replies']}</td>
      <td class="thead" width="5%" nowrap>{$this->ipsclass->lang['last_post_info']}</td>
    </tr>
    </tbody>
    </table>
    </div></div>
    <div class="catend_centre">
    <div class="catend_gauche">
    <div class="catend_droite">
    </div></div></div>
    </div>
    
    <div style="display:{$data['div_fo']}" id="fo_{$data['id']}">
    <div class="tile_cat_centre">
    <div class="tile_cat_droit">
    					<a style="float:left;" href="java script:togglecategory({$data['id']}, 1);"><img src="./style_images/<#IMG_DIR#>/tile_cat_gauche.gif" alt="" border="0" /></a>
    <div class="tile_cat2">
    		<a href="{$this->ipsclass->base_url}showforum={$data['id']}">{$data['name']}</a>
    </div>
    </div></div>
    <div class="bordureg">
    <div class="bordured">
    <table cellpadding="4" cellspacing="1" border="0" width="100%" align="center">
    <tbody>
    <tr align="center">
      <td class="thead"> </td>
      <td class="thead" width="65%" align="left">{$this->ipsclass->lang['cat_name']}</td>
      <td class="thead" width="15%">{$this->ipsclass->lang['topics']}</td>
      <td class="thead" width="15%" nowrap>{$this->ipsclass->lang['replies']}</td>
      <td class="thead" width="5%" nowrap>{$this->ipsclass->lang['last_post_info']}</td>
    </tr>
    </tbody>
    <tbody>

    Zamieniłem na :

     <div style="display:{$data['div_fc']}" id="fc_{$data['id']}">
    <div class="tile_cat_centre">
    <div class="tile_cat_droit">
    <a style="float:left;" href="java script:togglecategory({$data['id']}, 0);"><img src="./style_images/<#IMG_DIR#>/tile_cat_gauche.gif" alt="" border="0" /></a>
    <div class="tile_cat2">						
    		<a href="{$this->ipsclass->base_url}showforum={$data['id']}">{$data['name']}</a>
    </div>
    </div></div>
    <div class="bordureg">
    <div class="bordured">
    <table cellpadding="4" cellspacing="1" border="0" width="100%" align="center">
    <tbody>
    <tr align="center">
      <td class="thead"> </td>
      <td class="thead" width="60%" align="left">{$this->ipsclass->lang['cat_name']}</td>
      <td class="thead" width="10%">{$this->ipsclass->lang['topics']}</td>
      <td class="thead" width="10%" nowrap>{$this->ipsclass->lang['replies']}</td>
      <td class="thead" width="20%" nowrap>{$this->ipsclass->lang['last_post_info']}</td>
    </tr>
    </tbody>
    </table>
    </div></div>
    <div class="catend_centre">
    <div class="catend_gauche">
    <div class="catend_droite">
    </div></div></div>
    </div>
    
    <div style="display:{$data['div_fo']}" id="fo_{$data['id']}">
    <div class="tile_cat_centre">
    <div class="tile_cat_droit">
    					<a style="float:left;" href="java script:togglecategory({$data['id']}, 1);"><img src="./style_images/<#IMG_DIR#>/tile_cat_gauche.gif" alt="" border="0" /></a>
    <div class="tile_cat2">
    		<a href="{$this->ipsclass->base_url}showforum={$data['id']}">{$data['name']}</a>
    </div>
    </div></div>
    <div class="bordureg">
    <div class="bordured">
    <table cellpadding="4" cellspacing="1" border="0" width="100%" align="center">
    <tbody>
    <tr align="center">
      <td class="thead"> </td>
      <td class="thead" width="60%" align="left">{$this->ipsclass->lang['cat_name']}</td>
      <td class="thead" width="10%">{$this->ipsclass->lang['topics']}</td>
      <td class="thead" width="10%" nowrap>{$this->ipsclass->lang['replies']}</td>
      <td class="thead" width="20%" nowrap>{$this->ipsclass->lang['last_post_info']}</td>
    </tr>
    </tbody>
    <tbody>

    pozniej Board Index > ForumRow

    <tr> 
    		<td align="center" class="row2" width="1%">{$data['img_new_post']}</td>
    		<td class="row2">
    			{$data['_queued_img']}<b><a href="{$this->ipsclass->base_url}showforum={$data['id']}">{$data['name']}</a></b>
    			<br />
    			<span class="forumdesc">{$data['description']}{$data['show_subforums']}
    			<if="$data['moderator']">
    				<br /><i>{$data['moderator']}</i>
    			</if>
    			</span>
    			{$data['_queued_info']}
    		</td>
    		<td align="center" class="row1">{$data['topics']}</td>
    		<td align="center" class="row1">{$data['posts']}</td>
    		<td class="row1" nowrap="nowrap">{$data['last_unread']} <span>{$data['last_post']}<br /><b>{$this->ipsclass->lang['in']}:</b> {$data['last_topic']}<br /><b>{$this->ipsclass->lang['by']}:</b> {$data['last_poster']}</span></td>
    	</tr>

    Zamienilem na :

    <tr> 
    		<td align="center" class="row2" width="1%">{$data['img_new_post']}</td>
    		<td class="row2">
    			{$data['_queued_img']}<b><a href="{$this->ipsclass->base_url}showforum={$data['id']}">{$data['name']}</a></b>
    			<br />
    			<span class="forumdesc">{$data['description']}{$data['show_subforums']}
    			<if="$data['moderator']">
    				<br /><i>{$data['moderator']}</i>
    			</if>
    			</span>
    			{$data['_queued_info']}
    		</td>
    		<td align="center" class="row1">{$data['topics']}</td>
    		<td align="center" class="row1">{$data['posts']}</td>
    		<td class="row1">{$data['last_unread']} <span>{$data['last_post']}<br /><b>{$this->ipsclass->lang['in']}:</b> {$data['last_topic']}<br /><b>{$this->ipsclass->lang['by']}:</b> {$data['last_poster']}</span></td>
    	</tr>

    Efekt - Wszystko jest tak jak powinno być czyli prosto.

    Można zamknąc :D

  2. DawPi,

    A więc tak cały kod z ForumRow wygląda tak:

    <tr> 
    		<td align="center" class="row2" width="1%">{$data['img_new_post']}</td>
    		<td class="row2">
    			{$data['_queued_img']}<b><a href="{$this->ipsclass->base_url}showforum={$data['id']}">{$data['name']}</a></b>
    			<br />
    			<span class="forumdesc">{$data['description']}{$data['show_subforums']}
    			<if="$data['moderator']">
    				<br /><i>{$data['moderator']}</i>
    			</if>
    			</span>
    			{$data['_queued_info']}
    		</td>
    		<td align="center" class="row1">{$data['topics']}</td>
    		<td align="center" class="row1">{$data['posts']}</td>
    		<td class="row1" nowrap="nowrap">{$data['last_unread']} <span>{$data['last_post']}<br /><b>{$this->ipsclass->lang['in']}:</b> {$data['last_topic']}<br /><b>{$this->ipsclass->lang['by']}:</b> {$data['last_poster']}</span></td>
    	</tr>

    W tym kawałku

    <td class="row1" nowrap="nowrap">

    Po usunieciu (tak jak ty pisales w tamtym temacie by usunąc ten kawalek)

    nowrap="nowrap"

    Forum sie wyrównalo ale teraz co innego nawala

    8jl743c6qtx0fbznwokx_thumb.jpg

    Jakies propozycje ? :D

  3. Wczoraj widzialem ze nasz menago nazekal na małą ilosc pomysłów na modyfikacje więc mam pare pomyslow.

    Call User w shoutboxie polegałby na tym że kiedy klikniemy na kogos nick, w polu do pisania wychodziłby kod:

    [b][color="kolor_grupy"]Nick_usera[/color][/b],

    Napewno byłoby to duzym ulatwieniem, nie trzebaby bylo pisac nickow.

    W standardowym ip.shoutboxie po kliknieciu na nick przechodzi do profilu usera wiec to akurat moznaby zamienic na jakąs malutką ikonke kolo nicka ktora po kliknieciu prowadzila by do profilu.

    Podobnie mialem w modyfikowanym shoutboxie na phpBB by przemo :D

    Myślę że taka modyfikacja jest bardzo przydatna i ułatwia kozystanie z forum :D

    Mam nadzieję ze powstanie.

    Pozdrawiam :/

  4. Yyy wstawilem tylko :

    $avatar = $this->ipsclass->get_avatar($avatar['avatar_location'], 1,$avatar['avatar_size'], $avatar['avatar_type']);
    
    $this->ipsclass->skin['_wrapper'] = str_replace( "<% AVATAR %>"	 , $avatar						 , $this->ipsclass->skin['_wrapper']);

    EDIT:

    Kurcze zadzialało teraz gdy dodalem ten drugi kod :D

    Tylko avatary mam ustawione na 250px wysokosci a logo razem ma 215px wysokosci. Czy daloby sie zrobic aby avatar byl automatycznie pomniejszany do np. 200px ?

  5. wstawialem ten kod

    $qer= $this->ipsclass->DB->query("SELECT * FROM ibf_member_extra WHERE id = " . $this->ipsclass->member['id']);
    $avatar = $this->ipsclass->DB->fetch_row($qer);
    $data['avatar'] = $this->ipsclass->get_avatar($avatar['avatar_location'], 1,$avatar['avatar_size'], $avatar['avatar_type']);

    w sources/classes/class_display.php i nie wiem co dalej :D .

    Poza tym z tego linku co dales to wynika to ze w ten sposob kod wynikowy (Kod wynikowy czyli np. <% AVATAR %> ) mozna wstawic tylko w Board Header & Footer Wrapper a ja potrzebowalbym go wstawic w global_board_header

×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Umieściliśmy na Twoim urządzeniu pliki cookie, aby pomóc Ci usprawnić przeglądanie strony. Możesz dostosować ustawienia plików cookie, w przeciwnym wypadku zakładamy, że wyrażasz na to zgodę.