Vai al contenuto
psico

Si visualizza solo il primno topic di un forum. Help!

Recommended Posts

psico

Salve a tutti.

Questo è il mio primo post in questo forum e spero di trovare aiuto da parte dei partecipanti.

Siamo appena passati a IPB 3.1.4 dopo essere rimasti con il 2.x per molto tempo, con la paura di cambiare ela necessità di upgradare il forum per migliorarlo. Alla fine siamo stati costretti a cambiare per l'attacco di qualcuno che ci ha hackerato il forum con un redirect ad un sito russo.

Veniamo alla domanda: utilizzando i nuovi skin non riusciamo a far apparire tutti i topic di un forum ma appare solo il primo (Esempio 1 o Esempio 2/).

Questo sia con lo standard che con altri skin scaricati dal sito di IPB.

Come fare per far apparire tutti i topic o perlomeno una parte di essi (es. 30 o 40)?

Grazie a chi vorrà risponderci.

Luigi

Condividi questo messaggio


Link di questo messaggio
Condividi su altri siti
najaru

Questa storia della visualizzazione di un solo topic è molto strana.

ed è per forza un problema della skin, perchè ho studiato le date dei topic in rapporto alle pagine, ed è evidente che si vede il primo titolo corrispondente al primo titolo della pagina.

innanzitutto proverei a ripristinare il template forumindextemplate con uno originale, per vedere se ritorna normale.

{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 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['goto_forum']}'>{$forum_data['name']}</a></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 class='altrow'>
<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>
</td>
<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></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>{$forum_data['topics']} {$this->lang->words['topics']}</li>
<li>{$forum_data['posts']} {$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'>{$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>

è strano comunque che dia problemi solo li.....

Condividi questo messaggio


Link di questo messaggio
Condividi su altri siti
najaru

La dimostrazione che è un problema di skin la si ha usando la skin mobile, che visualizza tutti i topic.

O state utilizzando delle skin vecchie, oppure le skin vengono importate male e perdono dei pezzi.

Non è che avete il safe mode attivo?

Condividi questo messaggio


Link di questo messaggio
Condividi su altri siti
najaru

Potrebbe anche eventualmente (ma non penso, perchè vedo altri problemi nella skin che non sono legati a quello) essere il banner visualizzato dopo il primo topic, provate a toglierlo un attimo e vedere se cambia qualcosa.

Allego una skin con il vostro rosso, aggiornata.

Vedete un po come va....

Base312.zip

Condividi questo messaggio


Link di questo messaggio
Condividi su altri siti
psico

Potrebbe anche eventualmente (ma non penso, perchè vedo altri problemi nella skin che non sono legati a quello) essere il banner visualizzato dopo il primo topic, provate a toglierlo un attimo e vedere se cambia qualcosa.

Allego una skin con il vostro rosso, aggiornata.

Vedete un po come va....

Banner tolti e forum perfettamente funzionante.

Ora riproviamo ad inserirne uno alla volta e vediamo cosa accade.

In ogni caso, grazie davvero!

Luigi

Condividi questo messaggio


Link di questo messaggio
Condividi su altri siti
psico

Si, il problema sono i banner.

Aggiungerne uno qualsiasi, in qualsiasi posizione (header, footer o fra i topic) provoca un immediato malfunzionamento.

Situazione alquanto fastidiosa.

Come ovviare al problema?

C'è qualche settaggio da modificare o altro?

Luigi

Condividi questo messaggio


Link di questo messaggio
Condividi su altri siti
psico

Che tipo di banner sono? Statici o sxript?

Sono banner inseriti in un circuito "openX" che noi utilizziamo per i nostri siti...

Volendo, sarebbe anche possibile utilizzare un Iframe o un tag locale....

Provo a farlo..

Luigi

Modificato da psico

Condividi questo messaggio


Link di questo messaggio
Condividi su altri siti
najaru

ok allora è quello il problema.

se vuoi avere la conferma prova a mettere negli spazi banner solo delle scritte testuali di prova, se quelle da sole non danno problemi vuol dire che gli spazi adcode funzionano bene

Condividi questo messaggio


Link di questo messaggio
Condividi su altri siti
psico

Si, ho già provato.

il codice Iframe funziona mentre quello locale no.

In ogni caso non su tutte le skin.

Ad esempio l'Iframe su VibrantRed non mostra il primo banner in alto.

Provo ancora...

Modificato da psico

Condividi questo messaggio


Link di questo messaggio
Condividi su altri siti
najaru

spetta spetta.

io (per ora) non ho parlato di iframe (che sarà la soluzione ai tuoi problemi)

volevo solo verificare che con un contenuto statico semplice gli spazi ad code funzionassero correttamente

Condividi questo messaggio


Link di questo messaggio
Condividi su altri siti
najaru

ok, allora il problema sono i tuoi banner.

l'unica soluzione plausibili è metterli in file esterni, e poi richiamarli con degli iframe negli spazi adcode.

una volta l'ho dovuto fare e ha funzionato correttamente.

Condividi questo messaggio


Link di questo messaggio
Condividi su altri siti
psico

Provo e poi ti tengo aggiornato.

In ogni caso grazie per la disponibilità...

Penso che utilizzerò molto questo forum wink.gif

Luigi

P.S.: Hai provato a capire cosa potrebbe essere accaduto nell'altra mia richiesta? Quella relativa alla sicurezza?

Condividi questo messaggio


Link di questo messaggio
Condividi su altri siti
najaru

impossibile riuscire a capire qualcosa senza poter vedere i log.

comunque molto molto strano, ma soprattutto inquietante perchè è la prima volta che lo sento.

Ovviamente lo sai che queste cose possono essere anche cambiate dal databse......

Condividi questo messaggio


Link di questo messaggio
Condividi su altri siti
psico

Figura di cacca! laugh.gif

Avevo già provato prima ma non aveva funzionato e quindi pensavo ci fosse un modo diverso.

Grazie ancora

Condividi questo messaggio


Link di questo messaggio
Condividi su altri siti

Crea un account o accedi per lasciare un commento

You need to be a member in order to leave a comment

Crea un account

Iscriviti per un nuovo account nella nostra comunità. È facile!

Registra un nuovo account

Accedi

Sei già registrato? Accedi qui.

Accedi Ora


×