XenForo Store: Themes, add-ons and supporting

A collection add-ons to make your xenforo forums better
Tealk
Tealk
  1. Issues
[FIXED]Upcoming Events
S
Sperber
  1. Issues
[FIXED][SG 2.0.1] Error prevents embedding in XFMG

Sperber

New Member
Code:
TypeError: Argument 1 passed to Truonglv\Groups\App::getGroupIdFromEntity() must be an instance of XF\Mvc\Entity\Entity, null given, called in /var/www/vhosts/mysite.org/httpdocs/community/src/addons/Truonglv/Groups/XFMG/Pub/Controller/Media.php on line 34 in src/addons/Truonglv/Groups/App.php at line 182

    Truonglv\Groups\App::getGroupIdFromEntity() in src/addons/Truonglv/Groups/XFMG/Pub/Controller/Media.php at line 34
    Truonglv\Groups\XFMG\Pub\Controller\Media->actionView() in src/XF/Mvc/Dispatcher.php at line 321
    XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 248
    XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 100
    XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 50
    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2177
    XF\App->run() in src/XF.php at line 390
    XF::runApp() in index.php at line 20
 
Tealk
Tealk
  1. Issues
[FIXED]Remove a member
S
Sperber
  1. Issues
[NOT A BUG]Multiple errors & bugs in SG 2.0 - not ready for production.

Sperber

New Member
Multiple errors in XF 2.1 / latest SG:

After upgrade from previous SG version, some processes haven´t been finished. If I try to process them manually, it results in this:
Code:
InvalidArgumentException: Unknown column tlg_group_id on XF:Node in src/XF/Mvc/Entity/Finder.php at line 1569

    XF\Mvc\Entity\Finder->resolveFieldToTableAndColumn() in src/XF/Mvc/Entity/Finder.php at line 595
    XF\Mvc\Entity\Finder->columnSqlName() in src/XF/Mvc/Entity/Finder.php at line 267
    XF\Mvc\Entity\Finder->buildCondition() in src/XF/Mvc/Entity/Finder.php at line 132
    XF\Mvc\Entity\Finder->where() in src/addons/Truonglv/Groups/Job/NodeParent.php at line 31
    Truonglv\Groups\Job\NodeParent->run() in src/XF/Job/Manager.php at line 253
    XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 195
    XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 79
    XF\Job\Manager->runQueue() in src/XF/Admin/Controller/Tools.php at line 139
    XF\Admin\Controller\Tools->actionRunJob() in src/XF/Mvc/Dispatcher.php at line 321
    XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 248
    XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 100
    XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 50
    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2177
    XF\App->run() in src/XF.php at line 390
    XF::runApp() in admin.php at line 13
Trying to add a mdia embed to the XFMG:
Code:
[B]TypeError[/B]: Argument 1 passed to Truonglv\Groups\App::getGroupIdFromEntity() must be an instance of XF\Mvc\Entity\Entity, null given, called in /var/www/vhosts/mysite.org/httpdocs/community/src/addons/Truonglv/Groups/XFMG/Pub/Controller/Media.php on line 34 in [B]src/addons/Truonglv/Groups/App.php[/B] at line [B]182[/B]

[LIST=1]
[*] [B]Truonglv\Groups\App::getGroupIdFromEntity()[/B] in [B]src/addons/Truonglv/Groups/XFMG/Pub/Controller/Media.php[/B] at line [B]34[/B]
[*] [B]Truonglv\Groups\XFMG\Pub\Controller\Media->actionView()[/B] in [B]src/XF/Mvc/Dispatcher.php[/B] at line [B]321[/B]
[*] [B]XF\Mvc\Dispatcher->dispatchClass()[/B] in [B]src/XF/Mvc/Dispatcher.php[/B] at line [B]248[/B]
[*] [B]XF\Mvc\Dispatcher->dispatchFromMatch()[/B] in [B]src/XF/Mvc/Dispatcher.php[/B] at line [B]100[/B]
[*] [B]XF\Mvc\Dispatcher->dispatchLoop()[/B] in [B]src/XF/Mvc/Dispatcher.php[/B] at line [B]50[/B]
[*] [B]XF\Mvc\Dispatcher->run()[/B] in [B]src/XF/App.php[/B] at line [B]2177[/B]
[*] [B]XF\App->run()[/B] in [B]src/XF.php[/B] at line [B]390[/B]
[*][B]XF::runApp()[/B] in [B]index.php[/B] at line [B]20[/B]
[/LIST]
Another error in the server log:
Code:
InvalidArgumentException: Unknown column tlg_group_id on XF:Node src/XF/Mvc/Entity/Finder.php:1569

Stack-Trace

