Clubs Module

I want to leave Groups intact and create another module called Clubs. I copied Groups Module and renamed everything.

Installation of: Clubs Failed

-- Changing database:

-- -- There are errors in the following MySQL queries:

-- -- Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO `sys_objects_actions` (`Caption`, `Icon`, `Url`, `Script`, `Eval`, `' at line 1

INSERT INTO `sys_categories` (`Category`, `ID`, `Type`, `Owner`, `Status`) VALUES

('Clubs', '0', 'bx_photos', '0', 'active'),

('Social Clubs', '0', 'bx_clubs', '0', 'active'),

('Sports Clubs', '0', 'bx_clubs', '0', 'active'),

INSERT INTO `sys_objects_actions` (`Caption`, `Icon`, `Url`, `Script`, `Eval`, `Order`, `Type`) VALUES

('{TitleEdit}', 'modules/boonex/clubs/|edit.png', '{evalResult}', '', '$oC alt= $GLOBALS[''oBxClubsModule'']->_oConfig; return  BX_DOL_URL_ROOT . $oConfig->getBaseUri() . ''edit/{ID}'';', '0', 'bx_clubs'),

('{TitleDelete}', 'modules/boonex/clubs/|action_block.png', '', 'getHtmlData( ''ajaxy_popup_result_div_{ID}'', ''{evalResult}'', false, ''post'');return false;', '$oC alt= $GLOBALS[''oBxClubsModule'']->_oConfig; return  BX_DOL_URL_ROOT . $oConfig->getBaseUri() . ''delete/{ID}'';', '1', 'bx_clubs'),

('{TitleShare}', 'modules/boonex/clubs/|action_share.png', '', 'showPopupAnyHtml (''{BaseUri}share_popup/{ID}'');', '', '2', 'bx_clubs'),

('{TitleBroadcast}', 'modules/boonex/clubs/|action_broadcast.png', '{BaseUri}broadcast/{ID}', '', '', '3', 'bx_clubs'),

('{TitleJoin}', 'modules/boonex/clubs/|user_add.png', '', 'getHtmlData( ''ajaxy_popup_result_div_{ID}'', ''{evalResult}'', false, ''post'');return false;', '$oC alt= $GLOBALS[''oBxClubsModule'']->_oConfig; return BX_DOL_URL_ROOT . $oConfig->getBaseUri() . ''join/{ID}/{iViewer}'';', '4', 'bx_clubs'),

('{TitleInvite}', 'modules/boonex/clubs/|club_add.png', '{evalResult}', '', '$oC alt= $GLOBALS[''oBxClubsModule'']->_oConfig; return BX_DOL_URL_ROOT . $oConfig->getBaseUri() . ''invite/{ID}'';', '5', 'bx_clubs'),

('{AddToFeatured}', 'modules/boonex/clubs/|star__plus.png', '', 'getHtmlData( ''ajaxy_popup_result_div_{ID}'', ''{evalResult}'', false, ''post'');return false;', '$oC alt= $GLOBALS[''oBxClubsModule'']->_oConfig; return BX_DOL_URL_ROOT . $oConfig->getBaseUri() . ''mark_featured/{ID}'';', '6', 'bx_clubs'),

('{TitleManageFans}', 'modules/boonex/clubs/|action_manage_fans.png', '', 'showPopupAnyHtml (''{BaseUri}manage_fans_popup/{ID}'');', '', '8', 'bx_clubs'),

('{TitleUploadPhotos}', 'modules/boonex/clubs/|action_upload_photos.png', '{BaseUri}upload_photos/{URI}', '', '', '9', 'bx_clubs'),

('{TitleUploadVideos}', 'modules/boonex/clubs/|action_upload_videos.png', '{BaseUri}upload_videos/{URI}', '', '', '10', 'bx_clubs'),

('{TitleUploadSounds}', 'modules/boonex/clubs/|action_upload_sounds.png', '{BaseUri}upload_sounds/{URI}', '', '', '11', 'bx_clubs'),

('{TitleUploadFiles}', 'modules/boonex/clubs/|action_upload_files.png', '{BaseUri}upload_files/{URI}', '', '', '12', 'bx_clubs'),

('{TitleSubscribe}', 'action_subscribe.png', '', '{ScriptSubscribe}', '', '13', 'bx_clubs'),

('{evalResult}', 'modules/boonex/clubs/|club_create.png', '{BaseUri}browse/my&bx_clubs_filter=add_club', '', 'return $GLOBALS[''logged''][''member''] || $GLOBALS[''logged''][''admin''] ? _t(''_bx_clubs_action_add_club'') : '''';', '1', 'bx_clubs_title'),

('{evalResult}', 'modules/boonex/clubs/|clubs.png', '{BaseUri}browse/my', '', 'return $GLOBALS[''logged''][''member''] || $GLOBALS[''logged''][''admin''] ? _t(''_bx_clubs_action_my_clubs'') : '''';', '2', 'bx_clubs_title'),

('{evalResult}', 'modules/boonex/clubs/|clubs.png', '{BaseUri}', '', 'return $GLOBALS[''logged''][''member''] || $GLOBALS[''logged''][''admin''] ? _t(''_bx_clubs_action_clubs_home'') : '''';', '2', 'bx_clubs_title');

Your help is greatly appreciated.

Quote · 13 May 2010

You missed a semi-colon :

Find this line :

('Sports Clubs', '0', 'bx_clubs', '0', 'active'),

Replace with :

('Sports Clubs', '0', 'bx_clubs', '0', 'active');

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 13 May 2010

Bloody hell, I overlooked that! Thank you. It is now successful.

Quote · 13 May 2010

Damn great idea. I run a dog site...and for members to have thier clubs listed and members joining will be a great asset to my site.

 

So if I do the same, copy the groups module over and rename all references to groups to clubs and then install the database entries below, should it also work for my site?

 

Is there anything else that needs to be done?

Quote · 14 May 2010

 

Is there anything else that needs to be done?

 Nope

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 14 May 2010

Well, Bugger me! That was slick as hell...

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 14 May 2010

I have submitted this in the Market. Gimme moolah. Gimme moolah. No, wait... it's free!!!

http://www.boonex.com/unity/extensions/entry/Clubs_Module

Quote · 14 May 2010

Hi, I have just installed your 'modded' Clubs group. Installation was a breeze!

In less than five minutes I had this up and working! many thanks for that, excellent! Check it out: www.asia-connect-th.com

Stuart

I have submitted this in the Market. Gimme moolah. Gimme moolah. No, wait... it's free!!!

http://www.boonex.com/unity/extensions/entry/Clubs_Module

There are none so blind as those that will not see.
Quote · 14 May 2010

Hello, maybe should be easy if you will change only all lang keys :)

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 14 May 2010

Hi, I have just installed your 'modded' Clubs group. Installation was a breeze!

In less than five minutes I had this up and working! many thanks for that, excellent! Check it out: www.asia-connect-th.com

Stuart

I have submitted this in the Market. Gimme moolah. Gimme moolah. No, wait... it's free!!!

http://www.boonex.com/unity/extensions/entry/Clubs_Module

I get an error -

Fatal error: Call to undefined method BxClubsDb::isClubAdmin() in /home/admin/domains/asia-connect-th.com/public_html/modules/boonex/clubs/classes/BxClubsModule.php on line 694

Dolphin - Ajax Masturbation
Quote · 14 May 2010

@Stuart038

Please re-download. I have updated it. For you, just overwrite BxClubsModule.php in /modules/boonex/clubs/classes/

@DeeEmm

Thanks for the heads up!

Quote · 14 May 2010

I have submitted this in the Market. Gimme moolah. Gimme moolah. No, wait... it's free!!!

http://www.boonex.com/unity/extensions/entry/Clubs_Module

There's a problem with my Market, after clicking edit post... this is what I get.

Warning: DOMDocument::loadXML() [function.DOMDocument-loadXML]: xmlParseEntityRef: no name in Entity, line: 93 in/home/boonex/public_html/unity/system/classes/BxXslTransform.php5 on line 66

I have stopped "Selling" and created new Market again.

http://www.boonex.com/unity/extensions/entry/Clubs_Module_2010_05_14

Quote · 14 May 2010

I have submitted this in the Market. Gimme moolah. Gimme moolah. No, wait... it's free!!!

http://www.boonex.com/unity/extensions/entry/Clubs_Module

There's a problem with my Market, after clicking edit post... this is what I get.

Warning: DOMDocument::loadXML() [function.DOMDocument-loadXML]: xmlParseEntityRef: no name in Entity, line: 93 in/home/boonex/public_html/unity/system/classes/BxXslTransform.php5 on line 66

I have stopped "Selling" and created new Market again. BTW, now 7.0.0 compatible included.

http://www.boonex.com/unity/extensions/entry/Clubs_Module_2010_05_14



LOL. You too. I have the same problem with my Deanos Tools Module. Until it is fixed i can't release a update.

I messaged my agent here twice in the last 2 weeks about it, and even sent email. No responce and no fix. So good luck getting it fixed.

I may end up having to turn off the download on it, and open a new market post if this goes on for to long.

https://www.deanbassett.com
Quote · 14 May 2010

@deano - Does that mean we should uninstall your tools module in Admin for the time being?  Is the error occurring all releases or just the latest?  Would uninstalling it affect anything we changed or created with it?  Thanks.

Someday, Someway.
Quote · 14 May 2010

Two weeks and nothing? Come on, Boonex! I wouldn't wait, nobody likes waiting room either unless there's Microsoft Surface or Sony AtracTable! Wink

I suggest creating a new market again like I did.

Quote · 14 May 2010

@deano - Does that mean we should uninstall your tools module in Admin for the time being?  Is the error occurring all releases or just the latest?  Would uninstalling it affect anything we changed or created with it?  Thanks.

No. You misunderstood. The error is here with the market when trying to edit the market post to provide an updated version.

So there is nothing wrong. We are referring to an error here at boonex with the market.

https://www.deanbassett.com
Quote · 14 May 2010

Two weeks and nothing? Come on, Boonex! I wouldn't wait, nobody likes waiting room either unless there's Microsoft Surface or Sony AtracTable! Wink

I suggest creating a new market again like I did.

Yea, i could, but i have all those reviews in there i don't want to loose. I would prefer they fix it.

https://www.deanbassett.com
Quote · 14 May 2010

I hear ya... I had one review and 11 points in the first market. *sigh* Good news, I can resume anytime but still!

Quote · 14 May 2010

@deano - Thanks for clarifying.  I see it now.  For some reason, brain fog I guess, I thought you were referring to it affecting a site's store.

Someday, Someway.
Quote · 14 May 2010

Audanbal, I get 'Page was not found' in Clubs 'Main' together with some other pages, am I missing something?

This is what I get in the url bar: /m/clubs/view/{bx_clubs_view_uri}

Do I need to create a language key?

Stuart

www.asia-connect-th.com

There are none so blind as those that will not see.
Quote · 15 May 2010

Have tried 7.0.0 and failed, I seen different scripts and I'm not going to bother with this version. Because obviously it was messy and fixed in 7.0.1.

If you refused to update to 7.0.1, then you're out of luck. I will try to maintain in later versions... 7.02, 7.1, etc.

Quote · 15 May 2010

Audanbal, I get 'Page was not found' in Clubs 'Main' together with some other pages, am I missing something?

This is what I get in the url bar: /m/clubs/view/{bx_clubs_view_uri}

Do I need to create a language key?

Stuart

www.asia-connect-th.com

I checked your site and I saw that. I don't know how or why. It is very odd, because I have tested on mine and ran just fine. There is no need for language key at all. I have suggested you in the mail to uninstall, delete clubs folder, clean db and clean all. Re-download and pray it'll work this time. Keep me post.

Quote · 15 May 2010

My site deals with Nightclubs and I think this would work perfect for it instead of what I was considering which was to just ad clubs as profiles, but this would allow me to feature certain clubs, etc. I assume it allows me to show recently added clubs, featured clubs, etc on the home page?

I also read you said it does not work for 7.0. I have not applied the 7.01 patch because of all the complaints out there and currently my 7.0 is running fine so I do not want to screw that up. any ideas why it will not work for 7.0?

I have to give you a big gold star for sharing this mod with us instead of running to the market to make money off of it. It's this kind of attitude this community needs more of. Big thanks to all those others out there who have shared info or mods as well. You guys are the best!

 

I would also like to create the same thing for Hotels and Restaurants. Would this be difficult?

 

Ideally I would like them to be called:

  • Bars
  • Hotels
  • Restaurants

 It's as simple as just renaming all instances of "clubs" to the name I want it to be?

Thanks Bro!

Quote · 15 May 2010

Hi, I did as you suggested. Still the same.

Audanbal, I get 'Page was not found' in Clubs 'Main' together with some other pages, am I missing something?

This is what I get in the url bar: /m/clubs/view/{bx_clubs_view_uri}

Do I need to create a language key?

Stuart

www.asia-connect-th.com

I checked your site and I saw that. I don't know how or why. It is very odd, because I have tested on mine and ran just fine. There is no need for language key at all. I have suggested you in the mail to uninstall, delete clubs folder, clean db and clean all. Re-download and pray it'll work this time. Keep me post.

There are none so blind as those that will not see.
Quote · 15 May 2010

@Nitrofish

Yup, you assumed right. Same features as Groups even Homepage.

Groups Module 1.0.0 (Dolphin 7.0.0): Tried, tested and failed. The original 1.0.0 is a mess. Although Groups works fine however it is not multiple-module-friendly. Hence, improvement in 1.0.1. If you try changing 1.0.1 to 1.0.0 and 7.0.1 to 7.0.0, chances are it will not work because the scripts are different.

Quote · 15 May 2010

'Page was not found' in Clubs 'Main' together with some other pages

This is what I get in the url bar: /m/clubs/view/{bx_clubs_view_uri}

My testing site works fine. My default site has the same problem. WTF!?!?

Quote · 15 May 2010

See post : http://www.boonex.com/unity/forums/#topic/Clubs-Module-Teamwork.htm for a suggestion on how to get it working, but I tried it and it still says not found for forums.

I assume the initial SQL Install Query needs to be modified to add additional tables, that is why it is weird that your test site works.

On a side note... Is there a way to create events for Groups? (Clubs) I would think that Groups or Clubs, or Bars or whatever you choose to call it should be able to post events. I do not see that functionality... Am I missing something?

Quote · 16 May 2010

I was looking at Calendar in Clubs and I was like... hmm, there's no way we could add events but my imaginary! It would be awesome to have that included.

Quote · 16 May 2010
 
 
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.