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)

punchbowl 10-11-2008 01:02 PM

Quote:

Originally Posted by Rickeo (Post 1505159)
This should be made like MySpace where it doesn't create a forum on the actual board but creates a posting area in the group section.

Or just at least make it so people including admins and mods on the board can ONLY see forums THEY are apart of.

I mean otherwise it's going to look over flooded and stupid I think it would be best if there was a discussions area on the group page itself that's just my idea and suggestion would be nice to see.

Rick

Group threads are in 3.8. imo social forums are far, far better. Great mod.

Phalynx 10-12-2008 08:55 PM

Quote:

Originally Posted by mescalin (Post 1642619)
It would be nice to see delete groups forum for admins just from admincp since some groups are inactive so it would be easier to manage groups forums..

There is no possibility for the user to delete a forum.

Quote:

Originally Posted by Chris11987 (Post 1642623)
Is this the same thing that they're adding into 3.8?

Almost. Here the group discussions are directly integrated into the forum, with 3.8 you will have discussions like the Blog.

flOid 10-13-2008 09:12 AM

I know from Phalynx that the mod will possibly not being ported into 3.8. The current version of the mod can't be installed on a 3.8 forum anyway.

I'm aware that this mod is better in some ways than the new group discussion feature in 3.8, but nevertheless vB 3.8 does include some social group features which are bloody needed like the ability to transfer groups from one member to another.

So for those who decide to switch, there is something like a converter needed, and I actually hired a freelancer to get it coded. I'll keep you updated about it, and will probably post it here at vB.org as a mod when it's finished.

fly 10-13-2008 09:24 AM

I hope you have his permission...

punchbowl 10-13-2008 09:47 AM

Quote:

Originally Posted by flOid (Post 1643960)
I know from Phalynx that the mod will possibly not being ported into 3.8. The current version of the mod can't be installed on a 3.8 forum anyway.

Say it ain't so! It'll take until vb4.0 for them to copy the idea properly.

Phalynx 10-13-2008 10:06 AM

He does not need my permission for this as there are now changes in my code. Also, I would support such a tool. Based on this I would love to see a converter vB3.8 -> SocialForums.

Morrus 10-14-2008 11:30 AM

Eeek. I can't be sure, but I upgraded to 3.8.0 and social groups are now completely broken - no discussion capability at all.

ReCom 10-16-2008 03:14 AM

Installed! Looking good so far but ...
  1. The display options (Sorted by, Sort order, From the, Show Threads) at the top of the thread listings doesn't work. Clicking the "Show Threads" button will return error page "Invalid Action Specified" in IE6 and "You did not select any valid threads" in Firefox 3
  2. It would be nice if the thread list appear in the social group page as well ...

vB 3.7.3 PL1 btw ..

Mark.B 10-18-2008 08:07 AM

I have to say I shan't be upgrading to 3.8 because of Social Forums not working. vB's new system, whilst an improvement on what went before, still leaves Social Group discussions isolated just like the blogs...if like me you have a site where everyone uses Today's Posts/New Posts, then nobody EVER sees these things. My site's last blog post was in August, for example.

To be honest I'm starting to regret using all the blogs and social networking stuff, it's ill thought out and cobbled together very badly, and now they are having to change it all round again which breaks all the custom fixes people put in to make it work properly - such as this excellent mod!

The *only* way forward for Jelsoft is to have social group discussion posts and blog entries/comments mixed into getdaily and getnew searches, with an additional column to show what each result is..."Forum Post", "Blog Post", "Social Group Post" etc. That's the ONLY way it will ever work properly. But that's not really for this thread.

Mark.B 10-23-2008 05:01 PM

And with that, I successfully killed yet another thread.

It's a new service I offer.

Have YOU got a thread that's bubbling along nicely that you would like stopped in its tracks? Then drop me a line....I'll post to it, and I guarantee it won't get any more replies, ever!

Reeve of shinra 10-24-2008 01:57 AM

Does this service work on nagging ex girlfriends? lol

Phalynx 10-24-2008 09:19 AM

Quote:

Originally Posted by Morrus (Post 1644815)
Eeek. I can't be sure, but I upgraded to 3.8.0 and social groups are now completely broken - no discussion capability at all.

There is no 3.8-ready version of SocialForums yet. I'm waiting for a more stable version.

Quote:

Originally Posted by ReCom (Post 1646110)
The display options (Sorted by, Sort order, From the, Show Threads) at the top of the thread listings doesn't work. Clicking the "Show Threads" button will return error page "Invalid Action Specified" in IE6 and "You did not select any valid threads" in Firefox 3

