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)
-   -   Board Optimization - Super Speedy UserCP (https://vborg.vbsupport.ru/showthread.php?t=220456)

jambo_1969 08-09-2009 05:12 AM

It is a bit quicker, HOWEVER, it zero's all the stats from the main forum.php page - so it looks like there are no posts and no views.

Birched 08-09-2009 05:29 AM

That doesn't happen for me at all -- check your braces (it sounds like you may have corrupted the surrounding function?), and if that doesn't fix it, then post in your change here for me to look at (or pm it.)

unp 08-09-2009 06:54 AM

Quote:

Originally Posted by down.low (Post 1863688)
One mistake:


if (!i$lastpostarray)

should be the following:

if ($lastpostarray)

Quote:

Originally Posted by Birched (Post 1863708)
Thanks - fixed.

Its still ' if (!$lastpostarray)' in the frst post.
So what should it be ?

jambo_1969 08-09-2009 08:12 AM

Quote:

Originally Posted by unp (Post 1863942)
Its still ' if (!$lastpostarray)' in the frst post.
So what should it be ?

I'm assuming the one in the OP, as I put the amended one from the later post in, and it zero'ed all post/view counts on forum home.

unp 08-09-2009 09:41 AM

I get and error with if (!$lastpostarray)

Code:

Parse error:  syntax error, unexpected T_VARIABLE in /home/unp/public_html/includes/functions_forumlist.php on line 156
With if ($lastpostarray) All post/view are Zero on forumhome.

Birched 08-09-2009 10:39 AM

Quote:

Originally Posted by unp (Post 1863942)
Its still ' if (!$lastpostarray)' in the frst post.
So what should it be ?

The error was the letter 'i' that used to be there (look more closely.)

Birched 08-09-2009 10:42 AM

Quote:

Originally Posted by unp (Post 1863972)
I get and error with if (!$lastpostarray)

Code:

Parse error:  syntax error, unexpected T_VARIABLE in /home/unp/public_html/includes/functions_forumlist.php on line 156
With if ($lastpostarray) All post/view are Zero on forumhome.

Please post your modified code. That is what you'd get with a typo.

unp 08-09-2009 11:20 AM

I tried again and it worked.I must have done something wrong the first time.

TWTCommish 08-09-2009 09:28 PM

I assume this only speeds up the UserCP if the user has subscribed to forums? I ask because very few of my users use that feature.

Birched 08-10-2009 01:27 AM

Quote:

Originally Posted by TWTCommish (Post 1864230)
I assume this only speeds up the UserCP if the user has subscribed to forums? I ask because very few of my users use that feature.

That's what it looks like. It's easy to try, though.


All times are GMT. The time now is 01:52 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.01459 seconds
  • Memory Usage 1,738KB
  • 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
  • (3)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