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

Ekhangel

Użytkownik
  • Postów

    180
  • Dołączył

  • Ostatnia wizyta

Odpowiedzi opublikowane przez Ekhangel

  1. Fakt, jest Ajax.

    <if test="is_array( $topicos ) && count( $topicos )">
    {parse striping="topicosrecentes_hook" classes="row1,row2"}
    <ul>
    	<foreach loop="topicosrecentes_hook:$topicos as $r">
            <php>
            	$class 		= "class='altrow'";
            	$classTwo 	= '';
            </php>
            <li>
            	<table class="ipb_table recentTopicsTable" cellspacing="0" cellpadding="0">
    		        <tr class="{parse striping="topicosrecentes_hook"}">
    		            <td {$class} align='center' width='4%'><a title="{$this->lang->words['topico_lido']}" href="{parse url="app=forums&module=ajax&section=recentTopics&do=maskasread&f={$r['topico']['forum_id']}&t={$r['topico']['tid']}&secure_key={$this->member->form_hash}" base="public"}">{parse replacement="{$r['image']}"}</a></td>
    			        <td {$class2} class='__topic __tid{$r['topico']['tid']}' width='52%'>
    					<if test="$r['topico']['state'] !='link'"><span class='topic_preview right'>{parse template="topic_popup" group="global" params="$r['topico']['tid']"}</span></if>
    					<if test="$r['topico']['pinned']"><span class='topic_prefix'>{$this->settings['pre_pinned']}</span>  </if>
    					<if test="$r['topico']['poll_state']"><span class='topic_prefix'>{$this->settings['pre_polls']}</span>  </if>
    					<if test="$this->settings['topicosrecentes_movidos'] AND $r['topico']['state'] == 'link'"><span class='topic_prefix'>{$this->settings['pre_moved']}</span>  </if>
    					<if test="$r['topico']['topic_hasattach']">
    						<a href="{parse url="app=forums&module=forums&section=attach&tid={$r['topico']['tid']}" base="public"}" title="{parse expression="intval($r['topico']['topic_hasattach'])"} {$this->lang->words['topic_attach']}" onclick="return ipb.forums.retrieveAttachments( {$r['topico']['tid']} );">{parse replacement="t_attach"}</a>
    					</if>
    					<if test="istracking:|:! empty($r['topico']['trackingTopic'])">{parse replacement="watch_small"}</if>
    					<b><a href='{parse url="showtopic={$r['topico']['tid']}&view=getnewpost" base="public" template="showtopic" seotitle="{$r['topico']['title_seo']}"}' title='{$r['topico']['title']}'>{IPSText::truncate($r['topico']['title'],60)}</a></b><br />
    					<span class='desc'>{$this->lang->words['cat_name']}:
    						<foreach loop="topicsForumTrail:$r['breadcrumb'] as $i => $f">
    
    						</foreach>
    					</span>
    				</td>
    				<td {$class} align='center' width='15%'><address class="author vcard">{IPSLib::makeProfileLink(IPSLib::makeNameFormatted( $r['topico']['starter_name'], $r['topico']['grupo1']), $r['topico']['starter_id'])}{parse template="user_popup" group="global" params="$r['topico']['starter_id'], $r['topico']['nome1']"}</address><br /><span class='desc'>{parse date="$r['topico']['start_date']" format="short"}</span>
    		            </td>
    					<td {$class2} align='right' width='11%'>
    						<ul>
    							<li>
    								<span class='desc'><a href="{parse url="app=forums&module=extras&section=stats&do=who&t={$r['topico']['tid']}" base="public"}" onclick="return ipb.forums.retrieveWhoPosted( {$r['topico']['tid']} );">{$this->registry->getClass('class_localization')->formatNumber( $r['topico']['posts'] )}</a> {$this->lang->words['replies']}</span>
    							</li>
    							<li>
    								<span class='desc'>{$this->registry->getClass('class_localization')->formatNumber( $r['topico']['views'] )} {$this->lang->words['views']}</span>
    							</li>
    						</ul>
    					</td>
    		            <td {$class} width='18%'>  <a href='{parse url="showtopic={$r['topico']['tid']}&view=getlastpost" base="public" template="showtopic" seotitle="{$r['topico']['title_seo']}"}' title='{$this->lang->words['view_last_post']}'>{parse replacement="f_lastpost"}</a> <a href='{parse url="showtopic={$r['topico']['tid']}&view=getlastpost" base="public" template="showtopic" seotitle="{$r['topico']['title_seo']}"}' title='{$this->lang->words['view_last_post']}'>{parse date="$r['topico']['last_post']" format="short"}</a><br />   {$this->lang->words['forum_by']} <address class="author vcard">{IPSLib::makeProfileLink(IPSLib::makeNameFormatted( $r['topico']['last_poster_name'], $r['topico']['grupo2']), $r['topico']['last_poster_id'])}{parse template="user_popup" group="global" params="$r['topico']['last_poster_id'], $r['topico']['nome2']"}</address>
    		                </td>
    		        </tr>
    			</table>
    		</li>
    	</foreach>
    </ul>
    </if>

  2. Witam,

    beztytuuayc.jpg

    Szybka piłka: chcę się pozbyć szajsu na obrazku. Domyślnie w owym pluginie wyświetlany był tam directory tematu. Nie chcę tego mieć w ogóle, dlatego usunąłem pewną linijkę kodu, i... udało się. Coś usunąłem, został tylko oryginalny napis. Czy widzicie w poniższym kodzie linię odpowiedzialną za to?

    <style type="text/css" >
    /* Inline CSS */
    
    table.recentTopicsTable
    {
    	border: 0;
    }
    
    #recentTopics
    {
    	border-bottom: 4px solid #D5DDE5;
    }
    
    .block_wrap h3.collapsed a.toggle 
    {
    	background-image: url({$this->settings['img_url']}/cat_maximize.png);
    }
    </style>
    <style>
    table.novo a{ padding-left: 5px; text-decoration: none;}
    </style>
    
    
    <script src="{$this->settings['public_dir']}js/ips.recentTopicsHook.js" type="text/javascript"></script>
    <script src="{$this->settings['public_dir']}js/ips.forums.js" type="text/javascript"></script>
    
    <script type="text/javascript">
    ipb.recentTopics.updateInterval = parseInt( {$this->settings['topicosrecentes_updateInterval']} );
    </script>
    <div class='block_wrap' id="recentTopicsWrapper">
    <h3 id='hook_recentTopics' class='maintitle'><a class='right toggle' href='#' title='{$this->lang->words['click_toggle']}'>{$this->lang->words['click_toggle']}</a>{$this->lang->words['topicos_recentes']}</h3>
    <table class="ipb_table" cellspacing="0">
            <tr>
                    <th class='header' width='4%'> </th>
                    <th class='header' width='52%'>{$this->lang->words['forum_topic']}</th>
                    <th class='header' width='15%'>{$this->lang->words['forum_started_by']}</th>
                    <th class='header stats' width='11%'>{$this->lang->words['stats']}</th>
                    <th class='header' width='18%'>  {$this->lang->words['forum_last_post_info']}</th>
            </tr>
    </table>
    <div id="recentTopics" style="{$wrapperData['style']}" class="{$wrapperData['class']}">
        <if test="is_array( $topicos ) && count( $topicos )">
    		{parse striping="topicosrecentes_hook" classes="row1,row2"}
    		<ul>
    			<foreach loop="topicosrecentes_hook:$topicos as $r">
    		        <php>
    		        	$class 		= "class='altrow'";
    		        	$classTwo 	= '';
    		        </php>
    		        <li>
    	        	<table class="ipb_table recentTopicsTable" cellspacing="0" cellpadding="0">
    			        <tr class="{parse striping="topicosrecentes_hook"}">
    			            <td {$class} align='center' width='4%'>
    							<a title="{$this->lang->words['topico_lido']}" href="{parse url="app=forums&module=ajax&section=recentTopics&do=maskasread&f={$r['topico']['forum_id']}&t={$r['topico']['tid']}&secure_key={$this->member->form_hash}" base="public"}">{parse replacement="{$r['image']}"}</a>
    						</td>
    						<td {$class2} class='__topic __tid{$r['topico']['tid']}' width='52%'>
    							<if test="$r['topico']['state'] !='link'"><span class='topic_preview right'>{parse template="topic_popup" group="global" params="$r['topico']['tid']"}</span></if>
    							<if test="$r['topico']['pinned']"><span class='topic_prefix'>{$this->settings['pre_pinned']}</span>  </if>
    							<if test="$r['topico']['poll_state']"><span class='topic_prefix'>{$this->settings['pre_polls']}</span>  </if>
    							<if test="$this->settings['topicosrecentes_movidos'] AND $r['topico']['state'] == 'link'"><span class='topic_prefix'>{$this->settings['pre_moved']}</span>  </if>
    							<if test="$r['topico']['topic_hasattach']">
    								<a href="{parse url="app=forums&module=forums&section=attach&tid={$r['topico']['tid']}" base="public"}" title="{parse expression="intval($r['topico']['topic_hasattach'])"} {$this->lang->words['topic_attach']}" onclick="return ipb.forums.retrieveAttachments( {$r['topico']['tid']} );">{parse replacement="t_attach"}</a>
    							</if>
    							<if test="istracking:|:! empty($r['topico']['trackingTopic'])">{parse replacement="watch_small"}</if>
    							<b><a href='{parse url="showtopic={$r['topico']['tid']}&view=getnewpost" base="public" template="showtopic" seotitle="{$r['topico']['title_seo']}"}' title='{$r['topico']['title']}'>{IPSText::truncate($r['topico']['title'],60)}</a></b><br />
    							<span class='desc'>{$this->lang->words['cat_name']}:
    								<foreach loop="topicsForumTrail:$r['breadcrumb'] as $i => $f">
    									<a href='{parse url="{$f[1]}" template="showforum" seotitle="{$f[2]}" base="public"}'>{$f[0]}</a> <if test="notLastFt:|:$i+1 != count( $r['breadcrumb'] )">{parse replacement="f_nav_sep"}</if>
    								</foreach>
    							</span>
    						</td>
    			            <td {$class} align='center' width='15%'><address class="author vcard">{IPSLib::makeProfileLink(IPSLib::makeNameFormatted( $r['topico']['starter_name'], $r['topico']['grupo1']), $r['topico']['starter_id'])}{parse template="user_popup" group="global" params="$r['topico']['starter_id'], $r['topico']['nome1']"}</address><br /><span class='desc'>{parse date="$r['topico']['start_date']" format="short"}</span>
    			            </td>
    						<td {$class2} align='right' width='11%'>
    							<ul>
    								<li>
    									<span class='desc'><a href="{parse url="app=forums&module=extras&section=stats&do=who&t={$r['topico']['tid']}" base="public"}" onclick="return ipb.forums.retrieveWhoPosted( {$r['topico']['tid']} );">{$this->registry->getClass('class_localization')->formatNumber( $r['topico']['posts'] )}</a> {$this->lang->words['replies']}</span>
    								</li>
    								<li>
    									<span class='desc'>{$this->registry->getClass('class_localization')->formatNumber( $r['topico']['views'] )} {$this->lang->words['views']}</span>
    								</li>
    							</ul>
    						</td>
    			            <td {$class} width='18%'>  <a href='{parse url="showtopic={$r['topico']['tid']}&view=getlastpost" base="public" template="showtopic" seotitle="{$r['topico']['title_seo']}"}' title='{$this->lang->words['view_last_post']}'>{parse replacement="f_lastpost"}</a> <a href='{parse url="showtopic={$r['topico']['tid']}&view=getlastpost" base="public" template="showtopic" seotitle="{$r['topico']['title_seo']}"}' title='{$this->lang->words['view_last_post']}'>{parse date="$r['topico']['last_post']" format="short"}</a><br />   {$this->lang->words['forum_by']} <address class="author vcard">{IPSLib::makeProfileLink(IPSLib::makeNameFormatted( $r['topico']['last_poster_name'], $r['topico']['grupo2']), $r['topico']['last_poster_id'])}{parse template="user_popup" group="global" params="$r['topico']['last_poster_id'], $r['topico']['nome2']"}</address>
    			            </td>
    			        </tr>
    				</table>
    				</li>
    			</foreach>
    		</ul>
    	</if>
    </div>
    </div>

  3. Tylko, że twoja strona to jakaś łamigłówka, której za bardzo nie chce mi się rozwiązywać. Wchodząc tam nie widzę sekcji "Sklep", "Złóż zamówienie" czy coś podobnego. Rejestrując się nie wiem nawet gdzie się rejestruję i po co - skoro tak podchodzisz do potencjalnych klientów, to wolę już sobie poszukać innego plugina, dzięki.

  4. Po prostu nie zrozumiałem twojego "można zmienić obecny", bo wygląda to, jakbyś myślał, że chcę jakoś "zmienić" obecny plugin, a to nieprawda.

    "(DP31) Custom Latest News 1.0.0" - skąd masz ten plugin? To twoje prywatne dzieło? Na stronie w odnośniku dział "produkty" nie działa. Nie znacie może innych tego typu pluginów?

  5. Witam,

    Rzecz tyczy się strony www.xboxm.pl/forum. Jak widzicie, jest tam dodatek "Ostatnie newsy", w prawej kolumnie. Chciałbym go w zasadzie powielić, tylko ukazującego treść z tylko jednego działu - "Newsy" czy tam "Artykuły".

    Rozumiem, że nie mogę zainstalować tego samego pluginu dwa razy. A może mogę, znacie jakiś "trick" na to zezwalający? Ewentualnie jakiś inny, bardzo podobny plugin?

  6. Nie do wiary jak Logitech miecie konkurencję. Już nawet się nie proponuje alternatyw. Tak czy siak - zgadzam się, Logitech FTW. Mam ich klawę, myszkę, pilot uniwersalny i słuchawki.

    Co do diNovo - wydatek może i "trochę" nieuzasadniony, ale kiedyś trzeba poszaleć. Za Edge'a płacisz 300 zł - kolejne 300 zł kosztuje duma z posiadania najbardziej burżujskiej klawiatury na rynku.

  7. beztytuujmj.png

    Czy może mi ktoś podać bit odpowiadający za zaznaczony element? Nie mogę go za cholerę znaleźć, cały box to chyba index_stats, ale ten wewnętrzny box? Wszystkie boxy, które są w ipb_styles nie mają w sobie nic w stylu border_bottom, więc nie mam pojęcia, skąd ten element się bierze. Gdzieś na forum widziałem też box z takim samym podłożem, ale nie pamiętam już gdzie. Forum: xboxm.pl/forum. Załączam ipb_styles.

    Nowy dokument tekstowy.txt

×
×
  • 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ę.