Uhm, cannot confirm that. Are you using vB3.8?

Quote:

Originally Posted by ReCom (Post 1646110)
It would be nice if the thread list appear in the social group page as well ...

That has already been requested, but it needs much work. I'm not sure if it worth it.

Quote:

Originally Posted by Mark.B (Post 1647531)
I have to say I shan't be upgrading to 3.8 because of Social Forums not working. vB's new system, whilst an improvement on what went before, still leaves Social Group discussions isolated just like the blogs...if like me you have a site where everyone uses Today's Posts/New Posts, then nobody EVER sees these things. My site's last blog post was in August, for example.

To be honest I'm starting to regret using all the blogs and social networking stuff, it's ill thought out and cobbled together very badly, and now they are having to change it all round again which breaks all the custom fixes people put in to make it work properly - such as this excellent mod!

The *only* way forward for Jelsoft is to have social group discussion posts and blog entries/comments mixed into getdaily and getnew searches, with an additional column to show what each result is..."Forum Post", "Blog Post", "Social Group Post" etc. That's the ONLY way it will ever work properly. But that's not really for this thread.

That's true, but with 3.8 they are already trying to bundle it alltogether.


Quote:

Originally Posted by Mark.B (Post 1651245)
And with that, I successfully killed yet another thread.

It's a new service I offer.

Have YOU got a thread that's bubbling along nicely that you would like stopped in its tracks? Then drop me a line....I'll post to it, and I guarantee it won't get any more replies, ever!

Haha :) I'll be breaking your service ;)

YabbaDabba 10-24-2008 02:36 PM

Thank you for a truly great mod!!

Quote:

Originally Posted by Phalynx (Post 1651700)
There is no 3.8-ready version of SocialForums yet. I'm waiting for a more stable version.

So you will be porting this to 3.8???
(There was an earlier post that implied (to me at least :D ) you would not.)


Quote:

Originally Posted by Phalynx (Post 1651700)
That has already been requested, but it needs much work. I'm not sure if it worth it.

Couldn't this be done trivially with an rss feed?


Quote:

Originally Posted by Phalynx (Post 1651700)
That's true, but with 3.8 they are already trying to bundle it altogether.

:confused: Haven't seen anything from Jelsoft regarding bundled post/blog search results. Have you seen something official from them? Maybe their search engine rewrite will address this.

Again, thanks for your great effort.

Mum 11-01-2008 08:21 AM

Quote:

Originally Posted by Reeve of shinra (Post 1651522)
Does this service work on nagging ex girlfriends? lol

ROFL Well you made me smile today :)

thenewuser 11-02-2008 06:23 AM

Amazing, thank you.

wmlvb 11-06-2008 01:59 PM

Newbie here! I was planning on upgrading to 3.8 when past beta mainly because of new blogging a social group features. I really want features like this on 3.8 for social groups! Should I just stick with 3.7 and use upload this social groups or wait until 3.8 comes out and it will be close to what this has to offer? I like the idea of groups having their own forums!!

caldangel 11-06-2008 11:58 PM

I installed it, and got most everything working — except: users who want to create the forum can't see the option. I made it so all usergroups could do that in any social group they are in, and the option still isn't showing up on the bottom bar like it does for me, the admin. Help please!

caldangel 11-09-2008 01:33 PM

Never mind about the previous post. I figured it out. The only person who can create the forum is the person who created the user group. And a user group needs to be created before a forum can be created.

Its all good and we're loving the mod!!!

wmlvb 11-09-2008 01:43 PM

Quote:

Originally Posted by wmlvb (Post 1660484)
Newbie here! I was planning on upgrading to 3.8 when past beta mainly because of new blogging a social group features. I really want features like this on 3.8 for social groups! Should I just stick with 3.7 and use upload this social groups or wait until 3.8 comes out and it will be close to what his has to offer? I like the idea of groups having their own forums!!

I still would like to know if this mod is necessary if updating to 3.8?

Is there a lot of difference between the update Groups on 3.8 and this mod?
if so please list! Thanks for the help

Bilderback 11-13-2008 02:54 AM

I finally have this working with vb3.8
Everything worked fine except the links in group footer.
I've found that the Hook Location (group_view_message_start) no longer exists in vb3.8
When I changed the plugin hook location to (group_view_discussion_start), everything is fine.
I am assuming that the group_view_discussion_start Hook Location has replaced the group_view_message_start maybe?

rightsideforum 11-13-2008 11:54 AM

