![]() |
Hideaways
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. :) https://vborg.vbsupport.ru/external/2010/02/12.gif |
Looks like another great addon amy, I'll be testing it on my local. Thanks for the work :)
|
Oh man! This could be exactly what I am looking for in order to let people create 'Private Events' that they then invite people to...
I wonder if it can be applied to the calendar... |
Holy crap, Amy this is exactly one of the features I was wanting. *Prepares to install*
|
Sounds to me like the old advanced Superforum hack which was really great but banned from Jelsoft.
The author got much trouble and was not allowed to work on it anymore. I do not hope that this hack allows some kind of hosting cause then this is against Jelsofts copyright. I want to see a hack like this and hope that no one will ban this one also :tired: |
Great hack amy :)
Satan |
Quote:
Amy |
I think you've posted in the wrong thread Brinnie. What you've posted has nothing to do with allowing users to create private forums. Also, I can tell from your postbit in this thread that you haven't clicked the install button; so I must assume you don't have this mod installed on your site.
|
oh this is exactly what I needed for my forums, great hack :D
[high]* aethro clicks install.[/high] |
Glad you like it :)
|
Actually i've hit a snag :(
I followed the instructions and when I try to edit the permissions for usergroups it spouts out the following mysql error: MySQL Error : Unknown column 'hideawaypermissions' in 'field list' Error Number : 1054 |
I love it. :D 8 installs and you're the first one to notice I forgot to put the query in the install file.
Run this query: Code:
ALTER TABLE usergroup ADD hideawaypermissions INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL |
woo hoo! First one to notice somethin! :P Thanks that worked nicely! :D
|
COURSE after I speak lol
Invalid SQL: INSERT INTO usergroup (title,usertitle,showinlist,ispublicgroup) VALUES ('PaulForum Group','Registered Member',0,1); MySQL Error : Unknown column 'showinlist' in 'field list' Error Number : 1054 Guess theirs more queries :P |
Hmm. That must be from an old hack? Let me go look at a couple of things. BRB.
Amy |
For now, change that line to
Code:
$db->query_write("INSERT INTO ".TABLE_PREFIX."usergroup (title,usertitle,ispublicgroup) VALUES ('$title','$usertitle',$ispublicgroup)"); |
Yep that works thanks! :D
|
Invalid SQL:
UPDATE usergroup SET ### UPDATE QUERY GENERATED BY fetch_query_sql() ### `title` = 'Administrators', `description` = '', `usertitle` = 'Administrator', `opentag` = '', `closetag` = '', `passwordexpires` = '180', `passwordhistory` = '360', `hideawaypermissions` = '1', `forumpermissions` = '1048575', `attachlimit` = '0', `pmquota` = '500', `pmpermissions` = '3', `pmsendmax` = '0', `calendarpermissions` = '63', `wolpermissions` = '31', `adminpermissions` = '3', `genericpermissions` = '205520831', `genericoptions` = '31', `profilepicmaxwidth` = '1000', `profilepicmaxheight` = '1000', `profilepicmaxsize` = '65535000', `avatarmaxwidth` = '800', `avatarmaxheight` = '800', `avatarmaxsize` = '2000000' WHERE usergroupid=6; MySQL Error : Unknown column 'hideawaypermissions' in 'field list' Error Number : 1054 Date : Thursday, July 21st 2005 @ 02:06:37 AM I keep getting this error |
|
Ok, now i have the same issue as that second error you posted, but Amy says to change that line, what line is she referring to?
PHP Code:
|
open hideaway.php
Find Code:
Code:
// Throw the whole mess in the database. |
Thanks that worked fine.
Is there anyway that it could be made that the user could not see the forum, until they visit it? Then once they post in the forum/visit it, the hideaway would appear on the main category page? Its kinda hard to see what forums you belong to (as a regular user) if they do not appear on the forum listing. |
It should show up for those that are in that usergroup and admins. If you are not apart of the usergroup, you wont see it.
|
Huh, well I created a Hideaway with my admin account, then used a test account to access the forum, well I posted in the Hideaway with the test account but when I returned to the forum listings page, the Hideaway was not listed.
Also the test account is not listed as part of the Admin's Hideaway Usergroup. Is this an error? Or does the user need to do something to "join" the hideaway? BTW thanks for all the help. |
huh disregard that last post, it seems users cannot just access the forum. It gives all users the "Insufficient privelages" when they click the link to the hideaway of mine.
|
Quote:
|
How woudl a user go about joining the usergroup? I mean I know there are ways for someone to join a public usergroup, but where is this? Is there a link that says, "Join this Hideaway usergroup?"
Sorry I'm not having luck with your hacks Amy. |
John, the usergroups are like any other public user group and are joined the same way. In your usercp there is a link called member groups.
Also, until you are a bit more experienced with Vbulletin, you should install only one hack at a time. Let it run a day or so and make sure you don't have issues. That way, you don't end up with compounded errors that can't be narrowed down easily. |
That worked fine Amy, and thank you for the help. I will take your advice.
|
anyway to make these forums publicly viewable but, only invited users can post?
|
Yes. But, I don't have time to do it for you at this point. If you don't read code, you are going to have to rely on the kindness of strangers and hope somebody else wants that change and posts it for you.
Amy |
ok i cant read code so anyone:D
|
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. :) |
I installed the mod and it seems to work. However, when somebody who already has a Hideaway forum clicks the "Create" link, it gives them an error that says:
Code:
Could not find phrase 'hideaway_exists'. |
It has to be in the right phrase group.
|
It is in the "Permissions" group. What group is it supposed to be in?
|
When I wrote it, it worked in Permissions. Not sure where it needs to be since the upgrade and haven't had time to play with it. Won't have time to play with it for a while, either.
|
Argh!! sorry to hear that. It is such a great mod. But this error causes problems. Maybe it should be pulled from the release list until it is working properly.
|
Yes this is a great mod, specially for your paid members, i hope that phrase issue is resolved soon :)
|
anyone know how to create if conditions for this, so if they haven't created their private forum yet the edit private forum link doesn't show, and if they have created it, the creat private forum link doesn't show???
Thanks :) |
All times are GMT. The time now is 06:22 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|