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

Reply
 
Thread Tools
SocialForums for vB3.8 Details »»
SocialForums for vB3.8
Version: 2.1.0, by Phalynx Phalynx is offline
Developer Last Online: Nov 2015 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.x Rating:
Released: 03-03-2009 Last Update: 08-10-2009 Installs: 252
DB Changes Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

SocialForums for vBulletin 3.8

Created by Marius Czyz aka Phalynx.

This mod will work *ONLY* with vBulletin 3.8 or higher. It will not run on vBulletin 3.7. Please use the version for vBulletin 3.7

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.

What about old discussions?
Via AdminCP, SocialForums, you can transfer all discussions and messages to a new forum. No post would be lost.

Permissions
There are advanced permissions (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.
- With activated option to add owner as a moderator the transfering leads to removing all moderators of the linked forum

History
2.1.0, 11th August 2009
- Social Groups without a forum are listed in AdminCP and can be automatically converted with few clicks.
- Fixed errors converting bigger discussions
- Minor changes and fixes

2.0.1, 05th March 2009
- Convert ignores now deleted discussions
- Threads on Groups equipped with mark on new

2.0.0
- First official release for vBulletin 3.8
- Possibility to transfer Social Group Discussion into a real Forum
- New layout for threadlisting, similar to a real threadlist in a forum
- Possibility of a notice in Forums associated with a Social Group
- Discussion/Message counter is showing Thread/Reply counts. Phrase "Discussion" and "Message" cannot be changed to "Thread"/"Reply".
- Transfering a Group to another user updates now also the moderator
- Minor changes and fixes

Download Now

File Type: zip product-socialforums_vb38.zip (103.9 KB, 834 views)

Screenshots

File Type: jpg SF_Link.JPG (13.1 KB, 0 views)
File Type: jpg SF_Linked_Forum.JPG (48.3 KB, 0 views)
File Type: jpg SF_Overview_with_threads.jpg (70.4 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 03-04-2009, 12:07 PM
indie2industry's Avatar
indie2industry indie2industry is offline
 
Join Date: Jan 2008
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will you be making a 2.0 version for VB 3.7.x ??

I have that one installed.
Reply With Quote
  #3  
Old 03-04-2009, 12:10 PM
Redzzand Redzzand is offline
 
Join Date: Jan 2009
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for this!!

Installed...
Reply With Quote
  #4  
Old 03-04-2009, 12:11 PM
blogthea blogthea is offline
 
Join Date: Dec 2007
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome work Phalynx
works great
thank you
Reply With Quote
  #5  
Old 03-04-2009, 12:15 PM
abdelghani68 abdelghani68 is offline
 
Join Date: Oct 2007
Location: France
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks. I have upgrade but there is a problem.

Code:
 
Database error in vBulletin 3.8.1:
Invalid SQL:
SELECT SQL_CALC_FOUND_ROWS socialgroup.*, socialgroup.dateline AS createdate,
    groupicon.thumbnail_width AS iconthumb_width,
    groupicon.thumbnail_height AS iconthumb_height, groupicon.dateline AS icondateline , socialgroup.lastpost, groupread.readtime
    , forum.threadcount, forum.replycount
   FROM vb_socialgroup AS socialgroup
   LEFT JOIN vb_socialgroupicon AS groupicon ON (groupicon.groupid = socialgroup.groupid)
   LEFT JOIN vb_groupread AS groupread
    ON (groupread.groupid = socialgroup.groupid
    AND groupread.userid = 1)
   LEFT JOIN vb_forum ON forum.forumid=socialgroup.forumid
   WHERE socialgroup.creatoruserid = 1
 
   ORDER BY dateline DESC
   LIMIT 0, 1;
MySQL Error   : Unknown column 'forum.threadcount' in 'field list'
Error Number  : 1054
Request Date  : Wednesday, March 4th 2009 @ 03:13:14 PM
Error Date    : Wednesday, March 4th 2009 @ 03:13:15 PM
Script        : http://www.home.fr/forum/group.php
Referrer      : http://www.home.fr/forum/
IP Address    : *********
Username      : *******
Classname     : vB_Database
MySQL Version : 5.0.68-log
thanks
Reply With Quote
  #6  
Old 03-04-2009, 12:25 PM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by indie2industry View Post
Will you be making a 2.0 version for VB 3.7.x ??

I have that one installed.
It cannot be done due to missing/other hooklocations. Also, 3.7 has only messages, no discussions.

Quote:
Originally Posted by abdelghani68 View Post
thanks. I have upgrade but there is a problem.
thanks
Fixed. Please download the ZIP again and import the product XML, overwrite.
Reply With Quote
  #7  
Old 03-04-2009, 12:32 PM
micza micza is offline
 
Join Date: Mar 2007
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've got the Database Error on
...forum/group.php?do=grouplist&cat=1
Reply With Quote
  #8  
Old 03-04-2009, 12:34 PM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Same for you: Please download the ZIP again and import the product XML, overwrite.

Thanks for pointing me to this.
Reply With Quote
  #9  
Old 03-04-2009, 12:34 PM
abdelghani68 abdelghani68 is offline
 
Join Date: Oct 2007
Location: France
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, I have upgrade but there is a new problem :

Code:
Database error in vBulletin 3.8.1:

Invalid SQL:

                SELECT COUNT(*) AS count
                FROM vb_socialgroup AS socialgroup
                LEFT JOIN vb_socialgroupmember AS socialgroupmember ON
                    (socialgroupmember.userid = 1 AND socialgroupmember.groupid = socialgroup.groupid)LEFT JOIN vb_forum ON forum.forumid=socialgroup.forumid
                WHERE socialgroup.socialgroupcategoryid = 3;

MySQL Error   : Unknown column 'forum.forumid' in 'on clause'
Error Number  : 1054
Request Date  : Wednesday, March 4th 2009 @ 03:33:31 PM
Error Date    : Wednesday, March 4th 2009 @ 03:33:32 PM
Script        : http://www.****.fr/forum/group.php?do=grouplist&cat=3
Referrer      : http://www.****.fr/forum/group.php
IP Address    : *********
Username      : *****
Classname     : vB_Database
MySQL Version : 5.0.68-log
Reply With Quote
  #10  
Old 03-04-2009, 12:36 PM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What's the upgrade process from running 1.4 on vb3.7 to 2.0 on vb3.8?

I've upgraded vbulletin itself from 3.7 to 3.8 and 1.4 remains installed, so how do I get from 1.4 to 2.0? I don't want to lose the socialforums I already have.

PS, a donation is winging it's way to you.
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.04287 seconds
  • Memory Usage 2,333KB
  • Queries Executed 24 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (4)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete