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

Reply
 
Thread Tools
SocialForums 1.4 Details »»
SocialForums 1.4
Version: 1.4.6, by Phalynx Phalynx is offline
Developer Last Online: Nov 2015 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.7.x Rating:
Released: 04-01-2008 Last Update: 10-06-2008 Installs: 470
DB Changes Uses Plugins Auto-Templates
Translations  
No support by the author.

SocialForums for vBulletin 3.7
Created by Marius Czyz aka Phalynx.

This mod will work *ONLY* with vBulletin 3.7 or higher. It will not run on vBulletin 3.6.x due to non existent feature of "social groups".

Support will be only given for people who clicked Mark as INSTALLED.

Description
Not satisfied with vBulletin social groups messaging function? With SocialForums your social group leaders can create a standard forum for their group.
A group leader can only create a forum if the group has at least 5 members - this can be changed via settings. Optionally the group leader can be a moderator of such a social forum.

Permissions
Since 1.3 there are advanced permissions active (Forum and Archive). This includes read/write public and private (moderated/invite only) socialforums and creation of forum. As this needs two additional queries on every page you can disable this.

Demo
None, see screenshots

Installation
This product is fully phrased and uses template hooks. No file changes or manual template edits needed.
1. Upload bitfield_socialforums.xml to existing folder /includes/xml/
2. Upload functions_socialforums.php to existing folder /includes/
3. Fresh Installation: Just import the product. Upgrade: Import the product, allow overwrite. No forums get lost!
4. Check settings, especially for parent forum. Don't forget to set permissions via usergroups!

Troubleshooting
Q: I don't see a link to create a forum. Why?
A: Check permissions for the usergroup, espacially if the user is allowed to create forum.
A: Check if the usergroup meet min users requirement, see AdminCP/Settings/SocialForums.

Q: My users see the forums, but they shouldn't!
A: Check permissions for the usergroup, if the users usergroup is set to "can see".
A: Did you disabled the restriction mode? Enable it.

Todo
- By deleting a group the forum should also be deleted/archived. Currently this has to be done manually.

Known Issues
- On big boards with hundreds of social groups this mod can really impact the performance because of the mass of new created forums. If you still want to use this mod use the "Minimum Members" feature with a higher value. Using the permission check there are additional two queries on every page.

History
1.4.6, 6th October 2008
- Permissions are now also active in Archive

1.4.2, 27th May 2008
- Added: If a group has a linked forum the grouplisting has the last post date and count of postings (with permission check).
- Added: Recent threads in linked forum on group home
- Added: Private groups: Link to forum only shown to members of group
- Changed: Enabled permissions for unregistered usergroup. Unregistered Users are not more explicit denied without a check of it's usergroup

1.3.1, 23th May 2008
- Fixed: Not existing array

1.3.0, 23th May 2008
- Added: Permissions are now active. This includes read/write public and private (moderated/invite only) socialforums and creation of forum. Please check permissions for every usergroup! As this needs two additional queries on every page you can disable this.
- Added: Checks for permission before the creation link will be displayed
- Changed: Default View Age set to "Show all Threads"

1.2.1 8th April 2008:
- Added: Group messaging can be disabled via options (previously: always disabled)

1.2.0 4th April 2008:
- Added: Groupleader can now be moderator of group forum
- Added: Minimum Members that are required for own forum
- Added: Group messaging will be automatically hide for group that has own forum
- Added: Forums are created with more allowances
- Added: By deleting a forum the linked socialgroup get's updated
- Added: Forum's description contains link back to social group
- Added: By changing group's name it synchronize it with the forum's name

1.0/1.1 1st April 2008:
- Initial releases

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #112  
Old 04-06-2008, 02:00 AM
Amit86 Amit86 is offline
 
Join Date: Feb 2008
Location: Israel
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Varsh View Post
Are there enough members in the SG? The default is set to 5 members in the ACP. Check the vBulletin Options.
if u were talking to me, there was more than 5 members in the group
is said NO ACCESS
not tha i need more members
Reply With Quote
  #113  
Old 04-06-2008, 02:07 AM
AWMGolfer AWMGolfer is offline
 
Join Date: Dec 2007
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure if this has been asked but when I disable group messages so that the forum can be used, will those messages be lost or still viewable? Many of my groups currently have lengthy discussions going and I'd hate to lose those if possible. Thanks!!
Reply With Quote
  #114  
Old 04-06-2008, 08:43 AM
Varsh's Avatar
Varsh Varsh is offline
 
Join Date: Aug 2006
Location: UK
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Amit86 View Post
if u were talking to me, there was more than 5 members in the group
is said NO ACCESS
not tha i need more members
Which category are your SG forums pointed to? If they're pointing to "1" and you don't have a category/forum with an ID of "1" then you will get that error, same if you have a category with permissions for a set usergroup.
Reply With Quote
  #115  
Old 04-06-2008, 09:57 AM
Yours Truly Yours Truly is offline
 
Join Date: Feb 2007
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Phalynx View Post
Here are the settings from 1.2:
Code:
$forumdm->set_bitfield('options', 'active', '1');
	$forumdm->set_bitfield('options', 'allowposting', '1');
	$forumdm->set_bitfield('options', 'cancontainthreads', '1');
	$forumdm->set_bitfield('options', 'moderatenewpost', '0');
	$forumdm->set_bitfield('options', 'moderatenewthread', '0');
	$forumdm->set_bitfield('options', 'moderateattach', '0');
	$forumdm->set_bitfield('options', 'allowbbcode', '1');
	$forumdm->set_bitfield('options', 'allowimages', '1');
	$forumdm->set_bitfield('options', 'allowhtml', '1');
	$forumdm->set_bitfield('options', 'allowsmilies', '1');
	$forumdm->set_bitfield('options', 'allowicons', '1');
	$forumdm->set_bitfield('options', 'allowratings', '1');
	$forumdm->set_bitfield('options', 'countposts', '1');
	$forumdm->set_bitfield('options', 'canhavepassword', '1');
	$forumdm->set_bitfield('options', 'indexposts', '1');
	$forumdm->set_bitfield('options', 'styleoverride', '0');
	$forumdm->set_bitfield('options', 'showonforumjump', '0');
	$forumdm->set_bitfield('options', 'prefixrequired', '0');


