Skocz do zawartości


Ekhangel

Rejestracja: 06 sie 2009
Poza forum Ostatnio: 08 lut 2011 13:21
-----

Moje tematy

ROZWIĄZANY: SOS31 Recent Topics - usunięcie jednej linii

07 luty 2011 - 19:14

Witam,

Dołączona grafika

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%'>&nbsp;</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%'>&nbsp;&nbsp;{$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&amp;module=ajax&amp;section=recentTopics&amp;do=maskasread&amp;f={$r['topico']['forum_id']}&amp;t={$r['topico']['tid']}&amp;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>&nbsp;&nbsp;</if>
								<if test="$r['topico']['poll_state']"><span class='topic_prefix'>{$this->settings['pre_polls']}</span>&nbsp;&nbsp;</if>
								<if test="$this->settings['topicosrecentes_movidos'] AND $r['topico']['state'] == 'link'"><span class='topic_prefix'>{$this->settings['pre_moved']}</span>&nbsp;&nbsp;</if>
								<if test="$r['topico']['topic_hasattach']">
									<a href="{parse url="app=forums&amp;module=forums&amp;section=attach&amp;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&amp;module=extras&amp;section=stats&amp;do=who&amp;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%'>&nbsp;&nbsp;<a href='{parse url="showtopic={$r['topico']['tid']}&amp;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']}&amp;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 />&nbsp;&nbsp;&nbsp;{$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>

"Ostatnie posty" - powielić?

29 styczeń 2011 - 14:16

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?

Blokada rozszerzania forum

11 listopad 2010 - 00:04

Witam,

Chciałbym ustalić pewną szerokość, na którą forum może się rozszerzyć. Żeby po fullscreenie w rozdzielczości 1920x1080 forum miało określoną, ograniczoną szerokość, a nie rozszerzało się nieskończenie.

ROZWIĄZANY: Border-bottom, skąd?

08 listopad 2010 - 20:36

Dołączona grafika

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.

ROZWIĄZANY: Reputacja - pole w profiilu - ni mo?

03 listopad 2010 - 20:05

Display user reputation
Set to yes to show a users reputation on their profile

To ustawienie jest ustawione na "yes", mimo to - nie widzę żadnego pola tego typu w profilu użytkowników. Wie ktoś, o co chodzi?