vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - SocialForums 1.4 (https://vborg.vbsupport.ru/showthread.php?t=174878)

Phalynx 05-24-2008 08:42 PM

Please create a temporary account on your board an tell me the details via PN so I can have a look.

Phalynx 05-24-2008 09:16 PM

Rob, two points:
1. You didn't enabled the "Restriction mode", so permissions are not checked.
2. You set forum permissions manually to "Deny All", except for the Admins.

Reset the forum permissions and enable restriction mode. The restriction mode does set the permissions based on users memberstatus and usergroup permission.

Rob Hephner 05-24-2008 11:04 PM

Thanks Dude, it all works. Not exactly as I might like but I am sure you can get there! ;)

Still have to manually remove forum if a group is deleted.
Only way to see forums is by looking in the Admin CP.

Now, does anyone know how to change the profile template to not show user created social groups?

compfix 05-25-2008 02:25 AM

how would I go about 'deleting' a social group forum and then recreate it? I've got one social group, that for some reason is pointing to a wrong forum ID and won't work. I'd like to delete it and redo it

Thanks

irishblue 05-25-2008 04:19 AM

Quote:

Originally Posted by compfix (Post 1530584)
how would I go about 'deleting' a social group forum and then recreate it? I've got one social group, that for some reason is pointing to a wrong forum ID and won't work. I'd like to delete it and redo it


Thanks

u can just delete it from the AdminCP under Forums & Moderators. Then refresh the Group page, the "Create Forum" link should reappear :)

redlabour 05-25-2008 06:24 AM

Quote:

Originally Posted by Phalynx (Post 1530367)
@redlabour
Rename to what?

1. Should Users that are not a Member of this Group allowed to read open Forums?
2. Should Users that are not a Member of this Group allowed to write open Forums?
3. Should Users that are not a Member of this Group allowed to read private Forums?
4. Should Users that are not a Member of this Group allowed to write private Forums?

Mum 05-25-2008 06:58 AM

Yes, what redlabour has suggested would be a lot easier to understand :)

cd1986 05-25-2008 10:19 AM

I just came from vbulletin.com, having had my first look at vB 3.7, and was disappointed with their half-hearted attempt at social groups. This mod might just have convinced me to renew my old vB licence. ;)

One quick question - is it possible to require users to subscribe (pay) to join a social forum? If not, would I be able to help by funding the development of that particular feature for this mod?

aidler 05-25-2008 11:17 AM

What can I do to link a already existing forum (a forum that I had before this mod came out) to a social group.

Mark.B 05-25-2008 11:27 AM

Quote:

Originally Posted by redlabour (Post 1530681)
1. Should Users that are not a Member of this Group allowed to read open Forums?
2. Should Users that are not a Member of this Group allowed to write open Forums?
3. Should Users that are not a Member of this Group allowed to read private Forums?
4. Should Users that are not a Member of this Group allowed to write private Forums?

Be careful even with that..."group" could mean "Social group" or "User group". Given that you're in the user group manager, some people may get confused.

Wording that is not going to be easy.

Phalynx 05-25-2008 11:32 AM

Maybe
Should Users that are not a Member of the social group allowed to read in the social forum?

Quote:

Originally Posted by cd1986 (Post 1530798)
I just came from vbulletin.com, having had my first look at vB 3.7, and was disappointed with their half-hearted attempt at social groups. This mod might just have convinced me to renew my old vB licence. ;)

One quick question - is it possible to require users to subscribe (pay) to join a social forum? If not, would I be able to help by funding the development of that particular feature for this mod?

Setup a subsription with usergroups and allow only this usergroup to join a social group.

Quote:

Originally Posted by aidler (Post 1530838)
What can I do to link a already existing forum (a forum that I had before this mod came out) to a social group.

Run a query (don't forget a prefix):
UPDATE socialgroup SET forumid=YOURFORUMID WHERE groupid=YOURSOCIALGROUPID

Mum 05-25-2008 06:26 PM

Is there any way i can hide just ONE social group - ie no one can see it.

Phalynx 05-25-2008 06:44 PM

This mod does not hide groups, it hides forums of the groups.

Mum 05-25-2008 07:00 PM

Yeah, i was just wondering if there was a way :) Thanks.

almera 05-25-2008 09:50 PM

Quote:

Originally Posted by almera (Post 1524817)
Will the forum section of a social group be more visible too? As it is now it's easy to miss out the feature. I think the best would be if the forum either was integrated in the group page, or if there was a feed consisting of the latest posts on the group page.

No one else agrees on this, or maybe it is easy for anyone to change the layout for the group pages?

