Release Notes

Some things to consider...

- does not do checks for empty fields yet

- variables are not translated yet (please list all the words that haven't been tagged with EN)

- notification email layout is not made yet

  • having problems getting this plugin even showing up in the interface... it's starts no problem... need forum for 1.12 so will start digging through this code when have some "mythical extra time"

  • yes 1.12,14

    The forum was giving me "fatal error".

    Let me attempt focusing on it tomorrow then can create much more detailed report...

  • Thanks for even the most basic of responses...

    This is actually on my list soon...

    Any input is very much appreciated.

  • This is the error get when attempt creating new Group Forum Topic:

    Fatal Error.

    Table 'n01ze_elgg1.elggentity_relationships' doesn't exist

    QUERY: SELECT r.guid_one, r.relationship, r.guid_two, e.subtype, es.subtype
    FROM elggentity_relationships r, elggentities e, elggentity_subtypes es
    WHERE r.guid_one = e.guid AND e.subtype = es.id AND r.guid_two = 763 AND es.subtype = 'hjforumtopic'

    Log at time 1564967489 may have more data.

  • creating new category returns:

    Fatal Error.

    Table 'n01ze_elgg1.elggentity_relationships' doesn't exist

    QUERY: SELECT r.guid_one, r.relationship, r.guid_two, e.subtype, es.subtype
    FROM elggentity_relationships r, elggentities e, elggentity_subtypes es
    WHERE r.guid_one = e.guid AND e.subtype = es.id AND r.guid_two = 763 AND es.subtype = 'hjforumtopic'

    Log at time 1564968710 may have more data.

    these errors are consistently repeatable...

  • elggentity_relationships?

    found some random info regarding changing syntax for elgg_entity_relationships...

    Honestly,  completely confused on this forums error...

     

  • Getting any Forum functional for 1.12.14 has not been easy task...

  • looking at my SQL db there's only elgg_entity_relationships....

  • attempted changing elggentity_relationships for elgg_entity_relations in every instance throught the plugin code, yet still getting the elggentity_relationships fatal error on fourm & category creation... the only other way would be importing the tables for my sql from working install.... that's my hypothesis anyways

  • The real problem is that the table prefix "elgg" is hardcoded in the code of the plugin in several places. This surely fails to work if your site's database uses another table prefix. First thing to fix it would be to go through the whole code of the plugin and to make the code of all database queries flexible. For example in gcforums/actions/gcforums/edit.php there's the query

    $query = "SELECT *
                    FROM elggentity_relationships
                    WHERE relationship = 'filed_in' AND guid_one = {$gcf_guid}";

    This would have to be fixed by changing it to

    $dbprefix = elgg_get_config('dbprefix');
    
    $query = "SELECT *
                    FROM {$dbprefix}entity_relationships
                    WHERE relationship = 'filed_in' AND guid_one = {$gcf_guid}";

    Likewise the code of all other custom queries (i.e. when not an Elgg API function is used) need to be fixed to not have any hardcoded table names including prefix. Maybe at least this one error would then be fixed (as I don't use this plugin I can't say if there are others).

  • WOW!!!

    Searched every instance of elggenties for elgg_entires plus anything elgg* for elgg_

    scanned all lines of code in the plugin for any elgg sql instances then perform modification...

    Forum is now Functional.

    Requesting permission from Pandurx the GCForum creator....

    for compressing/uploading/archiving modified code...

    just in case anyone else needs the new modified version :)

  • Requesting permission from Pandurx the GCForum creator....

    for compressing/uploading/archiving modified code...

    just in case anyone else needs the new modified version :)

  • It's still glitchy thus will require some more time making modifications on Forum code.

    Now it is generating forums & topics, yet they aren't saving in group forums link....

    They are located somewhere else such as gcforums/group/188/188...

    Let me figure out what is happening now...

  • /gcforums/group/188 is the sidebar Group Forum link...

    hmmm

    ~shrug~

    back into scanning all the code...

  • Why could it be creating Guid twice when creating new Forums & Topics?

    such resulting /gcforums/group/188/188

    therefore the side menu GROUP Forum link results in directing for an empty /gcforums/group/188

  • So close now... everything else seems functional with GCForum

  • Sorry, I should be more responsive.
    I'm going to take a look at this module when I get home tonight.

  • I'll do all the things tonight

  • xiè xiè nǐ bāng wǒ

    digging through all Forum code lines today...

    Desperate for working forum system on 1.12

  • create.php :: subtype: hjforum / group: 188 / container: 188

    having problems with this^

    resulting in /gcforums/group/188 being empty/unpopulated

     all new Forums/Topics are for some reason located at /gcforums/group/188/188

  • temp fix modification for group forum menu item in start.php:

    // put a menu item in the site navigation (JMP request)
        elgg_register_menu_item('site', array(
            'name' => 'Forum',
            'text' => elgg_echo('gcforums:jmp_menu'),
            'href' => elgg_echo('gcforums:jmp_url'),
        ));
    }

    function gcforums_owner_block_menu($hook,$type,$return,$params) {
        $entity = elgg_extract('entity', $params);
        if ($entity->type === 'group' && $entity->forums_enable ===

    'yes') { // display only in group menu and only when user selected to

    enable forums in group
            $url =

    "gcforums/group/{$params['entity']->guid}/{$params['entity']->guid}";
            $item = new

    ElggMenuItem('gcforums',elgg_echo('gcforums:group_nav_label'),$url);
            $return[] = $item;
            return $return;
        }
    }

    added another {$params['entity']->guid}

  • The other problems experienced currently are:

    1 if ($entity->enable_posting && $nested_forum)     // this was unexpectedly inverted

    2 when posting for the Topics the most recent addition is at top... inverse order... newest first

    3 deleting forum loads "blank page" on completion then requires going back...the forum is deleted

     

  • went through this code for days & was still getting errors...

    it's easier/less time consuming rolling back for 1.8 doing full server rebuild

    target user base is accustomed hypeforums therefore it is one of my project prerequisites

Project Info

Stats

  • Category: Misc
  • License: GNU General Public License (GPL) version 2
  • Updated: 2016-2-12
  • Downloads: 365
  • Recommendations: 0