XenForo Store: Themes, add-ons and supporting

A collection add-ons to make your xenforo forums better
S
Sperber
  1. Issues
[BUG]Privacy issue: invited members bypass moderation and group rules!

Sperber

New Member
truonglv ,
another issue found: when a user has been invited into a group where joining users have to be moderated by the group settings, those invited users bypass the moderation and instantly become added to the group with full read & write access. This is a serious privacy issue and I´ld like to urge you to fix this.
 
S
Sperber
  1. Issues
[BUG]Missing alerts for group owners when pending join request

Sperber

New Member
There is not a single alert, where a group admin receives an alert for join requests! To be honest, that´s a no-go since many will have several groups, even those with only themselves as user in a closed group. They won´t check the group itself regulary since they will expect - like I did - there will be an alert send to the alert system. The only info about a join request is available in the corner at the very bottom, where noone will ever look for it. Please change that.
 
S
Sperber
  1. Issues
[BUG]Missing "Join group" request confirmation

Sperber

New Member
Please add a confirmation notice, so a user who has hit the "join group" button receives a feedback, that the system has counted the request. By now the user only becomes forwarded to the group overview - that´s bad and leaves them irritated.
 
C
chernabog
  1. Issues
[NOT A BUG]ACP Error during 2.0.3 upgrade -> Error? Or just caused by upgrade process?

chernabog

Member
I just wanted to shoot this your way. Thank you for taking the time to put in all the upgrade and enhancements work for this add-on. It really is appreciated.

This error happened when upgrading to 2.0.3 -> not sure if it was just caused by the add-on being live during the upgrade or not.

Thanks!

Code:
[LIST]
[*]xception: Could not find class Truonglv\Groups\XF\Entity\User when attempting to extend XF\Entity\User
[*]               
[*]src/XF/Extension.php:174
[*]            
[/LIST]
           
[LIST]
[*]                
[*]Generated by: Unknown account
[*]               
[*]Feb 20, 2019 at 10:43 AM
[*]            
[/LIST]
        
       Stack trace
       
           #0 src/XF/Mvc/Entity/Manager.php(53): XF\Extension->extendClass('XF\\Entity\\User')
#1 src/XF/Mvc/Entity/Manager.php(123): XF\Mvc\Entity\Manager->getEntityClassName('XF:User')
#2 src/XF/Repository/User.php(24): XF\Mvc\Entity\Manager->find('XF:User', 1, Array)
#3 src/XF/App.php(1766): XF\Repository\User->getVisitor(1, Array)
#4 src/XF/Pub/App.php(154): XF\App->getVisitorFromSession(Object(XF\Session\Session))
#5 src/XF/App.php(2173): XF\Pub\App->start(true)
#6 src/XF.php(390): XF\App->run()
#7 index.php(20): XF::runApp('XF\\Pub\\App')
#8 {main}

        


        Request state

        

            array(4) {
  ["url"] => string(172) "/index.php?spotify/update-current-playback&_xfRequestUri=%2Fadmin.php%3Fadd-ons%2F&_xfWithData=1&_xfToken=1550677094%2C4a7e49f2e0a9797b4f3e29b3ece37612&_xfResponseType=json"
  ["referrer"] => string(39) "https://titanx.games/admin.php?add-ons/"
  ["_GET"] => array(5) {
    ["spotify/update-current-playback"] => string(0) ""
    ["_xfRequestUri"] => string(19) "/admin.php?add-ons/"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(43) "1550677094,4a7e49f2e0a9797b4f3e29b3ece37612"
    ["_xfResponseType"] => string(4) "json"
  }
  ["_POST"] => array(0) {
  }
}

       
       
           Delete
 
ehd
ehd
  1. Issues
[FIXED]Importing data from 1.5

ehd

Member
Importing the data from 1.5 to 2.* on a local XAMPP-install

If I try here: /admin.php?import/config

It fails because the last two fields cause problems:

data_directory : I use: C:\xampp\htdocs\xxx\data
internal_data_directory: C:\xampp\htdocs\xxx\internal_data

Oops! We ran into some problems.
The directory C:\xampp\htdocs\xxx\data does not contain the expected contents.

So the add-on runs but the groups and all messages are missing...
 
