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)

YuOr 06-30-2008 01:54 PM

Quote:

Originally Posted by Phalynx (Post 1563010)
Check usergroup permissions.

you mean this:
Can write messages in private socialforumShould Users that are not a Member of a invite only/moderated social group be allowed to write in its social forum? Valid only if "can read" is enabled.
I have it set to "no"

Phalynx 06-30-2008 02:10 PM

Restriction mode enabled?

YuOr 06-30-2008 02:56 PM

Quote:

Originally Posted by Phalynx (Post 1563055)
Restriction mode enabled?

where can i find it?

ps
sorry to be such a pain, it's all so new to me! Thank you for your help!
NEVER MIND FOUND IT! NOW IT WORKS! THANK U!

RvG2 06-30-2008 05:19 PM

Quote:

Originally Posted by Phalynx (Post 1562827)
That is already on my todo list.

Thank you so much sir... :)

RvG2 06-30-2008 05:45 PM

and one more thing is that hope you can reduce the queries it adds to the group.php page. (more or less 70 queries) :)

Phalynx 06-30-2008 06:14 PM

Quote:

Originally Posted by RvG2 (Post 1563247)
and one more thing is that hope you can reduce the queries it adds to the group.php page. (more or less 70 queries) :)

Uhm, this does not come from my mod... I have it running on different sites with around 20 queries. Disable the mod and check the queries again.

Mark.B 06-30-2008 06:22 PM

Quote:

Originally Posted by Phalynx (Post 1563267)
Uhm, this does not come from my mod... I have it running on different sites with around 20 queries. Disable the mod and check the queries again.

Hmm...now you mention it Phalynx, it shows 58 on mine...which I hadn't noticed before. I've nothing else installed that could be causing that.

Mark.B 06-30-2008 06:27 PM

Ok it seems to be doing this for *every* social group that has a forum:

Code:

SELECT
                        t.lastpost                       
                        FROM thread AS t
                        WHERE forumid=xxx
                        ORDER BY lastpost desc
                        LIMIT 1

And also:
Code:

SELECT
                        SUM(replycount) AS replies,
                        COUNT(threadid) AS threads
                        FROM thread AS t
                        WHERE forumid=xxx
                        GROUP BY forumid

So it adds two queries per social group forum.

RvG2 07-01-2008 03:01 AM

Before:

Page generated in 0.12401 seconds with 80 queries

After disabling:

Page generated in 0.05893 seconds with 12 queries

I have 17 groups created so far...

Mark.B 07-01-2008 06:00 AM

Quote:

Originally Posted by RvG2 (Post 1563631)
Before:

Page generated in 0.12401 seconds with 80 queries

After disabling:

Page generated in 0.05893 seconds with 12 queries

I have 17 groups created so far...

Yes, this is definitely a problem. From my limited investigations, there are at least two queries added for each social group forum that is created. There may be more, it sounds like it from your figures. I have 58 queries out of 12 social group forums.

Although the queries are not taking long to run, this is probably because none of my social group forums have more than about 6 posts as yet.

On a really large site where the social group forums get loads of posts, this is likely to cause issues.

I may try and disable that aspect of the product for the time being until this can be fixed.


All times are GMT. The time now is 05:02 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.01880 seconds
  • Memory Usage 1,744KB
  • 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
  • (6)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