Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

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
  #12  
Old 07-20-2005, 07:25 PM
aethro's Avatar
aethro aethro is offline
 
Join Date: Jul 2005
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

I love it. 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
Reply With Quote
  #14  
Old 07-20-2005, 07:31 PM
aethro's Avatar
aethro aethro is offline
 
Join Date: Jul 2005
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

woo hoo! First one to notice somethin! :P Thanks that worked nicely!
Reply With Quote
  #15  
Old 07-20-2005, 07:33 PM
aethro's Avatar
aethro aethro is offline
 
Join Date: Jul 2005
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Hmm. That must be from an old hack? Let me go look at a couple of things. BRB.

Amy
Reply With Quote
  #17  
Old 07-20-2005, 07:50 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For now, change that line to

Code:
$db->query_write("INSERT INTO ".TABLE_PREFIX."usergroup (title,usertitle,ispublicgroup) VALUES ('$title','$usertitle',$ispublicgroup)");
Reply With Quote
  #18  
Old 07-20-2005, 07:54 PM
aethro's Avatar
aethro aethro is offline
 
Join Date: Jul 2005
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep that works thanks!
Reply With Quote
  #19  
Old 07-21-2005, 05:07 AM
john1744 john1744 is offline
 
Join Date: Apr 2005
Posts: 268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #20  
Old 07-21-2005, 05:32 AM
aethro's Avatar
aethro aethro is offline
 
Join Date: Jul 2005
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Read https://vborg.vbsupport.ru/showpost....9&postcount=12
Reply With Quote
  #21  
Old 07-21-2005, 06:31 AM
john1744 john1744 is offline
 
Join Date: Apr 2005
Posts: 268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
$db->query_write("INSERT INTO ".TABLE_PREFIX."usergroup (title,usertitle,ispublicgroup) VALUES ('$title','$usertitle',$ispublicgroup)"); 
Reply With Quote
Reply


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 03:09 PM.


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.05845 seconds
  • Memory Usage 2,308KB
  • 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
  • (2)bbcode_code
  • (1)bbcode_php
  • (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