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

Nitrous

Użytkownik
  • Postów

    226
  • Dołączył

  • Ostatnia wizyta

Treść opublikowana przez Nitrous

  1. jakie pytanie bo ja go nie widzę. nie znam się za bardzo na programowaniu nie wiem jakie tez jest najlepsze rozwiązanie.
  2. ogolnie to chciałbym zrobić coś takiego: 1. Strona główna grafika xxx.jpg która ma wysokość 480px 2. na pozostałych podstronach domyslne tło oraz logo wysokosc 100px 3. w wybranej kategorii grafika o wysokości np 300px
  3. w sumie wpadło mi jeszcze do głowy, bo wtedy tapeta na glownej bedzie się wyswietlac w innych kategoriach oprócz nr 83 gdzie bedzie inna. Nie wiem czy mozna tak zrobić aby na stronie glownej byla tapeta nr 008.jpg ktora ma wysokosc 480px w globaltemplate <div id='branding'> w CSS #branding { height: 480px; } a na pozostałych podstronach bylo standardowe logo ktore ma wysokosc 80px ale za to w kategorii nr 83 pojawila sie juz inna tapeta ktora tez bedzie miala wymiar 480px lub inny.
  4. zamieniłem to: <body id='ipboard_body'> na to: <body class="body<if test="$this->request['f'] || ( ( $this->request['app'] != 'forums' ) && ! $this->request['f'] && isset( $this->request['app'] ) )">_page</if>" > w CSS dodałem body { background: #000 url(008.jpg) no-repeat scroll 50% 0; color: #777777; font: normal 12px tahoma, arial, verdana, sans-serif; position: relative; padding-bottom: 8px; } body_page { background: #fff; color: #777777; font: normal 12px tahoma, arial, verdana, sans-serif; position: relative; padding-bottom: 8px; } i nie działa bo nadal mi wyswietla na podstronach tą samą tapete. pewnie coś zle zedytowałem.
  5. strona główna ma pozostać z tapetą 008.jpg ale np po wejściu w dział nr 83 pojawi się juz inna 009.jpg
  6. dodac nowy bit ? i do niego dodać całą zawartość <body id='ipboard_body'> ?
  7. Witam na stronie głównej mam wstawioną tapetę odnośnik do tapety znajduje się w znaczniku "body" a chciałbym zrobić aby tapeta na stronie głównej pozostała a np w dziale nr 83 pojawiła się juz inna. znacznik body w globaltemplate <body id='ipboard_body'> a tak wygląda w CSS body { background: #000 url(008.jpg) no-repeat scroll 50% 0; color: #777777; font: normal 12px tahoma, arial, verdana, sans-serif; position: relative; padding-bottom: 8px; }
  8. <div class="category_block block_wrap" id=""> <if test="cats_forums:|:is_array( $cat_data ) AND count( $cat_data )"> <foreach loop="categories:$cat_data as $_data"> <if test="cat_has_forums:|:is_array( $_data['forum_data'] ) AND count( $_data['forum_data'] )"> {parse striping="catTable" classes="row1,row2"} <div class='category_block block_wrap'> {parse replacement="header_start"}<h3 id='category_{$_data['cat_data']['id']}' class='maintitle'><a class='toggle right' href='#' title="{$this->lang->words['toggle_cat']}">{$this->lang->words['toggle_cat']}</a> <a href="{parse url="showforum={$_data['cat_data']['id']}" seotitle="{$_data['cat_data']['name_seo']}" template="showforum" base="public"}" title='{$this->lang->words['view_cat']}'>{$_data['cat_data']['name']}</a></h3>{parse replacement="header_end"} <table cellspacing='0' class='ipb_table' summary="{$this->lang->words['forums_in_cat']} '{$_data['cat_data']['name']}'"> <tr class='header'> <th scope='col' class='col_c_icon'> </th> <th scope='col' class='col_c_forum'>{$this->lang->words['cat_name']}</th> <th scope='col' class='col_c_stats stats'>{$this->lang->words['stats']}</th> <th scope='col' class='col_c_post'>{$this->lang->words['last_post_info']}</th> </tr> <!-- / CAT HEADER --> <foreach loop="forums:$_data['forum_data'] as $forum_id => $forum_data"> <if test="forumRedirect:|:$forum_data['redirect_on']"> <tr class='{parse striping="catTable"} redirect_forum'> <td class='altrow'>{parse replacement="f_redirect"}</td> <td> <h4><a href="{parse url="showforum={$forum_data['id']}" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}" title='{$this->lang->words['go_to_forum']}'>{$forum_data['name']}</a></h4> <p class='desc' style='padding-top: 3px;'>{$forum_data['description']}</p> </td> <td colspan='2'> {$this->lang->words['rd_hits']}: {parse format_number="$forum_data['redirect_hits']"} </td> </tr> <else /> <tr class='{parse striping="catTable"}'> <td class='altrow'> <if test="unreadicon:|:$forum_data['img_new_post'] != 'f_locked' && strstr( $forum_data['img_new_post'], 'unread' )"> <a id='forum_img_{$forum_data['id']}' href="{parse url="app=forums&module=forums&section=markasread&marktype=forum&forumid={$forum_data['id']}&returntoforumid={$this->request['f']}&i=1" base="public"}" title="{$this->lang->words['bi_markread']}" class='forum_marker'> <if test="$forum_data['icon'] != '' AND $forum_data['icon'] !='0'"> <center><img src='{$this->settings['board_url']}/public/forumicons/{$forum_data['icon']}.gif' /></center> <else /> <if test="$forum_data['icon'] != '' AND $forum_data['icon'] !='0'"> <center><img src='{$this->settings['board_url']}/public/forumicons/{$forum_data['icon']}_off.gif' /></center> <else /> {parse replacement="{$forum_data['img_new_post']}"} </if> </if> </a> <script type='text/javascript'> ipb.global.registerMarker( "forum_img_{$forum_data['id']}", "{$forum_data['img_new_post']}", markerURL + "&forumid={$forum_data['id']}" ); </script> <else /> <if test="$forum_data['icon'] != '' AND $forum_data['icon'] !='0'"> <center><img src='{$this->settings['board_url']}/public/forumicons/{$forum_data['icon']}_off.gif' /></center> <else /> {parse replacement="{$forum_data['img_new_post']}"} </if> </if> </td> <td> <h4><a href="{parse url="showforum={$forum_data['id']}" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}" title='{$this->lang->words['go_to_forum']}'>{$forum_data['name']}</a></h4> <p class='desc' style='padding-top: 3px;'>{$forum_data['description']}</p> <if test="showSubForums:|:$forum_data['show_subforums'] AND count( $forum_data['subforums'] ) AND $forum_data['show_subforums']"> <h5 class='hide'>{$this->lang->words['subforums']}</h5> <ol class='subforums' id='subforums_{$forum_data['id']}'> <foreach loop="subforums:$forum_data['subforums'] as $__id => $__data"> <if test="showSubForumsLit:|:$__data[3]"><li class='newposts'><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> </if> <!-- Skinnote: Clean up queued stuff --> <if test="hasQueuedAndCanSeeIcon:|:!empty($forum_data['_has_queued_and_can_see_icon'])"> <em class='moderated'><a href='{parse url="showforum={$forum_data['id']}&modfilter=all" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}' title='{$this->lang->words['view_unapproved']}'>{parse expression="sprintf( $this->lang->words['f_queued'], $forum_data['queued_topics'], $forum_data['queued_posts'])"}</a></em> </if> </td> <td class='altrow stats'> <ul> <li>{$forum_data['topics']} {$this->lang->words['topics']}</li> <li>{$forum_data['posts']} {$this->lang->words['replies']}</li> </ul> </td> <td nowrap='nowrap'> <ul class='last_post'> <if test="hideLastInfo:|:$forum_data['hide_last_info']"> <li>{$this->lang->words['f_protected']}</li> <else /> <li> <strong>{$this->lang->words['in']} {$forum_data['last_topic_title']}</strong> </li> <li> {$this->lang->words['by']} <if test="lastPosterName:|:isset($forum_data['last_poster_name']) AND $forum_data['last_poster_name']"> <if test="lastPosterID:|:$forum_data['last_poster_id']"> <a href='{parse url="showuser={$forum_data['last_poster_id']}" template="showuser" seotitle="{$forum_data['seo_last_name']}" base="public"}' title='{$this->lang->words['view_profile']}'>{$forum_data['last_poster_name']}</a>{parse template="user_popup" group="global" params="$forum_data['last_poster_id'], $forum_data['seo_last_name']"} <else /> {$this->settings['guest_name_pre']}{$forum_data['last_poster_name']}{$this->settings['guest_name_suf']} </if> <else /> {$this->lang->words['f_none']} </if> <if test="hideDateUrl:|:$forum_data['_hide_last_date']"> <span class='topic_date'>{parse date="$forum_data['last_post']" format="LONG"}</span> <else /> <span class='topic_date'><a href='{parse url="showtopic={$forum_data['last_id']}&view=getlastpost" base="public" template="showtopic" seotitle="{$forum_data['seo_last_title']}"}' title='{$this->lang->words['view_last_post']}'>{parse date="$forum_data['last_post']" format="LONG"}</a></span> </if> </li> </if> </ul> </td> </tr> </if> </foreach> </table>{parse replacement="box_end"} </div> <div class="maintitle_base"><div class="header_left"><div class="header_right"><h3 class="maintitle"> <a href="" title="Wyświetl kategorię"> Reklama</a> tutaj bedzie kod reklamy flash <br /> <br /> </div></h3></div></div> </if> </foreach> </if> </div> </div>
  9. <div class="maintitle_base"><div class="header_left"><div class="header_right"><h3 class="maintitle"> <a href="" title="Wyświetl kategorię"> Reklama</a> tutaj bedzie kod reklamy flash </div></h3></div></div></div> w pierwszym poscie dodalem tą całą sekcje.
  10. witam Chciałbym dodać belke np po drugiej kategorii znalazłem sekcje gdzie dodać kod, ale problem się pojawia w loopowaniu kiedy dodac to pokazuje mi sie w wszystkich kategoriach, jest jakiś sposób aby to ominąć? a dokładnie o coś takiego mi chodzi: <div class="category_block block_wrap" id=""> <if test="cats_forums:|:is_array( $cat_data ) AND count( $cat_data )"> <foreach loop="categories:$cat_data as $_data"> <if test="cat_has_forums:|:is_array( $_data['forum_data'] ) AND count( $_data['forum_data'] )"> {parse striping="catTable" classes="row1,row2"} <div class='category_block block_wrap'> {parse replacement="header_start"}<h3 id='category_{$_data['cat_data']['id']}' class='maintitle'><a class='toggle right' href='#' title="{$this->lang->words['toggle_cat']}">{$this->lang->words['toggle_cat']}</a> <a href="{parse url="showforum={$_data['cat_data']['id']}" seotitle="{$_data['cat_data']['name_seo']}" template="showforum" base="public"}" title='{$this->lang->words['view_cat']}'>{$_data['cat_data']['name']}</a></h3>{parse replacement="header_end"} <table cellspacing='0' class='ipb_table' summary="{$this->lang->words['forums_in_cat']} '{$_data['cat_data']['name']}'"> <tr class='header'> <th scope='col' class='col_c_icon'> </th> <th scope='col' class='col_c_forum'>{$this->lang->words['cat_name']}</th> <th scope='col' class='col_c_stats stats'>{$this->lang->words['stats']}</th> <th scope='col' class='col_c_post'>{$this->lang->words['last_post_info']}</th> </tr> <!-- / CAT HEADER --> <foreach loop="forums:$_data['forum_data'] as $forum_id => $forum_data"> <if test="forumRedirect:|:$forum_data['redirect_on']"> <tr class='{parse striping="catTable"} redirect_forum'> <td class='altrow'>{parse replacement="f_redirect"}</td> <td> <h4><a href="{parse url="showforum={$forum_data['id']}" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}" title='{$this->lang->words['go_to_forum']}'>{$forum_data['name']}</a></h4> <p class='desc' style='padding-top: 3px;'>{$forum_data['description']}</p> </td> <td colspan='2'> {$this->lang->words['rd_hits']}: {parse format_number="$forum_data['redirect_hits']"} </td> </tr> <else /> <tr class='{parse striping="catTable"}'> <td class='altrow'> <if test="unreadicon:|:$forum_data['img_new_post'] != 'f_locked' && strstr( $forum_data['img_new_post'], 'unread' )"> <a id='forum_img_{$forum_data['id']}' href="{parse url="app=forums&module=forums&section=markasread&marktype=forum&forumid={$forum_data['id']}&returntoforumid={$this->request['f']}&i=1" base="public"}" title="{$this->lang->words['bi_markread']}" class='forum_marker'> <if test="$forum_data['icon'] != '' AND $forum_data['icon'] !='0'"> <center><img src='{$this->settings['board_url']}/public/forumicons/{$forum_data['icon']}.gif' /></center> <else /> <if test="$forum_data['icon'] != '' AND $forum_data['icon'] !='0'"> <center><img src='{$this->settings['board_url']}/public/forumicons/{$forum_data['icon']}_off.gif' /></center> <else /> {parse replacement="{$forum_data['img_new_post']}"} </if> </if> </a> <script type='text/javascript'> ipb.global.registerMarker( "forum_img_{$forum_data['id']}", "{$forum_data['img_new_post']}", markerURL + "&forumid={$forum_data['id']}" ); </script> <else /> <if test="$forum_data['icon'] != '' AND $forum_data['icon'] !='0'"> <center><img src='{$this->settings['board_url']}/public/forumicons/{$forum_data['icon']}_off.gif' /></center> <else /> {parse replacement="{$forum_data['img_new_post']}"} </if> </if> </td> <td> <h4><a href="{parse url="showforum={$forum_data['id']}" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}" title='{$this->lang->words['go_to_forum']}'>{$forum_data['name']}</a></h4> <p class='desc' style='padding-top: 3px;'>{$forum_data['description']}</p> <if test="showSubForums:|:$forum_data['show_subforums'] AND count( $forum_data['subforums'] ) AND $forum_data['show_subforums']"> <h5 class='hide'>{$this->lang->words['subforums']}</h5> <ol class='subforums' id='subforums_{$forum_data['id']}'> <foreach loop="subforums:$forum_data['subforums'] as $__id => $__data"> <if test="showSubForumsLit:|:$__data[3]"><li class='newposts'><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> </if> <!-- Skinnote: Clean up queued stuff --> <if test="hasQueuedAndCanSeeIcon:|:!empty($forum_data['_has_queued_and_can_see_icon'])"> <em class='moderated'><a href='{parse url="showforum={$forum_data['id']}&modfilter=all" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}' title='{$this->lang->words['view_unapproved']}'>{parse expression="sprintf( $this->lang->words['f_queued'], $forum_data['queued_topics'], $forum_data['queued_posts'])"}</a></em> </if> </td> <td class='altrow stats'> <ul> <li>{$forum_data['topics']} {$this->lang->words['topics']}</li> <li>{$forum_data['posts']} {$this->lang->words['replies']}</li> </ul> </td> <td nowrap='nowrap'> <ul class='last_post'> <if test="hideLastInfo:|:$forum_data['hide_last_info']"> <li>{$this->lang->words['f_protected']}</li> <else /> <li> <strong>{$this->lang->words['in']} {$forum_data['last_topic_title']}</strong> </li> <li> {$this->lang->words['by']} <if test="lastPosterName:|:isset($forum_data['last_poster_name']) AND $forum_data['last_poster_name']"> <if test="lastPosterID:|:$forum_data['last_poster_id']"> <a href='{parse url="showuser={$forum_data['last_poster_id']}" template="showuser" seotitle="{$forum_data['seo_last_name']}" base="public"}' title='{$this->lang->words['view_profile']}'>{$forum_data['last_poster_name']}</a>{parse template="user_popup" group="global" params="$forum_data['last_poster_id'], $forum_data['seo_last_name']"} <else /> {$this->settings['guest_name_pre']}{$forum_data['last_poster_name']}{$this->settings['guest_name_suf']} </if> <else /> {$this->lang->words['f_none']} </if> <if test="hideDateUrl:|:$forum_data['_hide_last_date']"> <span class='topic_date'>{parse date="$forum_data['last_post']" format="LONG"}</span> <else /> <span class='topic_date'><a href='{parse url="showtopic={$forum_data['last_id']}&view=getlastpost" base="public" template="showtopic" seotitle="{$forum_data['seo_last_title']}"}' title='{$this->lang->words['view_last_post']}'>{parse date="$forum_data['last_post']" format="LONG"}</a></span> </if> </li> </if> </ul> </td> </tr> </if> </foreach> </table>{parse replacement="box_end"} </div> </if> </foreach> </if> </div> </div>
  11. kod rotatora <?php $baner = array(); $baner[0] = 'http://domain.org/rotator/ep_ekwador.swf'; $baner[1] = 'http://domain.org/rotator/en_house.swf'; $baner[2] = 'http://domain.org/rotator/tm2010.swf'; $random = mt_rand(0, count($baner) - 1); echo '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="750" height="100"> <param name="movie" value="'.$baner[$random].'" /> <param name="quality" value="high" /> <param name="bgcolor" value="#ffffff" /> <param name="flashvars" value="parametr1=abc&parametr2=xyz" /> <!--[if !IE]><--><object data="'.$baner[$random].'" width="750" height="100" type="application/x-shockwave-flash"> <param name="quality" value="high" /> <param name="bgcolor" value="#ffffff" /> <param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer" /> <param name="bgcolor" value="#ffffff" /> <param name="flashvars" value="parametr1=abc&parametr2=xyz" /><p>Alternatywna zawartość w przypadku braku flash-a.</p></object><!--> <![endif]--></object>'; ?>
  12. dodalem w taki sposób i wyskoczył mi error Warning: Cannot modify header information - headers already sent by (public_html/cache/skin_cache/cacheid_17/skin_boards.php:95) in /public_html/admin/sources/classes/output/formats/html/htmlOutput.php on line 109 Warning: Cannot modify header information - headers already sent by (public_html/cache/skin_cache/cacheid_17/skin_boards.php:95) in public_html/admin/sources/classes/output/formats/html/htmlOutput.php on line 120
  13. Witam mam napisany rotator flash w php i chce go wstawić w boardIndexTemplate probowałem poprzez {parse include="http://domain.org/Archive/News.php"} ale nie działa są jakies inne sposoby ?
  14. Nitrous

    (Pav31) Tags System

    u mnie 2 razy pokazuje tą tabelkę czy obie maja się tak wyświetlać?
  15. Witam sprawdzałem ostatnio na Chromie i znalazłem o to taki błąd: Chciałem się dowiedzieć czy mozna to jakoś naprawić
  16. juz działa idzie zmniejszyc z 10 pozycji do 5 ?
  17. Witam mam wersje forum 3.1.1 i w Hookach nie moge znalesc Recent Status Updates w profilu normalnie moge wpisywać statusy.
  18. CSS wyswietla mi sie w zrodle strony głównej tutaj np u DawPiego jest normalnie, dlatego się zastanawiam czy mam błąd gdzieś Ustawienia CSS chodzi dokładnie o te ? Umieszczaj CSS w plikach tekstowych - Ustawione mam na NIE Wielkość HTML zostanie zmniejszona przez dodanie CSS do pamięci podręcznej. Uwaga: Zmiana tej wartości spowoduje przebudowę informacji szablonu stylu. Upewnij się, że pliki cache są zsynchronizowane z bazą danych. Kompresuj podręczny CSS - Ustawione mam na NIE Zostaną usunięte białe znaki i komentarze w celu zmniejszenia pojemności pliku. Zmiany dochodzą do skutku po przebudowaniu skina.
  19. Witam mam takie pytanie czy to normalne ze po wciśnięciu CTRL+U pokazuje mi się CSS w kodzie ?
×
×
  • 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ę.