Open rica-carv opened 3 months ago
@rica-carv I appreciate your work so now I am trying to understand what you did.
This PR will be never approved. forum shortcodes file is already updated and there is a conflict in it with your code.
In the original PR @CaMer0n already told you that it breaks old themes. My objections are that you didn't fix this shortcode fully.
Link to user profile should use e107::getUrl() way, not hardcoded HTML code. On one place you are removing it, but on other place you let it there.
global $listuserson; - should be $listuserson = e107::getOnline()->userList();
return; should be return "";
user link should be:
$uparams = array('id' => $oid, 'name' => $oname;
$link = e107::getUrl()->create('user/profile/view', $uparams);
Everything is already managed (new way) in online plugin It should be done similar way as in $ONLINE_MENU_TEMPLATE['default']['online_members_list_extended']
I hope it helps somehow. The original issue should be opened, because this should be fixed. Thanks
Next notes:
@Jimmi08 Sorry, but i don't understand your post. If you check both files i changed, i only take out hardcode html inside the forum_shortcodes.php file to forum_template.php file! I didn't do anything else...
All the changes you're speaking were already there, so i don't see any other conflict....
I think you're mixing up old change with my new ones.... and i don't understand the changes you're talking about....
Reopening issue #2065
Types of Changes
Checklist