Recent Activity
Forum rules
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe your problem and what happened when the problem occured
3. Tell us what version of phpBB3 you are currently using.
Else your topic may be ignored or locked!
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe your problem and what happened when the problem occured
3. Tell us what version of phpBB3 you are currently using.
Else your topic may be ignored or locked!
Recent Activity
In order the get any support, you will have to do following:
1. Recent Activity!
2. It dosn't show any topic when i browse my profile after i have browsed some topics
3. 3.0.7-PL1.
1. Recent Activity!
2. It dosn't show any topic when i browse my profile after i have browsed some topics
3. 3.0.7-PL1.
Last edited by Fire-Fox on 08 Jun 2010, 16:31, edited 1 time in total.
- Stoker
- Site Admin
- Posts: 3558
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
Re: http://www.phpbb3bbcodes.com/modsdb.php?mode=moddetail&m
When creating a new topic we have this:
Use it.In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe your problem and what happened when the problem occured
3. Tell us what version of phpBB3 you are currently using.
Board rules! No PM support
Re: Recent Activity
updated!
- Stoker
- Site Admin
- Posts: 3558
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
Re: Recent Activity
Its doesnt display topics visited, but topics where you have posted.
Board rules! No PM support
Re: Recent Activity
I have visit and postet, nothing shows up
- Stoker
- Site Admin
- Posts: 3558
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
Re: Recent Activity
Check your edits. I have it working fine on 2 boards.
Board rules! No PM support
Re: Recent Activity
Wierd...
i'll check again for the fith time.
i'll check again for the fith time.
Re: Recent Activity
Have checked again. nothing shows up
Here is what i have done:
Memberlist.php
Find
Find
Open: includes/acp/acp_board.php
Add After
Open: styles/prosilver/template/memberlist_view.html
I have choosen to add it here
Here is what i have done:
Memberlist.php
Find
Code: Select all
selected="selected"' : '') . '>' . (($row['group_type'] == GROUP_SPECIAL) ? $user->lang['G_' . $row['group_name']] : $row['group_name']) . '</option>';
}
$db->sql_freeresult($result);
Code: Select all
selected="selected"' : '') . '>' . (($row['group_type'] == GROUP_SPECIAL) ? $user->lang['G_' . $row['group_name']] : $row['group_name']) . '</option>';
}
$db->sql_freeresult($result);
// Start Recent
$sql = $db->sql_build_query('SELECT', array(
'SELECT' => 'p.poster_id, p.post_subject,p.post_id, p.post_time ,p.post_text, p.bbcode_uid, p.bbcode_bitfield, p.enable_smilies,p.enable_bbcode,p.enable_magic_url,t.topic_replies, t.topic_views, t.forum_id',
'FROM' => array(
POSTS_TABLE => 'p',
),
'LEFT_JOIN' => array(
array(
'FROM' => array(TOPICS_TABLE => 't'),
'ON' => 'p.poster_id ='.$user_id,
)
),
'WHERE' => 'p.topic_id = t.topic_id',
'ORDER_BY' => 'p.post_id DESC'
));
$limit = $config['number_recent_activity'];
$result = $db->sql_query_limit($sql, $limit);
while($row = $db->sql_fetchrow($result))
{
if($auth->acl_get('f_read', $row['forum_id']))
{
$row['bbcode_options'] = (($row['enable_bbcode']) ? OPTION_FLAG_BBCODE : 0) +
(($row['enable_smilies']) ? OPTION_FLAG_SMILIES : 0) +
(($row['enable_magic_url']) ? OPTION_FLAG_LINKS : 0);
$poster_id = $row['poster_id'];
$post_id = $row['post_id'];
$text = generate_text_for_display($row['post_text'], $row['bbcode_uid'], $row['bbcode_bitfield'], $row['bbcode_options']);
$post_text = strip_bbcode($text);
$template->assign_block_vars('post', array(
'SUBJECT' => $row['post_subject'],
'TIME' => $user->format_date($row['post_time']),
'POST_TEXT' => truncate_string($text, intval($config['number_char_post'])),
'REPLIES' => $row['topic_replies'],
'VIEWS' => $row['topic_views'],
'U_POSTS' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", "p=$post_id#p$post_id"),
));
}
}
$db->sql_freeresult($result);
// Stop User Recent
Code: Select all
'L_POSTS_IN_QUEUE' => $user->lang('NUM_POSTS_IN_QUEUE', $member['posts_in_queue']),
Code: Select all
// Start User Recent
'ENABLE_RECENT' => $config['allow_recent_activity'],
'ENABLE_RECENT_POST' => $config['show_recent_post'],
'LAST_POST_IMG' => $user->img('icon_topic_latest', 'VIEW_LATEST_POST'),
// Stop User Recent
'L_POSTS_IN_QUEUE' => $user->lang('NUM_POSTS_IN_QUEUE', $member['posts_in_queue']),
Code: Select all
'allow_birthdays' => array('lang' => 'ALLOW_BIRTHDAYS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
Code: Select all
'allow_birthdays' => array('lang' => 'ALLOW_BIRTHDAYS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
'allow_recent_activity' => array('lang' => 'ALLOW_RECENT_ACTIVITY', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
'number_recent_activity' => array('lang' => 'NUMBER_RECENT_ACTIVITY', 'validate' => 'string', 'type' => 'text:1:3', 'explain' => true),
'show_recent_post' => array('lang' => 'SHOW_RECENT_POST', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
'number_char_post' => array('lang' => 'NUMBER_CHAR_POST', 'validate' => 'string', 'type' => 'text:1:4', 'explain' => true),
I have choosen to add it here
Code: Select all
<!-- IF SIGNATURE -->
<div class="panel bg1">
<div class="inner"><span class="corners-top"><span></span></span>
<h3>{L_SIGNATURE}</h3>
<div class="postbody"><div class="signature" style="border-top:none; margin-top: 0;">{SIGNATURE}</div></div>
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->
</form>
<!-- IF POSTS && ENABLE_RECENT -->
<div class="forumbg">
<div class="inner"><span class="corners-top"><span></span></span>
<ul class="topiclist">
<li class="header">
<dl>
<dt>{USERNAME}'s {L_RECENT_ACTIVITY}
</dt>
<dd class="posts">{L_REPLIES}</dd>
<dd class="views">{L_VIEWS}</dd>
<dd class="lastpost"><span>{L_DATE}</span></dd>
</dl>
</li>
</ul>
<!-- BEGIN post -->
<ul class="topiclist forums">
<li class="row">
<dl>
<dt><a href="{post.U_POSTS}">{post.SUBJECT}</a><br />
<!-- IF ENABLE_RECENT_POST --> <font style="font-style:italic">{post.POST_TEXT}...</font> <!-- ENDIF -->
</dt>
<dd class="posts"> <dfn>{L_REPLIES}</dfn>{post.REPLIES}</dd>
<dd class="views"><dfn>{L_VIEWS}</dfn>{post.VIEWS}</dd>
<dd class="lastpost"><span><dfn>{L_LAST_POST} </dfn>{post.TIME} <a href="{post.U_POSTS}">{LAST_POST_IMG}</a></dd>
</dl>
</li>
</ul>
<!-- END post -->
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->
Last edited by Fire-Fox on 09 Jun 2010, 16:18, edited 1 time in total.
Re: Recent Activity
Any ideas ?
Is there a settings in the ACP you have activatet, for it to be active. els then the active in the script there is.
[edit]Have removed it since it didn't work for me[/edit]
Is there a settings in the ACP you have activatet, for it to be active. els then the active in the script there is.
[edit]Have removed it since it didn't work for me[/edit]