Hey I have set this up and it creates the forum but when I try and visit them it gives me an error:

Database error in vBulletin 3.7.4:

Invalid SQL:

SELECT thread.threadid, lastpost, open
FROM thread AS thread
WHERE forumid = 14
AND (sticky = 1
OR threadid IN ())

AND visible IN (0,1,2);

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '))

AND visible IN (0,1,2)' at line 5
Error Number : 1064
Request Date : Thursday, November 13th 2008 @ 01:53:36 PM
Error Date : Thursday, November 13th 2008 @ 01:53:36 PM
Script : http://my site
Referrer : http://my site
IP Address : ip address
Username : admin
Classname : vB_Database
MySQL Version : 5.0.45-community

rightsideforum 11-13-2008 02:42 PM

This now seems to be cocking up my whole forum making others unavailable even after I have uninstalled this product...some assistance would be much appreciated.

ReCom 11-15-2008 02:17 AM

First, thanks and good job for creating this mod. Just upgraded my forum to vb 3.7.x and introduced a bunch of new features to the members which include the socialforum. They love it.

Next is a suggestion: can you please change the error message that pops up when non-group members trying to reply to a thread in socialforum to a more friendly message like "please join this social group [link] before you can create a new post". Thanks in advance.

itsbobtista 11-16-2008 05:03 AM

Question: What settings do I change to make it so that only people in the social group can see the new social group forum on the front page?

Say I have a social group named COCA-COLA under parent category SODAS. I also have a social group named PEPSI. How do I make it so unregistered users do not see any of the social groups on the main forum page, members of COCA-COLA only see COCA-COLA, and PEPSI only sees PEPSI?

itsbobtista 11-16-2008 05:28 AM

Ah, I figured it out. Now.. is there a way to have a forum deleted when the social group is deleted?

wmlvb 11-16-2008 08:09 AM

Quote:

Originally Posted by Bilderback (Post 1664632)
I finally have this working with vb3.8
Everything worked fine except the links in group footer.
I've found that the Hook Location (group_view_message_start) no longer exists in vb3.8
When I changed the plugin hook location to (group_view_discussion_start), everything is fine.
I am assuming that the group_view_discussion_start Hook Location has replaced the group_view_message_start maybe?

Billderback,

So it wi worth while to have this mod if you are using 3.8? Are you using the default Vbulletin social group and does it compliment it? Or are you just using the this mod alone?? Thanks so much for the help!

Bilderback 11-18-2008 05:20 PM

I havent tested it completely - only noticed an outdated hook.
From what I can see, the vB Social Group message board is below each group
and the Social Forum adds a seperate forum to a specified forum id of choice.

The way I have it currently is using the group discussion area for only group members
and the created Social Forum as Public discussion as a Gaming Clan type setup.

Phalynx 11-21-2008 05:59 AM

This mod needs to be changed to run with vB 3.8

Will do this next week if I find some spare time.

punchbowl 11-21-2008 09:27 AM

Can I ask a quick slightly ot question Phalynx - is there no built in version of the conditional is_member_of for social groups?

ReCom 11-22-2008 02:16 AM

First, thanks for this great mod. It added much more value to the social groups feature.
(Well, it's a good gesture to thank/praise first before making bug report)

Next is a bug report: The "last post by" info in social groups listing are not displayed when the last activity in a social group was a post in the socialforum.

Please refer attached screenshot. Those with Last Post = "X days ago" with no "By userX" are social groups for which the last post was a post in the socialforum. Those with "By userX" are groups for which the last post was a social group message. Shouldn't the behavior for both situations be the same?

Thanks.

ripperr 11-24-2008 07:14 PM

Thank ya for this addon all worked fine.
edit: ive solved my problem, so just thank you, its a great addon :)

ReCom 11-24-2008 10:15 PM

Also, the mod seems to mess with the message count and last activity timestamp on social groups listing when both social group messages and social forum are available. Since you give an option to either turn off the group messages or leave them on, you should at least take in consideration cases when a social group has both group messages and forum posts. Message count should be sum of messages and posts and last activity timestamp should take the last message or the last post.

SocialForum 1.4.6
vBulletin 3.7.4 PL1
PHP 5.2.6
MySQL 5.0.51a-community

flOid 11-27-2008 09:03 AM

As promised, I'm now publishing a tool to convert the social forums of this mod to the new social group discussions feature in vB 3.8.

See https://vborg.vbsupport.ru/showthread.php?t=197898

ReCom 11-27-2008 09:40 AM

Quote:

Originally Posted by flOid (Post 1673905)
As promised, I'm now publishing a tool to convert the social forums of this mod to the new social group discussions feature in vB 3.8.

Hey thanks! I was worrying about upgrading to 3.8.x because of SocialForum. Now I can be relieved to plan the upgrade when 3.8 gold is out.

p/s: maybe you could put the tool up as a mod on its own? there's a setting in vb.org mod thread where you can relate your tool back with SocialForum.

flOid 11-27-2008 10:13 AM

Quote:

Originally Posted by ReCom (Post 1673920)
Hey thanks! I was worrying about upgrading to 3.8.x because of SocialForum. Now I can be relieved to plan the upgrade when 3.8 gold is out.

p/s: maybe you could put the tool up as a mod on its own? there's a setting in vb.org mod thread where you can relate your tool back with SocialForum.

I was considering this, but since this is not really a vB mod, but just a converter script working completely independently from vB, I wasn't sure if it would be appropriate to publish it as a mod of it's own...

I guess i should contact a moderator to clarify this.

ReCom 11-27-2008 12:12 PM

Quote:

Originally Posted by ReCom (Post 1672277)
Also, the mod seems to mess with the message count and last activity timestamp on social groups listing when both social group messages and social forum are available. Since you give an option to either turn off the group messages or leave them on, you should at least take in consideration cases when a social group has both group messages and forum posts. Message count should be sum of messages and posts and last activity timestamp should take the last message or the last post.

SocialForum 1.4.6
vBulletin 3.7.4 PL1
PHP 5.2.6
MySQL 5.0.51a-community

In reference of my bug report above, I'm tired of waiting so I've fixed it myself. For those forum admins who have both social group messages and social forums (i.e those who didn't disable group messages when installing socialforums), and are bothered with this mod messing the post counts and last post timestamps, here is how to fix it:

Open plugin SocialForums (group_prepareinfo).

Find the following codes:
PHP Code:

            $group['lastpostdate'] = vbdate($vbulletin->options['dateformat'], $getlastpostinfo['lastpost'], true);
            
$group['lastposttime'] = vbdate($vbulletin->options['timeformat'], $getlastpostinfo['lastpost']);

             
$group['lastposterid'] = "";
             
$group['lastposter'] = ""

Wrap it in an IF block, resulting in:
PHP Code:

        if ($getlastpostinfo['lastpost'] > $group['lastpost'])
        {
            
$group['lastpostdate'] = vbdate($vbulletin->options['dateformat'], $getlastpostinfo['lastpost'], true);
            
$group['lastposttime'] = vbdate($vbulletin->options['timeformat'], $getlastpostinfo['lastpost']);

             
$group['lastposterid'] = "";
             
$group['lastposter'] = "";
        } 

Next find
PHP Code:

            $group['visible'] = $getlastpostinfo['threads'] + $getlastpostinfo['replies']; 

Change it to
PHP Code:

            $group['visible'] += $getlastpostinfo['threads'] + $getlastpostinfo['replies']; 

I sincerely hope for this mod creator to include this fix in the next version.

btw, these two lines in the plugin irritate me:
PHP Code:

         $group['lastposterid'] = "";
             
$group['lastposter'] = ""

Is it too hard to find out the username of the last poster? My next post in this thread will be a fix for the two lines, if the next version doesn't fix it or it's taking too much time.

powerful_rogue 11-28-2008 01:25 PM

Hi,

Before I look at upgrading to 3.8, does 3.8 have the feature of allowing members to create a forum for their group like this mod allows?

killa seven 11-29-2008 11:33 AM

I've uploaded all of the files to there right spot, but when i go to upload the product...it says intall includes/socialforumfunctions.php first, can someone help me?

flOid 12-03-2008 01:05 PM

Quote:

Originally Posted by ReCom (Post 1673920)
p/s: maybe you could put the tool up as a mod on its own? there's a setting in vb.org mod thread where you can relate your tool back with SocialForum.

Done now. See https://vborg.vbsupport.ru/showthread.php?t=197898

Would be nice if thise who already used this script would mark this mod as installed now.

powerful_rogue 12-03-2008 06:30 PM

Quote:

Originally Posted by powerful_rogue (Post 1674539)
Hi,

Before I look at upgrading to 3.8, does 3.8 have the feature of allowing members to create a forum for their group like this mod allows?

bump


All times are GMT. The time now is 10:50 AM.

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.02192 seconds
  • Memory Usage 1,875KB
  • 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
  • (5)bbcode_php_printable
  • (20)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