Reactions: DOA
View previous replies…

DOA

Member
truonglv Is this able to import from 1.5 version wall posts, etc, yet? No discussions, posts or forums can be seen yet the importer says 8.000+ posts. Only the groups and members are imported.

Code:
Starting import from [Nobita] Social Groups...
- Step 1 of 9: Categories                00:00:00 [3]
- Step 2 of 9: Groups                    00:00:03 [34]
- Step 3 of 9: Members                   00:00:27 [2,224]
- Step 4 of 9: Member Roles              00:00:00 [0]
- Step 5 of 9: Events                    00:00:00 [0]
- Step 6 of 9: Comments                  00:00:02 [0]
- Step 7 of 9: Forums                    00:00:00 [0]
- Step 8 of 9: Custom Fields             00:00:00 [0]
- Step 9 of 9: Posts                     00:01:41 [8,498]
The data has been imported successfully. To finalize this import, you must continue via the control panel.
also;

Code:
Exception: [tl] Social Groups: Failed to import group cover. $errors=["Please upload an image that have at least 918x200 pixels."] $groupId=1 src/addons/Truonglv/Groups/App.php:145
Generated by: Unknown account Feb 12, 2019 at 8:55 PM
Stack trace
#0 src/addons/Truonglv/Groups/Import/Importer/Group.php(269): Truonglv\Groups\App::logError('Failed to impor...')
#1 src/addons/Truonglv/Groups/Import/Importer/Group.php(168): Truonglv\Groups\Import\Importer\Group->importGroup(Array)
#2 src/XF/Import/Runner.php(160): Truonglv\Groups\Import\Importer\Group->stepGroups(Object(XF\Import\StepState), Array, 8)
#3 src/XF/Import/Runner.php(74): XF\Import\Runner->runStep('groups', Object(XF\Import\StepState), 8)
#4 src/XF/Cli/Command/Import.php(66): XF\Import\Runner->run()
#5 src/vendor/symfony/console/Command/Command.php(255): XF\Cli\Command\Import->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#6 src/vendor/symfony/console/Application.php(953): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 src/vendor/symfony/console/Application.php(248): Symfony\Component\Console\Application->doRunCommand(Object(XF\Cli\Command\Import), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 src/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 src/XF/Cli/Runner.php(63): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 cmd.php(15): XF\Cli\Runner->run()
#11 {main}
Request state
array(1) {
  ["cli"] => string(17) "cmd.php xf:import"
}
 

ehd

Member
I updated to 2.0.3, ran the importer again. Discussions are still empty.
 
Tealk
Tealk
  1. Issues
[FIXED]Cronjob event comment error

Tealk

Member
Hello,

it looks as if the cron job returns this error every 2 hours
3001
Code:
    ErrorException: Template error: Template public:tlg_alert_item_comment_event_comment is unknown src/XF/Template/Templater.php:611

    Generated by: Tealk Feb 17, 2019 at 9:37 PM

Stack trace

