fireboard intigrationg bug? (1 viewing) (1) Guest
 | | |
|
TOPIC: fireboard intigrationg bug?
|
|
fireboard intigrationg bug? 3 Years, 1 Month ago
|
Karma: 0
|
|
the fireboard intergration plugin did not work for me .
the linke in group page is not exactly the forum address.
so I hack into the code of the plugin
file /com_comprofiler\plugin\user\plug_gjfireboard\fireboard.php
some code is wrong i think
sourc in line around 335
$query="INSERT INTO #__gj_jb (group_id, category_id) VALUES ('".$group['id']."', '".$lastid_sb."')";
this code can not work,
because , the group_id in not right.
according to the struct of mysql database.
the __gj_groups table , the field id is a auto_increment field ,
so $group['id'], can't work .
I change the code with this. and it worked.
$_CB_database->setQuery("SELECT id FROM #__gj_groups WHERE name='".$group['name']."'");
$groupnewid = $_CB_database->loadResult();
$query="INSERT INTO #__gj_jb (group_id, category_id) VALUES ('".$groupnewid."', '".$lastid_sb."')";
|
|
|
|
|
|
|
 | | |
|