Jump to content
WebFlake
  • 0

Upgrade IPB 3.2.X to 3.4.2


Guest Shooty

Question

Hey !


I'v just upgraded my software to IPB 3.4.2 but i have some bugs...
 

http://www.noelshack.com/2013-08-1361148042-brokenforum.png

 

There it is...
 

I don't know why, when i'm browsing a forum it can't show how many user is reading it and just "<<<," is showed....
Also, in the main page of the forum, the members who are connected is correctly outputed, the problem is only in forum & suboforum.


also if im clicking 'Show tools of moderation' (Top of my screenshots) it just back my windows to the top of the forum and nothing happend...
 

I really don't want to backup to my 3.2.X so if anyone have a fix... thanks !


Also, it happend on all my skins.

EDIT : It not happend on the IPBoard skins... i'll digg in this way and give you more information ;) i think there's an error in my skins...

Ok for the "Show tools of moderation" it disappear in the IPBOARD skins so i think it's why it don't work on my other skins...

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Fixed the "Users reading this topic/forum" 

 

Change in forumIndexTemplate

 

 

	<div id='forum_footer' class='statistics clear clearfix'>		<if test="hasmoderators:|:is_array( $mod_data ) AND count( $mod_data )">			<div id='forum_led_by' class='right ipsType_small'>				<img src='{$this->settings['img_url']}/icon_users.png' /> &nbsp;{$this->lang->words['forum_led_by']}				<foreach loop="moderators:$mod_data as $p => $r">					<a href='{$r[0]}' title='{$this->lang->words['view_profile']}'>{$r[1]}</a><if test="moderatorpopup:|:$r[2]"></if><if test="moderatorscomma:|:$p + 1 != count( $mod_data )">,</if>				</foreach>			</div>		</if>		<if test="showactiveusers:|:!$this->settings['no_au_forum']">			<div id='forum_active_users' class='active_users stats_list'>				<h4 class='statistics_head'>{parse expression="sprintf( $this->lang->words['active_users_titlef'], ($active_user_data['members'] + $active_user_data['guests'] + $active_user_data['anon'] ) )"}</h4>				<p class='statistics_brief'>{parse expression="sprintf( $this->lang->words['active_users_detail'], $active_user_data['members'], $active_user_data['guests'], $active_user_data['anon'] )"}</p>				<br />				<ul class='ipsList_inline'>					<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>		</div></if>

to

	<div id='forum_footer' class='statistics clear clearfix'>		<if test="hasmoderators:|:is_array( $mod_data ) AND count( $mod_data )">			<div id='forum_led_by' class='right ipsType_small'>				<img src='{$this->settings['img_url']}/icon_users.png' /> &nbsp;{$this->lang->words['forum_led_by']}				<foreach loop="moderators:$mod_data as $p => $r">					<a href='{$r[0]}' title='{$this->lang->words['view_profile']}'>{$r[1]}</a><if test="moderatorpopup:|:$r[2]"></if><if test="moderatorscomma:|:$p + 1 != count( $mod_data )">,</if>				</foreach>			</div>		</if>		<if test="showactiveusers:|:is_array( $active_user_data ) AND count( $active_user_data )">			<div id='forum_active_users' class='active_users stats_list'>				<h4 class='statistics_head'>{parse expression="sprintf( $this->lang->words['active_users_titlef'], $active_user_data['stats']['total'] )"}</h4>				<p class='statistics_brief'>{parse expression="sprintf( $this->lang->words['active_users_detail'], $active_user_data['stats']['members'], $active_user_data['stats']['guests'], $active_user_data['stats']['anon'] )"}</p>				<br />				<ul class='ipsList_inline'>					<if test="hasactiveusers:|:is_array( $active_user_data['names'] ) AND count( $active_user_data['names'] )">						{parse expression="implode( ', ', $active_user_data['names'] )"}					</if>				</ul>			</div>		</if>		</div></if>

 

And for in a topic change :

 

 

<!-- ACTIVE USERS --><if test="topicActiveUsers:|:is_array( $displayData['active_users'] ) AND count( $displayData['active_users'] )">	<div id='topic_stats' class='statistics clear clearfix'>		<div id='topic_active_users' class='active_users'>			<h4 class='statistics_head'>{parse expression="sprintf( $this->lang->words['active_users_title'], ($displayData['active_users']['members'] + $displayData['active_users']['guests'] + $displayData['active_users']['anon'] ) )"}</h4>			<p class='statistics_brief desc'>{parse expression="sprintf( $this->lang->words['active_users_detail'], $displayData['active_users']['members'], $displayData['active_users']['guests'], $displayData['active_users']['anon'] )"}</p>			<if test="auNames:|:is_array( $displayData['active_users']['names'] ) AND count( $displayData['active_users']['names'] )">				<br />				<ul class='ipsList_inline'>					<foreach loop="active_users:$displayData['active_users']['names'] as $p => $r">				<li>{$r['p_start']}<if test="auId:|:$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="auEndId:|:$r['id']"></a></if>{$r['p_end']}<if test="lastActiveUser:|:$p + 1 != count( $displayData['active_users']['names'] )">,</if></li>					</foreach>				</ul>			</if>		</div>	</div></if><if test="scrollToPost:|:$this->request['gopid']"><script type='text/javascript'>	var gopid = "{$this->request['gopid']}".replace(/&amp;/g, '');	ipb.topic.scrollToPost( parseInt( gopid ) );</script>

 

 

 

to

 

<!-- ACTIVE USERS --><if test="topicActiveUsers:|:is_array( $displayData['active_users'] ) AND count( $displayData['active_users'] )">	<div id='topic_stats' class='statistics clear clearfix'>		<div id='topic_active_users' class='active_users'>			<h4 class='statistics_head'>{parse expression="sprintf( $this->lang->words['active_users_title'], $displayData['active_users']['stats']['total'] )"}</h4>			<p class='statistics_brief desc'>{parse expression="sprintf( $this->lang->words['active_users_detail'], $displayData['active_users']['stats']['members'], $displayData['active_users']['stats']['guests'], $displayData['active_users']['stats']['anon'] )"}</p>			<if test="auNames:|:is_array( $displayData['active_users']['names'] ) AND count( $displayData['active_users']['names'] )">				<br />				<ul class='ipsList_inline'>					{parse expression="implode( ', ', $displayData['active_users']['names'] )"}				</ul>			</if>		</div>	</div></if><if test="scrollToPost:|:$this->request['gopid']"><script type='text/javascript'>	var gopid = "{$this->request['gopid']}".replace(/&amp;/g, '');	ipb.topic.scrollToPost( parseInt( gopid ) );</script>

 

 

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...