#0 src/XF/Mvc/Entity/Finder.php(595): XF\Mvc\Entity\Finder->resolveFieldToTableAndColumn('tlg_group_id', true)
#1 src/XF/Mvc/Entity/Finder.php(267): XF\Mvc\Entity\Finder->columnSqlName('tlg_group_id', true)
#2 src/XF/Mvc/Entity/Finder.php(132): XF\Mvc\Entity\Finder->buildCondition('tlg_group_id', '>', 0)
#3 src/addons/Truonglv/Groups/Job/NodeParent.php(31): XF\Mvc\Entity\Finder->where('tlg_group_id', '>', 0)
#4 src/XF/Job/Manager.php(253): Truonglv\Groups\Job\NodeParent->run(G)
#5 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#6 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#7 src/XF/Admin/Controller/Tools.php(139): XF\Job\Manager->runQueue(true, 8)
#8 src/XF/Mvc/Dispatcher.php(321): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#9 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(ThemeHouse\QAForums\XF\Admin\Controller\Tools), NULL)
#10 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(ThemeHouse\QAForums\XF\Admin\Controller\Tools), NULL)
#11 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#12 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#13 src/XF.php(390): XF\App->run()
#14 admin.php(13): XF::runApp('XF\\Admin\\App')
#15 {main}
Add-on design errors:

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 ;)

5. Repositioning of cover photo dosn´t work.

6. Group avatar is cropped:
2960
 
Tealk
Tealk
  1. Issues
[NOT A BUG]Avatar not round
Make all @username rich

Niro

New Member
Hi,

In the past, an add-on called MMOTagged was available, it made all @username rich. It worked with all add-ons!

Could you please make a similar add-on ?

Thanks :)
 
View previous replies…

Niro

New Member
Thanks, but it has been removed ?
 
Tealk
Tealk
  1. Suggestions
[FEATURE]24h time format
Tealk
Tealk
  1. Issues
[FIXED]Create Event

Tealk

Member
If i try to create a Event i get the this error:
Code:
    XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'latest_comment_ids' in 'field list' src/XF/Db/AbstractStatement.php:217

    Generated by: Tealk Feb 8, 2019 at 12:20 PM

Stack trace

