WikiPost

WikiPost [Paid] 1.0.7

No permission to buy ($40.00)
Code:
InvalidArgumentException: Attempted to convert NULL to string/binary [summary] in src/XF/Mvc/Entity/Entity.php at line 770

    XF\Mvc\Entity\Entity->_castValueToType() in src/XF/Mvc/Entity/Entity.php at line 648
    XF\Mvc\Entity\Entity->set() in src/XF/Mvc/Entity/Entity.php at line 750
    XF\Mvc\Entity\Entity->bulkSet() in src/addons/Laneros/WikiPost/XF/Repository/EditHistory.php at line 42
    Laneros\WikiPost\XF\Repository\EditHistory->insertEditHistory() in src/XF/Service/Post/Merger.php at line 435
    XF\Service\Post\Merger->finalActions() in src/XF/Service/Post/Merger.php at line 175
    XF\Service\Post\Merger->merge() in src/XF/InlineMod/Post/Merge.php at line 69
    XF\InlineMod\Post\Merge->applyInternal() in src/XF/InlineMod/AbstractAction.php at line 80
    XF\InlineMod\AbstractAction->apply() in src/XF/Pub/Controller/InlineMod.php at line 129
    XF\Pub\Controller\InlineMod->actionPerform() in src/addons/XenCafe/MessagePost/Extend/Pub/Controller/InlineMod.php at line 41
    XenCafe\MessagePost\Extend\Pub\Controller\InlineMod->actionPerform() in src/XF/Mvc/Dispatcher.php at line 352
    XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
    XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
    XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2487
    XF\App->run() in src/XF.php at line 524
    XF::runApp() in index.php at line 20
 
Not everybody should see this?

/wikipost/

For some people a wiki is something public.
For me it is just a function to use for some people to care for better information.
Only these group needs to know about what we do.
It is like moderators without mod permissions.
 
Have thought about this wikithread table.
Why we need a new row if we dont save anything?


Thread one, no changes => now need for data in wikithread
Thread two, protected area, whatever => we need to save this data in wikithread
 
A minute ago I need tree tries to change a wikipost.
And three times I was forced to add a text for my changes.

Maybe one per ten minutes should be ok also?
 
I mean the requirement as you specify below. I don't want a user to be able to edit every post that they have every posted over the past 20 years; just the wikipost.
This has been improved and now you can add particular users to be able to edit a specific wikipost, without them needing the permission in their user group.
Some ideas after using it for some minutes; maybe I have not seen all options/features?

1. Do we have a script, button, a tools/rebuild to set all existing threads in allowed forums to wiki-threads?

2. The world needs not to know that this is a wiki-thread. (solved now with switch of template modification)
The message needs:
off
on for all
on for allowed people to edit

3. To make all 1654 threads to wikithreads, I have used a sql like update xf_threads set wikipost = '1' where node_id = '123'
But it seems the add-on also needs a row in table wikipost_thread to switch off the wiki-function. Maybe this should work at least for switch off with this row? Anyway the result of switching off is to delete this row.

If not checked more, but I guess there is no query for this table in thread_list or thread_view?


So far, I like it.
I changed it to only allow the users with appropiate permissions to be able to see the bar.
I dont want to see that Wiki tools everywhere, I need them only in one forum, so it would be nice to allow that only in one forum.
This is the control that allows you to turn the first post of any thread into a wikipost or to suggest new wikiposts. If you have the permission, you'll see the menu.
Not everybody should see this?

/wikipost/

For some people a wiki is something public.
For me it is just a function to use for some people to care for better information.
Only these group needs to know about what we do.
It is like moderators without mod permissions.
I guess you can hide it or disallow it in your robots.txt. I might add an option to completely disable it in a future version.

/find-threads/wikipost?page=2

Could not be found.
This has been fixed.
Have thought about this wikithread table.
Why we need a new row if we dont save anything?


Thread one, no changes => now need for data in wikithread
Thread two, protected area, whatever => we need to save this data in wikithread
The table is necessary to store the different options and a row for a thread is created if the addon doesn't detect it.
 
Hi @JulianD - quick questions.

a. I see the wikipost banner in all threads, and not just the threads that have it enabled.
b. Do the wikipost permissions need to be set for the primary usergroup? I have it enabled for a secondary usergroup and the users are telling me they can't make any edits.

Thanks!
 

Attachments

  • Screenshot 2025-01-17 at 13.44.54.webp
    Screenshot 2025-01-17 at 13.44.54.webp
    19.2 KB · Views: 2
Hi @JulianD - quick questions.

a. I see the wikipost banner in all threads, and not just the threads that have it enabled.
I have released a new version 1.0.7 at my site. (will update here soon but it's already available for download)

b. Do the wikipost permissions need to be set for the primary usergroup? I have it enabled for a secondary usergroup and the users are telling me they can't make any edits.

Thanks!
No, it should be something related to the permissions. You can use the permission system they way you are describing and it should work. If you are having issues, please open a report at my website with all the details and I'll gladly take a look.
 
No, it should be something related to the permissions. You can use the permission system they way you are describing and it should work. If you are having issues, please open a report at my website with all the details and I'll gladly take a look.

I am still facing a permissions issue and I have opened a report on your support forum. I wonder if there is a conflict with another addon perhaps. Thanks Julian.
 
Back
Top Bottom