#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Template public...', '/var/customers/...', 611, Array)
#1 src/XF/Template/Templater.php(611): trigger_error('Template public...', 512)
#2 src/XF/Template/Templater.php(562): XF\Template\Templater->getTemplateData('public', 'tlg_alert_item_...')
#3 src/XF/Template/Templater.php(1293): XF\Template\Templater->getTemplateCode('public', 'tlg_alert_item_...')
#4 src/addons/AL/ThreadFilter/XF/Template/Templater.php(108): XF\Template\Templater->renderTemplate('tlg_alert_item_...', Array, true)
#5 src/XF/Alert/AbstractHandler.php(80): AL\ThreadFilter\XF\Template\Templater->renderTemplate('public:tlg_aler...', Array)
#6 src/XF/Entity/UserAlert.php(69): XF\Alert\AbstractHandler->render(Object(SV\AlertImprovements\XF\Entity\UserAlert))
#7 [internal function]: XF\Entity\UserAlert->render()
#8 src/XF/Template/Templater.php(978): call_user_func_array(Array, Array)
#9 internal_data/code_cache/templates/l3/s20/public/alert_macros.php(42): XF\Template\Templater->method(Object(SV\AlertImprovements\XF\Entity\UserAlert), 'render', Array)
#10 src/XF/Template/Templater.php(694): XF\Template\Templater->{closure}(Object(BlackTea\SteamAuth\XF\Template\Templater), Array, Array)
#11 internal_data/code_cache/templates/l3/s20/public/sv_alertimprovements_account_alerts_2.php(26): XF\Template\Templater->callMacro('alert_macros', 'row', Array, Array)
#12 src/XF/Template/Templater.php(1294): XF\Template\Templater->{closure}(Object(BlackTea\SteamAuth\XF\Template\Templater), Array)
#13 src/addons/AL/ThreadFilter/XF/Template/Templater.php(108): XF\Template\Templater->renderTemplate('sv_alertimprove...', Array, true)
#14 src/XF/Template/Templater.php(1367): AL\ThreadFilter\XF\Template\Templater->renderTemplate('public:sv_alert...', Array)
#15 internal_data/code_cache/templates/l3/s20/public/account_alerts.php(20): XF\Template\Templater->includeTemplate('public:sv_alert...', Array)
#16 src/XF/Template/Templater.php(1294): XF\Template\Templater->{closure}(Object(BlackTea\SteamAuth\XF\Template\Templater), Array)
#17 src/addons/AL/ThreadFilter/XF/Template/Templater.php(108): XF\Template\Templater->renderTemplate('account_alerts', Array, true)
#18 src/XF/Template/Template.php(24): AL\ThreadFilter\XF\Template\Templater->renderTemplate('public:account_...', Array)
#19 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#20 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Html->renderView('XF:Account\\Aler...', 'public:account_...', Array)
#21 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#22 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#23 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#24 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#25 src/XF.php(390): XF\App->run()
#26 index.php(20): XF::runApp('XF\\Pub\\App')
#27 {main}

Request state

