[IMPLEMENTED] Display groups user is in

Waves

Member
It would be nice if it displayed all the groups a user is in, such as in the user profile and post bits. This would help promote and encourage the usage of joining/finding groups.
 

Waves

Member
Got this being spammed in server error logs, perhaps due to this it doesn't display?

Code:
ErrorException: Template error: Macro public:tlg_group_macros:member_view_tabs_content is unknown src/XF/Template/Templater.php:591
Generated by: Unknown account Nov 24, 2019 at 6:17 PM
Stack trace
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Macro public:tl...', '/home/u19940138...', 591, Array)
#1 src/XF/Template/Templater.php(591): trigger_error('Macro public:tl...', 512)
#2 src/XF/Template/Templater.php(705): XF\Template\Templater->getTemplateMacro('public', 'tlg_group_macro...', 'member_view_tab...')
#3 internal_data/code_cache/templates/l1/s15/public/member_view.php(474): XF\Template\Templater->callMacro('tlg_group_macro...', 'member_view_tab...', Array, Array)
#4 src/XF/Template/Templater.php(1320): XF\Template\Templater->{closure}(Object(Iconify\Iconify\Template\Templater), Array)
#5 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('member_view', Array)
#6 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#7 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Html->renderView('XF:Member\\View', 'public:member_v...', Array)
#8 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#9 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#10 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#11 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
#12 src/XF.php(391): XF\App->run()
#13 index.php(20): XF::runApp('XF\\Pub\\App')
#14 {main}
 

Truonglv

Staff member
Tech Support
Waves do you not disable add-on while upgrading?
 

Waves

Member
Hmm no I've never disabled any add-on that I'm going to be upgrading. Was that necessary? As I am using latest XF version, never disabled any add-on for upgrading.
 

Waves

Member
Truonglv Hmm so I disabled the addon and replaced files, then rebuilt it, then enabled it but still being spammed with that error. For the info, the error only comes when visiting a profile using ThemeHouse style. Default style doesn't give the error.

If its issue with style, should I contact ThemeHouse regarding it?
 

Truonglv

Staff member
Tech Support
Hmm. Look like they has removed some hooks of default style. So please contact with them.
 

Waves

Member
Fixed! Was my outdated templates.😐

Could you fix this issue:
When a user is 'invited' to a group, it counts as if they joined that group? This is causing abuse where people are mass inviting users to increase their group counts, even though the end user has not even accepted or viewed the invitation. Group member role/count should not be set until the end user has accepted the invitation.

This is an example:
1574704804232.png

User was invited ONLY and still the following happens, even though end user has not seen/accepted invitation:
  • End user was still given member role and added to the group list, which raises group member counts.)
  • End user is shown they are in the group, even though they haven't seen/accepted invitation.
 
Top