Clubs Module Support

Support forum for Clubs Module.

Quote · 10 Nov 2010

Clubs Module for 7.0.4 (patch included) is updated in the Market!

Quote · 24 Nov 2010

Error found. For those who already installed, please check your Clubs Module.

modules/boonex/clubs/classes/BxClubsModule.php

line 694

return $this->_oDb->isClubAdmin ($aDataEntry['id'], $iProfileId) && isProfileActive($iProfileId);

Change this to

return $this->_oDb->isGroupAdmin ($aDataEntry['id'], $iProfileId) && isProfileActive($iProfileId);

Quote · 3 Dec 2010

I am having trouble uploading pics for this mods, I tested it, and when I click the add photos, I get a blank page.

Also, is there a way to make the url not mandatory?

I changed the name and have the mod twice, Parks and Spots

http://thebykerack.com

Quote · 5 Dec 2010

I have no problem adding pics. Check membership levels privileges and photo settings. Also privacy settings.

I don't see red * next to URL assuming it is not mandatory, however I tried leaving blank and you were right!

 

For those who already installed, go to

modules/boonex/clubs/classes/BxClubsFormAdd.php

find this (around line 200)

 

'url' => array(

'type' => 'text',

'name' => 'url',

'value' => isset($this->_aParam['url']) ? $this->_aParam['url'] : '',

'caption' => _t('_bx_clubs_form_url'),

'required' => false,

/*'checker' => array (

'func' => 'length',

'params' => array(1,100),

'error' => _t('_bx_clubs_form_field_err'),

),*/

See 4 red characters above, add that.

 

URL mandatory is now off and updated in the Market.

Quote · 10 Dec 2010

ok, i changed that, but I am still having a problem uploading any pics,

see attatchment

clubs mod error.jpg · 63K · 231 views
Quote · 12 Dec 2010
Not enough information to help you. Click "More information on this error".
Quote · 13 Dec 2010

This is what i get on one of my test profiles, when I click add photo,  when I try with the admin it is a blank page

Quote · 13 Dec 2010

That's still not helping. See the attachment.

clubs mod error.jpg · 99.9K · 236 views
Quote · 13 Dec 2010

ok here is the additional

Clubs mod error.jpg · 73.1K · 249 views
Quote · 13 Dec 2010

*sigh*

Chrome sucks! *ducks* Is there debug tools for that browser?

It seems that most recommended Firefox with Firebug. Only suggestion.

I use Safari with Developer Tools. Anyway, back to the point...

PM'd him to email me his two modded modules and found the problem. Go zap 'em buggers! Smile

Quote · 13 Dec 2010

 

*sigh*

Chrome sucks! *ducks* Is there debug tools for that browser?

It seems that most recommended Firefox with Firebug. Only suggestion.

I use Safari with Developer Tools. Anyway, back to the point...

PM'd him to email me his two modded modules and found the problem. Go zap 'em buggers! Smile

Chromium is a WebKit browser, so it includes the WebKit developer tools, just as Safari and every other WebKit browser does.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 13 Dec 2010

Thank you, Magnus.

Quote · 13 Dec 2010

I use firefox to do any work on my site, but the error doesn't come up on FF, it is just a blank page under the admin, I used chrome with my test member and I got the error

Quote · 14 Dec 2010

Just out of curiosity,is it possible to run 2 separate instances of Clubs (with different names) on one install?

Something like

Football Clubs

Basketball Clubs?

Quote · 16 Dec 2010

Yes, I am currently using it with two different names and it works great,

Thanks again, everything is working perfect now, that was the fix

Quote · 16 Dec 2010

Hi,

I want to create a module with more info-blocks? So I did this:

1. I changed the BxClubsHorsesFormAdd with more fields, also checkbox and select fields but the checkboxes does not work.

2. I changed the ......PageView:

function getBlockCode_Stammbaum() {
return $this->_blockCustomDisplay ($this->aDataEntry, 'stammbaum');
}
function _blockCustomDisplay($aDataEntry, $sType) {
switch($sType)
{
case "stammbaum":
$aAllow = array('extrafield1','extrafield2','extrafield13');
break;
}
$sFields = $this->_oTemplate->blockCustomFields($aDataEntry,$aAllow);
$aVars = array (
'fields' => $sFields,
);
return $this->_oTemplate->parseHtmlByName('custom_block_info', $aVars);
}

3. I changed the ....Template.php:

I add the the same function like "function blockFields" but "blockCustomFields"

 

4. I change the install.sql

I add to main the extrafields;

to -- page compose blocks

-> ('bx_clubs_view', '998px', 'Stammbaum', '_bx_clubs_block_stammbaum', '2', '0', 'Stammbaum', '', '0', '66', 'non,memb', '0'),

 

5. I can add a club but if I want to see a club I get a blank page without a HTML source code. and I do not get a database error.

What did I do wrong?

 

In Attachment you can see the add-Form

AddForm

Quote · 11 Jan 2011

I am running 7.0.5 and

Cannot get CLUBS module to install when I try, I get the following message:

FAILED

there are errors in the following mysql query

I used the most recent download and the 7.0.5 folder in the .zip file.. the version is 1.0.5 according to the site

INSERT INTO `sys_privacy_actions` (`module_uri`, `name`, `title`, `default_club`) VALUES('clubs', 'view_club', '_bx_clubs_privacy_view_club', '3'),('clubs', 'view_fans', '_bx_clubs_privacy_view_fans', '3'),('clubs', 'comment', '_bx_clubs_privacy_comment', 'f'),('clubs', 'rate', '_bx_clubs_privacy_rate', 'f'),('clubs', 'post_in_forum', '_bx_clubs_privacy_post_in_forum', 'f'),('clubs', 'join', '_bx_clubs_privacy_join', '3'),('clubs', 'upload_photos', '_bx_clubs_privacy_upload_photos', 'a'),('clubs', 'upload_videos', '_bx_clubs_privacy_upload_videos', 'a'),('clubs', 'upload_sounds', '_bx_clubs_privacy_upload_sounds', 'a'),('clubs', 'upload_files', '_bx_clubs_privacy_upload_files', 'a');
Even Monkeys and Retards get it right with repitition! - Author Unknown
Quote · 8 Mar 2011

 

I am running 7.0.5 and

Cannot get CLUBS module to install when I try, I get the following message:

FAILED

there are errors in the following mysql query

I used the most recent download and the 7.0.5 folder in the .zip file.. the version is 1.0.5 according to the site

INSERT INTO `sys_privacy_actions` (`module_uri`, `name`, `title`, `default_club`) VALUES('clubs', 'view_club', '_bx_clubs_privacy_view_club', '3'),('clubs', 'view_fans', '_bx_clubs_privacy_view_fans', '3'),('clubs', 'comment', '_bx_clubs_privacy_comment', 'f'),('clubs', 'rate', '_bx_clubs_privacy_rate', 'f'),('clubs', 'post_in_forum', '_bx_clubs_privacy_post_in_forum', 'f'),('clubs', 'join', '_bx_clubs_privacy_join', '3'),('clubs', 'upload_photos', '_bx_clubs_privacy_upload_photos', 'a'),('clubs', 'upload_videos', '_bx_clubs_privacy_upload_videos', 'a'),('clubs', 'upload_sounds', '_bx_clubs_privacy_upload_sounds', 'a'),('clubs', 'upload_files', '_bx_clubs_privacy_upload_files', 'a');

INSERT INTO `sys_privacy_actions` (`module_uri`, `name`, `title`, `default_club`) VALUES

The text in red should be 'group' instead of 'club', because this field has to do with privacy settings, and has nothing to do with the name of the module.

It's obvious that the author just threw this version together without testing to see if it even installed, because there's no way it can install with the sql as-is.

If I were you, I'd ditch this module until the author takes the time to check it.  I'd also look at the install sql file and see if the installer created any tables in your database, or if it added entries to existing tables.  If it did, you'll have to surgically remove all of them, because you won't be able run the uninstaller.

You may have some damage control to do here.  I would NOT correct the sql query and attempt to reinstall.  If the installer has a flagrant error like this, who knows what else is also wrong.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 8 Mar 2011

Thank you, richmanfl.

Fixed error in the following mysql query INSERT INTO `sys_privacy_actions` in version 1.0.5 (7.0.5 and Patch 7.0.5).

Updated in the Market.

Quote · 9 Mar 2011

I installed clubs.  Everything looks good - but then when I try to add a club I get a database error  a red screen pops up and I get this email:

 

Mysql error: 

Found error in the file '/home/happye/public_html/community/inc/classes/BxDolForm.php' at line 196.
Called 'db_res' function with erroneous argument #0.
.....................................................

 


Quote · 10 Mar 2011

Thank you, ddesiree2003!

A missing table found... URL, how can I overlooked that. My bad!

Updated in the Market.

Quote · 10 Mar 2011

Houstonlively,

I have installed this on 7.0.3 and 7.0.4 with no issues... and sites had been upgraded to .05, and no issue, but doing this same install for a fresh 7.0.5 caused the error..... so I am not sure why the issues, but will retry.  Has been working fine on other implementations.

@Audanbal - Why the changes in the install from my 7.0.4 to 7.0.5? was working fine... I will retry again.

 

 

I am running 7.0.5 and

Cannot get CLUBS module to install when I try, I get the following message:

FAILED

there are errors in the following mysql query

I used the most recent download and the 7.0.5 folder in the .zip file.. the version is 1.0.5 according to the site

INSERT INTO `sys_privacy_actions` (`module_uri`, `name`, `title`, `default_club`) VALUES('clubs', 'view_club', '_bx_clubs_privacy_view_club', '3'),('clubs', 'view_fans', '_bx_clubs_privacy_view_fans', '3'),('clubs', 'comment', '_bx_clubs_privacy_comment', 'f'),('clubs', 'rate', '_bx_clubs_privacy_rate', 'f'),('clubs', 'post_in_forum', '_bx_clubs_privacy_post_in_forum', 'f'),('clubs', 'join', '_bx_clubs_privacy_join', '3'),('clubs', 'upload_photos', '_bx_clubs_privacy_upload_photos', 'a'),('clubs', 'upload_videos', '_bx_clubs_privacy_upload_videos', 'a'),('clubs', 'upload_sounds', '_bx_clubs_privacy_upload_sounds', 'a'),('clubs', 'upload_files', '_bx_clubs_privacy_upload_files', 'a');

INSERT INTO `sys_privacy_actions` (`module_uri`, `name`, `title`, `default_club`) VALUES

The text in red should be 'group' instead of 'club', because this field has to do with privacy settings, and has nothing to do with the name of the module.

It's obvious that the author just threw this version together without testing to see if it even installed, because there's no way it can install with the sql as-is.

If I were you, I'd ditch this module until the author takes the time to check it.  I'd also look at the install sql file and see if the installer created any tables in your database, or if it added entries to existing tables.  If it did, you'll have to surgically remove all of them, because you won't be able run the uninstaller.

You may have some damage control to do here.  I would NOT correct the sql query and attempt to reinstall.  If the installer has a flagrant error like this, who knows what else is also wrong.

 

Even Monkeys and Retards get it right with repitition! - Author Unknown
Quote · 10 Mar 2011

1.

Error: INSERT INTO `sys_privacy_actions` (`module_uri`, `name`, `title`, `default_club`) VALUES

Fixed: INSERT INTO `sys_privacy_actions` (`module_uri`, `name`, `title`, `default_group`) VALUES

 

2.

Missing: `url` varchar(255) NOT NULL default 'http://',

CREATE TABLE IF NOT EXISTS `[db_prefix]main` (

`id` int(10) unsigned NOT NULL auto_increment,

`title` varchar(100) NOT NULL default '',

`uri` varchar(255) NOT NULL,

`desc` text NOT NULL,

`url` varchar(255) NOT NULL default 'http://',

Quote · 10 Mar 2011

7.0.6 Updated. Enjoy!

Quote · 25 Mar 2011

I  installed CLUBS, and get the same. Then I downloaded the most recent version, and did an install after doing your RENAME mod to change to CREWS.

I get the same error and I modified the install file to accommodate the missing URL field.

 

Help!

 

I installed clubs.  Everything looks good - but then when I try to add a club I get a database error  a red screen pops up and I get this email:

 

Mysql error: 

Found error in the file '/home/happye/public_html/community/inc/classes/BxDolForm.php' at line 196.
Called 'db_res' function with erroneous argument #0.
.....................................................

 


 

Even Monkeys and Retards get it right with repitition! - Author Unknown
Quote · 12 Apr 2011

WOW.... too many hours... and thanks to Audanbal, found the issue with missing the rename functions in the install.php...

DUH! MY BAD!!!!

Even Monkeys and Retards get it right with repitition! - Author Unknown
Quote · 13 Apr 2011

is there any way I can install the Clubs module without installing Files, Sound and Video Modules?

Quote · 13 May 2011

How to make URL hyperlink?

This applies for those who already installed Clubs Module and it works for Rename "Clubs" Module as well.

Here's a tutorial on how to in the attachment.

hyperlink.txt · 2.4K · 287 downloads
Quote · 9 Jun 2011

Is there a way to sort the clubs instead of it just listing as most recent? Just would like the displayed clubs to be in alphabetical order instead of most recent.

Quote · 14 Jun 2011

A person has reported some icons "missing". Here's a fix...

Dolphin Admin Panel> Builders> Navigation Menu> Clubs

Picture and Icon, change club to group.

Quote · 18 Mar 2013

Demo was down for the time being is now back.

Quote · 1 Nov 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.