Community Hive

Community Hive 1.0.2

No permission to download
Most issues are being caused by PHP7. We did not realize that Xenforo still supported PHP7 as PHP itself stopped supporting it back in 2021/2022. We do not even have any internal testing environments to test on PHP7 since it's against our security policy to have it.

Luckily, a few people have volunteered to let us re-work the plugin to work on PHP7 on their servers. We should have an update for you soon!
 
I get this error when I tried to install it:
object(XF\PrintableException)#374 (8) { ["messages":protected] => array(1) { ["hive_enabled"] => string(155) "activation error Server error: PUT https://communityhive.com/api/v1/activate resulted in a 500 Error response: {"error":"community already activated"} " } ["message":protected] => string(155) "activation error Server error: PUT https://communityhive.com/api/v1/activate resulted in a 500 Error response: {"error":"community already activated"} " ["string":"Exception":private] => string(0) "" ["code":protected] => string(12) "hive_enabled" ["file":protected] => string(55) "/home/revillu2/public_html/src/XF/Mvc/Entity/Entity.php" ["line":protected] => int(1223) ["trace":"Exception":private] => array(11) { [0] => array(6) { ["file"] => string(55) "/home/revillu2/public_html/src/XF/Repository/Option.php" ["line"] => int(114) ["function"] => string(4) "save" ["class"] => string(20) "XF\Mvc\Entity\Entity" ["type"] => string(2) "->" ["args"] => array(0) { } } [1] => array(6) { ["file"] => string(59) "/home/revillu2/public_html/src/addons/Communityhive/API.php" ["line"] => int(103) ["function"] => string(13) "updateOptions" ["class"] => string(20) "XF\Repository\Option" ["type"] => string(2) "->" ["args"] => array(1) { [0] => array(4) { ["communityhive_site_id"] => string(64) "950cce674162cb6225feb7af3b2d8bfca5be7e90216f8c91205891ee09f99c28" ["communityhive_site_key"] => string(64) "eacaaf85cd2c7457dcba02c2e40a92fb697d9072f7154a98565ced81869c5fe0" ["communityhive_key"] => string(40) "YziwyxAsYMcOyiCwUuGr-642sCM5VHyUfZSXALK2" ["hive_enabled"] => bool(true) } } } [2] => array(6) { ["file"] => string(59) "/home/revillu2/public_html/src/addons/Communityhive/API.php" ["line"] => int(60) ["function"] => string(8) "activate" ["class"] => string(17) "Communityhive\API" ["type"] => string(2) "->" ["args"] => array(0) { } } [3] => array(6) { ["file"] => string(75) "/home/revillu2/public_html/src/addons/Communityhive/Admin/Communityhive.php" ["line"] => int(12) ["function"] => string(6) "toggle" ["class"] => string(17) "Communityhive\API" ["type"] => string(2) "::" ["args"] => array(1) { [0] => bool(true) } } [4] => array(6) { ["file"] => string(52) "/home/revillu2/public_html/src/XF/Mvc/Dispatcher.php" ["line"] => int(352) ["function"] => string(11) "actionIndex" ["class"] => string(33) "Communityhive\Admin\Communityhive" ["type"] => string(2) "->" ["args"] => array(1) { [0] => object(XF\Mvc\ParameterBag)#419 (1) { ["params":protected] => array(0) { } } } } [5] => array(6) { ["file"] => string(52) "/home/revillu2/public_html/src/XF/Mvc/Dispatcher.php" ["line"] => int(259) ["function"] => string(13) "dispatchClass" ["class"] => string(17) "XF\Mvc\Dispatcher" ["type"] => string(2) "->" ["args"] => array(5) { [0] => string(33) "Communityhive\Admin\Communityhive" [1] => string(5) "Index" [2] => object(XF\Mvc\RouteMatch)#421 (7) { ["controller":protected] => string(33) "Communityhive\Admin\Communityhive" ["action":protected] => string(5) "index" ["params":protected] => array(0) { } ["responseType":protected] => string(4) "html" ["sectionContext":protected] => string(0) "" ["pathRewrite":protected] => NULL ["pathRetry":protected] => NULL } [3] => object(Communityhive\Admin\Communityhive)#418 (8) { ["app":protected] => object(XF\Admin\App)#8 (4) { ["preLoadLocal":protected] => array(6) { [0] => string(15) "adminNavigation" [1] => string(23) "masterStyleModifiedDate" [2] => string(11) "routesAdmin" [3] => string(12) "routesPublic" [4] => string(9) "routesApi" [5] => string(12) "routeFilters" } ["container":protected] => object(XF\Container)#9 (5) { ["data":protected] => array(189) { ["time"] => int(1693400234) ["time.granular"] => float(1693400234.56732) ["app.classType"] => string(5) "Admin" ["app.defaultType"] => string(5) "admin" ["config.default"] => array(50) { ["db"] => array(1) { ["adapterClass"] => string(20) "XF\Db\Mysqli\Adapter" } ["fullUnicode"] => bool(false) ["cache"] => array(6) { ["enabled"] => bool(false) ["sessions"] => bool(false) ["namespace"] => string(2) "xf" ["provider"] => string(4) "Void" ["config"] => array(0) { } ["context"] => array(0) { } } ["pageCache"] => array(5) { ["enabled"] => bool(false) ["lifetime"] => int(300) ["recordSessionActivity"] => bool(true) ["routeMatches"] => array(0) { } ["onSetup"] => NULL } ["debug"] => bool(false) ["development"] => array(8) { ["enabled"] => bool(false) ["defaultAddOn"] => string(0) "" ["skipAddOns"] => NULL ["unlistedAddOns"] => array(0) { } ["throwJobErrors"] => bool(false) ["fullJs"] => bool(false) ["fullEditorJs"] => bool(false) ["closureCompilerPath"] => NULL } ["designer"] => array(2) { ["enabled"] => bool(false) ["basePath"] => string(10) "src/styles" } ["cookie"] => array(3) { ["prefix"] => string(3) "xf_" ["path"] => string(1) "/" ["domain"] => string(0) "" } ["http"] => array(2) { ["sslVerify"] => NULL ["proxy"] => NULL } ["globalSalt"] => string(32) "8d609422f684286713cb19eda3129ec2" ["superAdmins"] => string(0) "" ["internalDataPath"] => string(13) "internal_data" ["codeCachePath"] => string(13) "%s/code_cache" ["tempDataPath"] => string(7) "%s/temp" ["fsAdapters"] => array(0) { } ["externalDataPath"] => string(4) "data" ["externalDataUrl"] => string(4) "data" ["javaScriptUrl"] => string(2) "js" ["chmodWritableValue"] => int(0) ["forceCliUser"] => string(0) "" ["jobMaxRunTime"] => int(8) ["enableMail"] => bool(true) ["enableMailQueue"] => bool(true) ["enableListeners"] => bool(true) ["enableTemplateModificationCallbacks"] => bool(true) ["enableClickjackingProtection"] => bool(true) ["enableReverseTabnabbingProtection"] => bool(true) ["enableLoginCsrf"] => bool(true) ["enableGzip"] => bool(true) ["enableContentLength"] => bool(true) ["enableTfa"] => bool(true) ["enableLivePayments"] => bool(true) ["enableApi"] => bool(true) ["enableAddOnArchiveInstaller"] => bool(false) ["enableOneClickUpgrade"] => bool(true) ["maxImageResizePixelCount"] => int(20000000) ["adminLogLength"] => int(60) ["adminColorHueShift"] => int(0) ["checkVersion"] => bool(true) ["passwordIterations"] => int(10) ["auth"] => NULL ["proxyUrlFormat"] => string(34) "proxy.

