vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Mini Mods - Profile Fields in Postbits (https://vborg.vbsupport.ru/showthread.php?t=123619)

emin3m 08-27-2006 02:22 PM

@ukcobra
https://vborg.vbsupport.ru/showthread.php?t=82621

@adwade
thanks a lot

i sure will be updating this plugin + optimizing quries

ukcobra 08-27-2006 02:58 PM

Thanks for the pointer, installed, modified and working in under 5 minutes. This is a great help.

marlita 08-29-2006 02:29 AM

My checkbox values are showing up as number in my postbit. Do you know how to solve this? Here is a link to someone in another post who's having a similar problem. Granted, his is showing pics for another mod, but it's the same outcome for me with your mod. Thanks.

robertwo 08-30-2006 02:23 PM

There's a post here about that:

http://www.vbulletin.com/forum/showthread.php?t=97400

soletrader 08-30-2006 03:02 PM

I cant locate it in my admin cp.. where is it?

Farcaster 08-30-2006 04:27 PM

This plugin adds a lot of queries. If I add the profile fields to the postbit manually, no queries are added, because all of the fields are already joined on each post. However, if I use this plugin, a thread with 13 posts goes from 10 queries to 140! That's quite a lot of extra load for the database for bringing up a single page with 4 extra profile fields.

Looking at the code, it looks like the problem is that you are doing a separate query for each profile field and for each post, thus the extra queries needed become exponential for the number of posts per page and the number of profile fields. Since the fields are already loaded and available, you might see if you can use them instead of querying for them separately.

Hope that helps.

marlita 08-30-2006 08:40 PM

Quote:

Originally Posted by robertwo

Thank you for the link, but I didn't see any clearcut solution. If anyone can help with this some more, i'd appreciate it. Thanks.

Wired1 08-31-2006 07:36 PM

Quote:

Originally Posted by marlita
Thank you for the link, but I didn't see any clearcut solution. If anyone can help with this some more, i'd appreciate it. Thanks.

Here's some more info:

http://www.vbulletin.com/forum/showthread.php?t=108785

hsv z clubbie 09-01-2006 02:09 AM

This is exactly what I have been looking for, only new to vb and I cant get it installed. Any tips ?

Cheers

Edit:
Sorted it, excellent stuff, thanks !!!

Its running on http://www.eastcoastutes.com

WeArab 09-06-2006 05:29 PM

Hello emin3m,

Again it's nice hack, But!

When will you fix the lot of queries issue?


All times are GMT. The time now is 11:13 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.01334 seconds
  • Memory Usage 1,734KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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