Version: 1.00, by amykhar
Developer Last Online: Nov 2013
Version: 3.5.4
Rating:
Released: 07-16-2005
Last Update: 05-21-2006
Installs: 28
Template Edits
Additional Files
No support by the author.
This extension lets you allow certain usergroups to create a private forum and an associated public usergroup. There are no queries to run, and you only need to change the parentid of the forums in hideaway.php before you upload it.
Access to the hideaway is denied to anybody except admins and the associated public user group.
The member who creates the forum becomes the usergroup leader and the forum moderator.
Users are responsible to advertise their own forum. No invite link is created. This is not automated. Users can either post an invitation to join their hideaway in some other forum on your site, or they can pm people to invite them. It's up to you on establishing the rules of hideaway promotion.
Users can edit their hideaway descriptions, but not the style or the forum title. The style can not be changed to ensure that we don't run into licensing issus. The title can not be changed because I use it to identify the forum for editing purposes.
The hideaway usergroups permissions are based on the registered user group's permissions. You can change what group their permissions are based off of within the code.
-----------------
FEATURES I WILL NOT ADD:
The ability for people to have more than one hideaway.
The ability for hideaway owners to create a new style for their forum.
The ability for hideaway owners to change the forum title.
The ability for hideaway owners to change any forum permissions.
-------------
This hack will always be free, however your donations are kindly accepted and will help towards further development. If you donate, please leave me some info (either your forum site or username at vB.org) so that I can thank you.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
okay it worked once and i have not edited anything since i created my hideaway....now its reverted somehow and i can't create my hideaway again....and i get the error i had b4 line 758 one and wow this sucks!!!
worked great once but then it disappeared after i followed the link. i don't understand how this is happening....i am jinxed i swear to god.
wait could it be because i deleted the link for the forum?
oh i figured it out...when i set up the forum id to create the hideaways i created a link to them but that didn't work so i deleted it unfortunately it was the parent forum of the hideaways and it deleted them too....darnit!!
This is the first mod i have come across that has no instructions o0
I have tried to figure this out, and seems good, but there is so much room for improvement, like a better userface or something. This would confuse the hell out of my users. Could it be possible for you to make a readme giving installation instructions, as well as a user guide of some sort?
amy, i have been testing fine for about 2 weeks, and i have a question. is there a limit to the number of forums allowed? been working fine and then all of the sudden, i am getting that same error:
PHP Code:
Fatal error: Unable to proceed with save while $errors array is not empty in class vb_datamanager_forum in /includes/class_dm.php on line 758
it creates the usergroup and sets the leader, but then does not create the forum. i checked the hideaway.php file and all the changes I made are still in tact not sure what changed??
OK. I have just discovered an issue that makes this very much an ADVANCED modification. This mod will conflict with other mods, such as the forum statusicon mod and other modifications that impact the forum database table.
If you are getting datamanager errors when it tries to create the forum, this is what's going on. Go lookin in the forumdata_start plugins and see which ones have required variables and adjust your hideaway.php file to set those required variables.
If you are not a coder, I am sorry, but I can only provide compatibility fixes as a premium service. I'm going to leave the code here because many of you do not use conflicting modifications and others of you can modify the php.
I've got it set up on a test forum, but for some reason the new usergroups aren't being given permission to even view the new forum.
So user 11 'Dotty' (name changed to protect the innocent) is in a usergroup allowed to create. She makes one, and both the 'Dottyhideaway' group and the 'Dotty's Hideaway Forum' are both successfully created. People can apply to Dotty's group, she can add people. But no one can see or access the forum, even with a direct link (except me, the administrator). When I go in to 'Edit Forum Permissions For Usergroup: Dottyhideaway in Forum Dotty's Hideaway Forum', it's set to all no straight down through the options.
Clearly I've done something wrong along the way if no one else has run into it, but after looking around with some help for a while at the hideaway.php code (stock from the download with the modifications directed in this thread), I'm not seeing where the problem is.
Thanks in advance, and great extensions, Amy. I've flagged a few of yours as features I'd like to go live with on my production site.
have you figured this out wc? amy any ideas? same issues here ..
When a register user try to create a forum, it gives them a "you do not have permission to access this page. This could be due to one of several reasons: etc..." message, but yet still made the forums for then.
I have the "Registered" usergroup set to yes for making forums, so i dont understand why it would give that message.
Please help...
another similar happening here ...
i believe it has something to do with
Code:
// Now, to set up the basic usergroup permissions.
$usergroupid = $db->insert_id();
// I cloned the permissions from the Registered user group.
$usergroupinfo= $db->query_first("SELECT forumpermissions FROM ".TABLE_PREFIX."usergroup where usergroupid=23");
$db->query_write("UPDATE ".TABLE_PREFIX."usergroup set forumpermissions=$usergroupinfo[forumpermissions] where usergroupid=$usergroupid");
Im trying to clone/replicate user permissions based on usergroup 23, yet its all set to 'NO' in the forum permissions ..
The first thing you need to do when debugging the problem is to look at the $usergroupinfo array and make sure it's not empty.
Also, make sure that it's getting the right usergroupid when it inserts it.
Commenting out the database inserts and putting in print statements for debugging should help you figure out why it's failing with your changes in place.