XenForo Store: Themes, add-ons and supporting

A collection add-ons to make your xenforo forums better
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) {
  }
}
 
Totoro
Totoro
  1. Premium Add-on
Threads, posts and conversations per page [Paid]

Totoro

Staff member
Tech Support
truonglv submitted a new resource:

Threads, posts and conversations per page - Allow user set custom threads, posts and conversations per page

Description: Allow user set custom threads, posts and conversations per page

Options:
  • Set number of values threads per page
  • Set number of values posts per page
  • Set number of values conversations per page
  • Set number of values conversation messages per page
Permissions:
  • Allow user can set custom threads per page
  • Allow user can set custom posts per page
  • Allow user can set custom conversations per page
  • Allow user can set custom conversation...
Read more about this resource...
 
View previous replies…
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…
Totoro
Totoro
  1. Premium Add-on
Exclude forum search [Paid]
View previous replies…
ACP Server errors thrown after latest update

chernabog

Member
Hey there! Not sure if this is just a one off thing or not. I updated to the latest copy; rebuilt the caches but I have noticed two things:

These errors in ACP:

Code:
Template error: Macro public:tlg_group_macros:avatar_html is unknown

    13 minutes ago src/XF/Template/Templater.php:582

    
Template error: Macro public:tlg_group_macros:cover_html is unknown

    13 minutes ago src/XF/Template/Templater.php:582

    
Template error: Macro public:tlg_group_macros:avatar_html is unknown

    13 minutes ago src/XF/Template/Templater.php:582

    
Template error: Macro public:tlg_group_macros:cover_html is unknown

    13 minutes ago src/XF/Template/Templater.php:582

    
Template error: Macro public:tlg_group_macros:avatar_html is unknown

    13 minutes ago src/XF/Template/Templater.php:582

    
Template error: Macro public:tlg_group_macros:cover_html is unknown

    13 minutes ago src/XF/Template/Templater.php:582

    
Template error: Macro public:tlg_group_macros:avatar_html is unknown

    13 minutes ago src/XF/Template/Templater.php:582

    
Template error: Macro public:tlg_group_macros:cover_html is unknown

    13 minutes ago src/XF/Template/Templater.php:582

    
Template error: Macro public:tlg_group_macros:avatar_html is unknown

    13 minutes ago src/XF/Template/Templater.php:582

    
Template error: Macro public:tlg_group_macros:cover_html is unknown

    13 minutes ago src/XF/Template/Templater.php:582

    
Template error: Macro public:tlg_group_macros:avatar_html is unknown

    13 minutes ago src/XF/Template/Templater.php:582

    
Template error: Macro public:tlg_group_macros:cover_html is unknown

    13 minutes ago src/XF/Template/Templater.php:582

    
Template error: Macro public:tlg_group_macros:avatar_html is unknown

    13 minutes ago src/XF/Template/Templater.php:582

    
Template error: Macro public:tlg_group_macros:cover_html is unknown

    13 minutes ago src/XF/Template/Templater.php:582

    
Template error: Macro public:tlg_group_macros:avatar_html is unknown
and that my groups home page no longer shows more than three group members on the group card.... I also do not see the option to say how many members to show...?
 
View previous replies…

chernabog

Member
I did. Perhaps the errors were thrown during the upgrade? I am running TL Social Groups 2.0.2. I have played in the Groups today and do not see any additional errors being thrown.

However, there is still the challenge with the main Groups page not showing the correct amount of group member avatars on the group card.

Also, can you please tell us when we select to integrate XFMG with Social Groups; how it is integrating? What functionality, etc., please?
 

Totoro

Staff member
Tech Support
However, there is still the challenge with the main Groups page not showing the correct amount of group member avatars on the group card.
What is your number expected? It's controlled through add-on option.

Also, can you please tell us when we select to integrate XFMG with Social Groups; how it is integrating? What functionality, etc., please?
It's allow group members can create album into group.
 

chernabog

Member
Well for example one group has 5 members but only 3 show on the main card. I did not see the option to choose how many to show. Where might I be missing it at? Style properties or add-on options?
 
View previous replies…

chernabog

Member
truonglv I am working through it to see what I can figure out. Doing this did bring to my attention that somehow all my member roles within the groups lost their data (name, description, etc.) which was odd. I am going to wait and see if new groups have the same member display issues on their homepage card.