Mum 05-26-2008 06:46 AM

Ok, there appears to be an issue.

Under the social group it is set as Group Type: Public, and i've got it ticked that you must be a member to view.

Then under usergroup permissions it's got Can read messages in public socialforum NO Can write messages in public socialforum NO.

Yet they can still see the forum, and see the messages inside it. Why?

Phalynx 05-26-2008 07:43 AM

Quote:

Originally Posted by almera (Post 1531320)
No one else agrees on this, or maybe it is easy for anyone to change the layout for the group pages?

I already confirmed multiple times that the group homepage will have threads from the forum.

Quote:

Originally Posted by Mum (Post 1531565)
Ok, there appears to be an issue.

Under the social group it is set as Group Type: Public, and i've got it ticked that you must be a member to view.

Then under usergroup permissions it's got Can read messages in public socialforum NO Can write messages in public socialforum NO.

Yet they can still see the forum, and see the messages inside it. Why?

Did you enabled Restriction Mode?

Mum 05-26-2008 07:59 AM

Yes.

Phalynx 05-26-2008 08:03 AM

Please PN me with details of a temporary admin account to your forum.

Phalynx 05-26-2008 08:18 AM

Everyone who is asking why invite only groups (not forums!!!) are still visible, can read this thread on vbulletin.com:
http://www.vbulletin.com/forum/showthread.php?t=265487

Programmers of vBulletin are argumenting why they did not implemented a hidden group.

Mark.B 05-26-2008 08:45 AM

Phalynx this is one of the best modifications of recent times so very well done.

It adds a functionality to Social groups which really, really needed to be available by default. I know the reasons the developers gave for not including it but they are wrong. It should have bee there as an option, that is certain.

Social Groups are totally pointless without the ability to add a forum. Nobody reads or uses them otherwise.

Varsh 05-26-2008 11:34 AM

Well I've installed the update as of yesterday, given it a full on testing permissions wise and all I can say is now that you've done a fantastic job on that one and I can finally use it on my forums.

Nadiar 05-26-2008 01:57 PM

This was working fine on my test server with 1.2, but I installed 1.3.1 on live after it came out, and I'm not seeing the link to create a forum. I tried uninstalling and reinstalling to make sure all of the options were defaulted (except the forum ID), but it doesn't seem to have fixed it.

Phalynx 05-26-2008 02:10 PM

Check permissions if your usergroup is allowed to create forum.

ahmadatom 05-26-2008 02:11 PM

thanks a lot, i'm click install :)

Nadiar 05-26-2008 02:26 PM

Quote:

Originally Posted by Phalynx (Post 1531865)
Check permissions if your usergroup is allowed to create forum.

I feel retarded now, thanks.

I forgot I'm in my own usergroup (other than Administrators) and forgot to fix permissions for that group.

AWS 05-26-2008 02:38 PM

Quote:

Originally Posted by Phalynx (Post 1529838)
Unregistered users are currently disabled to view because of the bug that appeared after the release of 1.3.0


I will check this on monday.

Are you planning on adding the feature to allow unregistered to view the forums? I would like unregistered to see these forums because the topics vary from the site theme and some visitors that wouldn't normally register might if one of the member forums peaks their interest.

Mum 05-26-2008 07:29 PM

Quote:

Originally Posted by Phalynx (Post 1531619)
Please PN me with details of a temporary admin account to your forum.

I have Pmd you :)

DieselTruck 05-27-2008 02:26 AM

Anyway to add a link into the postbit_legacy saying the social group that the user is a part of?

Phalynx 05-27-2008 08:21 AM

Quote:

Originally Posted by Mum (Post 1531565)
Ok, there appears to be an issue.

Under the social group it is set as Group Type: Public, and i've got it ticked that you must be a member to view.

Then under usergroup permissions it's got Can read messages in public socialforum NO Can write messages in public socialforum NO.

Yet they can still see the forum, and see the messages inside it. Why?

Issue fixed. Some usergroups were defined to have read access to socialforums.

Quote:

Originally Posted by AWS (Post 1531889)
Are you planning on adding the feature to allow unregistered to view the forums? I would like unregistered to see these forums because the topics vary from the site theme and some visitors that wouldn't normally register might if one of the member forums peaks their interest.

Already included in 1.4 (will be released today)

Quote:

Originally Posted by DieselTruck (Post 1532451)
Anyway to add a link into the postbit_legacy saying the social group that the user is a part of?

This hack creates only forums and checks for permissions to that forums. It does not extend social group feature on whole forum.

