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)
-   -   Forum Display Enhancements - Alternate Last Post Display (https://vborg.vbsupport.ru/showthread.php?t=214832)

troll2 06-12-2009 05:04 PM

1 Attachment(s)
Hi,

Installed lastest for testing. Left alignment does not work anymore.
I added a screenshot

IdanB 06-12-2009 05:11 PM

hmmm.. weird, it's working fine for me.
Any chance this is some other mod installed causing it ? caching templates / some sort of optimizer ?

aztecboi2003 06-12-2009 06:18 PM

Downloaded and about to install. How do I find out how many querys my forumhome has, with and without this mod? Thanks.

IdanB 06-12-2009 06:32 PM

Quote:

Originally Posted by aztecboi2003 (Post 1828458)
Downloaded and about to install. How do I find out how many querys my forumhome has, with and without this mod? Thanks.

Place forum to debug mode.
Scroll to bottom before installation of this mod, see the queries number, install mod, and check number again.

roughly, there are about 2-3 queries performed per forumbit (for user id, avatar / profile) So it shouldnt be that of a problem.

aztecboi2003 06-12-2009 06:42 PM

thanks. I'm backing up my db now. Once I figure out the debug mode I will check it out. I love all the support your providing here for this mod.

IdanB 06-12-2009 07:03 PM

You need to place forums onto debug mode. You have 2 ways to do so:
1) manual: requires edit of config.php (located under /includes/ directory), specific adding this line:
PHP Code:

$config['Misc']['debug'] = true

2) automatic: download debug mode plugin:
https://vborg.vbsupport.ru/showthread.php?t=196422
This plugin will enable you with options to set debug mode on/off on both forums & admincp.

aztecboi2003 06-12-2009 07:16 PM

Thanks. My querys went from 25 to 61. I still like this mod though.

IdanB 06-12-2009 07:35 PM

yea, well, like said, it adds max of queries x2/3 per forumbit, meanining the more forums there are, the more queries it will "hog".
(so for "worst case" example, should there be 10 forums visible, it will add 10x3 = 30 more queries)
If you wish better performance, you can enable this on forum display only, and not on forum home.

IdanB 06-12-2009 07:44 PM

Quote:

Originally Posted by goxy63 (Post 1824220)
1.Can you please edit mod for non english languages (serbian latin and cyrillic in my case)
Nicknames with lets say these signs šđčćž dont have avatars displayed

Just verified this on your test devbelop board, i can say (without a doubt), this has nothing to do with non-english characters.

Problem showing there is avatar is missing for certain users, but that not due to user characters (user id is obtain inside mod correctly).

In close exmaine & debug of this case, it showed the db is not ok & possibly corrupted.
For example user id of x has inside db avatar id of y, but when doing query for avatar id of y inside avatar table, the query returns NULL. (emtpy).

I could "fix" mod in this case to still show "anoymous" avatar if 2nd query returns NULL, but logic suggest admin better fix the problem rather than cover un-logical cases into mod.

If user has avatarid, then he should have avatar. remove of avatar should have removed his avatarid field from user table in db.
if you have some mod installed that manages your users avatar, there is possible bug with it, as it doesnt update your database in all proper locations.

dancue 06-12-2009 08:33 PM

Quote:

Originally Posted by troll2 (Post 1828405)
Hi,

Installed lastest for testing. Left alignment does not work anymore.
I added a screenshot

Same here.

I've flushed my cache through vboptimise and still not aligning to the left.


All times are GMT. The time now is 05:46 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.02143 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_php_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