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

ROZWIĄZANY: Logo w underground


shannon

Rekomendowane odpowiedzi

Posiadam skin underground z skinbox. W tym skinie niestety nie ma żadnego logo, Moje pytanie: Jak je dodać? Lub jak zrobić aby "WelcomeMessage" było nie tylko dla niezarejestrowanych ale również dla zalogowanych. Bardzo dla mnie to ważne.

Odnośnik do komentarza
Udostępnij na innych stronach

Podałem :) Skin "Underground" z Skinbox.net ale jeżeli coś zrobiłem źle to przepraszam.

To jest demo http://www.skinbox.net/browse/live-demo/skin/83

Chciałbym aby logo było w takiej pozycji jak właśnie ta wiadomość dla nie zalogowanych

Naprawdę bardzo mi na tym zależy

Edytowane przez shannon
Odnośnik do komentarza
Udostępnij na innych stronach

Uh, przepraszam. Dwa razy napisałeś, a ja dwa razy nie zauważyłem.

Co u Ciebie znajduje się w katalogu public/style_images/underground/logo.png?

Odnośnie wiadomości, znajdź ją w bitach skina (prawdopodobnie forumIndexTemplate) i podaj nam jej kod.

Jeżeli chcesz mieć logo na wysokości wiadomości, musisz edytować plik public/style_images/underground/_custom/bg-welcome.jpg.

Odnośnik do komentarza
Udostępnij na innych stronach

To opiszę do naprawdę dokładanie. :)

W skinie underground jest takie coś jak "welcomemessage" i jest to właśnie ten taki kolorowy obrazek. Jednak po zalogowaniu się ten obrazek znika i nie ma żadnego loga :/

Chciałbym aby tam gdzie jest ten obrazek "welcomemessage" było logo, jakiś obrazek. Najlepiej taki sam obrazek jak ten z "welcomemessage"

Lub aby to "welcomemessage" było widoczne dla wszystkich użytkowników.

Amfidiuszu logo.png u mnie to ten biały napis do lewo "underground" zmieniając go na inny np. ten obrazek z "welcomemessage" jest on wyświetlany w przeciwnej pozycji do "welcomemessage"

Myślę, że dobrze wyjaśniłem :P

Odnośnik do komentarza
Udostępnij na innych stronach

No ok więc dodaje grafiki :)

Tak wygląda forum gdy jest sie niezalogowanym

http://forum.invisionize.pl/uploads/imgs/pre_1312913815__przed_zalogowaniem.png

tak wygląda gdy jestem zalogowany

http://forum.invisionize.pl/uploads/imgs/pre_1312914088__po_zalogowaniu.png

a tak wygląda gdy dodam plik logo.png do public/style_images/underground/

http://forum.invisionize.pl/uploads/imgs/pre_1312914187__po_dodaniu.png

Amfideuszu usmiechnij się :*

Edytowane przez shannon
Odnośnik do komentarza
Udostępnij na innych stronach

to forumindex

{parse js_module="forums"}
<script type="text/javascript">
//<![CDATA[
//Search Setup
ipb.vars['search_type']		= 'forum';
ipb.vars['search_type_id']	= {$this->request['showforum']};
ipb.templates['topic_rename'] = new Template("<input type='text' id='#{inputid}' value='#{value}' class='input_text' maxlength='{$this->settings['topic_title_max_len']}' /> <input type='submit' value='{$this->lang->words['rename_topic_update']}' class='input_submit' id='#{submitid}' /> <a href='#' id='#{cancelid}' class='cancel' title='{$this->lang->words['cancel']}'>{$this->lang->words['cancel']}</a>");
ipb.global.boardMarkers = ({
	'f_cat_unread': "{parse replacement="f_cat_read"}",
	'f_unread': "{parse replacement="f_read"}",
	'f_pass_unread': "{parse replacement="f_pass_read"}"
});
var markerURL = "{parse url="app=forums&module=ajax&section=markasread" base="public"}"; // Ajax URL so don't use &