They can be hide, but for everyone. Direct access only for members of the group. But if someone knows the exact URL of the forum he gain's access.


Please PM me login details as Admin to your site. I need also query permission.



If you get a "Invalid Forum Specified" you should check parent forum setting in AdminCP/Settings/SocialForums


With 1.2 this is not needed anymore. SocialForums 1.2 will be released today.
Thank you
Reply With Quote
  #116  
Old 04-06-2008, 11:43 AM
hrk hrk is offline
 
Join Date: May 2007
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

clicking social group messages(moderated and deleted ) output this error :

Code:
Database error in vBulletin 3.7.0 Beta 4:

Invalid SQL:

			SELECT SQL_CALC_FOUND_ROWS
				groupmessage.*, user.*, groupmessage.ipaddress AS messageipaddress, socialgroup.name
				
				,avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight
				
			
			FROM moderation AS moderation
			INNER JOIN groupmessage AS groupmessage ON (moderation.primaryid = groupmessage.gmid AND type = 'groupmessage')
		
			LEFT JOIN user AS user ON (groupmessage.postuserid = user.userid)
			LEFt JOIN socialgroup AS socialgroup ON (groupmessage.groupid = socialgroup.groupid)
			LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)
			
			
			WHERE 1=1
				AND moderation.dateline >= 1204893707
				
			ORDER BY groupmessage.dateline DESC
			LIMIT 0, 10;

MySQL Error   : Column 'type' in on clause is ambiguous
Error Number  : 1052

Classname     : vb_database
MySQL Version : 4.1.22-standard

UNINstalled for now.
Reply With Quote
  #117  
Old 04-06-2008, 06:01 PM
nerofix nerofix is offline
 
Join Date: Mar 2006
Location: Saarland
Posts: 219
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wonder that nobody else did post it yet, but when a member try to create a group forum, then he or she get the message:

XXX, you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

What could be the reason?

Edit: By the way, it would looks great if the group forum would appears within the group itself.

And why the group message wall goes away?
Reply With Quote
  #118  
Old 04-06-2008, 07:45 PM
jilly jilly is offline
 
Join Date: Jul 2002
Location: central maryland
Posts: 461
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nerofix View Post
I wonder that nobody else did post it yet, but when a member try to create a group forum, then he or she get the message:

XXX, you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
And why the group message wall goes away?
My regular users are getting that too - only admins can make forums in groups right now - and yes, I am also confused as to why the group message wall goes away..
Reply With Quote
  #119  
Old 04-06-2008, 07:46 PM
jilly jilly is offline
 
Join Date: Jul 2002
Location: central maryland
Posts: 461
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xhaiden View Post
Not sure if this has been asked but when I disable group messages so that the forum can be used, will those messages be lost or still viewable? Many of my groups currently have lengthy discussions going and I'd hate to lose those if possible. Thanks!!
Mine disappeared, and I don't know if we will be able to get them back or not - so at this point I would not make the forum unless you don't mind losing the messages..
Reply With Quote
  #120  
Old 04-06-2008, 08:25 PM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xhaiden View Post
Not sure if this has been asked but when I disable group messages so that the forum can be used, will those messages be lost or still viewable? Many of my groups currently have lengthy discussions going and I'd hate to lose those if possible. Thanks!!
Quote:
Originally Posted by jilly View Post
Mine disappeared, and I don't know if we will be able to get them back or not - so at this point I would not make the forum unless you don't mind losing the messages..
Quote:
Originally Posted by nerofix View Post
And why the group message wall goes away?
To avoid double-messaging it has been just disabled, they are simply not shown.
To make one thing clear: This mod does not delete group messages. It disables only the view of them. I will do in the next version a setting if they should be hide.

Quote:
Originally Posted by hrk View Post
clicking social group messages(moderated and deleted ) output this error :
Please be more specific, as I cannot confirm this. SocialForums does not touch messages.


Quote:
Originally Posted by nerofix View Post
I wonder that nobody else did post it yet, but when a member try to create a group forum, then he or she get the message:

XXX, you do not have permission to access this page. This could be due to one of several reasons:

What could be the reason?
Quote:
Originally Posted by jilly View Post
My regular users are getting that too - only admins can make forums in groups right now - and yes, I am also confused as to why the group message wall goes away..
Only Groupleaders can create forum. The link will be hide in next version for non-leaders.


Quote:
Originally Posted by nerofix View Post
Edit: By the way, it would looks great if the group forum would appears within the group itself.
Nice idea, yes. Had that idea also, but it's very difficult to accomplish this.
Reply With Quote
  #121  
Old 04-06-2008, 09:22 PM
jilly jilly is offline
 
Join Date: Jul 2002
Location: central maryland
Posts: 461
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Phalynx View Post
Only Groupleaders can create forum. The link will be hide in next version for non-leaders.
It is my Groupleaders who are getting the 'no permission to access' message.
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 09:36 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
  • Page Generation 0.11683 seconds
  • Memory Usage 2,340KB
  • Queries Executed 27 (?)
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
  • (13)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
  • (3)pagenav_pagelinkrel
  • (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_postinfo_query
  • fetch_postinfo
  • 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