INSERT  INTO `xf_tl_group_event` (`group_id`, `event_name`, `address`, `timezone`, `latitude`, `longitude`, `begin_date`, `end_date`, `created_date`, `user_id`, `username`, `last_comment_date`, `event_id`, `cover_date`, `tags`, `first_comment_id`, `latest_comment_ids`, `comment_count`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
------------

#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL statement...', 1054, '42S22')
#1 src/XF/Db/Mysqli/Statement.php(39): XF\Db\Mysqli\Statement->getException('MySQL statement...', 1054, '42S22')
#2 src/XF/Db/Mysqli/Statement.php(54): XF\Db\Mysqli\Statement->prepare()
#3 src/XF/Db/AbstractAdapter.php(89): XF\Db\Mysqli\Statement->execute()
#4 src/XF/Db/AbstractAdapter.php(169): XF\Db\AbstractAdapter->query('INSERT  INTO `x...', Array)
#5 src/XF/Mvc/Entity/Entity.php(1452): XF\Db\AbstractAdapter->insert('xf_tl_group_eve...', Array, false)
#6 src/XF/Mvc/Entity/Entity.php(1184): XF\Mvc\Entity\Entity->_saveToSource()
#7 src/addons/Truonglv/Groups/Service/Event/Creator.php(106): XF\Mvc\Entity\Entity->save(true, false)
#8 src/XF/Service/ValidateAndSavableTrait.php(40): Truonglv\Groups\Service\Event\Creator->_save()
#9 src/addons/Truonglv/Groups/ControllerPlugin/Comment.php(37): Truonglv\Groups\Service\Event\Creator->save()
#10 src/addons/Truonglv/Groups/Pub/Controller/Event.php(453): Truonglv\Groups\ControllerPlugin\Comment->saveCommentProcess(Object(Truonglv\Groups\Service\Event\Creator), true, 'description')
#11 src/addons/Truonglv/Groups/Pub/Controller/Event.php(179): Truonglv\Groups\Pub\Controller\Event->saveEventProcess(Object(Truonglv\Groups\Entity\Group))
#12 src/XF/Mvc/Dispatcher.php(321): Truonglv\Groups\Pub\Controller\Event->actionAdd(Object(XF\Mvc\ParameterBag))
#13 src/XF/Mvc/Dispatcher.php(244): XF\Mvc\Dispatcher->dispatchClass('Truonglv\\Groups...', 'Add', Object(XF\Mvc\RouteMatch), Object(Truonglv\Groups\Pub\Controller\Event), NULL)
#14 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(Truonglv\Groups\Pub\Controller\Event), NULL)
#15 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#16 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#17 src/XF.php(390): XF\App->run()
#18 index.php(20): XF::runApp('XF\\Pub\\App')
#19 {main}

Request state

array(4) {
  ["url"] => string(29) "/groups/events/add?group_id=1"
  ["referrer"] => bool(false)
  ["_GET"] => array(1) {
    ["group_id"] => string(1) "1"
  }
  ["_POST"] => array(17) {
    ["event_name"] => string(5) "Runde"
    ["description_html"] => string(17) "<p>Spielrunde</p>"
    ["attachment_hash"] => string(32) "fa891556f9aa94be8362859b5293f3b7"
    ["attachment_hash_combined"] => string(94) "{"type":"tl_group_comment","context":{"group_id":1},"hash":"fa891556f9aa94be8362859b5293f3b7"}"
    ["tags"] => string(0) ""
    ["begin_date_"] => string(17) "2019-02-10 13:00 "
    ["begin_date"] => string(17) "2019-02-10 13:00 "
    ["end_date_"] => string(17) "2019-02-10 19:00 "
    ["end_date"] => string(17) "2019-02-10 19:00 "
    ["timezone"] => string(16) "Europe/Amsterdam"
    ["address"] => string(0) ""
    ["latitude"] => string(1) "0"
    ["longitude"] => string(1) "0"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(29) "/groups/events/add?group_id=1"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
View previous replies…

Tealk

Member
Now i get this error:
Code:
Server error log

    ErrorException: Template error: Template public:tlg_alert_item_comment_event_event is unknown src/XF/Template/Templater.php:611

    Generated by: Reinhold Türst Feb 8, 2019 at 4:51 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/account_alerts_popup.php(16): 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('account_alerts_...', Array, true)
#14 src/XF/Template/Template.php(24): AL\ThreadFilter\XF\Template\Templater->renderTemplate('public:account_...', Array)
#15 src/XF/Mvc/Renderer/Json.php(84): XF\Template\Template->render()
#16 src/XF/Mvc/Renderer/Json.php(68): XF\Mvc\Renderer\Json->renderHtmlFallback('XF:Account\\Aler...', 'public:account_...', Array)
#17 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Json->renderView('XF:Account\\Aler...', 'public:account_...', Array)
#18 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#19 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#20 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#21 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#22 src/XF.php(390): XF\App->run()
#23 index.php(20): XF::runApp('XF\\Pub\\App')
#24 {main}

Request state

array(4) {
  ["url"] => string(145) "/account/alerts-popup?_xfRequestUri=%2F&_xfWithData=1&_xfToken=1549644682%2C0030eb379350fbcabfedb836c67981ac&_xfResponseType=json&_=1549644683535"
  ["referrer"] => bool(false)
  ["_GET"] => array(5) {
    ["_xfRequestUri"] => string(1) "/"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(43) "1549644682,0030eb379350fbcabfedb836c67981ac"
    ["_xfResponseType"] => string(4) "json"
    ["_"] => string(13) "1549644683535"
  }
  ["_POST"] => array(0) {
  }
}
I think it's interrelated?
2959
 
Last edited:
Tealk
Tealk
  1. Issues
[FIXED]Can't create post

Tealk

Member
I currently have the problem that I can't post. This I have also in standard style.

2949

And if i try to edit the Forum i get the message:
All node_id values must be unique.
 
Last edited:
View previous replies…
Tealk
Tealk
  1. Suggestions
[IMPLEMENTED]Buttons better clickable

Tealk

Member
if you change in tlg_group_wrapper_macros like this then you could click the buttons better.
Bevore:
HTML:
<li class="groupViewNav--item groupViewNav--{$navId}{{ ($selected == $navId) ? ' is-active' : '' }}">
    <a href="{$navItem.link}">{$navItem.title}</a>
    <xf:if is="$navItem.counter > 0">
        <span class="badge badge--highlighted">{$navItem.counter}</span>
    </xf:if>
</li>
After:
HTML:
<a href="{$navItem.link}">
    <li class="groupViewNav--item groupViewNav--{$navId}{{ ($selected == $navId) ? ' is-active' : '' }}">
        {$navItem.title}
        <xf:if is="$navItem.counter > 0">
            <span class="badge badge--highlighted">{$navItem.counter}</span>
        </xf:if>
    </li>
</a>
 

Tealk

Member
Sorry i dont know what do you mean with hard click.

With the second variant you don't have to reach the link tag with the mouse until you can click on the button.
The way you wrote it is 12px at the top and bottom which is not recognized as a link and so you have to aim better before you can click on the menu.
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
24,730
Messages
30,790
Members
2,301
Latest member
Test-20190223
Top