Link user name in Whos Here to 'instant message' extension
From Another Web Company
Viewed 394 times, With a total of 2 Posts
| Have a suggestion, improvement, change or non-beta Forum Entension bug ? Please add them to the todo list
|
|
|
|
Clicked A Few Times
Wiki Edits: 1
Threads 2
Posts 6
|
|
| 1:23:03 PM - Wednesday 17th, February 2010 |
|
Great forum, i've been testing and using it for a while now (to get a good feel of how things work on it) and still had a few questions.
www.wikifixx.com/wiki
I have since added an 'instant message' program, and would like to make the names displayed under whos here be a clickable link, that will make an instant message pop up (kind of like facebook)
I'm thinking this is where I need to make my change:
$html = '<br /><table class="whos_here" width="100%" cellpadding="0" cellspacing="0">';
$html .= '<tr>
<td width="100%" class="whos_here_header">
<a href="'.awc_url.'whoshere">'.wfMsg('word_forum_stats_whos_here').'</a>
'. wfMsg('members') . ' ' . $info['mems'] . '
'. wfMsg('guests') . ' ' . $info['guests']. '
'.wfMsg('bots').' ' . $info['bots'] . '
</td>
</tr>';
I was also going to use my profile pages and avatars, so i'm still looking around on how I can make these congruent to mine. (I'll update this part if I find what i'm looking for)
Also, I was wondering if its possible to create an individual forum for a single wiki page.
:thumbsup:
|
|
| Beer & www.wikifixx.com/wiki
|
|
|
|
|
| 1:37:25 PM - Wednesday 17th, February 2010 |
|
Hello YuenglingMike, i split your post to a new thread to make things a little more organized.
Yes the code block you posted will control the display of the Whos here.
The names are generated from /awc/forums/includes/gen_class.php in the class awcs_forum_whos_here{
As with using the avatars from the forum, all that info is in the 'awc_f_mems' dbase table, there is a column in there which holds the members Wiki-ID and also a column which holds the members Wiki-Name, so you can use them column's to search the table and retrieve the avatar info.
If you have to edit core forum code, post back what you did and ill try and make it a perminit change or add a Forum Hook so you will not have to keep editing the files during forum updates.
Hope it helps...
_
|
|
~ What was once an opinion, became a fact, to be later proven wrong ~
|
|
|
|
Clicked A Few Times
Wiki Edits: 1
Threads 2
Posts 6
|
|
| 4:21:57 PM - Wednesday 17th, February 2010 |
|
Thanks a ton, i'll be getting to the grind tonight. Got a few things to do before I can get to coding.
I'll get back to ya in a bit
:beer:
|
|
Edited On 4:22:12 PM - Wednesday 17th, February 2010 by YuenglingMike
|
|
|
AWC's:
2.6.0 MediaWiki - Stand Alone Forum Extension Forum theme style by: AWC
|