array(4) {
  ["url"] => string(15) "/account/alerts"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
S
Sperber
  1. Issues
[FIXED]ErrorException: [E_NOTICE] Trying to get property of non-object

Sperber

New Member
From the error log:
Code:
    ErrorException: [E_NOTICE] Trying to get property of non-object src/addons/Truonglv/Groups/App.php:176

    Generated by: Unknown account Feb 15, 2019 at 5:37 AM

Stack trace

#0 src/addons/Truonglv/Groups/App.php(176): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/var/...', 176, Array)
#1 src/addons/Truonglv/Groups/XFMG/Entity/Album.php(27): Truonglv\Groups\App::getGroupEntityFromEntity(Object(Truonglv\Groups\XFMG\Entity\Album))
#2 src/addons/XFMG/Sitemap/Album.php(49): Truonglv\Groups\XFMG\Entity\Album->canView()
#3 src/XF/Sitemap/Builder.php(182): XFMG\Sitemap\Album->isIncluded(Object(Truonglv\Groups\XFMG\Entity\Album))
#4 src/XF/Sitemap/Builder.php(147): XF\Sitemap\Builder->writeContentTypeData('xfmg_album', 0, G)
#5 src/XF/Sitemap/Builder.php(82): XF\Sitemap\Builder->buildType('xfmg_album', G)
#6 src/XF/Job/Sitemap.php(25): XF\Sitemap\Builder->build(G)
#7 src/XF/Job/Manager.php(253): XF\Job\Sitemap->run(G)
#8 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#9 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#10 job.php(42): XF\Job\Manager->runQueue(false, 8)
#11 {main}
 
View previous replies…
hollosch
hollosch
  1. Issues
[FIXED]ErrorException: [E_NOTICE] Trying to get property 'Group' of non-object

hollosch

Member
  • ErrorException: [E_NOTICE] Trying to get property 'Group' of non-object
  • src/addons/Truonglv/Groups/App.php:176
  • Generiert von: Unbekanntes Konto
  • 14. Februar 2019 um 11:26
Stack-Trace
#0 src/addons/Truonglv/Groups/App.php(176): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/data/vhosts/re...', 176, Array)
#1 src/addons/Truonglv/Groups/XFMG/Entity/Album.php(27): Truonglv\Groups\App::getGroupEntityFromEntity(Object(Truonglv\Groups\XFMG\Entity\Album))
#2 src/addons/XFMG/Entity/MediaItem.php(104): Truonglv\Groups\XFMG\Entity\Album->canView(NULL)
#3 src/XF/Search/Data/AbstractData.php(122): XFMG\Entity\MediaItem->canView(NULL)
#4 src/XF/Search/Search.php(222): XF\Search\Data\AbstractData->canViewContent(Object(XFA\XFMGMediaOfTheMonth\XFMG\Entity\MediaItem))
#5 [internal function]: XF\Search\Search->XF\Search\{closure}(Object(XFA\XFMGMediaOfTheMonth\XFMG\Entity\MediaItem))
#6 src/XF/Mvc/Entity/AbstractCollection.php(189): array_filter(Array, Object(Closure))
#7 src/XF/Search/Search.php(223): XF\Mvc\Entity\AbstractCollection->filter(Object(Closure))
#8 src/XF/ResultSet.php(228): XF\Search\Search->getResultSetData('xfmg_media', Array, true, Array)
#9 src/XF/ResultSet.php(212): XF\ResultSet->loadResultsData(true)
#10 src/XF/ResultSet.php(181): XF\ResultSet->limitToViewableResults()
#11 src/XF/ResultSet.php(191): XF\ResultSet->sliceResults(0, 15, true)
#12 src/XF/Pub/Controller/Member.php(559): XF\ResultSet->limitResults(15)
#13 src/XF/Mvc/Dispatcher.php(321): XF\Pub\Controller\Member->actionRecentContent(Object(XF\Mvc\ParameterBag))
#14 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XF:Member', 'RecentContent', Object(XF\Mvc\RouteMatch), Object(vw\vw\XF\Pub\Controller\Member), NULL)
#15 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(vw\vw\XF\Pub\Controller\Member), NULL)
#16 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#17 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#18 src/XF.php(390): XF\App->run()
#19 index.php(20): XF::runApp('XF\\Pub\\App')
#20 {main}
Status der Anfrage
array(4) {
["url"] => string(44) "/index.php?members/hollosch.3/recent-content"
["referrer"] => bool(false)
["_GET"] => array(1) {
["members/hollosch_3/recent-content"] => string(0) ""
}
["_POST"] => array(0) {
}
}
 
S
Sperber
  1. Issues
[FIXED][SG 2.0.1] Group avatar cropped
View previous replies…
S
Sperber
  1. Issues
[BUG]Programatic design issues

Sperber

New Member
Add-on design flaws:

1. When adding forums there is an option missing, to not show them on forums_list. If a user adds a group forum this gets instantly shown on forums_list and that is the last thing you want, since this it effects how your main page looks and you don´t want to have a well sorted and arranged forums_list with an endless list of public visible group forums - or visible group forums at all. by now the only way to avoid that is, to restrict visibility for the forum node. But if you do that, the next problem arises:

2. When you have restricted the visibilty of the category where your group forums go to, the navigation on breadcrumb in /groups/[test.1]/discussions looks like Groups > [Main forums category] > [Groups forum name] > [Social group name] with the corresponding links. That makes no sense, since when you have restricted visibility for the [Main forums category] the user is redirected to the forums_list, but won´t find any groups. Also, when browsing the [Social group forums] the breadcrumbs should only link to the forums section within that particular group, like [Social group name] > [Discussions] > [Social group forum name / internal category] > [Social group thread title]. That way people don´t get confused and all links stay in that single group, providing the user easy navigation.

3. Sidebar. When you have set up a sidebar in your main forums threads, the sidebar also shows on all group forum threads. This is consuming a vast amount of space there, since the navigation sidebar to the left is already there and the width of the thread itself shrinks to a tiny little and hard to read text. There really is the need for an option, to completly disable the sidebar in group forums and I would like to urge you, to implement this.

4. If you have set up the first forum in a social group, there is no obvious and easy to reach link to add a second and third. Please add a persisting "Add forum" button to the top right in the Discussions section, because under the settings wheel normal users will never find that option ;)
 

Sperber

New Member
And it seems it´s working, thanks. What about isue #1 and #2? For me these are more important, since users will think the site is broken or badly maintained.
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
24,726
Messages
30,786
Members
2,301
Latest member
Test-20190223
Top