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)

wicked80 04-04-2008 02:09 AM

I installed the Mod and when i clicked "Create Forum" got the exact same error as described above by Reeve:

Invalid Forum Specified.

I am using 3.7 beta 5 version and can you tell me how to disable the default message board.

Thanks

traxxadd 04-04-2008 05:57 AM

Works great thanks for the time you put into this mod!!!!!:up:

Phalynx 04-04-2008 06:04 AM

Quote:

Originally Posted by Yours Truly (Post 1482271)
Do you have a list of what you added without me having to download it? I'm talking about the bit i edited myself :)

Here are the settings from 1.2:
Code:

$forumdm->set_bitfield('options', 'active', '1');
        $forumdm->set_bitfield('options', 'allowposting', '1');
        $forumdm->set_bitfield('options', 'cancontainthreads', '1');
        $forumdm->set_bitfield('options', 'moderatenewpost', '0');
        $forumdm->set_bitfield('options', 'moderatenewthread', '0');
        $forumdm->set_bitfield('options', 'moderateattach', '0');
        $forumdm->set_bitfield('options', 'allowbbcode', '1');
        $forumdm->set_bitfield('options', 'allowimages', '1');
        $forumdm->set_bitfield('options', 'allowhtml', '1');
        $forumdm->set_bitfield('options', 'allowsmilies', '1');
        $forumdm->set_bitfield('options', 'allowicons', '1');
        $forumdm->set_bitfield('options', 'allowratings', '1');
        $forumdm->set_bitfield('options', 'countposts', '1');
        $forumdm->set_bitfield('options', 'canhavepassword', '1');
        $forumdm->set_bitfield('options', 'indexposts', '1');
        $forumdm->set_bitfield('options', 'styleoverride', '0');
        $forumdm->set_bitfield('options', 'showonforumjump', '0');
        $forumdm->set_bitfield('options', 'prefixrequired', '0');


Quote:

Originally Posted by Varsh (Post 1482282)
Surely at least this:
  • Social group forums are hidden from everyone except those that are part of the social group
No? And perhaps when someone not in the social group will not be allowed access if they're not in the group.

They can be hide, but for everyone. Direct access only for members of the group. But if someone knows the exact URL of the forum he gain's access.

Quote:

Originally Posted by RvG2 (Post 1482291)
Nope I did not modified socialgroups_group. I have more than 2 members in my group so this should not be a problem at all. Just I need to have the template edit on themes aside from the vb default theme (if any)

Please PM me login details as Admin to your site. I need also query permission.

Quote:

Originally Posted by Reeve of shinra (Post 1482320)
This is what I see when I try and create a group :/
Invalid Forum Specified.

Quote:

Originally Posted by wicked80 (Post 1482485)
I installed the Mod and when i clicked "Create Forum" got the exact same error as described above by Reeve:
Invalid Forum Specified.

If you get a "Invalid Forum Specified" you should check parent forum setting in AdminCP/Settings/SocialForums

Quote:

Originally Posted by wicked80 (Post 1482485)
I am using 3.7 beta 5 version and can you tell me how to disable the default message board.

With 1.2 this is not needed anymore. SocialForums 1.2 will be released today.

Phalynx 04-04-2008 06:53 AM

SocialForums has been updated to 1.2 - here is the changelog:

- 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

Upgrade:
- Simply import XML, overwrite existing

Varsh 04-04-2008 09:57 AM

Quote:

Originally Posted by Phalynx (Post 1482572)
They can be hide, but for everyone. Direct access only for members of the group. But if someone knows the exact URL of the forum he gain's access.

That's my only qualm really otherwise now it's just what I needed. Isn't it possible to use an if statement to check whether the user is part of the group or not? Ir not then give them a permission denied screen?

Phalynx 04-04-2008 10:17 AM

They are several ways of accessing a forum or a particular thread. To catch all this locations would be very intensive.

edenx 04-04-2008 11:18 AM

Suggestions:

1. Group Leader can set new moderators for group forum.

