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
  #482  
Old 06-27-2008, 11:19 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, I need to correct that. however, when I update the settings, I get this error:
PHP Code:
Database error in vBulletin 3.7.1:

Invalid SQL:
UPDATE vb_usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
    
`title` = 'Gold member',
    `
description` = '',
    `
usertitle` = '',
    `
opentag` = '',
    `
closetag` = '<img src=\"/forum/images/icons/goldmem.gif\" style=\"border:none;\" alt=\"Gold member\" />',
    `
passwordexpires` = '150',
    `
passwordhistory` = '150',
    `
ispublicgroup` = '0',
    `
canoverride` = '0',
    `
pm_search` = '0',
    `
nuwiki_permissions` = '771',
    `
fcpermissions` = '0',
    `
moderatepm_permissions` = '2',
    `
pmquota` = '30',
    `
pmpermissions` = '1',
    `
pmsendmax` = '0',
    `
vbblog_general_permissions` = '126',
    `
vbblog_entry_permissions` = '7804',
    `
vbblog_comment_permissions` = '974',
    `
forumpermissions` = '3928319',
    `
genericpermissions` = '1479022275',
    `
attachlimit` = '0',
    `
calendarpermissions` = '55',
    `
wolpermissions` = '1',
    `
adminpermissions` = '0',
    `
genericpermissions2` = '1',
    `
genericoptions` = '62',
    `
profilepicmaxwidth` = '100',
    `
profilepicmaxheight` = '100',
    `
profilepicmaxsize` = '20000',
    `
avatarmaxwidth` = '80',
    `
avatarmaxheight` = '80',
    `
avatarmaxsize` = '20000',
    `
signaturepermissions` = '136223',
    `
sigpicmaxwidth` = '500',
    `
sigpicmaxheight` = '100',
    `
sigpicmaxsize` = '20000',
    `
sigmaxrawchars` = '500',
    `
sigmaxchars` = '500',
    `
sigmaxlines` = '0',
    `
sigmaxsizebbcode` = '7',
    `
sigmaximages` = '30',
    `
albumpermissions` = '239',
    `
albumpicmaxwidth` = '600',
    `
albumpicmaxheight` = '600',
    `
albumpicmaxsize` = '100000',
    `
albummaxpics` = '100',
    `
albummaxsize` = '0',
    `
usercsspermissions` = '31',
    `
visitormessagepermissions` = '55',
    `
socialgrouppermissions` = '371',
    `
sf_permissions` = '7'
WHERE usergroupid=14;

MySQL Error   Unknown column 'fcpermissions' in 'field list'
Error Number  1054
Request Date  
SaturdayJune 28th 2008 02:16:55 AM
Error Date    
SaturdayJune 28th 2008 02:16:55 AM
Script        
http://www.mysite.com/forum/admincp/usergroup.php?do=update
Referrer      http://www.mysite.com/forum/admincp/usergroup.php?do=edit&usergroupid=14
IP Address    xxx
Username      
Alfa1
Classname     
vB_Database
MySQL Version 
5.0.45 
Reply With Quote
  #483  
Old 06-28-2008, 05:33 AM
YuOr YuOr is offline
 
Join Date: Jun 2008
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great product! Installed!
Although i am having a problem - i am trying to change group options to Users must join to view the content
And i get this message
Invalid Title Specified
I am not sure if it's connected to this mod or it was there before, but can you please help me???
Reply With Quote
  #484  
Old 06-28-2008, 08:10 AM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post
No, I need to correct that. however, when I update the settings, I get this error:
PHP Code:
Database error in vBulletin 3.7.1:

Invalid SQL:
UPDATE vb_usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
    