I have group set to integrate with XFMG. Tonight, as I was scrolling through the images to look for unapproved media (for some reason, it doesn't show in my moderation queue anymore) I did get this error from Groups:

Code:
ErrorException: [E_NOTICE] Trying to get property of non-object in src/addons/Truonglv/Groups/App.php at line 176

    XF::handlePhpError() in src/addons/Truonglv/Groups/App.php at line 176
    Truonglv\Groups\App::getGroupEntityFromEntity() in src/addons/Truonglv/Groups/XFMG/Entity/Album.php at line 27
    Truonglv\Groups\XFMG\Entity\Album->canView() in src/addons/XFMG/Entity/MediaItem.php at line 104
    XFMG\Entity\MediaItem->canView() in src/XF/Mvc/Entity/AbstractCollection.php at line 320
    XF\Mvc\Entity\AbstractCollection->XF\Mvc\Entity\{closure}()
    array_filter() in src/XF/Mvc/Entity/AbstractCollection.php at line 189
    XF\Mvc\Entity\AbstractCollection->filter() in src/XF/Mvc/Entity/AbstractCollection.php at line 321
    XF\Mvc\Entity\AbstractCollection->filterViewable() in src/addons/XFMG/ControllerPlugin/MediaList.php at line 43
    XFMG\ControllerPlugin\MediaList->getMediaListData() in src/addons/XFMG/Pub/Controller/Media.php at line 22
    XFMG\Pub\Controller\Media->actionIndex() 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
Code:
Server error log

    ErrorException: [E_NOTICE] Trying to get property of non-object src/addons/Truonglv/Groups/App.php:176

    Generated by: Chernabog Feb 16, 2019 at 11:26 PM

Stack trace

#0 src/addons/Truonglv/Groups/App.php(176): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/usr/www/ultima...', 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/Mvc/Entity/AbstractCollection.php(320): XFMG\Entity\MediaItem->canView()
#4 [internal function]: XF\Mvc\Entity\AbstractCollection->XF\Mvc\Entity\{closure}(Object(DBTech\Credits\XFMG\Entity\MediaItem))
#5 src/XF/Mvc/Entity/AbstractCollection.php(189): array_filter(Array, Object(Closure))
#6 src/XF/Mvc/Entity/AbstractCollection.php(321): XF\Mvc\Entity\AbstractCollection->filter(Object(Closure))
#7 src/addons/XFMG/ControllerPlugin/MediaList.php(43): XF\Mvc\Entity\AbstractCollection->filterViewable()
#8 src/addons/XFMG/Pub/Controller/Media.php(22): XFMG\ControllerPlugin\MediaList->getMediaListData(Array, 5)
#9 src/XF/Mvc/Dispatcher.php(321): XFMG\Pub\Controller\Media->actionIndex(Object(XF\Mvc\ParameterBag))
#10 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XFMG:Media', 'Index', Object(XF\Mvc\RouteMatch), Object(Truonglv\Groups\XFMG\Pub\Controller\Media), NULL)
#11 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(Truonglv\Groups\XFMG\Pub\Controller\Media), NULL)
#12 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#13 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#14 src/XF.php(390): XF\App->run()
#15 index.php(20): XF::runApp('XF\\Pub\\App')
#16 {main}

Request state

array(4) {
  ["url"] => string(13) "/media/page-5"
  ["referrer"] => string(33) "https://titanx.games/media/page-4"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

Delete
I am hoping the error codes can help us to figure out what is going on?? In the meantime, I will turn off the integration with Groups.

Thank you as always!
❤
 
Exclude forums from search results

WorldGate

New Member
The thread shouldn't appear in search results if moved to excluded forum. It's useful to exclude some forums from search results like archive forum.
 
Anonymous Posting

Zach

New Member
Hi there,

I recently purchased the “Anonymous Posting” add-on and am having some issues getting it working. I have configured permissions and analyzed them with the final outcome being “Yes” to use Anonymous Posting in a certain section. However, I see no check-box or area that allows for me to post anonymously? Tried disabling all add-ons except for this one and still had the same issue. Any advice?

Thanks.
 
View previous replies…

Zach

New Member
OK, just updated and see it working, but a couple things:
  1. It seems that the fix only works when replying to a thread, but the checkbox does not appear when making a thread.
  2. It seems to look a bit weird (see to the next of the checkbox):
2988
 
Totoro
Totoro
  1. Premium Add-on
Widget Threads Enhancement [Paid]
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) {
}
}
 

Members online

No members online now.

Latest posts

Forum statistics

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