2. If I see a "group forum" new posts on "today topics" and click that forum without being a member, it will notify me and ask me to join the group.

NFLfbJunkie 04-04-2008 11:49 AM

Could there be an option to still allow messages to be made in the social group as well as in the social group's forum? And can "Allow HTML" be set as 'diasbled' upon creation of a social group's forum?

Phalynx 04-04-2008 11:57 AM

Quote:

Originally Posted by edenx (Post 1482710)
1. Group Leader can set new moderators for group forum.

That would not be part of this modification.

Quote:

Originally Posted by edenx (Post 1482710)
2. If I see a "group forum" new posts on "today topics" and click that forum without being a member, it will notify me and ask me to join the group.

Nice idea, let's see for next version.

Quote:

Originally Posted by Junkie (Post 1482743)
Could there be an option to still allow messages to be made in the social group as well as in the social group's forum?

Possibly, let's see...

Quote:

Originally Posted by Junkie (Post 1482743)
And can "Allow HTML" be set as 'diasbled' upon creation of a social group's forum?

That's I didn't see, it will be changed in next version.

toucan42 04-04-2008 12:13 PM

I am eager to get 3.7 installed on my board just to have this hack - THIS is how social groups and vb are meant to play together - nice nice work - thank you so much!

MaxiMal 04-04-2008 12:14 PM

it is necessary to make addition of moderators by the button
(if there was a version earlier 1.1)

for safety:
Quote:

$forumdm->set_bitfield('options', 'active', '1');
$forumdm->set_bitfield('options', 'allowposting', '1');
$forumdm->set_bitfield('options', 'cancontainthreads', '1');
$forumdm->set_bitfield('options', 'moderatenewpost', '0');
$forumdm->set_bitfield('options', 'moderatenewthread', '0');
$forumdm->set_bitfield('options', 'moderateattach', '0');
$forumdm->set_bitfield('options', 'allowbbcode', '1');
$forumdm->set_bitfield('options', 'allowimages', '0');
$forumdm->set_bitfield('options', 'allowhtml', '0');
$forumdm->set_bitfield('options', 'allowsmilies', '1');
$forumdm->set_bitfield('options', 'allowicons', '1');
$forumdm->set_bitfield('options', 'allowratings', '1');
$forumdm->set_bitfield('options', 'countposts', '0');
$forumdm->set_bitfield('options', 'canhavepassword', '1');
$forumdm->set_bitfield('options', 'indexposts', '1');
$forumdm->set_bitfield('options', 'styleoverride', '0');
$forumdm->set_bitfield('options', 'showonforumjump', '0');
$forumdm->set_bitfield('options', 'prefixrequired', '0');
//////////////
$moddm->set_bitfield('permissions', 'caneditposts', '1');
$moddm->set_bitfield('permissions', 'candeleteposts', '1');
$moddm->set_bitfield('permissions', 'canopenclose', '1');
$moddm->set_bitfield('permissions', 'caneditthreads', '1');
$moddm->set_bitfield('permissions', 'canmanagethreads', '1');
$moddm->set_bitfield('permissions', 'canannounce', '0');
$moddm->set_bitfield('permissions', 'canmoderateposts', '1');
$moddm->set_bitfield('permissions', 'canmoderateattachments', '1');
$moddm->set_bitfield('permissions', 'canmassmove', '0');
$moddm->set_bitfield('permissions', 'canmassprune', '0');
$moddm->set_bitfield('permissions', 'canviewips', '0');
$moddm->set_bitfield('permissions', 'canviewprofile', '0');
$moddm->set_bitfield('permissions', 'canbanusers', '0');
$moddm->set_bitfield('permissions', 'canunbanusers', '0');
$moddm->set_bitfield('permissions', 'newthreademail', '0');
$moddm->set_bitfield('permissions', 'newpostemail', '0');
$moddm->set_bitfield('permissions', 'cansetpassword', '0');
$moddm->set_bitfield('permissions', 'canremoveposts', '0');
$moddm->set_bitfield('permissions', 'caneditsigs', '0');
$moddm->set_bitfield('permissions', 'caneditavatar', '0');
$moddm->set_bitfield('permissions', 'caneditpoll', '0');
$moddm->set_bitfield('permissions', 'caneditprofilepic', '0');
$moddm->set_bitfield('permissions', 'caneditreputation', '0');

traxxadd 04-04-2008 01:08 PM

I love this mod do you have a donate button id like to donate some money for this great mod

FleaBag 04-04-2008 02:06 PM

Yeah this is looking pretty sweet.

Reeve of shinra 04-04-2008 04:02 PM

Very nice -- would love to see a future option where forums are only visiable to group members. :)

Koroku 04-04-2008 05:39 PM

Can you please fix permissions so that the admin group (or maybe even make it so you can chose group id #s that automatically have permission) is able to view/post in the social forums?

I like this hack, but I don't really want to give my members a free-for-all...

nutnut 04-04-2008 07:45 PM

This works great, thanks!

Phalynx 04-04-2008 08:56 PM

Quote:

Originally Posted by MaxiMal (Post 1482770)
it is necessary to make addition of moderators by the button
(if there was a version earlier 1.1)

for safety:

It is not very helpful to post all settings. Please post only relevant.

HTML is already disabled in next version.


Quote:

Originally Posted by traxxadd (Post 1482803)
I love this mod do you have a donate button id like to donate some money for this great mod

You can send me money via PayPal. Use this eMail: contact AT marius DOT de


Quote:

Originally Posted by Reeve of shinra (Post 1482951)
Very nice -- would love to see a future option where forums are only visiable to group members. :)

Already on my Todo-list.

Quote:

Originally Posted by Koroku (Post 1483000)
Can you please fix permissions so that the admin group (or maybe even make it so you can chose group id #s that automatically have permission) is able to view/post in the social forums?

I like this hack, but I don't really want to give my members a free-for-all...

That's something that has to be discussed. In vBulletin you can have private forums where admins don't have access. That's a feature not a bug.

jilly 04-04-2008 11:11 PM

there are two jpgs in the zip download, but no description on what to do with them?

Varsh 04-04-2008 11:18 PM

Just ignore those pics, they're the same screenshots as you see in the OP.

Koroku 04-04-2008 11:57 PM

Quote:

Originally Posted by Phalynx (Post 1483138)
That's something that has to be discussed. In vBulletin you can have private forums where admins don't have access. That's a feature not a bug.

Could you at least make it an option of some sort? "Let admins have access to all Socialforums? Y/N" or something?

wicked80 04-05-2008 12:19 AM

I thought the forum will also show up on the groups page where the "message bpx" is showing...but it only displays the forums in the forum page and not in the groups page.

Is this something possible?

maidos 04-05-2008 01:18 AM

well ppl can still start a thread on the forum section even if they arent meber or owner of the social group... and how do i make the subforum when a new group is created.

Phalynx 04-05-2008 06:04 AM

Quote:

Originally Posted by Koroku (Post 1483229)
Could you at least make it an option of some sort? "Let admins have access to all Socialforums? Y/N" or something?

Sure.

Quote:

Originally Posted by wicked80 (Post 1483241)
I thought the forum will also show up on the groups page where the "message bpx" is showing...but it only displays the forums in the forum page and not in the groups page.

Is this something possible?

Very difficult, I would have to re-code stuff like in forumdisplay.php

Quote:

Originally Posted by maidos (Post 1483265)
well ppl can still start a thread on the forum section even if they arent meber or owner of the social group... and how do i make the subforum when a new group is created.

How do you can post in a forum when you cannot create a forum because of a missing link?!?

Varsh 04-05-2008 09:02 AM

Quote:

Originally Posted by maidos (Post 1483265)
how do i make the subforum when a new group is created.

Having a subforum for an SG isn't really the best idea, though if you still want one then you'll have to create it in the ACP.

trackpads 04-05-2008 02:27 PM

Nice work, whould be a default VB feature

toonysnn 04-05-2008 04:39 PM

Great modification! I will probably require the sub-forums, but I can code that myself. :)
[high]* toonysnn installs and nominates for MOTM[/high]

Amit86 04-05-2008 08:16 PM

question
a member of mine opened up a group and he wanted to make a new forum, he pressed the link, and got a no access page
how do i fix this for his usergroup?

Varsh 04-05-2008 10:02 PM

Are there enough members in the SG? The default is set to 5 members in the ACP. Check the vBulletin Options.

jilly 04-05-2008 10:50 PM

Okay, I made a forum in a group, and the forum works fine, but the regular area of messages is gone - all the past ones disappeared, and there is no way to post new ones - the only place to post messages is the forum, is this supposed to happen?

Also, how does the group leader get 'permission' to moderate their social forum? Does it add them to the moderator usergroup?

Tynian 04-06-2008 12:19 AM

Yes, the fact that the 'original' messages of the social group disappear is a pitty. For the rest it's a very cool piece of code!

Amit86 04-06-2008 02:00 AM

Quote:

Originally Posted by Varsh (Post 1483933)
Are there enough members in the SG? The default is set to 5 members in the ACP. Check the vBulletin Options.

if u were talking to me, there was more than 5 members in the group
is said NO ACCESS
not tha i need more members

AWMGolfer 04-06-2008 02:07 AM

Not sure if this has been asked but when I disable group messages so that the forum can be used, will those messages be lost or still viewable? Many of my groups currently have lengthy discussions going and I'd hate to lose those if possible. Thanks!!

Varsh 04-06-2008 08:43 AM

Quote:

Originally Posted by Amit86 (Post 1484057)
if u were talking to me, there was more than 5 members in the group
is said NO ACCESS
not tha i need more members

Which category are your SG forums pointed to? If they're pointing to "1" and you don't have a category/forum with an ID of "1" then you will get that error, same if you have a category with permissions for a set usergroup.

Yours Truly 04-06-2008 09:57 AM

Quote:

Originally Posted by Phalynx (Post 1482572)
Here are the settings from 1.2:
Code:

$forumdm->set_bitfield('options', 'active', '1');
        $forumdm->set_bitfield('options', 'allowposting', '1');
        $forumdm->set_bitfield('options', 'cancontainthreads', '1');
        $forumdm->set_bitfield('options', 'moderatenewpost', '0');
        $forumdm->set_bitfield('options', 'moderatenewthread', '0');
        $forumdm->set_bitfield('options', 'moderateattach', '0');
        $forumdm->set_bitfield('options', 'allowbbcode', '1');
        $forumdm->set_bitfield('options', 'allowimages', '1');
        $forumdm->set_bitfield('options', 'allowhtml', '1');
        $forumdm->set_bitfield('options', 'allowsmilies', '1');
        $forumdm->set_bitfield('options', 'allowicons', '1');
        $forumdm->set_bitfield('options', 'allowratings', '1');
        $forumdm->set_bitfield('options', 'countposts', '1');
        $forumdm->set_bitfield('options', 'canhavepassword', '1');
        $forumdm->set_bitfield('options', 'indexposts', '1');
        $forumdm->set_bitfield('options', 'styleoverride', '0');
        $forumdm->set_bitfield('options', 'showonforumjump', '0');
        $forumdm->set_bitfield('options', 'prefixrequired', '0');



They can be hide, but for everyone. Direct access only for members of the group. But if someone knows the exact URL of the forum he gain's access.


Please PM me login details as Admin to your site. I need also query permission.



If you get a "Invalid Forum Specified" you should check parent forum setting in AdminCP/Settings/SocialForums


With 1.2 this is not needed anymore. SocialForums 1.2 will be released today.

Thank you :)

hrk 04-06-2008 11:43 AM

clicking social group messages(moderated and deleted ) output this error :

Code:

Database error in vBulletin 3.7.0 Beta 4:

Invalid SQL:

                        SELECT SQL_CALC_FOUND_ROWS
                                groupmessage.*, user.*, groupmessage.ipaddress AS messageipaddress, socialgroup.name
                               
                                ,avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight
                               
                       
                        FROM moderation AS moderation
                        INNER JOIN groupmessage AS groupmessage ON (moderation.primaryid = groupmessage.gmid AND type = 'groupmessage')
               
                        LEFT JOIN user AS user ON (groupmessage.postuserid = user.userid)
                        LEFt JOIN socialgroup AS socialgroup ON (groupmessage.groupid = socialgroup.groupid)
                        LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)
                       
                       
                        WHERE 1=1
                                AND moderation.dateline >= 1204893707
                               
                        ORDER BY groupmessage.dateline DESC
                        LIMIT 0, 10;

MySQL Error  : Column 'type' in on clause is ambiguous
Error Number  : 1052

Classname    : vb_database
MySQL Version : 4.1.22-standard


UNINstalled for now.

nerofix 04-06-2008 06:01 PM

I wonder that nobody else did post it yet, but when a member try to create a group forum, then he or she get the message:

XXX, you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

What could be the reason?

Edit: By the way, it would looks great if the group forum would appears within the group itself.

And why the group message wall goes away?

jilly 04-06-2008 07:45 PM

Quote:

Originally Posted by nerofix (Post 1484555)
I wonder that nobody else did post it yet, but when a member try to create a group forum, then he or she get the message:

XXX, you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
And why the group message wall goes away?

My regular users are getting that too - only admins can make forums in groups right now - and yes, I am also confused as to why the group message wall goes away..

jilly 04-06-2008 07:46 PM

Quote:

Originally Posted by Xhaiden (Post 1484059)
Not sure if this has been asked but when I disable group messages so that the forum can be used, will those messages be lost or still viewable? Many of my groups currently have lengthy discussions going and I'd hate to lose those if possible. Thanks!!

Mine disappeared, and I don't know if we will be able to get them back or not - so at this point I would not make the forum unless you don't mind losing the messages..

Phalynx 04-06-2008 08:25 PM

Quote:

Originally Posted by Xhaiden (Post 1484059)
Not sure if this has been asked but when I disable group messages so that the forum can be used, will those messages be lost or still viewable? Many of my groups currently have lengthy discussions going and I'd hate to lose those if possible. Thanks!!

Quote:

Originally Posted by jilly (Post 1484632)
Mine disappeared, and I don't know if we will be able to get them back or not - so at this point I would not make the forum unless you don't mind losing the messages..

Quote:

Originally Posted by nerofix (Post 1484555)
And why the group message wall goes away?

To avoid double-messaging it has been just disabled, they are simply not shown.
To make one thing clear: This mod does not delete group messages. It disables only the view of them. I will do in the next version a setting if they should be hide.

Quote:

Originally Posted by hrk (Post 1484297)
clicking social group messages(moderated and deleted ) output this error :

Please be more specific, as I cannot confirm this. SocialForums does not touch messages.


Quote:

Originally Posted by nerofix (Post 1484555)
I wonder that nobody else did post it yet, but when a member try to create a group forum, then he or she get the message:

XXX, you do not have permission to access this page. This could be due to one of several reasons:

What could be the reason?

Quote:

Originally Posted by jilly (Post 1484631)
My regular users are getting that too - only admins can make forums in groups right now - and yes, I am also confused as to why the group message wall goes away..

Only Groupleaders can create forum. The link will be hide in next version for non-leaders.


Quote:

Originally Posted by nerofix (Post 1484555)
Edit: By the way, it would looks great if the group forum would appears within the group itself.

Nice idea, yes. Had that idea also, but it's very difficult to accomplish this.

jilly 04-06-2008 09:22 PM

Quote:

Originally Posted by Phalynx (Post 1484661)
Only Groupleaders can create forum. The link will be hide in next version for non-leaders.

It is my Groupleaders who are getting the 'no permission to access' message.


All times are GMT. The time now is 01:03 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.02242 seconds
  • Memory Usage 1,879KB
  • 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
  • (3)bbcode_code_printable
  • (34)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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