Multi Prefix

Multi Prefix [Paid] 2.11.2

No permission to buy ($30.00)

Tealk

Well-known member
It is a feature, disable the "Block removing prefixes a user does not have access to add" option and it'll go away.

Without knowing more about how your prefixes are setup it is hard to tell if it is legitimate.
i will move a thread to a other forum and change the prefix but i have all rights to all prefixes
the only problem is that prefix does not exist in the target forum
 
Last edited:

shanew

Active member
I booked mark this page to buy this addon soon.
but I need to wait it when it has a stable version is released.

Thanks
 

CNK

Active member
When I try to add second prefix in forum_view I have error:
Maxium prefixes requirement for one or more threads has been exceeded.
but if I enter to the thread and edit prefixes all works great.
 

Loohney

Member
Is it possible to limit the maximum amount of prefixes that a user can use?
For example, if you have like 15 available prefixes, but you want to limit the user to only be able to select two.

Thanks
 

Tealk

Well-known member
When I want to move topics or split posts I always get the following error as soon as I set a minimum value for prefixes.

1525522489592.png
 

CNK

Active member
Is it possible to set more friendly url to filtered pages?
Eg. to change url: ?prefix_id[0]=124 to /prefix/action-games/ or /action-games ?
Or do I have to set up a separate route filter for each prefix?

I don't know how to set this if there is a lot capabilities like:
?prefix_id[0]=115&prefix_id[1]=127
?prefix_id[0]=127&prefix_id[1]=115
?prefix_id[0]=130&prefix_id[1]=115&prefix_id[0]=127

but I would love to get a more friendly look of links
 
Last edited:

Delazar

Active member
Hello,

when I try to create a node type forum, I get the message:
XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'sv_min_prefixes' in 'field list' in src/XF/Db/AbstractStatement.php at line 212

  1. XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196
  2. XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 39
  3. XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 54
  4. XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 79
  5. XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 160
  6. XF\Db\AbstractAdapter->insert() in src/XF/Mvc/Entity/Entity.php at line 1389
  7. XF\Mvc\Entity\Entity->_saveToSource() in src/XF/Mvc/Entity/Entity.php at line 1121
  8. XF\Mvc\Entity\Entity->save() in src/XF/Mvc/Entity/Entity.php at line 1139
  9. XF\Mvc\Entity\Entity->save() in src/XF/Mvc/FormAction.php at line 69
  10. XF\Mvc\FormAction->XF\Mvc\{closure}() in src/XF/Mvc/FormAction.php at line 159
  11. XF\Mvc\FormAction->run() in src/XF/Admin/Controller/AbstractNode.php at line 110
  12. XF\Admin\Controller\AbstractNode->actionSave() in src/XF/Mvc/Dispatcher.php at line 249
  13. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88
  14. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
  15. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1931
  16. XF\App->run() in src/XF.php at line 328
  17. XF::runApp() in admin.php at line 13

If I disable Multi Prefix, it works without problems.
 

Xon

Well-known member
Did you upgrade from XF1? Or a fresh install for XF2?

Should be able to run these SQL queries to fix it;
Code:
alter table xf_forum add column sv_min_prefixes int default 0;
alter table xf_forum add column sv_max_prefixes int default 0;
 

Xon

Well-known member
Is it possible to set more friendly url to filtered pages?
Eg. to change url: ?prefix_id[0]=124 to /prefix/action-games/ or /action-games ?
Or do I have to set up a separate route filter for each prefix?

I don't know how to set this if there is a lot capabilities like:
?prefix_id[0]=115&prefix_id[1]=127
?prefix_id[0]=127&prefix_id[1]=115
?prefix_id[0]=130&prefix_id[1]=115&prefix_id[0]=127

but I would love to get a more friendly look of links
This isn't currently possible. It is using the XF filtering system which generates these links.
 

Delazar

Active member
Hello,

i have upgraded from xF1 to xF2.
Here's the next problem. When I want to create a post I get the message:

XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'sv_prefix_ids' in 'field list' in src/XF/Db/AbstractStatement.php at line 212

  1. XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196
  2. XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 39
  3. XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 54
  4. XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 79
  5. XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 160
  6. XF\Db\AbstractAdapter->insert() in src/XF/Mvc/Entity/Entity.php at line 1389
  7. XF\Mvc\Entity\Entity->_saveToSource() in src/XF/Mvc/Entity/Entity.php at line 1121
  8. XF\Mvc\Entity\Entity->save() in src/XF/Service/Thread/Creator.php at line 285
  9. XF\Service\Thread\Creator->_save() in src/XF/Service/ValidateAndSavableTrait.php at line 40
  10. XF\Service\Thread\Creator->save() in src/XF/Pub/Controller/Forum.php at line 734
  11. XF\Pub\Controller\Forum->actionPostThread() in src/addons/Snog/Games/XF/Pub/Controller/Forum.php at line 16
  12. Snog\Games\XF\Pub\Controller\Forum->actionPostThread() in src/addons/Snog/Movies/XF/Pub/Controller/Forum.php at line 16
  13. Snog\Movies\XF\Pub\Controller\Forum->actionPostThread() in src/addons/Snog/TV/XF/Pub/Controller/Forum.php at line 16
  14. Snog\TV\XF\Pub\Controller\Forum->actionPostThread() in src/XF/Mvc/Dispatcher.php at line 249
  15. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88
  16. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
  17. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1931
  18. XF\App->run() in src/XF.php at line 328
  19. XF::runApp() in index.php at line 13
 
Top