Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [General] Last Active field and Mark forums read
#1
Not Solved
How would I go about adding a "Last Active" field to a user's profile to show when they were last online.

I also have another question, how would I be able to make a "Mark Forums Read" link in the footer?
#2
Not Solved
Therer is already a "Last Visit" section on a profile. But if you dont have it.

<tr>
<td><strong>{$lang->lastvisit}</strong></td>
<td>{$memlastvisitdate} {$memlastvisittime}</td>
</tr>

Mark forums read:
<a href="misc.php?action=markread{$post_code_string}">{$lang->markread}</a>
#3
Not Solved
(2014-04-02, 02:26 AM)thexshadow Wrote: Therer is already a "Last Visit" section on a profile. But if you dont have it.

<tr>
<td><strong>{$lang->lastvisit}</strong></td>
<td>{$memlastvisitdate} {$memlastvisittime}</td>
</tr>

Mark forums read:
<a href="misc.php?action=markread{$post_code_string}">{$lang->markread}</a>

The last visit worked, but where do I put the "mark forums read" ? I tried putting into the footer, but it doesn't show?
#4
Not Solved
I have mine in "index_stats"
#5
Not Solved
(2014-04-02, 04:16 AM)thexshadow Wrote: I have mine in "index_stats"

I get this error:

Authorization code mismatch. Are you accessing this function correctly? Please go back and try again.
#6
Not Solved
If you put it in index_stats, post index_stats.
#7
Not Solved
(2014-04-03, 02:40 AM)thexshadow Wrote: If you put it in index_stats, post index_stats.

Quote:<tr>
<td class="trow1">
<span class="mehwhat">Board Statistics</span><br>

<span class="smalltext">
{$lang->stats_posts_threads}<br />
{$lang->stats_numusers}<br />
{$lang->stats_newestuser}<br />
{$lang->stats_mostonline}
</span></td>
</tr>

Where would I put it?
#8
Not Solved
Here you go.

<tr>
<td class="trow1">
<span class="mehwhat"><strong>{$lang->boardstats}</strong></span><span style="float: right"><a href="misc.php?action=markread{$post_code_string}">{$lang->markread}</a></span></td></tr>

<span class="smalltext">
{$lang->stats_posts_threads}<br />
{$lang->stats_numusers}<br />
{$lang->stats_newestuser}<br />
{$lang->stats_mostonline}
</span></td>
</tr>
#9
Not Solved
(2014-04-04, 05:32 AM)thexshadow Wrote: Here you go.

<tr>
<td class="trow1">
<span class="mehwhat"><strong>{$lang->boardstats}</strong></span><span style="float: right"><a href="misc.php?action=markread{$post_code_string}">{$lang->markread}</a></span></td></tr>

<span class="smalltext">
{$lang->stats_posts_threads}<br />
{$lang->stats_numusers}<br />
{$lang->stats_newestuser}<br />
{$lang->stats_mostonline}
</span></td>
</tr>


I still get this:

Authorization code mismatch. Are you accessing this function correctly? Please go back and try again.
[Image: forumdynamic.png]
#10
Not Solved
Try this.

misc.php?action=markread&my_post_key={$mybb->post_code}


Forum Jump:


Users browsing this thread: 2 Guest(s)