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)

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 05:04 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.01633 seconds
  • Memory Usage 1,750KB
  • 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
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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