Mcwolf
Forum Replies Created
-
Forum: Plugins
In reply to: [Loco Translate] How to change default plugin textThanks all for your quick response. Now it is working to me.
Hi Alex,
Sorry that cannot understand your suggestion at the first time.
It is working now. Thanks.
Cheers,
McwolfHi Alex,
Thanks for your reply.
Does that mean i cannot add user to userGroup by custom code with new version?
If yes, is there any other workaround?
Cheers,
DennisForum: Plugins
In reply to: [User Access Manager] Get null from global $oUserAccessManagerHi Alex,
Sorry to bother u again.
Just found another issue with new version:
the old code is try to add an user in one group:
global $userAccessManager; $uamAccessHandler = $userAccessManager->getAccessHandler(); $uamUserGroup = $uamAccessHandler->getUserGroups("1"); $uamUserGroup->addObject('user', $wp_uid); $uamUserGroup->save();As upgrade to new version, i change:
$uamUserGroup->addObject('user', $wp_uid);
to
$uamUserGroup->addObject('_user_', $wp_uid);But it still stops at this step.
Can you help again? Thanks a lot.
Cheers,
McwolfForum: Plugins
In reply to: [User Access Manager] Get null from global $oUserAccessManagerHi Alex,
Awesome, when update the database table and replace the object name, it is working without any issue.
Thanks a lot.
Cheers,
McwolfForum: Hacks
In reply to: How to build a feature like this?Hi bcworkz,
Thanks for your professional answer. I will have a look on it.
Forum: Hacks
In reply to: How to build a feature like this?Oh, sorry, I think I should ask this somewhere else.
[moderator moved to plugins/hacks forum – do not create any more duplicate threads on this topic]
Forum: Plugins
In reply to: Question about FB likes itAny help please?
Forum: Plugins
In reply to: Write post as a formThanks a lot, I will test each of them.
Forum: Plugins
In reply to: recommend 2 plugins pleaseany help?
Forum: Plugins
In reply to: recommend 2 plugins pleaseAnd another question, if there is a plugins for siderbar, I can only use it by dragging widget in wideget area, how can I use it in other page but not siderbar? Thanks