and now in the admin panel I have this:
image_2023-08-30_085939357.png

How do I fix this?

It says my community hive is already activated but when I go into my community hive settings there are no API keys populated. Any help on how to get this installed properly would be great.
 
Last edited:
We looked into this but we cannot in good conscience support PHP 7. As PHP 7 is end of life and no longer receiving security updates, it will be inappropriate for us to go down that path. We take security and privacy seriously and just cannot support that approach.

We will be providing an update soon that clarifies support for only PHP8 and fixes remaining issues.
 
We looked into this but we cannot in good conscience support PHP 7. As PHP 7 is end of life and no longer receiving security updates, it will be inappropriate for us to go down that path. We take security and privacy seriously and just cannot support that approach.

We will be providing an update soon that clarifies support for only PHP8 and fixes remaining issues.
Xen runs fine on 7 and 8.
 
We looked into this but we cannot in good conscience support PHP 7. As PHP 7 is end of life and no longer receiving security updates, it will be inappropriate for us to go down that path. We take security and privacy seriously and just cannot support that approach.

We will be providing an update soon that clarifies support for only PHP8 and fixes remaining issues.
I updated my site to use PHP 8.1, i'll try re-installing this now. :)

Edit: Same errors I was getting before on PHP7. @Community Hive
 
We looked into this but we cannot in good conscience support PHP 7. As PHP 7 is end of life and no longer receiving security updates, it will be inappropriate for us to go down that path. We take security and privacy seriously and just cannot support that approach.

We will be providing an update soon that clarifies support for only PHP8 and fixes remaining issues.
In your addon.json file you can add the minimum requirements for PHP, so that the addon don't get installed at first place on any community running below a specific PHP version and throw errors.

see example

 
Most issues are being caused by PHP7. We did not realize that Xenforo still supported PHP7 as PHP itself stopped supporting it back in 2021/2022. We do not even have any internal testing environments to test on PHP7 since it's against our security policy to have it.

Luckily, a few people have volunteered to let us re-work the plugin to work on PHP7 on their servers. We should have an update for you soon!
We're on PHP 8.1.22, a cloud machine (dedi).
 
Does anyone have this running successfully, and are you getting any results? Can I see a demo or a site with this running?
 
Does anyone have this running successfully, and are you getting any results? Can I see a demo or a site with this running?
Right now, i see no results. I supposedly have it "enabled" but don't even see my site show up on the 'feed'. I think they jumped the shark of release before thoroughly testing it and releasing it to be honest. It is very much still a 'beta'. Features missing, etc.

I don't know about others but I haven't seen any real results just yet. My site's account is using the wrong email, so I can't even log in to check my stats. I have to wait for them to allow me to 'merge' the two accounts into the email I want to use.
 
Nothing against the development of this idea, but forums were created to be like "satellites" in the world of communities.

The only place where I would like to see snippets of my content is in the search engines' results; then I'll think I've invested my resources well.

May the best one survive
 
I see this as a Reddit replacement. Where instead of being sent to subreddits, we get sent to other sites.

The reddit algorithm is pretty good and recommends me stuff I would never have thought of, so in theory if CH can do the same there's potential for a lot of exposure.

However, how will they get normal (non site owners) to use it... That's the million dollar question!
 
The key to forums is a non-algorithm.

The worst plague is that content which you can't control or reproduce or find again.
 
Top Bottom