Multi Prefix

Multi Prefix [Paid] 2.16.3

No permission to buy ($30.00)
I bought your add-on, and it is not working. I have Standard Library 1.4.1 and Multi Prefix 2.8.14 on my Xenforo v2.2.1 and see this error:

Code:
ErrorException: [E_WARNING] Declaration of SV\StandardLib\Finder\SqlJoinTrait::sqlJoin(string $rawJoinTable, string $alias, array $columns, bool $mustExist = false, bool $hasTableExpr = false) should be compatible with Banxix\BumpThread\Finder\Thread::sqlJoin($rawJoinTable, $alias, array $columns, $mustExist = false, $hasTableExpr = false) in src/addons/SV/MultiPrefix/XF/Finder/Thread.php at line 8

    XF::handlePhpError() in src/addons/SV/MultiPrefix/XF/Finder/Thread.php at line 8
    include() in src/vendor/composer/ClassLoader.php at line 444
    Composer\Autoload\includeFile() in src/vendor/composer/ClassLoader.php at line 322
    Composer\Autoload\ClassLoader->loadClass()
    spl_autoload_call()
    class_exists() in src/XF/Extension.php at line 172
    XF\Extension->extendClass() in src/XF/Mvc/Entity/Manager.php at line 226
    XF\Mvc\Entity\Manager->getFinder() in src/XF/Mvc/Entity/Repository.php at line 35
    XF\Mvc\Entity\Repository->finder() in src/XF/Repository/Thread.php at line 13
    XF\Repository\Thread->findThreadsForForumView() in src/XF/Pub/Controller/Forum.php at line 223
    XF\Pub\Controller\Forum->actionForum() in src/XF/Mvc/Dispatcher.php at line 350
    XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 261
    XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
    XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2300
    XF\App->run() in src/XF.php at line 465
    XF::runApp() in index.php at line 20
 
I bought your add-on, and it is not working. I have Standard Library 1.4.1 and Multi Prefix 2.8.14 on my Xenforo v2.2.1 and see this error:

Code:
ErrorException: [E_WARNING] Declaration of SV\StandardLib\Finder\SqlJoinTrait::sqlJoin(string $rawJoinTable, string $alias, array $columns, bool $mustExist = false, bool $hasTableExpr = false) should be compatible with Banxix\BumpThread\Finder\Thread::sqlJoin($rawJoinTable, $alias, array $columns, $mustExist = false, $hasTableExpr = false) in src/addons/SV/MultiPrefix/XF/Finder/Thread.php at line 8

    XF::handlePhpError() in src/addons/SV/MultiPrefix/XF/Finder/Thread.php at line 8
    include() in src/vendor/composer/ClassLoader.php at line 444
    Composer\Autoload\includeFile() in src/vendor/composer/ClassLoader.php at line 322
    Composer\Autoload\ClassLoader->loadClass()
    spl_autoload_call()
    class_exists() in src/XF/Extension.php at line 172
    XF\Extension->extendClass() in src/XF/Mvc/Entity/Manager.php at line 226
    XF\Mvc\Entity\Manager->getFinder() in src/XF/Mvc/Entity/Repository.php at line 35
    XF\Mvc\Entity\Repository->finder() in src/XF/Repository/Thread.php at line 13
    XF\Repository\Thread->findThreadsForForumView() in src/XF/Pub/Controller/Forum.php at line 223
    XF\Pub\Controller\Forum->actionForum() in src/XF/Mvc/Dispatcher.php at line 350
    XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 261
    XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
    XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2300
    XF\App->run() in src/XF.php at line 465
    XF::runApp() in index.php at line 20
@Ozzy47 posted a patched version;
 
Please re-upload the latest version, and try a "rebuild add-on" for the multiprefix add-on.

You will likely need to disable other 3rd party add-ons and try with the default XenForo style to rule-out conflicts
 

Server error log​

  • Error: Call to undefined method SV\MultiPrefix\XF\Pub\Controller\Forum::assertViewableThread()
  • src/addons/XenConcept/WatchedCategories/XF/Pub/Controller/Forum.php:29
  • Generated by: ****
  • Jan 9, 2021 at 10:51 PM

Stack trace​

#0 src/XF/Mvc/Dispatcher.php(350): XenConcept\WatchedCategories\XF\Pub\Controller\Forum->actionWatch(Object(XF\Mvc\ParameterBag))
#1 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Forum', 'Watch', Object(XF\Mvc\RouteMatch), Object(SV\MultiPrefix\XF\Pub\Controller\Forum), NULL)
#2 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\MultiPrefix\XF\Pub\Controller\Forum), NULL)
#3 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#4 src/XF/App.php(2300): XF\Mvc\Dispatcher->run()
#5 src/XF.php(488): XF\App->run()
#6 index.php(20): XF::runApp('XF\\Pub\\App')
#7 {main}

Request state​

array(4) {
["url"] => string(16) "/forums/20/watch"
["referrer"] => string(45) "https://****.com/forums/20/?prefix_id=111"
["_GET"] => array(0) {
}
["_POST"] => array(6) {
["notify"] => string(6) "thread"
["send_alert"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(25) "/forums/20/?prefix_id=111"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}

Delete
 

Server error log​

  • Error: Call to undefined method SV\MultiPrefix\XF\Pub\Controller\Forum::assertViewableThread()
  • src/addons/XenConcept/WatchedCategories/XF/Pub/Controller/Forum.php:29
  • Generated by: ****
  • Jan 9, 2021 at 10:51 PM
This is unrelated to my add-on. You'll need to look at XenConcept/WatchedCategories
 
A client with newest version called me a minute ago. It seems that the prefix field has now its own row above the title-field.
This is how it should be?

Another question: Sometimes i would like to see just text as in a select field instead the prefixes inside the select field.
Is there a way to easily change this?
 
A client with newest version called me a minute ago. It seems that the prefix field has now its own row above the title-field.
This is how it should be?
On input? This is because there is no other place to put it without it looking really bad.
On viewing? This is a style property which moves where the prefix is rendered. Rendering prefixes under the title-field actually works very nicely.

Another question: Sometimes i would like to see just text as in a select field instead the prefixes inside the select field.
Is there a way to easily change this?
No real sane way todo this.
 
We have been trying for just about a year now to get our complex system going so we have delayed our upgrade to 2.2..

Is there a version of multi-prefix that I can install with 2.1? I really need it for a Forum that manages annual events.

Without it I will need to archive all but the current year for each event.
 
Is it possible to add a second select field with groups and select then the prefixes loaded per Ajax?
As custom addon for the addon or feature in future?
 
We have been trying for just about a year now to get our complex system going so we have delayed our upgrade to 2.2..

Is there a version of multi-prefix that I can install with 2.1? I really need it for a Forum that manages annual events.

Without it I will need to archive all but the current year for each event.
Yes, all the 2.21 versions are available for download. The latest version, 2.8.14, is also compatible with 2.1.
 
/admin.php?threads/batch-update

Here i can search for prefixes, but only as "AND" => search for threads where prefix_id=x AND prefix_id = y.
Or i can switch the search to "OR", but then i have no "AND" to search for.

I guess, here it needs a checkbox, radio or something to search for threads with AND or OR.
this would help a lot to move threads from forum a to b.
 
Situation: MP 2.7.x plus RM
Deinstall RM
Upload newer version of MP
=> cant upgrade, misses RM


Solved. The RM tables were still there.
 
Last edited:
Back
Top Bottom