XenForo Store: Themes, add-ons and supporting

A collection add-ons to make your xenforo forums better
Thunder7ga
Thunder7ga
  1. Issues
[NOT A BUG]Showing web directory when going to root of Groups

Thunder7ga

New Member
So was doing more testing with groups and added a gallery with a single pic to one of the groups, immediately after that if I try to go to the root of groups (i.e. <websiteurl>/groups) it goes to a web directory now. I can use the URLs that go directly to the groups ok, except for the ".1" group. That ".1" group is also what is shown in the web directory list. All other levels of menus and direct group access are fine, but the root to groups call no longer works, which is the main button off the front page menu. Any ideas?
 
Last edited:
View previous replies…

Thunder7ga

New Member
Well, I just took the drastic step of starting over. Just to close this out, this is what occurred.

1. Uninstalled the add-on, removed all the "nodes" that were and re-installed. The problem remained.

2. Uninstalled the add-on again. I then went to go look at the website folder structure and saw that the "groups" folder was still there with the ".1" subfolder. I deleted both. Made sure all the "nodes" were clean as well. Then re-installed, and now it works. Something must have gone wonky. Since I was just in the initial setup phase no big deal.
 
Tealk
Tealk
  1. Issues
[FIXED]events not sorted
J
janslu
  1. Discussions
Search index rebuild warning

janslu

Member
Hi,

I have just upgraded to Xenforo 2.1 and to a new version of Social Groups (2.0.4) and encountered an error when rebuilding search index. I'm using XFES. Here's the stack:

Code:
Server error log
ErrorException: [E_WARNING] Illegal string offset 'tag' src/XF/Search/IndexRecord.php:69
Wygenerowane przez: Nieznane konto 24 Marzec 2019 o 13:18
Stack trace
#0 src/XF/Search/IndexRecord.php(69): XF::handlePhpError(2, '[E_WARNING] Ill...', '/var/www/hosts/...', 69, Array)
#1 src/addons/Truonglv/Groups/Search/Data/Group.php(62): XF\Search\IndexRecord->indexTags(Array)
#2 src/XF/Search/Search.php(37): Truonglv\Groups\Search\Data\Group->getIndexData(Object(Truonglv\Groups\Entity\Group))
#3 src/XF/Search/Search.php(59): XF\Search\Search->index('tl_group', Object(Truonglv\Groups\Entity\Group))
#4 src/XF/Search/Search.php(85): XF\Search\Search->indexEntities('tl_group', Object(XF\Mvc\Entity\ArrayCollection))
#5 src/XF/Job/SearchRebuild.php(57): XF\Search\Search->indexRange('tl_group', 500, 500)
#6 src/XF/Job/Manager.php(253): XF\Job\SearchRebuild->run(8)
#7 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, 8)
#8 src/XF/Job/Manager.php(146): XF\Job\Manager->runJobEntry(Array, 8)
#9 src/XF/Cli/Command/JobRunnerTrait.php(30): XF\Job\Manager->runUnique('xfRebuildJob-se...', 8)
#10 src/XF/Cli/Command/JobRunnerTrait.php(13): XF\Cli\Command\Rebuild\AbstractRebuildCommand->runJob('xfRebuildJob-se...', Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 src/XF/Cli/Command/Rebuild/AbstractRebuildCommand.php(84): XF\Cli\Command\Rebuild\AbstractRebuildCommand->setupAndRunJob('xfRebuildJob-se...', 'XF:SearchRebuil...', Array, Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 src/vendor/symfony/console/Command/Command.php(255): XF\Cli\Command\Rebuild\AbstractRebuildCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 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))
#14 src/vendor/symfony/console/Application.php(248): Symfony\Component\Console\Application->doRunCommand(Object(XF\Cli\Command\Rebuild\RebuildSearch), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 src/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 src/XF/Cli/Runner.php(63): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 cmd.php(15): XF\Cli\Runner->run()
#18 {main}
Request state
array(1) {
  ["cli"] => string(25) "cmd.php xf-rebuild:search"
}
Thanks
 
View previous replies…

janslu

