• Rejestracja
vBHELP.pl - polskie wsparcie vBulletin
  1. #1
    Chajtek jest nieaktywny Stały bywalec
    Dołączył
    Dec 2008
    Posty
    174

    Domyślnie Edycja stylu

    Witam. Chciałbym Was dzisiaj poprosić o wskazówkę jak przerobić styl, aby z takiego kwadratowego działu:



    Powstaly zaokrąglone kanty.



    Pozdrawiam,
    chajtek.



  2. #2
    Awatar Mateusz
    Mateusz jest nieaktywny vBHELP.pl Team
    Dołączył
    Feb 2008
    Przegląda
    Gdańsk
    Posty
    542
    Przydatne posty
    119
    Wpisów
    2

    Domyślnie

    Zmienić styl lub zrobić własną grafikę i podmienić pliki.


  3. #3
    Chajtek jest nieaktywny Stały bywalec
    Dołączył
    Dec 2008
    Posty
    174

    Domyślnie

    Jakie pliki podmienić?


  4. #4
    Awatar Grzegorz
    Grzegorz jest nieaktywny Ja tu tylko sprzątam
    Dołączył
    Jan 2008
    Posty
    1 620
    Przydatne posty
    111

    Domyślnie

    Podaj kod szablonu i nazwy grafik jakie chcesz tam wstawić to pomyślimy
    Potrzebujesz stylu dla swojego forum? Chcesz przenieść styl z vbulletin 3 na vbulletin 4? Pisz PW


  5. #5
    Chajtek jest nieaktywny Stały bywalec
    Dołączył
    Dec 2008
    Posty
    174

    Domyślnie

    Wysłałem kod na pw, bo nie chcę, aby osoby trzecie miały do niego dostęp.


  6. #6
    Awatar Grzegorz
    Grzegorz jest nieaktywny Ja tu tylko sprzątam
    Dołączył
    Jan 2008
    Posty
    1 620
    Przydatne posty
    111

    Domyślnie

    Robisz według tego:
    Kod:
    /////////////////////////////////////////////////////////////////////////////////
    Title: ForumHome Category Spacing v3
    vBulletin Version: v3.8.0
    Last Updated: January 24, 2009
    Author: DaPro - http://www.gsptruth.com
    Description: Add spacing between your individual forums on your forumhome.
    Special Thanks: Floris & Zachery
    /////////////////////////////////////////////////////////////////////////////////
    
    Template Edits: 3
    Modified Files: NONE
    
    ============================================================================================================
    Step 1: Open up the FORUMHOME template and FIND the following code: (Note this may be different depending on your mods, so be cautious)
    ============================================================================================================
    <!-- main -->
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <thead>
    	<tr align="center">
    	  <td class="thead">&nbsp;</td>
    	  <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
    	  <td class="thead">$vbphrase[last_post]</td>
    	  <td class="thead">$vbphrase[threads]</td>
    	  <td class="thead">$vbphrase[posts]</td>
    	  <if condition="$vboptions['showmoderatorcolumn']">
    	  <td class="thead">$vbphrase[moderator]</td>
    	  </if>
    	</tr>
    </thead>
    $forumbits
    <tbody>
    	<tr>
    		<td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
    			<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
    			<if condition="$vboptions['forumleaders']">&nbsp; &nbsp;
    			<a href="showgroups.php$session[sessionurl_q]">$vbphrase[view_forum_leaders]</a></if>
    		</strong></div></td>
    	</tr>
    </tbody>
    </table>
    $forumhome_markread_script
    <!-- /main -->
    
    <br />
    $ad_location[ad_forumhome_afterforums]
    <br />
    
    ============================================================================================================
    Step 1a: Replace the code above with the following:
    ============================================================================================================
    <!-- main -->
    $forumbits
    $forumhome_markread_script
    <!-- /main -->
    
    $ad_location[ad_forumhome_afterforums]
    <br />
    
    ============================================================================================================
    Step 2: While still in FORUMHOME find the following code:
    ============================================================================================================
    </table>
    <br />
    <!-- end what's going on box -->
    
    ============================================================================================================
    Step 2a: Replace the code above with the following:
    ============================================================================================================
    <tbody>
    	<tr>
    		<td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
    			<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
    			<if condition="$vboptions['forumleaders']">&nbsp; &nbsp;
    			<a href="showgroups.php$session[sessionurl_q]">$vbphrase[view_forum_leaders]</a></if>
    		</strong></div></td>
    	</tr>
    </tbody>
    </table>
    <br />
    <!-- end what's going on box -->
    
    *** CLOSE & SAVE
    
    ============================================================================================================
    Step 3: Open up the template FORUMHOME_FORUMBIT_LEVEL1_NOPOST and replace the entire contents with the following:
    ============================================================================================================
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <if condition="!$show['collapsable_forums']">
    <tbody>
    </if>
    	<tr>
    		<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
    			<if condition="$childforumbits">
    			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
    			</if>
    			<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
    			<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
    			<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
    		</td>
    	</tr>
    <if condition="!$show['collapsable_forums']">
    </tbody>
    </if>
    <if condition="$childforumbits">
    <if condition="!$show['collapsable_forums']">
    <tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
    </if>
    	<tr align="center">
    	  <td class="thead" width="35">&nbsp;</td>
    	  <td class="thead" align="$stylevar[left]">$vbphrase[forum]</td>
    	  <td class="thead" width="175">$vbphrase[last_post]</td>
    	  <td class="thead" width="65">$vbphrase[threads]</td>
    	  <td class="thead" width="65">$vbphrase[posts]</td>
    	  <if condition="$vboptions['showmoderatorcolumn']">
    	  <td class="thead" width="120">$vbphrase[moderator]</td>
    	  </if>
    	</tr>
    $childforumbits
    <tr><td class="thead" style="line-height: 0; padding: 0; margin: 0;" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"><img src="$vboptions[cleargifurl]" alt=" " width="1" height="8" /></td></tr>
    <if condition="!$show['collapsable_forums']">
    </tbody>
    </if>
    </if>
    </table>
    <div style="padding: 0 0 16px 0;"></div>
    
    *** CLOSE & SAVE
    
    ============================================================================================================
    Step 4: Open up the template FORUMHOME_FORUMBIT_LEVEL2_POST and replace the entire contents with the following:
    ============================================================================================================
    <tr align="center">
    	<td class="alt2"><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>
    	<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
    		<div>
    			<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
    			<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
    		</div>
    		<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
    		<if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
    		<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
    	</td>
    	<td class="alt2" width="175">$forum[lastpostinfo]</td>
    	<td class="alt1" width="65">$forum[threadcount]</td>
    	<td class="alt2" width="65">$forum[replycount]</td>
    	<if condition="$vboptions['showmoderatorcolumn']">
    	<td class="alt1" width="120"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
    	</if>
    </tr>
    $childforumbits
    
    *** CLOSE & SAVE
    z tym że musisz zmienić ten kod:
    Kod:
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <if condition="!$show['collapsable_forums']">
    <tbody>
    </if>
    	<tr>
    		<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
    			<if condition="$childforumbits">
    			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
    			</if>
    			<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
    			<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
    			<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
    		</td>
    	</tr>
    <if condition="!$show['collapsable_forums']">
    </tbody>
    </if>
    <if condition="$childforumbits">
    <if condition="!$show['collapsable_forums']">
    <tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
    </if>
    	<tr align="center">
    	  <td class="thead" width="35">&nbsp;</td>
    	  <td class="thead" align="$stylevar[left]">$vbphrase[forum]</td>
    	  <td class="thead" width="175">$vbphrase[last_post]</td>
    	  <td class="thead" width="65">$vbphrase[threads]</td>
    	  <td class="thead" width="65">$vbphrase[posts]</td>
    	  <if condition="$vboptions['showmoderatorcolumn']">
    	  <td class="thead" width="120">$vbphrase[moderator]</td>
    	  </if>
    	</tr>
    $childforumbits
    <tr><td class="thead" style="line-height: 0; padding: 0; margin: 0;" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"><img src="$vboptions[cleargifurl]" alt=" " width="1" height="8" /></td></tr>
    <if condition="!$show['collapsable_forums']">
    </tbody>
    </if>
    </if>
    </table>
    <div style="padding: 0 0 16px 0;"></div>
    na coś takiego:
    Kod:
    <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
    <tr>
    <td><!-- ten td odpowiada za lewy obrazek --> </td>
    <td width="100%" class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
    			<if condition="$childforumbits">
    			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
    			</if>
    			<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
    			<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
    			<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
    		</td>
    <td><!-- ten td odpowiada za prawy obrazek --> </td>
    </tr>
    </table>
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    
    <if condition="$childforumbits">
    <if condition="!$show['collapsable_forums']">
    <tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
    </if>
    	<tr align="center">
    	  <td class="thead" width="35">&nbsp;</td>
    	  <td class="thead" align="$stylevar[left]">$vbphrase[forum]</td>
    	  <td class="thead" width="175">$vbphrase[last_post]</td>
    	  <td class="thead" width="65">$vbphrase[threads]</td>
    	  <td class="thead" width="65">$vbphrase[posts]</td>
    	  <if condition="$vboptions['showmoderatorcolumn']">
    	  <td class="thead" width="120">$vbphrase[moderator]</td>
    	  </if>
    	</tr>
    $childforumbits
    <if condition="!$show['collapsable_forums']">
    </tbody>
    </if>
    </if>
    </table>
    <table cellpadding="0" class="dcent"  cellspacing="0" height="33px" border="0" width="100%" align="center">
    <tr>
    <td align="left" width="15px" height="33px"><img src="$stylevar[imgdir_misc]/dls.jpg" width="15px" height="33px" /></td>
    <td align="left" width="100%"></td>
    <td align="right" width="15px" height="33px"><img src="$stylevar[imgdir_misc]/drs.jpg" width="15px" height="33px" /></td>
    </tr>
    </table>
    
    <div style="padding: 0 0 16px 0;"></div>
    tabele które ci zaznaczyłem formatujesz css'em lub normalnie wstawiasz w nie obrazki od zaookrągleń
    Potrzebujesz stylu dla swojego forum? Chcesz przenieść styl z vbulletin 3 na vbulletin 4? Pisz PW


Podobne wątki

  1. Edycja stylu
    By kika in forum Pytania i problemy
    Odpowiedzi: 13
    Ostatni post / autor: 06.01.2011, 21:01
  2. Edycja stylu.
    By MarcoPJA in forum Style
    Odpowiedzi: 1
    Ostatni post / autor: 10.07.2010, 09:40
  3. Edycja Stylu
    By Shiz0 in forum Pytania i problemy
    Odpowiedzi: 4
    Ostatni post / autor: 27.11.2008, 18:01
  4. Skilltest edycja stylu
    By Masteroo in forum Pytania i problemy
    Odpowiedzi: 6
    Ostatni post / autor: 02.08.2008, 15:07
Chmurka.pl

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67