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
  #152  
Old 08-23-2009, 06:43 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

They remain as forums. You'll need to manually delete the forums if anything.
Reply With Quote
  #153  
Old 09-13-2009, 08:58 PM
Tettinntil's Avatar
Tettinntil Tettinntil is offline
 
Join Date: Feb 2006
Location: Trondheim, Norway
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and so far so good - beautiful that I can fix things in the CP. My first install after I bought out my former partner and this was fun Thank you!!!
Reply With Quote
  #154  
Old 09-22-2009, 01:55 PM
MrEyes MrEyes is offline
 
Join Date: Nov 2004
Posts: 380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A curious problem of sorts.

I have downloaded and installed the mod onto a absolutely clean vBulletin 3.8.4 install (i.e. no mods, template hacks etc).

I then created a group and then clicked the link to create a forum for the group, this presented me with the following message on a standard VB redirection page:

"Cannot create forum!"

However, the forum is created and everything seems to work exactly as it should.

Having briefly delved into the code it seems that the issue is something to do with these lines in the

Code:
if (CreateForum($group))
{
	eval(print_standard_redirect('sf_invalid_forum', true, true));
}
else
{
	eval(print_standard_redirect('successfully_edited_group', true, true));
}
Having checked the CreateForum function in functions_socialforums.php it would seem that this returns true if the create is successful and false if not. So the syntax of the code above should be:

Code:
if (!CreateForum($group))
...
...
I have tested this on my test install and this seems to resolve the issue, but I am posting here just incase I am missing something.
Reply With Quote
  #155  
Old 09-22-2009, 04:29 PM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Seems really a like a bug. Thanks for showing it.
Reply With Quote
  #156  
Old 10-05-2009, 08:43 PM
saikat saikat is offline
 
Join Date: Jul 2009
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Phalynx,

First of all , thanks for the awsome code. Worked like a charm. Heres my question:

I would like the group forums to be visible to everyone, but they should only be able to post/reply in the forum if they have joined the group, else the "Reply/Quote" button should point them to the "Join" page for the group.

Is this something that is doable by your code? Any pointers?

thanks,
saikat
Reply With Quote
  #157  
Old 10-11-2009, 10:49 PM
franvsl franvsl is offline
 
Join Date: Jun 2009
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi!!

Congratulations for that great job.

My question is about the box "The forum where all new created social forums are attached to." in the socialforums settings

What am I supposed to write there? A number (if so, which number??) or the name of the parent forum?. I tried both, and when I click the button "Create Forum" I get an error saying "Invalid parent forum specified. Check settings"

Thank you!
Reply With Quote
  #158  
Old 10-12-2009, 08:42 AM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by saikat View Post
Hi Phalynx,

First of all , thanks for the awsome code. Worked like a charm. Heres my question:

I would like the group forums to be visible to everyone, but they should only be able to post/reply in the forum if they have joined the group, else the "Reply/Quote" button should point them to the "Join" page for the group.

Is this something that is doable by your code? Any pointers?

thanks,
saikat
Check usergroup permissions.


Quote:
Originally Posted by franvsl View Post
Hi!!

Congratulations for that great job.

My question is about the box "The forum where all new created social forums are attached to." in the socialforums settings

What am I supposed to write there? A number (if so, which number??) or the name of the parent forum?. I tried both, and when I click the button "Create Forum" I get an error saying "Invalid parent forum specified. Check settings"

Thank you!
You must enter the ID of the parent Forum.
Reply With Quote
  #159  
Old 10-12-2009, 08:29 PM
franvsl franvsl is offline
 
Join Date: Jun 2009
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!

Now I can create the forums, but when it is done, I can't see the forum in the group. The forum is created, and I can see it in the forums list, but it doesn't appear in the social group:

http://www.vs-rtc.com/foro/group.php?groupid=1

Any ideas?
Reply With Quote
  #160  
Old 10-13-2009, 06:46 AM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by franvsl View Post
Thanks!

Now I can create the forums, but when it is done, I can't see the forum in the group. The forum is created, and I can see it in the forums list, but it doesn't appear in the social group:

http://www.vs-rtc.com/foro/group.php?groupid=1

Any ideas?
Please check permissions and also if you modified a group-related template.
Reply With Quote
  #161  
Old 10-13-2009, 11:33 AM
l_amhed l_amhed is offline
 
Join Date: Dec 2001
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this usefull and killer hack !

I've got some minor errors :

- Some special characters are not well displayed, such as à é ü ' (there is a \ just before them)
- The sticky threads are not displayed correctly on top of the threads listing.
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 06: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.05577 seconds
  • Memory Usage 2,347KB
  • Queries Executed 26 (?)
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
  • (3)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
  • (4)pagenav_pagelink
  • (1)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
  • (4)postbit_attachment
  • (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_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