Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Hideaways Details »»
Hideaways
Version: 1.00, by amykhar amykhar is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

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.

Comments
  #102  
Old 04-10-2006, 03:43 PM
Tyegurl's Avatar
Tyegurl Tyegurl is offline
 
Join Date: Mar 2006
Location: NY
Posts: 480
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!!
Reply With Quote
  #103  
Old 04-10-2006, 09:59 PM
Replicators's Avatar
Replicators Replicators is offline
 
Join Date: Jul 2005
Location: Jamestown, NY
Posts: 344
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #104  
Old 04-10-2006, 10:34 PM
Tyegurl's Avatar
Tyegurl Tyegurl is offline
 
Join Date: Mar 2006
Location: NY
Posts: 480
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by amykhar
There was an install text file and I lost it somehow during the upgrade. I just haven't had time to rewrite the thing.

lol

just a few posts up should help you immensely if you are confused! i had problems too...LOTS
Reply With Quote
  #105  
Old 04-29-2006, 02:53 PM
djsydeburnz djsydeburnz is offline
 
Join Date: May 2005
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 errorUnable 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??
Reply With Quote
  #106  
Old 05-18-2006, 10:39 AM
harry1951 harry1951 is offline
 
Join Date: May 2005
Location: Alkmaar (Cheesetown)
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by amykhar
There was an install text file and I lost it somehow during the upgrade. I just haven't had time to rewrite the thing.
I knew that I was having it somewhere and found it on a backup
Reply With Quote
  #107  
Old 05-22-2006, 05:09 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #108  
Old 05-22-2006, 05:10 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by harry1951
I knew that I was having it somewhere and found it on a backup
Thank you
Reply With Quote
  #109  
Old 05-23-2006, 05:17 PM
LBSources LBSources is offline
 
Join Date: Nov 2005
Location: New York
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wcbryant
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 ..
Reply With Quote
  #110  
Old 05-23-2006, 05:27 PM
LBSources LBSources is offline
 
Join Date: Nov 2005
Location: New York
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nexus851
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 ..

any ideas?
Reply With Quote
  #111  
Old 05-23-2006, 05:34 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:37 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05664 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete