We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Editing Members Page | Forum

ITao
ITao Dec 11 '11
Hello,
I want to edit this page: %path%users/online could anyone tell me how i would go about doing this?

I want to add this: 
javascript:chatWith(’USERNAME’); into the page. If anyone could tell me where i edit the pages it would be a great help. :) 
ITao
ITao Dec 11 '11
Ok, So i now i just posted the above but i have found it (I think) here:
/public_html/ow_smarty/plugin/function.online_now.php

Now this is whats in it:
' . OW::getLanguage()->text('base', 'user_list_online') . ''; if ( OW::getUser()->isAuthenticated() && isset($params['userId']) ) { $allowClick = OW::getEventManager()->call('base.online_now_click', array('userId'=>OW::getUser()->getId())); if ($allowClick) { $buttonMarkup = '' . OW::getLanguage()->text('base', 'user_list_online') . ''; } } return $buttonMarkup; } ?>

Where would i put 
javascript:chatWith(’USERNAME’); so when they click the little green Online Now image thing it would open up a chat?
Michael I.
Michael I. Dec 15 '11
Topic was moved from General Questions.