vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - SocialForums for vB3.8 (https://vborg.vbsupport.ru/showthread.php?t=207315)

Freesteyelz 08-23-2009 06:43 AM

They remain as forums. You'll need to manually delete the forums if anything.

Tettinntil 09-13-2009 08:58 PM

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 :D Thank you!!!

MrEyes 09-22-2009 01:55 PM

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.

Phalynx 09-22-2009 04:29 PM

Seems really a like a bug. Thanks for showing it.

saikat 10-05-2009 08:43 PM

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

franvsl 10-11-2009 10:49 PM

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!

Phalynx 10-12-2009 08:42 AM

Quote:

Originally Posted by saikat (Post 1895332)
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 (Post 1898334)
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.

franvsl 10-12-2009 08:29 PM

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?

Phalynx 10-13-2009 06:46 AM

Quote:

Originally Posted by franvsl (Post 1898762)
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.

l_amhed 10-13-2009 11:33 AM

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.


All times are GMT. The time now is 06:29 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.01258 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_code_printable
  • (3)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
  • (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