`title` = 'Gold member',
    `
description` = '',
    `
usertitle` = '',
    `
opentag` = '',
    `
closetag` = '<img src=\"/forum/images/icons/goldmem.gif\" style=\"border:none;\" alt=\"Gold member\" />',
    `
passwordexpires` = '150',
    `
passwordhistory` = '150',
    `
ispublicgroup` = '0',
    `
canoverride` = '0',
    `
pm_search` = '0',
    `
nuwiki_permissions` = '771',
    `
fcpermissions` = '0',
    `
moderatepm_permissions` = '2',
    `
pmquota` = '30',
    `
pmpermissions` = '1',
    `
pmsendmax` = '0',
    `
vbblog_general_permissions` = '126',
    `
vbblog_entry_permissions` = '7804',
    `
vbblog_comment_permissions` = '974',
    `
forumpermissions` = '3928319',
    `
genericpermissions` = '1479022275',
    `
attachlimit` = '0',
    `
calendarpermissions` = '55',
    `
wolpermissions` = '1',
    `
adminpermissions` = '0',
    `
genericpermissions2` = '1',
    `
genericoptions` = '62',
    `
profilepicmaxwidth` = '100',
    `
profilepicmaxheight` = '100',
    `
profilepicmaxsize` = '20000',
    `
avatarmaxwidth` = '80',
    `
avatarmaxheight` = '80',
    `
avatarmaxsize` = '20000',
    `
signaturepermissions` = '136223',
    `
sigpicmaxwidth` = '500',
    `
sigpicmaxheight` = '100',
    `
sigpicmaxsize` = '20000',
    `
sigmaxrawchars` = '500',
    `
sigmaxchars` = '500',
    `
sigmaxlines` = '0',
    `
sigmaxsizebbcode` = '7',
    `
sigmaximages` = '30',
    `
albumpermissions` = '239',
    `
albumpicmaxwidth` = '600',
    `
albumpicmaxheight` = '600',
    `
albumpicmaxsize` = '100000',
    `
albummaxpics` = '100',
    `
albummaxsize` = '0',
    `
usercsspermissions` = '31',
    `
visitormessagepermissions` = '55',
    `
socialgrouppermissions` = '371',
    `
sf_permissions` = '7'
WHERE usergroupid=14;

MySQL Error   Unknown column 'fcpermissions' in 'field list'
Error Number  1054
Request Date  
SaturdayJune 28th 2008 02:16:55 AM
Error Date    
SaturdayJune 28th 2008 02:16:55 AM
Script        
http://www.mysite.com/forum/admincp/usergroup.php?do=update
Referrer      http://www.mysite.com/forum/admincp/usergroup.php?do=edit&usergroupid=14
IP Address    xxx
Username      
Alfa1
Classname     
vB_Database
MySQL Version 
5.0.45 
That does not come from SocialForums. Did you had a mod installed that is using "fcpermissions"?


Quote:
Originally Posted by YuOr View Post
Great product! Installed!
Although i am having a problem - i am trying to change group options to Users must join to view the content
And i get this message
Invalid Title Specified
I am not sure if it's connected to this mod or it was there before, but can you please help me???
Check the title of the group.
Reply With Quote
  #485  
Old 06-28-2008, 08:58 AM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah, I know what it is. It's that damn FlashChat again.
Reply With Quote
  #486  
Old 06-28-2008, 09:26 AM
Smiry Kin's's Avatar
Smiry Kin's Smiry Kin's is offline
 
Join Date: Dec 2005
Location: United Kingdom!
Posts: 954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by globofan View Post
I have VbSEO so when someone makes a forum the same name as a board, it takes them to my board instead, can someone tell me how to aviod this? Like some how adding the prefix groups? PM me if you can. thanks
simply put all the forums in a catagory..

e.g make a category "Social Forums" - much easier.
Reply With Quote
  #487  
Old 06-28-2008, 10:15 AM
RvG2 RvG2 is offline
 
Join Date: Jan 2007
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

dear marius, I would like to truncate the messages from the forum board so it will cut long messages and keep the social page tidy...

is this possible?
Reply With Quote
  #488  
Old 06-28-2008, 12:13 PM
YuOr YuOr is offline
 
Join Date: Jun 2008
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Phalynx View Post

Check the title of the group.
What do you mean? Is there any restrictions? I login, go to User CP > Social Groups> "my group">edit group


Thank you!
Reply With Quote
  #489  
Old 06-30-2008, 09:11 AM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RvG2 View Post
dear marius, I would like to truncate the messages from the forum board so it will cut long messages and keep the social page tidy...

is this possible?
That is already on my todo list.

Quote:
Originally Posted by YuOr View Post
What do you mean? Is there any restrictions? I login, go to User CP > Social Groups> "my group">edit group
The sg's name is beeing synced with the forums's name. Sometimes you cannot use sg's title as a name for the forum. I don't know exactly why.
Reply With Quote
  #490  
Old 06-30-2008, 01:13 PM
YuOr YuOr is offline
 
Join Date: Jun 2008
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Phalynx View Post


The sg's name is beeing synced with the forums's name. Sometimes you cannot use sg's title as a name for the forum. I don't know exactly why.
ok, i created another group and was able to change the settings to private invitation only group.

BUT when i logout and login using other user's name - i can see the group's name and message 'You need to be a member of this group to view its contents'. I also see a link to this group's forum, and when i go there i can see all threads and also can start threads
Please help
Reply With Quote
  #491  
Old 06-30-2008, 01:24 PM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check usergroup permissions.
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 02:18 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.05796 seconds
  • Memory Usage 2,377KB
  • 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_php
  • (7)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
  • (2)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_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