Phr34q 05-27-2008 08:34 AM

Quote:

History
1.3.1
- Fixed an Error with not exististent array / cookies already sent.
hmmmm weird, cuz im getting:

Quote:

Unable to add cookies, header already sent.
File: /home/********/public_html/board/includes/class_core.php
Line: 3237
Quote:

Warning: array_diff() [function.array-diff]: Argument #2 is not an array in [path]/global.php(365) : eval()'d code on line 190

Warning: Invalid argument supplied for foreach() in [path]/global.php(365) : eval()'d code on line 190
sl24
It kinda broke my board *LOL* I can't even log in to the ACP so I can disable it and downgrade it again:p I'm in good spirit though, I just backed up my sqldb an hour ago, so worst case scenario would be me having to use a 3 weeks old backup of the board itself.

awaiting so help while I feed my son and drink some coffee :)

thumbs up for a great mod btw!

Phalynx 05-27-2008 08:57 AM

I bet you don't have installed 1.3.1

Recover forum:
https://vborg.vbsupport.ru/showpost....&postcount=272

MrEyes 05-27-2008 10:12 AM

This looks like a great mod, before diving in I have a couple of questions:

Quote:

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.
When you say "every page" do you mean "every page" or just those pages that relate to social groups and forum lists? It seems a bit odd that if, for example, a user is viewing the FAQ pages an additional 2 queries are required.

Quote:

TODO : By deleting a group the forum should also be deleted/archived. Currently this has to be done manually.
When/If this is added will this be optional, it could be extremely nasty if a social group owner gets annoyed over something and without thought kills the group and therefore kills a forum that might have some great content in it.

Phalynx 05-27-2008 10:22 AM

Quote:

Originally Posted by MrEyes (Post 1532732)
When you say "every page" do you mean "every page" or just those pages that relate to social groups and forum lists? It seems a bit odd that if, for example, a user is viewing the FAQ pages an additional 2 queries are required.

I mean every page. This forum permission check is necessary because users will protect the content of the forums. vBulletin offers possibility on many places to "view" content of a forum. Statistics in profile, RSS Feeds, other hacks, etc...
If you don't need the forum permissions, you can disabled it via options. vBulletin does not offer Hooks in a location where I could "hang in". It has been requested, but it seems that Jelsoft don't see the benefit from it.

There is no possibility to check if a user is a member of a social group, so I have to use a query to gather this information.

Quote:

Originally Posted by MrEyes (Post 1532732)
When/If this is added will this be optional, it could be extremely nasty if a social group owner gets annoyed over something and without thought kills the group and therefore kills a forum that might have some great content in it.

I wrote also that such a forum would get deleted OR archived.

Phr34q 05-27-2008 10:30 AM

Quote:

Originally Posted by Phalynx (Post 1532697)
I bet you don't have installed 1.3.1

Recover forum:
https://vborg.vbsupport.ru/showpost....&postcount=272

Well guess you were right on that part, hmmm must have clicked the wrong folder when I thought I was updating it, anyways, superfast reply, it all worked out, things are back to status quo :)

Cheers, thumbsupx2:up::eek:

Phalynx 05-27-2008 11:19 AM

SocialForums has been updated to v1.4.

Changes:
1.4.0, 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

Upgrade
1. Uninstall existing version, import the product. No forums get lost!
2. Check settings, especially for parent forum. Don't forget to set permissions via usergroups!

droid101 05-27-2008 11:42 AM

Okay, so the "recent activity" when viewing the Social Group can now show the latest posts in the social forum. However, the avatars are broken in this view.

VargTimmen 05-27-2008 11:47 AM

Very, very nice update!
But is it possible, that just the Topics and not the Posts are shown?

Kind regards
Benny

Phalynx 05-27-2008 11:50 AM

Quote:

Originally Posted by droid101 (Post 1532818)
Okay, so the "recent activity" when viewing the Social Group can now show the latest posts in the social forum. However, the avatars are broken in this view.

The lovely avatarrevision. Please download 1.4.1 and update product.

Quote:

Originally Posted by VargTimmen (Post 1532823)
But is it possible, that just the Topics and not the Posts are shown?

Maybe I will implement such a setting in one of the next version.

VargTimmen 05-27-2008 11:58 AM

Glad to hear that :)
And another request:
I just saw, that User, who are moderator of a SocialForum, appears in the Forum Group Overview. Could you give us an option, that handle this?

Kind regards
Benny


All times are GMT. The time now is 11:48 PM.

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.05526 seconds
  • Memory Usage 1,844KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (24)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete