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

open hideaway.php

Find
Code:
 
// Throw the whole mess in the database.
$db->query_write("INSERT INTO ".TABLE_PREFIX."usergroup (title,usertitle,showinlist,ispublicgroup) VALUES ('$title','$usertitle',$showinlist,$ispublicgroup)");
Replace with
Code:
// Throw the whole mess in the database.
$db->query_write("INSERT INTO ".TABLE_PREFIX."usergroup (title,usertitle,ispublicgroup) VALUES ('$title','$usertitle',$ispublicgroup)");
Reply With Quote
  #23  
Old 07-21-2005, 07:25 AM
john1744 john1744 is offline
 
Join Date: Apr 2005
Posts: 268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

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.
Reply With Quote
  #25  
Old 07-21-2005, 08:00 AM
john1744 john1744 is offline
 
Join Date: Apr 2005
Posts: 268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #26  
Old 07-21-2005, 08:11 AM
john1744 john1744 is offline
 
Join Date: Apr 2005
Posts: 268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #27  
Old 07-21-2005, 02:26 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 john1744
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.
Users can only access the forum if they have joined the usergroup. Hence the term hideaway.
Reply With Quote
  #28  
Old 07-21-2005, 03:05 PM
john1744 john1744 is offline
 
Join Date: Apr 2005
Posts: 268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

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.
Reply With Quote
  #30  
Old 07-21-2005, 03:37 PM
john1744 john1744 is offline
 
Join Date: Apr 2005
Posts: 268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That worked fine Amy, and thank you for the help. I will take your advice.
Reply With Quote
  #31  
Old 07-25-2005, 09:25 AM
Benj's Avatar
Benj Benj is offline
 
Join Date: May 2006
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyway to make these forums publicly viewable but, only invited users can post?
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:22 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.12378 seconds
  • Memory Usage 2,307KB
  • 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_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
  • (4)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