MyBB Community Forums

Full Version: Add a link to the multi thread pages on Who is online.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When someone is viewing a thread and he is on the 3rd page of the thread(doesnt matter what number of page except 1) it is displayed like so:

Quote:Reading Thread Template question (page: 3)

Now what this mod do is just change so that the (page: 3) part will link to that page in the thread... very simple and can contribute to cross site linking(bots)

This is what you do
FIND on online.php
					$pagenote = " (".$lang->page.":" .$user['page'].")";
REPLACE it with:
					$pagenote = " (".$lang->page.":<a href=\"showthread.php?tid=".$user['tid']."&page=".$user['page']."\">" .$user['page']."</a>)";

The smily thing is supposed to be "> )" (without spaces and quotes) so when you edit dont forget it

Done Smile
is that right? "> )"?

wink emoticon is "; )"
>) = > )
This is pretty old, but, AFAIK the "who is online" changed a bit, isn't it?
There is just the thread shown, where a member is in and when you click this thread, youre leaded to the first site.

Two Modifications would be cool:

First, that you are leaded to the last page - or even the one, the User is Looking at, and second - that the page the User is looking at, is noted too (like Gilded posted in his first message)

Thx,
FraGe