// Delete stuff set up
ipb.forums.deleteUrls['hardDelete'] = new Template("{parse url="app=forums&module=moderate&section=moderate&f={$forum_data['id']}&st={$this->request['st']}&auth_key={$this->member->form_hash}&do=08&t=#{tid}" base="public"}");
ipb.forums.deleteUrls['softDelete'] = new Template("{parse url="app=forums&module=moderate&section=moderate&f={$forum_data['id']}&st={$this->request['st']}&auth_key={$this->member->form_hash}&do=sdelete&t=#{tid}" base="public"}");

// Add perm data
ipb.forums.deletePerms = { 'canDelete' : {parse expression="intval($this->memberData['g_is_supmod'] == 1 || $this->memberData['forumsModeratorData'][ $forum_data['id'] ]['delete_topic'])"}, 'canSoftDelete' : {parse expression="intval($forum_data['permissions']['TopicSoftDelete'])"} };
//]]>
</script>

<if test="rulesinline:|:$forum_data['show_rules'] == 2">
<div class='message unspecific forum_rules'>
<h3>{$forum_data['rules_title']}</h3>
{$forum_data['rules_text']}
</div>
</if>
<if test="ruleslink:|:$forum_data['show_rules'] == 1">
<div class='message unspecific forum_rules'>
<a href='{parse url="app=forums&module=forums&section=rules&f={$forum_data['id']}" base="public"}' title='{$this->lang->words['view_forum_rules']}'><strong>{$forum_data['rules_title']}</strong></a>
</div>
</if>
<!-- __-SUBFORUMS-__ -->
<if test="hassubforums:|:is_array( $sub_forum_data ) AND count( $sub_forum_data )">
<div class='category_block block_wrap'>
	<h3 class='maintitle'>{$forum_data['name']} {$this->lang->words['sub_forum_title']}</h3>
	<table class='ipb_table' summary="{$this->lang->words['cat_subforums']} '{$forum_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['forum_stats']}</th>
			<th scope='col' class='col_c_post'>{$this->lang->words['last_post_info']}</th>
		</tr> -->
		<!-- / CAT HEADER -->

		<foreach loop="subforums:$sub_forum_data as $_data">
			<if test="subforumdata:|:is_array( $_data['forum_data'] ) AND count( $_data['forum_data'] )">
				{parse striping="catTable" classes="row1,row2"}
				<foreach loop="forums:$_data['forum_data'] as $forum_id => $forum_data">
					<if test="isredirect:|:$forum_data['redirect_on']">
						<tr class='{parse striping="catTable"} redirect_forum'>
							<td>
								<h4><a href="{parse url="showforum={$forum_data['id']}" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}" title='{$this->lang->words['goto_forum']}'>{$forum_data['name']}</a> {parse replacement="f_redirect"}</h4>
								<p class='desc'>{$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>
								<h4><a href="{parse url="showforum={$forum_data['id']}" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}" title='{$this->lang->words['goto_forum']}'>{$forum_data['name']}</a>
								<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']}" base="public"}" title="{$this->lang->words['bi_markread']}" class='forum_marker'>{parse replacement="{$forum_data['img_new_post']}"}</a>

								<script type='text/javascript'>
									ipb.global.registerMarker( 'forum_img_{$forum_data['id']}', "{$forum_data['img_new_post']}", markerURL + "&forumid={$forum_data['id']}" );
								</script></h4>
								<p class='desc'>{$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="sub_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="seequeuedicon:|:$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><strong>{$forum_data['topics']}</strong> {$this->lang->words['topics']}</li>
									<li><strong>{$forum_data['posts']}</strong> {$this->lang->words['replies']}</li>
								</ul>
							</td>
							<td>
								<ul class='last_post'>
									<if test="hidelastinfo:|:$forum_data['hide_last_info']">
										<li>{$this->lang->words['f_protected']}</li>
									<else />
										<li><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 replacement="f_lastpost"}</a> <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></li>
										<li><strong>{$this->lang->words['in_last_topic']}</strong> {$forum_data['last_topic_title']}</li>
										<li>
											<strong>{$this->lang->words['forum_by']}</strong>
											<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']}" seotitle="{$forum_data['seo_last_name']}" template="showuser" base="public"}'>{$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>
										</li>
									</if>
								</ul>
							</td>
						</tr>
					</if>
				</foreach>
			</if>
		</foreach>
	</table>
</div>
<br />
</if>
<if test="showtopics:|:$forum_data['sub_can_post']">
<div class='topic_controls'>
	{$forum_data['SHOW_PAGES']}

		<ul class='topic_buttons'>
			<if test="usercanpost:|:$forum_data['_user_can_post']">
				<li><a href='{parse url="module=post&section=post&do=new_post&f={$forum_data['id']}" base="publicWithApp"}' title='{$this->lang->words['topic_start']}' accesskey='s'><img src='{$this->settings['img_url']}/page_white_add.png' alt='{$this->lang->words['topic_start']}' /> {$this->lang->words['topic_start']}</a></li>
			<else />
				<li class='disabled'><span>{$this->lang->words['forum_no_start_topic']}</span></li>
			</if>
			<if test="watchismember:|:$this->memberData['member_id']">
				<if test="stopwatching:|:$this->settings['cpu_watch_update'] AND ( is_array( $this->memberData['_cache'] ) AND is_array( $this->memberData['_cache']['watchedForums'] ) AND in_array( $forum_data['id'], $this->memberData['_cache']['watchedForums'] ) )">
					<li><a href='{parse url="app=core&module=usercp&tab=forums&area=updateWatchForums&do=saveIt&authKey={$this->member->form_hash}&forumIDs[{$forum_data['id']}]=1&trackchoice=unsubscribe&forumReturn={$forum_data['id']}" base="public"}' title='{$this->lang->words['ft_title']}'>{parse replacement="watch_forum_on"} {$this->lang->words['ft_title_stop']}</a></li>
				<else />
					<li><a href='{parse url="app=core&module=usercp&tab=forums&area=watch&do=watch&watch=forum&fid={$forum_data['id']}" base="public"}' title='{$this->lang->words['ft_title']}'>{parse replacement="watch_forum_off"} {$this->lang->words['ft_title']}</a></li>
				</if>				
			</if>
		</ul>
</div>
<div class='category_block block_wrap'>
	<table class='ipb_table topic_list' summary='{$this->lang->words['forum_topic_list']} "{$forum_data['name']}"' id='forum_table'>
		<caption class='maintitle'>
			<span class='main_forum_title'>{$forum_data['name']}</span><span class='desc'><a href='{parse url="app=forums&module=forums&section=markasread&marktype=forum&forumid={$forum_data['id']}&returntoforumid={$forum_data['id']}" base="public"}' title='{$this->lang->words['mark_as_read']}'>({$this->lang->words['mark_as_read']})</a></span></caption>
		<tr class='header'>
			<th scope='col' class='col_f_icon'> </th>
			<th scope='col' class='col_f_topic'>{$this->lang->words['forum_topic']}</th>
			<th scope='col' class='col_f_starter short'>{$this->lang->words['forum_started_by']}</th>
			<th scope='col' class='col_f_views stats'>{$this->lang->words['forum_stats']}</th>
			<th scope='col' class='col_f_post'>{$this->lang->words['forum_last_post_info']}</th>
			<if test="topicsismod:|:$this->memberData['is_mod'] == 1">
				<th scope='col' class='col_f_mod short'><input type='checkbox' id='tmod_all' class='input_check' title='{$this->lang->words['topic_select_all']}' value='1' /></th>
			</if>
		</tr>	
		<!-- ANNOUNCEMENTS -->
		<if test="hasannouncements:|:is_array( $announce_data ) AND count( $announce_data )">
			<foreach loop="announcements:$announce_data as $aid => $adata">
				<tr class='row2 announcement' id='arow_{$adata['announce_id']}'>
					<td class='short altrow'>{parse replacement="t_announcement"}</td>
						<if test="topicsismod:|:$this->memberData['is_mod'] == 1">
							<td colspan='5'>
						<else />
							<td colspan='4'>
						</if>
						<span class='topic_prefix'>{$this->lang->words['announce_row']}</span> 
						<php>$_seoTitle	= $adata['announce_seo_title'] ? $adata['announce_seo_title'] : "%%{$adata['announce_title']}%%";</php>
						<a href="{parse url="showannouncement={$adata['announce_id']}&f={$forum_data['id']}" seotitle="{$_seoTitle}" template="showannouncement" base="public"}" title='{$this->lang->words['view_announcement']}'>{$adata['announce_title']}</a><br />
						<span class='desc'>{$this->lang->words['posted_by']} <strong><a href="{parse url="showuser={$adata['member_id']}" seotitle="{$adata['members_seo_name']}" template="showuser" base="public"}" title='{$this->lang->words['view_profile']}'>{$adata['member_name']}</a> {parse template="user_popup" group="global" params="$adata['member_id'], $adata['members_seo_name']"}</strong>
							<if test="announcedates:|:$adata['announce_start'] AND $adata['announce_start'] != '--'">, {$adata['announce_start']}</if>
						</span>
					</td>
				</tr>
			</foreach>
			<tr class='subhead altbar'>
				<th scope='col' colspan='<if test="endannouncements:|:$this->memberData['is_mod'] == 1">6<else />5</if>'>
					{$this->lang->words['forum_topic_list']}
				</th>
			</tr>
		</if>

		<!-- BEGIN TOPICS -->
		<if test="hastopics:|:is_array( $topic_data ) AND count( $topic_data )">
			{parse striping="forumTable" classes="row1,row2"}
			<foreach loop="topics:$topic_data as $tid => $data">
				<if test="queuedtopic:|$this->memberData['is_mod'] AND ! $data['approved']) OR $data['_isDeleted']">
				<tr class='{parse striping="forumTable"} moderated' id='trow_{$data['tid']}'>
				<else />
				<tr class='{parse striping="forumTable"}' id='trow_{$data['tid']}'>
				</if>
					<td class='short altrow'>{parse replacement="{$data['folder_img']}"}</td>
					<td class='__topic __tid{$data['tid']}<if test="hasmodlinks:|:$this->memberData['is_mod'] == 1 || $forum_data['permissions']['TopicSoftDelete']"> with_mod_links</if>'>
					<if test="islink:|:$data['state'] != 'link'"><span class='topic_preview right'>{parse template="topic_popup" group="global" params="$data['tid']"}</span></if>
						<if test="topicIsDeleted:|:$data['_isDeleted']">
						<ul class='topic_moderation right rounded'>
							<if test="tidRestore:|:$forum_data['permissions']['TopicSoftDeleteRestore']">
								<li class='t_restore'><a href='{parse url="app=forums&module=moderate&section=moderate&f={$forum_data['id']}&t={$data['tid']}&st={$this->request['st']}&auth_key={$this->member->form_hash}&do=sundelete" base="public"}' title='{$this->lang->words['dlt_restore_topic']}'><img src='{$this->settings['img_url']}/arrow_rotate_clockwise.png' alt='{$this->lang->words['dlt_restore_topic']}' title='{$this->lang->words['dlt_restore_topic']}' /></a></li>
							</if>
							<if test="$this->memberData['g_is_supmod'] == 1 || $this->memberData['forumsModeratorData'][ $forum_data['id'] ]['delete_topic']">
								<li class='t_restore'><a href='{parse url="app=forums&module=moderate&section=moderate&f={$forum_data['id']}&st={$this->request['st']}&t={$data['real_tid']}&auth_key={$this->member->form_hash}&do=03" base="public"}' title='{$this->lang->words['dlt_delete_topic']}'><img src='{$this->settings['img_url']}/delete.png' alt='{$this->lang->words['dlt_delete_topic']}' title='{$this->lang->words['dlt_delete_topic']}' /></a></li>
							</if>
						</ul>
						<else />
							<if test="topicmoderator:|:$this->memberData['is_mod'] == 1  || $forum_data['permissions']['TopicSoftDelete']">
								<ul class='topic_moderation right rounded'>
									<li class='t_rename'><a href='{parse url="app=forums&module=moderate&section=moderate&f={$forum_data['id']}&t={$data['tid']}&auth_key={$this->member->form_hash}&do=05" base="public"}' title='{$this->lang->words['topic_rename']}'><img src='{$this->settings['img_url']}/textfield_rename.png' alt='{$this->lang->words['topic_rename']}' title='{$this->lang->words['topic_rename']}' /></a></li>
								<if test="$this->memberData['g_is_supmod'] == 1 || $this->memberData['forumsModeratorData'][ $forum_data['id'] ]['delete_topic'] || $forum_data['permissions']['TopicSoftDelete']">
									<li class='t_delete'><a id='t_deletelink_{$data['tid']}' href='{parse url="app=forums&module=moderate&section=moderate&f={$forum_data['id']}&st={$this->request['st']}&t={$data['real_tid']}&auth_key={$this->member->form_hash}&do=03" base="public"}' title='{$this->lang->words['topic_delete']}'><img src='{$this->settings['img_url']}/delete.png' alt='{$this->lang->words['topic_delete']}' title='{$this->lang->words['topic_delete']}' /></a></li>
								</if>
								<if test="islink:|:$data['state'] != 'link'">
									<if test="ispinned:|:$data['pinned'] && ($this->memberData['g_is_supmod'] OR $this->memberData['forumsModeratorData'][ $forum_data['id'] ]['pin_topic'])">
										<li class='t_pin'><a href='{parse url="app=forums&module=moderate&section=moderate&f={$forum_data['id']}&t={$data['tid']}&st={$this->request['st']}&auth_key={$this->member->form_hash}&do=16&from=forum" base="public"}' title='{$this->lang->words['topic_unpin']}'><img src='{$this->settings['img_url']}/award_delete.png' alt='{$this->lang->words['topic_unpin']} icon' title='{$this->lang->words['topic_unpin']}' /></a></li>
									<else />
										<if test="issupermod:|:$this->memberData['g_is_supmod'] OR $this->memberData['forumsModeratorData'][ $forum_data['id'] ]['unpin_topic']">
											<li class='t_pin'><a href='{parse url="app=forums&module=moderate&section=moderate&f={$forum_data['id']}&t={$data['tid']}&st={$this->request['st']}&auth_key={$this->member->form_hash}&do=15&from=forum" base="public"}' title='{$this->lang->words['topic_pin']}'><img src='{$this->settings['img_url']}/award.png' alt='{$this->lang->words['topic_pin']} icon' title='{$this->lang->words['topic_pin']}' /></a></li>
										</if>
									</if>
								</if>
								<if test="closedtopic:|:$data['state'] == 'closed' && $other_data['can_open_topics']">
									<li class='t_lock'><a href='{parse url="app=forums&module=moderate&section=moderate&f={$forum_data['id']}&t={$data['tid']}&st={$this->request['st']}&auth_key={$this->member->form_hash}&do=01" base="public"}' title='{$this->lang->words['topic_open']}'><img src='{$this->settings['img_url']}/lock_open.png' alt='{$this->lang->words['topic_open']}' title='{$this->lang->words['topic_open']}' /></a></li>
								</if>
								<if test="opentopic:|:$data['state'] == 'open' && $other_data['can_close_topics']">
									<li class='t_lock'><a href='{parse url="app=forums&module=moderate&section=moderate&f={$forum_data['id']}&t={$data['tid']}&st={$this->request['st']}&auth_key={$this->member->form_hash}&do=00&_from=forum" base="public"}' title='{$this->lang->words['topic_close']}'><img src='{$this->settings['img_url']}/lock.png' alt='{$this->lang->words['topic_close']}' title='{$this->lang->words['topic_close']}' /></a></li>
								</if>
								</ul>
							</if>
						</if>

						{$data['prefix']}
						<if test="topicreported:|: isset( $this->memberData['_cache']['report_temp']['post_marker']['topic'][$data['tid']]['gfx'] ) AND $this->memberData['_cache']['report_temp']['post_marker']['topic'][$data['tid']]['gfx'] > 0">
							<a href="{parse url="app=core&module=reports&section=reports&do=findfirst&tid={$data['tid']}&cid={$this->memberData['_cache']['report_temp']['post_marker']['topic'][$data['tid']]['info']['com_id']}" base="public"}"> <img src="{$this->settings['img_url']}/reports/post_alert_{$this->memberData['_cache']['report_temp']['post_marker']['topic'][$data['tid']]['gfx']}.png" alt='' title='{$this->lang->words['view_reported_posts']}' /> </a>
						</if>
						<if test="gotonewpost:|:$data['go_new_post'] === true"><a href='{parse url="showtopic={$data['tid']}&view=getnewpost" template="showtopic" seotitle="{$data['title_seo']}" base="public"}' title='{$this->lang->words['first_unread_post']}'>{parse replacement="f_newpost"}</a></if> 
						<if test="topichasattach:|:$data['topic_hasattach']">
							<a href="{parse url="app=forums&module=forums&section=attach&tid={$data['tid']}" base="public"}" title="{parse expression="intval($data['topic_hasattach'])"} {$this->lang->words['topic_attach']}" onclick="return ipb.forums.retrieveAttachments( {$data['tid']} );">{parse replacement="t_attach"}</a>
						</if>
						<if test="istracking:|:! empty($data['trackingTopic'])">{parse replacement="watch_small"}</if>
						<a id="tid-link-{$data['tid']}" href="{parse url="showtopic={$data['tid']}" base="public" template="showtopic" seotitle="{$data['title_seo']}"}" title='{$this->lang->words['topic_started_on']} {$data['start_date']}' class='topic_title' <if test="strpos($data['folder_img'], 'unread') !== false"> style="font-weight:bold"</if>>{$data['title']}</a>
						{$data['_rate_img']}
						<if test="multipages:|:isset( $data['pages'] ) AND is_array( $data['pages'] ) AND count( $data['pages'] )">
							<ul class='mini_pagination'>
							<foreach loop="pages:$data['pages'] as $page">
									<if test="haslastpage:|:$page['last']">
										<li><a href="{parse url="showtopic={$data['tid']}&st={$page['st']}" seotitle="{$data['title_seo']}" template="showtopic" base="public"}" title='{$this->lang->words['topic_goto_page']} {$page['page']}'>{$page['page']} {$this->lang->words['_rarr']}</a></li>
									<else />
										<li><a href="{parse url="showtopic={$data['tid']}&st={$page['st']}" seotitle="{$data['title_seo']}" template="showtopic" base="public"}" title='{$this->lang->words['topic_goto_page']} {$page['page']}'>{$page['page']}</a></li>
									</if>
							</foreach>
							</ul>
						</if>
						<if test="topicDeletedReason:|:$data['_isDeleted']">
							<div class='desc'>
								{$this->lang->words['tdb__forumindex']} <a href='{parse url="showuser={$other_data['sdData'][ $data['tid'] ]['sdl_obj_member_id']}" base="public" template="showuser" seotitle="{$other_data['sdData'][ $data['tid'] ]['members_seo_name']}"}'>{$other_data['sdData'][ $data['tid'] ]['members_display_name']}</a>{parse template="user_popup" group="global" params="$other_data['sdData'][ $data['tid'] ]['member_id'], $other_data['sdData'][ $data['tid'] ]['members_seo_name']"} {$this->lang->words['on']} {parse date="$other_data['sdData'][ $data['tid'] ]['sdl_obj_date']" format="long"}.
								<if test="showReason:|:$forum_data['permissions']['SoftDeleteReason']">
									<if test="$other_data['sdData'][ $data['tid'] ]['sdl_obj_reason']">{$other_data['sdData'][ $data['tid'] ]['sdl_obj_reason']}<else />{$this->lang->words['tdb__noreasongi']}</if>
								</if>
							</div>
						<else />
							<if test="description:|:$data['description']"><br /><span class='desc'>{$data['description']}</span></if>
						</if>
					</td>
					<td class='short altrow'>{$data['starter']}{parse template="user_popup" group="global" params="$data['starter_id'], $data['seo_first_name']"}</td>
					<td class='stats<if test="queuedposts:|$this->memberData['is_mod'] AND $data['_hasqueued']) OR ($forum_data['permissions']['PostSoftDeleteSee'] AND $data['topic_deleted_posts'])"> moderated</if>'>
						<ul>
							<li>
								<if test="queuedpostsImg:|$this->memberData['is_mod'] AND $data['_hasqueued'])">
									<a href='{parse url="showtopic={$data['tid']}&modfilter=invisible_posts" seotitle="{$data['title_seo']}" template="showtopic" base="public"}' title='{$this->lang->words['view_uapproved_posts']}'><img src='{$this->settings['img_url']}/bullet_error.png' alt='' /></a>
								</if>
								<if test="deletedPostsImg:|$forum_data['permissions']['PostSoftDeleteSee'] AND $data['topic_deleted_posts'])">
									<a href='{parse url="showtopic={$data['tid']}&modfilter=deleted_posts" seotitle="{$data['title_seo']}" template="showtopic" base="public"}' title='{$this->lang->words['view_deleted_posts']}'><img src='{$this->settings['img_url']}/bullet_delete.png' alt='' /></a>
								</if>
								{$data['posts']} <if test="replylang:|:intval($data['__posts']) == 1">{$this->lang->words['reply']}<else />{$this->lang->words['replies']}</if>
							</li>


							<li class='views desc'>{$data['views']} {$this->lang->words['views']}</li>
						</ul>
					</td>
					<td class='altrow'>
						<ul class='last_post'>
							<li>
								<a href='{parse url="showtopic={$data['tid']}&view=getlastpost" seotitle="{$data['title_seo']}" template="showtopic" base="public"}' title='{$this->lang->words['goto_last_post']}'>{parse replacement="f_lastpost"}</a> <a href='{parse url="showtopic={$data['tid']}&view=getlastpost" seotitle="{$data['title_seo']}" template="showtopic" base="public"}' title='{$this->lang->words['goto_last_post']}'>{parse date="$data['last_post']" format="SHORT"}</a>
							</li>
							<li>{$this->lang->words['forum_by']} {$data['last_poster']}{parse template="user_popup" group="global" params="$data['last_poster_id'], $data['seo_last_name']"}</li>
						</ul>
					</td>
					<if test="mmicon:|:$this->memberData['is_mod'] == 1 and $inforum == 1">
					<td class='short'>
						<if test="mmtidon:|:$data['tidon'] == 0">
							<input type='checkbox' class='input_check topic_mod' id='tmod_{$data['real_tid']}' />
						<else />
							<input type='checkbox' class='input_check topic_mod' id='tmod_{$data['real_tid']}' checked='checked' />
						</if>
					</td>
					</if>
				</tr>

				<if test="adCodeCheck:|:$data['_adCode']">
				<tr>
					<th scope='col' colspan='<if test="adCodeColSpan:|:$this->memberData['is_mod'] == 1">6<else />5</if>'>
						{$data['_adCode']}
					</th>
				</tr>
				</if>
			</foreach>
		<else />
			<tr> 
				<if test="notopicsspan:|:$this->memberData['is_mod'] == 1">
					<td colspan='6' class='no_messages'>
				<else />
					<td colspan='5' class='no_messages'>
				</if>
					{$this->lang->words['no_topics']}
				</td>
			</tr>
		</if>
	</table>
	<if test="moderationform:|:$this->memberData['is_mod'] == 1">
		<div id='topic_mod' class='moderation_bar rounded with_action clear'>
			<!-- SKINNOTE: Check delete -->
			<form id='modform' method="post" action="{parse url="" base="public"}">
				<fieldset>
					<input type="hidden" name="app" value="forums" />
					<input type="hidden" name="module" value="moderate" />
					<input type="hidden" name="section" value="moderate" />
					<input type="hidden" name="do" value="topicchoice" />
					<input type="hidden" name="st" value="{$this->request['st']}" />
					<input type="hidden" name="f" value="{$forum_data['id']}" />
					<input type="hidden" name="auth_key" value="{$this->member->form_hash}" />
					<input type="hidden" name="modfilter" value="{$this->request['modfilter']}" />
					<input type="hidden" value="{$this->request['selectedtids']}" id='selectedtids' name="selectedtids" />

					<input type='button' id='forum_mod_options' value='{$this->lang->words['forum_management']}' class='input_submit alt left ipbmenu' />
					<ul class='ipbmenu_content' id='forum_mod_options_menucontent'>
						<if test="$this->memberData['g_is_supmod']">
							<li><a href='{parse url="app=forums&module=moderate&section=moderate&do=prune_start&f={$forum_data['id']}&auth_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['mod_prumemovetopics']}'>{$this->lang->words['mod_prumemovetopics']}</a></li>
						</if>
						<li><a href='{parse url="app=forums&module=moderate&section=moderate&do=resync&f={$forum_data['id']}&auth_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['mod_resync']}'>{$this->lang->words['mod_resync']}</a></li>
						<li><a href='{parse url="showforum={$forum_data['id']}&modfilter=invisible_topics" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}' title='{$this->lang->words['mod_hidden']}'>{$this->lang->words['mod_hidden']}</a></li>
						<li><a href='{parse url="showforum={$forum_data['id']}&modfilter=invisible_posts" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}' title='{$this->lang->words['mod_hidden_posts']}'>{$this->lang->words['mod_hidden_posts']}</a></li>
					</ul>

					<select name="tact" id='mod_tact'>
						<option value="close">{$this->lang->words['cpt_close']}</option>
						<option value="open">{$this->lang->words['cpt_open']}</option>
						<option value="pin">{$this->lang->words['cpt_pin']}</option>
						<option value="unpin">{$this->lang->words['cpt_unpin']}</option>
						<option value="move">{$this->lang->words['cpt_move']}</option>
						<option value="merge">{$this->lang->words['cpt_merge']}</option>
						<option value="delete">{$this->lang->words['cpt_delete']}</option>
						<if test="$this->registry->class_forums->can_Un_SoftDeleteTopics( $forum_data['id'], array() )"><option value="sundelete">{$this->lang->words['cpt_undelete']}</option></if>
						<option value="approve">{$this->lang->words['cpt_approve']}</option>
						<option value="unapprove">{$this->lang->words['cpt_unapprove']}</option>
						<if test="$forum_data['queued_topics'] AND $this->registry->class_forums->canQueuePosts( $forum_data['id'] )">
						<option value="t_approve">{parse expression="sprintf( $this->lang->words['nmo_t_approve'], $forum_data['queued_topics'])"}</option>
						</if>
						<if test="$forum_data['queued_topics'] AND $this->registry->class_forums->canHardDeleteTopics( $forum_data['id'], array() )">
							<option value="t_delete_approve">{parse expression="sprintf( $this->lang->words['nmo_t_delete_approve'], $forum_data['queued_topics'])"}</option>
						</if>
						<if test="$forum_data['permissions']['TopicSoftDeleteRestore'] AND $forum_data['deleted_topics']">
							<option value="t_restore">{parse expression="sprintf( $this->lang->words['nmo_t_restore'], $forum_data['deleted_topics'])"}</option>
						</if>
						<if test="$forum_data['deleted_topics'] AND $this->registry->class_forums->canHardDeleteTopics( $forum_data['id'], array() )">
							<option value="t_delete_softed">{parse expression="sprintf( $this->lang->words['nmo_t_delete_softed'], $forum_data['deleted_topics'])"}</option>
						</if>
						<if test="mmdata:|:is_array( $multi_mod_data ) AND count( $multi_mod_data )">
							<option value="-1">------------------------------</option>
							<option value="-1">{$this->lang->words['mm_title']}</option>
							<option value="-1">------------------------------</option>
							<foreach loop="mm:$multi_mod_data as $mm_data">
								<option value="t_{$mm_data[0]}">--  {$mm_data[1]}</option>
							</foreach>
						</if>
					</select> 
					<input type="submit" name="gobutton" value="{$this->lang->words['f_go']}" class="input_submit alt" id='mod_submit' />
				</fieldset>
			</form>
			<script type='text/javascript'>
				$('modform').observe('submit', ipb.forums.submitModForm);
				$('mod_tact').observe('change', ipb.forums.updateTopicModButton);
			</script>
		</div>
	</if>
	<div id='forum_filter' class='filter_bar rounded'>
		<span id='show_filters' class='clickable' style='display: none'>{$this->lang->words['filter_options']}</span>
		<form id='filter_form' action="{parse url="showforum={$forum_data['id']}&st={$this->request['st']}&changefilters=1" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}" method="post">
			<fieldset>
				<label for='topic_filter'>{$this->lang->words['filter_type']}</label> <select name="topicfilter" id='topic_filter' class='input_select'>{$footer_filter['topic_filter']}</select>
				<label for='sort_by'>{$this->lang->words['filter_sort']}</label> <select name="sort_key" id='sort_by' class='input_select'>{$footer_filter['sort_by']}</select>
				<label for='direction'>{$this->lang->words['filter_direction']}</label> <select name="sort_by" id='direction' class='input_select'>{$footer_filter['sort_order']}</select>
				<label for='time_frame'>{$this->lang->words['filter_time']}</label> <select name="prune_day" id='time_frame' class='input_select'>{$footer_filter['sort_prune']}</select>
				<input type='checkbox' value='1' name='remember' class='input_check' id='remember_filter' /> <label for='remember_filter'>{$this->lang->words['remember_options']}</label>
				<input type="submit" value="{$this->lang->words['sort_submit']}" class="input_submit alt" />
			</fieldset>
		</form>
		<script type='text/javascript'>
			if( $('filter_form' ) ){
				$('filter_form').hide();
				$('show_filters').show();
			}
		</script>
	</div>
	<if test="forumjump:|:$forum_data['FORUM_JUMP']">
		<div class='moderation_bar rounded'>
			<!--<form method='post' action='{$this->settings['base_url']}app=core&module=search&do=quick_search&search_app=forums' id='context_search' class='left'>
				<fieldset>
					<input type='hidden' name='type' value='forum' />
					<input type='hidden' name='type_id' value='{$forum_data['id']}' />
					<label for='forum_search'>{$this->lang->words['search_forum']}</label>
					<input type='text' id='forum_search' name='search_term' class='input_text' size='20' tabindex='8' />
					<input type='submit' class='input_submit alt' value='{$this->lang->words['jmp_go']}' />
				</fieldset>
			</form>-->

			{$forum_data['FORUM_JUMP']}
		</div>
	</if>
</div>



<div class='topic_controls'>
	{$forum_data['SHOW_PAGES']}

	<ul class='topic_buttons'>
		<if test="bottomusercanpost:|:$forum_data['_user_can_post']">
			<li><a href='{parse url="module=post&section=post&do=new_post&f={$forum_data['id']}" base="publicWithApp"}' title='{$this->lang->words['topic_start']}'><img src='{$this->settings['img_url']}/page_white_add.png' alt='{$this->lang->words['topic_start']}' /> {$this->lang->words['topic_start']}</a></li>
		<else />
			<li class='disabled'><span>{$this->lang->words['forum_no_start_topic']}</span></li>
		</if>
	</ul>
</div>


<div id='forum_footer' class='statistics general_box clear clearfix'>
	<div id='forum_legend' class='right'>
		<h2>{$this->lang->words['forum_legend']}</h2>
		<dl>
			<dt class='clear'>{parse replacement="t_unread"}</dt>
			<dd>{$this->lang->words['pm_open_new']}</dd>
			<dt>{parse replacement="t_read"}</dt>
			<dd>{$this->lang->words['pm_open_no']}</dd>
			<dt class='clear'>{parse replacement="t_hot_unread"}</dt>
			<dd>{$this->lang->words['pm_hot_new']}</dd>
			<dt>{parse replacement="t_hot_read"}</dt>
			<dd>{$this->lang->words['pm_hot_no']}</dd>
			<dt class='clear'>{parse replacement="t_poll_unread"}</dt>
			<dd>{$this->lang->words['pm_poll']}</dd>
			<dt>{parse replacement="t_poll_read"}</dt>
			<dd>{$this->lang->words['pm_poll_no']}</dd>
			<dt class='clear'>{parse replacement="t_closed"}</dt>
			<dd>{$this->lang->words['pm_locked']}</dd>
			<dt>{parse replacement="t_moved"}</dt>
			<dd>{$this->lang->words['pm_moved']}</dd>
		</dl>
	</div>				
	<if test="showactiveusers:|:!$this->settings['no_au_forum']">
		<div id='forum_active_users' class='active_users stats_list'>
			<h2>
				{parse expression="sprintf( $this->lang->words['active_users_title'], ($active_user_data['members'] + $active_user_data['guests'] + $active_user_data['anon'] ) )"}<br />
				<span class='desc'>{parse expression="sprintf( $this->lang->words['active_users_detail'], $active_user_data['members'], $active_user_data['guests'], $active_user_data['anon'] )"}</span>
			</h2>
			<ul>
				<if test="hasactiveusers:|:is_array( $active_user_data['names'] ) AND count( $active_user_data['names'] )">
					<foreach loop="activeusers:$active_user_data['names'] as $p => $r">
				<li>{$r['p_start']}<if test="aumemberid:|:$r['id']"><a href='{parse url="showuser={$r['id']}" seotitle="{$r['seo']}" template="showuser" base="public"}' title='{$r['p_title']}'></if>{$r['name']}<if test="aumidend:|:$r['id']"></a></if>{$r['p_end']}<if test="auaddcomma:|:$p + 1 != count( $active_user_data['names'] )">,</if></li>
					</foreach>
				</if>
			</ul>
		</div>
	</if>
	<if test="hasmoderators:|:is_array( $mod_data ) AND count( $mod_data )">
		<div id='forum_led_by' class='active_users stats_list'>
			<h2>{$this->lang->words['forum_led_by']}</h2>
			<ul>
				<foreach loop="moderators:$mod_data as $p => $r">
					<li><a href='{$r[0]}' title='{$this->lang->words['view_profile']}'>{$r[1]}</a><if test="moderatorpopup:|:$r[2]">{parse template="user_popup" group="global" params="$r[2], IPSText::makeSeoTitle( $r[1] )"}</if><if test="moderatorscomma:|:$p + 1 != count( $mod_data )">,</if></li>
				</foreach>
			</ul>
		</div>
	</if>
</div>
<br class='clear' />
</if>
<div id='delPopUp' style='display:none'>
<h3 class='bar'>{$this->lang->words['dlt_title']}</h3>
<div class='general_box'>
	<form action='#{removeUrl}' method='POST'>
		<strong>{$this->lang->words['dlt_remove_from_view']}</strong>
		<p class='desc'>{$this->lang->words['dlt_remove_from_view_desc']}</p>
		<p style='padding:4px 0px 4px 0px'>{$this->lang->words['dlt_reason']} <input type='text' name='deleteReason' id='delPop_reason' value='' style='width:65%' /> <input type='submit' class='input_submit' value='{$this->lang->words['dlt_remove']}' /></p>
	</form>
	<div style='#{permaDelete}padding-top:5px'>
		<strong>{$this->lang->words['dlt_delete_from_topic']}</strong>
		<p class='desc'>{$this->lang->words['dlt_delete_from_topic_desc']}</p>
		<p style='padding:4px 0px 4px 0px'><input type='button' class='input_submit' onclick="window.location='#{permaUrl}';" value='{$this->lang->words['dlt_delete_now']}' /></p>
	</div>
</div>
</div>

w Głowne szablony mam jeszcze bit " _welcomeMessage"

To jego kod

<if test="memberbox:|:$this->memberData['member_id']">
<if test="memberbox:|:$this->memberData['posts'] < 1">
<div class="welcome">
<div class="top"><div class="bottom">
	<div>
		<h2>Thanks for joining {$this->memberData['members_display_name']}. What's next?</h2>
		<p>You can start creating topics, reply to others' posts, make friends, give reputation, and much more. Have fun in the forums! This message will disappear after you've made your first post.</p>
	</div>
</div></div>
</div>
<else />
<!-- <div class="welcome">
	<div class="top"><div class="bottom">
	<div>
		<h2>Welcome {$this->memberData['members_display_name']}</h2>
		<p>Your message for members here. Disabled by default. Remove the comment tags if you want your members to see a nice message as well.</p>
	</div>
</div></div>
</div> -->
</if>
<else />
<div class="welcome">
<div class="top"><div class="bottom">
<div data-collapsible="welcome">
	<div>
		<h2>Welcome to our forums.</h2>
		<p>Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more.</p>

		<div class="welcome_buttons">
		<a class="input_submit" href="{parse url="app=core&module=global&section=register" base="public"}" title='{$this->lang->words['register']}' id='register_link'>{$this->lang->words['register']}</a>
		<a data-target-dombox="login" class="input_submit alt" href='{parse url="app=core&module=global&section=login" base="public"}'><span>{$this->lang->words['sign_in']}</span></a>
		</div>
		<div class="clear"></div>
	</div>
</div>
<div class="hideit">
	<a href="#" data-target-collapsible="welcome" data-use-store="welcome">Close</a>
	<div data-store="welcome"><div data-key="show">Open</div><div data-key="hide">Close</div></div>
</div>
</div></div>
</div>
</if>

Edytowane przez shannon
Odnośnik do komentarza
Udostępnij na innych stronach

Wybacz

{parse js_module="board"}
{parse js_module="hooks"}
{parse variable="sidebar_enabled" default="$show_side_blocks"}
<script type='text/javascript'>
//<![CDATA[
ipb.global.boardMarkers = ({
	'f_cat_unread': "{parse replacement="f_cat_read"}",
	'f_unread': "{parse replacement="f_read"}",
	'f_pass_unread': "{parse replacement="f_pass_read"}"
});
var markerURL = "{parse url="app=forums&module=ajax&section=markasread&i=1" base="public"}"; // Ajax URL so don't use &
//]]>
</script>
<if test="sideBarEnabled:|:$this->templateVars['sidebar_enabled']">
<a href='{parse url="app=forums&module=extras&section=toggle&secure_key={$this->member->form_hash}" base="public"}' id='close_sidebar'  class='sidebar_toggle rounded' <if test="sidebaropen:|:IPSCookie::get('hide_sidebar') != '1'">style='display: none'</if>><img src='{$this->settings['img_url']}/sidebar_close.png' alt='{$this->lang->words['sidebar_close']}' /></a>
<a href='{parse url="app=forums&module=extras&section=toggle&secure_key={$this->member->form_hash}" base="public"}' id='open_sidebar' class='sidebar_toggle rounded' <if test="sidebarclosed:|:IPSCookie::get('hide_sidebar') == '1'">style='display: none'</if>><img src='{$this->settings['img_url']}/sidebar_open.png' alt='{$this->lang->words['sidebar_open']}' /></a>
</if>
<h2 class='hide'>{$this->lang->words['board_index_title']}</h2>
<div id='board_index' class='clearfix'>
<if test="sideBarEnabled2:|:$this->templateVars['sidebar_enabled']">
	<div id='index_stats' class='right clearfix' <if test="sidebarclosed2:|:IPSCookie::get('hide_sidebar') == '1'">style='display: none'</if>>
		<foreach loop="side_blocks:$side_blocks as $block">
			{$block}
		</foreach>
	</div>
</if>

<div id='categories' class='<if test="nosidebar:|:IPSCookie::get('hide_sidebar') == '1' || !$this->templateVars['sidebar_enabled']">no_sidebar</if> clearfix'>
	<if test="latestNews:|:is_array($news_data) AND count($news_data)">
		<div id='latest_news' class='row2'><strong>{$this->lang->words['newslink']}</strong> <a href='{parse url="showtopic={$news_data['id']}" template="showtopic" seotitle="{$news_data['seo_title']}" base="public"}' title='{$this->lang->words['newslink']}'>{$news_data['title']}</a></div>
	</if>
<!-- CATS AND FORUMS -->
	<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'>
					<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>
					<table 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 width="45%">
										<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> {parse replacement="f_redirect"}</h4>
										<p class='desc'>{$forum_data['description']}</p>
									</td>
									<td colspan='2' width="25%" class="textRight">
										{$this->lang->words['rd_hits']}: {parse format_number="$forum_data['redirect_hits']"}
									</td>
								</tr>
							<else />
								<tr class='{parse striping="catTable"}'>
									<td width="45%">
										<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>

										<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'>
												{parse replacement="{$forum_data['img_new_post']}"}
											</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 />
											{parse replacement="{$forum_data['img_new_post']}"}
										</if></h4>
										<p class='desc'>{$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' width="14%">
										<ul>
											<li><strong>{$forum_data['topics']}</strong> {$this->lang->words['topics']}</li>
											<li><strong>{$forum_data['posts']}</strong> {$this->lang->words['replies']}</li>
										</ul>
									</td>
									<td width="25%">
										<ul class='last_post'>
											<if test="hideLastInfo:|:$forum_data['hide_last_info']">
												<li>{$this->lang->words['f_protected']}</li>
											<else />
												<if test="hideDateUrl:|:$forum_data['_hide_last_date']">
													<li>{parse date="$forum_data['last_post']" format="LONG"}</li>
												<else />
													<li><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 replacement="f_lastpost"}</a> <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></li>
												</if>
												<li><strong>{$this->lang->words['in']}</strong> {$forum_data['last_topic_title']}</li>
												<li>
													<strong>{$this->lang->words['by']}</strong> 
													<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>
												</li>
											</if>
										</ul>
									</td>
								</tr>
							</if>
						</foreach>
					</table>
				</div>
			</if>
		</foreach>
	</if>
</div>
</div>
<ul id='stat_links' class='filter_bar rounded'>
<li><a href="{parse url="app=core&module=search&do=active" base="public"}" title="{$this->lang->words['today_active_cont']}">{$this->lang->words['new_active_cont']}</a></li>
<li><a href="{parse url="app=forums&module=extras&section=stats&do=leaders" base="public"}" title="{$this->lang->words['sm_forum_leaders_title']}">{$this->lang->words['sm_forum_leaders']}</a></li>
<li><a href="{parse url="app=forums&module=extras&section=stats" base="public"}" title="{$this->lang->words['sm_all_posters_title']}">{$this->lang->words['sm_today_posters']}</a></li>
<li><a href="{parse url="app=members&module=list&max_results=20&sort_key=posts&sort_order=desc&filter=ALL" base="public" seotitle="false"}" title="{$this->lang->words['sm_overall_posters_title']}">{$this->lang->words['sm_overall_posters']}</a></li>
</ul>
<div id='board_statistics' class='statistics general_box clearfix'>
<if test="showTotals:|:$this->settings['show_totals']">
	<div id='stats'>
		<h2>{$this->lang->words['board_stats']}</h2>
		<dl>
			<dt>{$this->lang->words['total_posts']}</dt>
			<dd>{$stats['info']['total_posts']}</dd>
			<dt>{$this->lang->words['total_members']}</dt>
			<dd>{$stats['info']['mem_count']}</dd>
			<dt>{$this->lang->words['newest_member']}</dt>
			<dd><a href='{$stats['info']['last_mem_link']}' title='{$this->lang->words['view_profile']}'>{$stats['info']['last_mem_name']}</a>{parse template="user_popup" group="global" params="$stats['info']['last_mem_id'],$stats['info']['last_mem_seo']"} </dd>
			<dt>{$this->lang->words['online_at_once']}</dt>
			<dd>{$stats['info']['most_online']}<br /><span class='extra'>{$stats['info']['most_time']}</span></dd>
		</dl>
	</div>
</if>
<if test="showActive:|:$this->settings['show_active']">
	<div id='active_users' class='stats_list'>
		<h2>
			{$stats['TOTAL']} {$this->lang->words['active_users_text']} <span>{$this->lang->words['active_users']}</span><br />
			<span class='desc'>{parse expression="sprintf( $this->lang->words['active_users_detail'], $stats['MEMBERS'], $stats['GUESTS'], $stats['ANON'] )"} | {$this->lang->words['show_by']}: <a href='{parse url="app=members&module=online&sort_order=desc" base="public"}'>{$this->lang->words['oul_click']}</a> {$this->lang->words['or']} <a href='{parse url="app=members&module=online&sort_key=name&sort_order=asc&show_mem=reg" base="public"}'>{$this->lang->words['oul_name']}</a></span>
		</h2>
		<if test="activeNames:|:count($stats['NAMES'])">
			<p>
				<span class='name'>{parse expression="implode( ",</span> <span class='name'>", $stats['NAMES'] )"}</span>					
			</p>
		</if>
	</div>
</if>
<if test="calendarEventsOuter:|:$calendar_events">
<div id='cal_events' class='stats_list'>
	<h2>{$this->lang->words['upcoming_events']}</h2>
	<if test="calendarEventsInner:|:is_array( $calendar_events )">
		<p>
			<span class='name'>{parse expression="implode( ",</span> <span class='name'>", $calendar_events )"}</span>
		</p>
	<else />
		<p>{$calendar_events}</p>
	</if>
</div>
</if>

<if test="birthdays:|:$birthdays !== FALSE AND is_array( $birthdays['users'] ) AND count( $birthdays['users'] )">
	<div id='cal_bdays' class='stats_list'>
		<h2>{$birthdays['count']} {$this->lang->words['birthdays_today']}</h2>
		<p>
			<span class='name'>{parse expression="implode( ",</span> <span class='name'>", $birthdays['users'] )"}</span>					
		</p>
	</div>
<else />
	<if test="showBirthdaysAlways:|:$this->settings['show_birthdays'] AND !$this->settings['autohide_bday']">
		<div id='cal_bdays' class='stats_list'>
			<h2>0 {$this->lang->words['birthdays_today']}</h2>
			<p>{$this->lang->words['no_birth_users']}</p>
		</div>
	</if>
</if>

</div>
<if test="autodst:|:$this->memberData['members_auto_dst'] == 1 AND $this->settings['time_dst_auto_correction']">
<script type='text/javascript'>
ipb.vars['dst_on']	= parseInt("{$this->memberData['dst_in_use']}");

ipb.board.checkDST();
</script>
</if>

Odnośnik do komentarza
Udostępnij na innych stronach

Zamień treść bitu _welcomeMessage na:

        <div class="welcome">
       <div class="top"><div class="bottom">
       <div data-collapsible="welcome">
               <div>
                       <h2>Welcome to our forums.</h2>
                       <p>Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more.</p>

                       <div class="welcome_buttons">
                       <a class="input_submit" href="{parse url="app=core&module=global&section=register" base="public"}" title='{$this->lang->words['register']}' id='register_link'>{$this->lang->words['register']}</a>
                       <a data-target-dombox="login" class="input_submit alt" href='{parse url="app=core&module=global&section=login" base="public"}'><span>{$this->lang->words['sign_in']}</span></a>
                       </div>
                       <div class="clear"></div>
               </div>
       </div>
       <div class="hideit">
               <a href="#" data-target-collapsible="welcome" data-use-store="welcome">Close</a>
               <div data-store="welcome"><div data-key="show">Open</div><div data-key="hide">Close</div></div>
       </div>
       </div></div>
       </div>

...po czym dostosuj jej treść.

Odnośnik do komentarza
Udostępnij na innych stronach

Mógłbyś Mi jeszcze powiedzieć jak zrobić aby po zalogowaniu znikneły napisy z obrazka? ;)

Chyba o to Ci chodzi:

<if test="memberbox:|:$this->memberData['member_id']">
       <div class="welcome">
       <div class="top"><div class="bottom">
               <div></div>
       </div></div>
       </div>
<else />
       <div class="welcome">
       <div class="top"><div class="bottom">
       <div data-collapsible="welcome">
               <div>
                       <h2>Welcome to our forums.</h2>
                       <p>Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more.</p>

                       <div class="welcome_buttons">
                       <a class="input_submit" href="{parse url="app=core&module=global&section=register" base="public"}" title='{$this->lang->words['register']}' id='register_link'>{$this->lang->words['register']}</a>
                       <a data-target-dombox="login" class="input_submit alt" href='{parse url="app=core&module=global&section=login" base="public"}'><span>{$this->lang->words['sign_in']}</span></a>
                       </div>
                       <div class="clear"></div>
               </div>
       </div>
       <div class="hideit">
               <a href="#" data-target-collapsible="welcome" data-use-store="welcome">Close</a>
               <div data-store="welcome"><div data-key="show">Open</div><div data-key="hide">Close</div></div>
       </div>
       </div></div>
       </div>
</if>

Odnośnik do komentarza
Udostępnij na innych stronach

<if test="memberbox:|:$this->memberData['member_id']">
       <div class="welcome">
       <div class="top"><div class="bottom">
               <div><p> </p></div>
       </div></div>
       </div>
<else />
       <div class="welcome">
       <div class="top"><div class="bottom">
       <div data-collapsible="welcome">
               <div>
                       <h2>Welcome to our forums.</h2>
                       <p>Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more.</p>

                       <div class="welcome_buttons">
                       <a class="input_submit" href="{parse url="app=core&module=global&section=register" base="public"}" title='{$this->lang->words['register']}' id='register_link'>{$this->lang->words['register']}</a>
                       <a data-target-dombox="login" class="input_submit alt" href='{parse url="app=core&module=global&section=login" base="public"}'><span>{$this->lang->words['sign_in']}</span></a>
                       </div>
                       <div class="clear"></div>
               </div>
       </div>
       <div class="hideit">
               <a href="#" data-target-collapsible="welcome" data-use-store="welcome">Close</a>
               <div data-store="welcome"><div data-key="show">Open</div><div data-key="hide">Close</div></div>
       </div>
       </div></div>
       </div>
</if>

  • Lubię to 1
Odnośnik do komentarza
Udostępnij na innych stronach

Amfidiusz nadal to samo :/

+matius ale widzisz chciałbym logo podobne do "welcomemessage" a logo w tym stylu jest lipne trochę :/ Więc chciałbym logo takich rozmiarów jak "welcomemessage" i w tym samym miejscu :) A to wiąże się z jakąś bardziej poważną edycją skinu. A Ja niestety na edycji tych stylów za bardzo się nie znam. A gdy dodam obrazek z "welcomemessage" w "szybka zmiana logo" to obrazek jest tak do góry i nie ciekawie to wygląda. Obrazek jak to wygląda masz w pierwszych postach

Już rozumiesz?

Edytowane przez shannon
Odnośnik do komentarza
Udostępnij na innych stronach

  • Manager

Problem ROZWIĄZANY. Jeśli są jakiekolwiek wątpliwości, pytania proszę o założenie nowego tematu.

Wszelkie uzasadnione reklamacje/pretensje/sugestie/rady przyjmuje ekipa forum.

intermedia - profesjonalne rozwiązania Invision Power Board

---

Chcesz uzyskać szybko i sprawnie pomoc? Uzupełnij wersję i adres w profilu.

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • 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ę.