Member
ErrorException: [E_WARNING] Illegal string offset 'tag' in src/XF/Search/IndexRecord.php at line 69:
Code:
XF::handlePhpError() in src/XF/Search/IndexRecord.php at line 69
XF\Search\IndexRecord->indexTags() in src/addons/Truonglv/Groups/Search/Data/Group.php at line 63
Truonglv\Groups\Search\Data\Group->getIndexData() in src/XF/Search/Search.php at line 37
XF\Search\Search->index() in src/XF/Search/Search.php at line 59
XF\Search\Search->indexEntities() in src/XF/Search/Search.php at line 85
XF\Search\Search->indexRange() in src/XF/Job/SearchRebuild.php at line 57
XF\Job\SearchRebuild->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 111
XF\Job\Manager->runByIds() in src/XF/Admin/Controller/Tools.php at line 120
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 244
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
 

janslu

Member
And admin log shows:
Code:
[tl] Social Groups: Index group with tags: {"26":{"tag":"dobra opieka","tag_url":"dobra-opieka"},"23":{"tag":"dzieci","tag_url":"dzieci"},"21":{"tag":"nauka","tag_url":"nauka"},"24":{"tag":"pociecha","tag_url":"pociecha"},"20":{"tag":"przedszkole","tag_url":"przedszkole"},"16":{"tag":"wychowanie","tag_url":"wychowanie"},"25":{"tag":"wymarzone przedszkole","tag_url":"wymarzone-przedszkole"},"27":{"tag":"zabawa","tag_url":"zabawa"},"22":{"tag":"\u017c\u0142obek","tag_url":"zlobek"}}
Minutę temu src/addons/Truonglv/Groups/App.php:145
[tl] Social Groups: Index group with tags: {"246":{"tag":"brzuszki","tag_url":"brzuszki"},"249":{"tag":"co zabra\u0107","tag_url":"co-zabrac"},"248":{"tag":"lista","tag_url":"lista"},"247":{"tag":"zakupy","tag_url":"zakupy"}}
Minutę temu src/addons/Truonglv/Groups/App.php:145
[tl] Social Groups: Index group with tags: {"935":{"tag":"samotna matka","tag_url":"samotna-matka"}}
Minutę temu src/addons/Truonglv/Groups/App.php:145
[tl] Social Groups: Index group with tags: {"935":{"tag":"samotna matka","tag_url":"samotna-matka"}}
Minutę temu src/addons/Truonglv/Groups/App.php:145
[tl] Social Groups: Index group with tags: {"62":{"tag":"ci\u0105\u017ca","tag_url":"ciaza"},"950":{"tag":"kwietniowa","tag_url":"kwietniowa"},"949":{"tag":"kwietniowemamy","tag_url":"kwietniowemamy"},"31":{"tag":"mama","tag_url":"mama"},"951":{"tag":"mama2017","tag_url":"mama2017"},"952":{"tag":"rodz\u0119w2017","tag_url":"rodzew2017"}}
Minutę temu src/addons/Truonglv/Groups/App.php:145
[tl] Social Groups: Index group with tags: {"975":{"tag":"angielski","tag_url":"angielski"},"980":{"tag":"angielski dla najm\u0142odszych","tag_url":"angielski-dla-najmlodszych"},"403":{"tag":"dla dzieci","tag_url":"dla-dzieci"},"23":{"tag":"dzieci","tag_url":"dzieci"},"981":{"tag":"j\u0119zyki obce","tag_url":"jezyki-obce"},"978":{"tag":"musical babies","tag_url":"musical-babies"},"977":{"tag":"nauka angielskiego","tag_url":"nauka-angielskiego"},"264":{"tag":"zaj\u0119cia","tag_url":"zajecia"},"979":{"tag":"zaj\u0119cia dodatkowe","tag_url":"zajecia-dodatkowe"},"976":{"tag":"zaj\u0119cia j\u0119zykowe","tag_url":"zajecia-jezykowe"}}
Minutę temu src/addons/Truonglv/Groups/App.php:145
[tl] Social Groups: Index group with tags: {"1452":{"tag":"2017","tag_url":"2017"},"1451":{"tag":"czerwiec","tag_url":"czerwiec"},"1450":{"tag":"mamusie","tag_url":"mamusie"},"110":{"tag":"mamy","tag_url":"mamy"}}
Minutę temu src/addons/Truonglv/Groups/App.php:145
[tl] Social Groups: Index group with tags: {"150":{"tag":"mleko modyfikowane","tag_url":"mleko-modyfikowane"}}
Minutę temu src/addons/Truonglv/Groups/App.php:145
[tl] Social Groups: Index group with tags: {"62":{"tag":"ci\u0105\u017ca","tag_url":"ciaza"},"513":{"tag":"dieta odchudzj\u0105ca","tag_url":"dieta-odchudzjaca"},"2658":{"tag":"fitness","tag_url":"fitness"},"1817":{"tag":"nadwaga","tag_url":"nadwaga"},"14":{"tag":"odchudzanie","tag_url":"odchudzanie"}}
Minutę temu src/addons/Truonglv/Groups/App.php:145
[tl] Social Groups: Index group with tags: {"2776":{"tag":"dom","tag_url":"dom"},"23":{"tag":"dzieci","tag_url":"dzieci"},"2775":{"tag":"ko\u015bci\u00f3\u0142","tag_url":"kosciol"},"964":{"tag":"ma\u0142\u017ce\u0144stwo","tag_url":"malzenstwo"},"2779":{"tag":"modlitwa","tag_url":"modlitwa"},"2778":{"tag":"msza \u015bwi\u0119ta","tag_url":"msza-swieta"},"174":{"tag":"rodzice","tag_url":"rodzice"},"116":{"tag":"seks","tag_url":"seks"},"2774":{"tag":"wiara","tag_url":"wiara"},"2777":{"tag":"wsp\u00f3lnota","tag_url":"wspolnota"}}
Minutę temu src/addons/Truonglv/Groups/App.php:145
[tl] Social Groups: Index group with tags: {"2840":{"tag":"du\u017ca r\u00f3\u017cnica wieku","tag_url":"duza-roznica-wieku"},"2839":{"tag":"trzecie dziecko","tag_url":"trzecie-dziecko"}}
Minutę temu src/addons/Truonglv/Groups/App.php:145
[tl] Social Groups: Index group with tags: {"2934":{"tag":"drugie dziecko","tag_url":"drugie-dziecko"},"2932":{"tag":"ojcowie","tag_url":"ojcowie"},"2933":{"tag":"przyszli ojcowie","tag_url":"przyszli-ojcowie"},"2935":{"tag":"przysz\u0142y tata","tag_url":"przyszly-tata"}}
Minutę temu src/addons/Truonglv/Groups/App.php:145
[tl] Social Groups: Index group with tags: {"3213":{"tag":"eugeniosimpson","tag_url":"eugeniosimpson"}}
Minutę temu src/addons/Truonglv/Groups/App.php:145
[tl] Social Groups: Index group with tags: ["#duzarodzina"]
Minutę temu src/addons/Truonglv/Groups/App.php:145
[E_WARNING] Illegal string offset 'tag'
Minutę temu src/XF/Search/IndexRecord.php:69
"Minutę temu" means "a minute ago"
 
How to setup homepage as https://nobita.me/
Thunder7ga
Thunder7ga
  1. Discussions
Assign role for public groups automatically

Thunder7ga

New Member
How would I assign a member role to someone who joins a public group automatically? I must have a setting wrong...as when a registered user joins a group they have NO role at all assigned. It is blank. I can promote to a role, but I'd rather it just assign the member role upon joining the public group.
 
Thunder7ga
Thunder7ga
  1. Suggestions
[FEATURE]Event widget - show events only from joined groups.

Thunder7ga

New Member
It may be possible via some coding changes in the .less file, but I am not a coder. But I would like to be able to use the events widget to only show upcoming events from groups that the user is a member of. Currently it shows all upcoming events from all groups from what I can tell in my testing (I am not a live site yet).
 
Thunder7ga
Thunder7ga
  1. Issues
[NOT A BUG]Events not saving

Thunder7ga

New Member
Been working on setting this up today and went to go test EVENTS and I am getting the following error when trying to save a new event. Not sure what i messed up....

Error message:
Requested group could not be found.

Inspect code:
Failed to load resource: the server responded with a status of 404 ()
https://<website>/index.php?groups/events/add&amp;group_id=5
 
Last edited:

Thunder7ga

New Member
This can be marked as FIXED, as I figured it out. I am still in the process of setting up the forum and have not yet gone live. I happened to be reviewing things still on my list and one of those was to enable "friendly URLs". I did that, was testing out the board to make sure I didn't need to adjust my host files to allow it to work properly, and I happened to go back to the EVENTS item to see what else I may be able to figure out and it was now working.
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
34,220
Messages
39,982
Members
2,348
Latest member
artscripts
Top