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 - [DBTech] vB Optimise 2.0.1 (Lite) (https://vborg.vbsupport.ru/showthread.php?t=199207)

Andreas 12-22-2008 03:49 PM

If you want to use the eAccelerator content caching API, you have to enable it - simple as that and clearly stated in the eAccelerator documentation :)

What you are asking for is like requesting from Microsoft to support scanning in Paint on you HP OfficeJet without installing the appropriate TWAIN driver - and telling them that it is their fault as the OfficeJet works 100% when printing from Word ...

TheLastSuperman 12-22-2008 03:55 PM

Guys, can we keep it clean in here? All I'm saying is Deceptor is busting his butt via support so any of the post before mine could have been PM'd after a certain point. It's always the attitudes and arguments on vB.org that make me sad, it's like the special olympics.... even if you win your still retarded ;). (Sorry for playing that card but?)

Now, let's get back to topic and next coder who has valid input, best bet is to PM and resolve w/ Deceptor and I'm sure if it was worthy and useful Deceptor will note your contribution in his post.

Just my 2 cents but I figured it was less than the other useless comments that make non-experienced users have to read through 900 extra post that are arguements....

S-MAN

tpearl5 12-22-2008 03:57 PM

Quote:

Originally Posted by Deceptor (Post 1691198)
tpearl5 - I'm glad it's had such a great impact on your forum, and thank you for your donation :)

I must've missed your donation link. Can you post it? (and in the main mod body)

RvG2 12-22-2008 03:58 PM

vbulletin should built this mod in vb4.0

this is a masterpiece... :D

Deceptor 12-22-2008 03:59 PM

It's in the very top post, look for Support Developr on the right hand side tpearl :) I'll PM it too for yah.

MissKalunji 12-22-2008 03:59 PM

Quote:

Originally Posted by Deceptor (Post 1690071)
Changing the cache method won't break anything :) vB Optimise will check you have the required extension on your server required before applying the setting, if your unsure maybe ask your host to install XCache :)

As for hard drive, I meant your servers hard drive :)

Ok i might try that

So which one is best? xcache?

Thanks for your help :)

Deceptor 12-22-2008 04:08 PM

XCache has shown me and a couple of others the best result, but it can differ depending on your server, ofcourse any cache method other than file cache will be a whole lot better :)

MissKalunji 12-22-2008 04:36 PM

Quote:

Originally Posted by Deceptor (Post 1691221)
XCache has shown me and a couple of others the best result, but it can differ depending on your server, ofcourse any cache method other than file cache will be a whole lot better :)

ohh that's what those are ok thanks :)

MissKalunji 12-22-2008 04:41 PM

any plans to support zend?

tpearl5 12-22-2008 04:50 PM

Quote:

Originally Posted by Deceptor (Post 1691212)
It's in the very top post, look for Support Developr on the right hand side tpearl :) I'll PM it too for yah.

I guess I never donated before. hah, thanks!

Deceptor 12-22-2008 05:18 PM

Quote:

any plans to support zend?
Could you elaborate please? :)

MissKalunji 12-22-2008 05:31 PM

Quote:

Originally Posted by Deceptor (Post 1691259)
Could you elaborate please? :)

I think i got it wrong...

i thought zend optimiser was a php cache (that's what my webhosting told me) that's why i was asking.

Sorry

*sight*

Deceptor 12-22-2008 05:32 PM

Ah, Zend Optimiser you mean? It's to encode scripts mostly, but by encoding it makes them run a little faster, not what vB Optimise does exactly :)

lolo? 12-22-2008 05:41 PM

Quote:

Originally Posted by Deceptor (Post 1691177)
lolo - It doesn't cache all mods I'm afraid, the only mod this currently extends to is vBAdvanced.

no problem it's just a question ;) very nice work :)

Vitaly 12-22-2008 06:20 PM

Quote:

Originally Posted by veenuisthebest (Post 1691035)
Don't you find a reduction in the number of queries?

9 queries instead of 11. All as promissed :)

Quote:

Originally Posted by Deceptor (Post 1691058)
Vitaly - I make no claim to instantly reduce server load, but it may impact it if vB Optimise has done a lot of optimisation ontop of what you had before, so a reduction of two queries wouldn't be significant enough - that said it depends on the amount of users you have active and your server. What cache method are you using?

- eaccelerator for php code, memcached in all vb settings.
- 500-600 online.
- ~0.9 sec for main page, ~0.3 for others.
- nginx + 6 php-fcgi + 1 mysql processes.

(*) WOL was off.

Anyway, your mod is a good example of clear coding and outstanding support. Such functionality MUST be included in vB by default.

If you know some trustable non sintetic methods to measure load & latency - i could try.

Deceptor 12-22-2008 06:32 PM

Vitaly - Your server seems setup so well that a change in page generation time would require some huge changes, the two queries reduced will probably just effect queries ofcourse, and internal bandwidth (especially if you use another server for your database).

As for measuring load and such, I'm afraid not. Still, it has had some positive impact on your forum :)

dtv100 12-22-2008 06:36 PM

any chance to have a box to write xcache login info to make this work even better?

this hack work really good .
thanks

Deceptor 12-22-2008 06:42 PM

dtv100 - I have considered this, but it may be unsecure. That said, I can place it in the next version purely as being optional :)

tmc 12-22-2008 07:15 PM

Quote:

Originally Posted by tpearl5 (Post 1691195)
I installed this mod in the middle of the day on the 20th. Here is some hard proof that it is working wonderfully; stats from my database server's bandwidth. (outbound is mostly database data going to the web server to render a page)

https://vborg.vbsupport.ru/external/2009/02/103.jpg

pay no attention to the data compiled for today the 22nd as it is not complete

I should include that last sunday's traffic (14th) was very similar to this sunday's (21st). I am using memcache. There is also a similar trend on the web server's inbound data.

Outbound bandwidth has decreased by ~47% on the database server!!! (based one day of similar data) What does this mean for most of you? Fewer database queries = lower server load = faster site = happy forum users!

Bottom line: This mod is going to save me money as I am currently going over on my bandwidth as well as improve user experience!

Nominated for mod of the month and will be donating

While I'd say this is certainly fantastic.... could it be the holidays, mostly? You should see a relative decrease in all traffic, CPU and RAM utilization, and so forth if that were the case.

I just can't imagine disabling 2-3 global queries has such a large impact... Esp w/ one of them being such a small query.. (The style one)

Of course if it continually stays that low, good work Deceptor!! :)

Deceptor 12-22-2008 07:21 PM

tmc - While I agree it could be holidays, the templates query is the largest query vB executes, so I would expect some impact. In anycase, it'd be nice to see the results over a longer period :)

dtv100 12-22-2008 07:38 PM

Quote:

Originally Posted by Deceptor (Post 1691341)
dtv100 - I have considered this, but it may be unsecure. That said, I can place it in the next version purely as being optional :)

can i pm you for topic relate to security and my site with this hack ?

tmc 12-22-2008 07:42 PM

Quote:

Originally Posted by Deceptor (Post 1691386)
tmc - While I agree it could be holidays, the templates query is the largest query vB executes, so I would expect some impact. In anycase, it'd be nice to see the results over a longer period :)

Well, I'm sure most showthread queries surpass the template queries in size.. Although I agree it's a most ridiculous way to use the "V" in "MVC" so I hope that changes in 4.0. I'm hoping for something like CodeIgniter where we get a Views folder with all the template files. (And of course the means in default vBulletin to cache these.) :)

I can't think of a better word.... but would it be better for "latency" if we were to only use the Xcache VAR cache for this modification, and tell vBulletin to use nothing but Memcached? (Meaning: So not everything is trying to use the same cache at once)

I was a little foggy on that anyway, because I'm aware that Memcached is capable of a lot more than just caching vB's Datastore, but it seems that if you don't configure vBulletin to use Memcached for the Datastore, then Memcached won't bother caching any other objects into memory, such as query results, etc.

So I guess we can't pick and choose, huh?

I guess I'd be fine with that anyway... This mod = Xcache's var cache, vBulletin = Memcached

Deceptor 12-22-2008 07:47 PM

tmc - This mod can already use XCache while vBulletin uses Memcache, unless I'm missing your point?

dvt100 - The security flaw would be, any other administrator would be able to see your XCache password, and while the only threat would be if you had the XCache page which required user/pass, they could login. Nothing more or less, as far as I know.

dtv100 12-22-2008 07:51 PM

Quote:

Originally Posted by Deceptor (Post 1691415)
tmc - This mod can already use XCache while vBulletin uses Memcache, unless I'm missing your point?

dvt100 - The security flaw would be, any other administrator would be able to see your XCache password, and while the only threat would be if you had the XCache page which required user/pass, they could login. Nothing more or less, as far as I know.

ok thanks i glad this wont affect me at all .would be nice if next update can have my request as optional thanks.

tmc 12-22-2008 07:58 PM

Quote:

Originally Posted by Deceptor (Post 1691415)
tmc - This mod can already use XCache while vBulletin uses Memcache, unless I'm missing your point?

Yeah, a little bit. haha. :)

It's fine, though. I can't really state it any better. I'll just have to mosy on over to vB dot com and ask them if I can use Xcache for the Datastore, but still have Memcached do all the non-Datastore object caching. Meaning: Memcached can do LOTS more than store the measly 1MB of Datastore data, but I think vBulletin forces me into using Memcached for BOTH or not at all.

I just figured since you poked your head around inside all the vB internals you may already know the answer. :)

Deceptor 12-22-2008 08:02 PM

The only thing vBulletin caches on its own using any cacher is the datastore, unless you're referring to other things vBulletin caches aside from the datastore? Sorry I'm not getting your point :)

tpearl5 12-22-2008 08:40 PM

Quote:

Originally Posted by tmc (Post 1691378)
While I'd say this is certainly fantastic.... could it be the holidays, mostly? You should see a relative decrease in all traffic, CPU and RAM utilization, and so forth if that were the case.

I just can't imagine disabling 2-3 global queries has such a large impact... Esp w/ one of them being such a small query.. (The style one)

Of course if it continually stays that low, good work Deceptor!! :)

Like I said, data is similar from last week. Keep in mind that this is the amount of data being passed between two servers and not from server to user. The decrease in data transferred to users is minimal.

ThorstenA 12-22-2008 10:44 PM

After installing and using Filecache as only method I can use, FORUMHOME is around 30% slower than without installing this mod even if there are 3 queries less. Could there be something I did wrong?

Deceptor 12-22-2008 10:50 PM

ThrostenA - Filecache is not the best, and if your servers harddrives aren't that fast you'll notice slower page generation times. Try use a difference cache method, XCache seems to have the best results. If you're unsure how to install the extensions, ask your host for assistance :)

Jim O 12-23-2008 12:48 AM

Hi Deceptor,

I'm using version 1.3.2 of the mod on a 3.7.4 board with vBSEO installed. It installed easily and evidently correctly. I can see that it is cutting down on the db queries as billed and caching some of the data. I am using XCache and enabled that feature. I can see from the XCache admin panel that the mod is accessing the variable cache. I am getting warnings for many of the template entries (eg vbactivecache_template_xxxxxx) as follows:

Quote:

Warning: htmlspecialchars() expects parameter 1 to be string, array given in /path/to/xcache/admin/edit.tpl.php on line 4
The cache in such cases appears to be empty.

Any ideas on why this is happening and if there is an effect?

Deceptor 12-23-2008 12:50 AM

What templates are blank exactly Jim_O? (You put 'xxxxx' in your post).

In either case, the php error is caused by the xcache script because it didn't anticpate for blank variables, you could probably edit the script and change htmlspecialchars to @htmlspecialchars on line 4.

punchbowl 12-23-2008 12:56 AM

1.2.0 working like a dream on 3.7.4 with xcache

Jim O 12-23-2008 01:33 AM

Quote:

Originally Posted by Deceptor (Post 1691591)
What templates are blank exactly Jim_O? (You put 'xxxxx' in your post).

There are probably 200-300 of them. Here are a sampling:
  • vbactivecache_template_12598
  • vbactivecache_template_12882
  • vbactivecache_template_3675
  • vbactivecache_template_12523
  • vbactivecache_template_12527
  • vbactivecache_template_12815
  • vbactivecache_template_12819
  • vbactivecache_template_12747
  • vbactivecache_template_12679
  • vbactivecache_template_12895
  • vbactivecache_template_13045
  • vbactivecache_template_12820
  • vbactivecache_template_12824
  • vbactivecache_template_8110

Pretty much anything that starts with "vbactivecache_template_" is empty.

When there is what appears to be an intentionally blank cache, such as "vbactivecache_phrase_calformat2override_1" it shows the following data:

"{_______VB_ACTIVE_CACHE_BLANK_______}"

These others are simply blank.

Many have multiple hits and "sizes" as large as 15K.

FWIW, if you are interested in system info, I am using XCache 1.2.2 which I compiled from source and run php 5.2.8 as a fastcgi using php-fpm as a controller, also compiled from source. The web server is nginx 0.7.27. No other scripts are accessing XCache and the system seems to be running fine although volume is very light at this moment with people out Christmas shopping or whatever else that they might be doing this time of year.


Quote:

Originally Posted by Deceptor (Post 1691591)
In either case, the php error is caused by the xcache script because it didn't anticpate for blank variables, you could probably edit the script and change htmlspecialchars to @htmlspecialchars on line 4.

That eliminates the warning but not the hundreds of blank caches.

Deceptor 12-23-2008 01:37 AM

Jim_O - Where you see the numbers, run this query:
[sql]select * from template where templateid = xxx[/sql]

You'll probably need to put your table prefix before "template". My guess is you've uninstalled templates, but mods are still trying to run them. But if I'm wrong let me know the result of your query, and if the template in your database actually has any information.

Jim O 12-23-2008 02:07 AM

Nope. Those queries return lots of data.

For instance:


select * from vb_template where templateid = 8110:

Quote:

8110 11 memberlist_resultsbit <tr align=\"center\"> <td class=\"alt1Active\" align=\"$stylevar[left]\" id=\"u$userinfo[userid]\"> <a href=\"member.php?" . $GLOBALS['vbulletin']->session->vars['sessionurl'] . "u=$userinfo[userid]\">$userinfo[musername]</a> ".(($show['usertitlecol']) ? ("<div class=\"smallfont\">$userinfo[usertitle]</div>") : (""))." </td> <!-- show awards --> ".(($vbulletin->options['aw_memberlist']) ? ("<td class=\"$bgclass\">$userinfo[userawards] ".(($userinfo[num_awards]) ? ("<div nowrap> <a href=\"member.php?" . $GLOBALS['vbulletin']->session->vars['sessionurl'] . "u=$userinfo[userid]#award\">$vbphrase[total_awards]: $userinfo[num_awards]</a></div>") : (""))." </td>") : (""))." <!-- /show awards --> ".(($show['emailcol'] AND exec_switch_bg()) ? ("<td class=\"$bgclass\">".(($show['emaillink']) ? ("<a href=\"sendmessage.php?" . $GLOBALS['vbulletin']->session->vars['sessionurl'] . "do=mailmember&amp;u=$userinfo[userid]\" target=\"_blank\" rel=\"nofollow\"><img src=\"$stylevar[imgdir_button]/email.gif\" alt=\"email.gif\" title=\"" . construct_phrase("$vbphrase[click_here_to_email_x]", "$userinfo[username]") . "\" border=\"0\" /></a>") : (""))."&nbsp;".(($show['pmlink']) ? ("<a href=\"private.php?" . $GLOBALS['vbulletin']->session->vars['sessionurl'] . "do=newpm&amp;u=$userinfo[userid]\" target=\"_blank\" rel=\"nofollow\"><img src=\"$stylevar[imgdir_button]/sendpm.gif\" alt=\"sendpm.gif\" title=\"" . construct_phrase("$vbphrase[send_private_message_to_x]", "$userinfo[username]") . "\" border=\"0\" /></a>") : (""))."</td>") : (""))." ".(($show['imicons'] AND exec_switch_bg()) ? ("<td class=\"$bgclass\">$userinfo[icqicon] $userinfo[aimicon] $userinfo[msnicon] $userinfo[yahooicon] $userinfo[skypeicon]</td>") : (""))." ".(($show['homepagecol'] AND exec_switch_bg()) ? ("<td class=\"$bgclass\">".(($show['homepagelink']) ? ("<a href=\"$userinfo[homepage]\" target=\"_blank\"><img src=\"$stylevar[imgdir_button]/home.gif\" alt=\"home.gif\" title=\"" . construct_phrase("$vbphrase[visit_xs_homepage]", "$userinfo[username]") . "\" border=\"0\" /></a>") : ("&nbsp;"))."</td>") : (""))." ".(($show['searchcol'] AND exec_switch_bg()) ? ("<td class=\"$bgclass\">".(($show['searchlink']) ? ("<a href=\"search.php?" . $GLOBALS['vbulletin']->session->vars['sessionurl'] . "do=finduser&amp;u=$userinfo[userid]\" rel=\"nofollow\"><img src=\"$stylevar[imgdir_button]/find.gif\" alt=\"find.gif\" title=\"" . construct_phrase("$vbphrase[find_all_posts_by_x]", "$userinfo[username]") . "\" border=\"0\" /></a>") : ("&nbsp;"))."</td>") : (""))." ".(($show['datejoinedcol'] AND exec_switch_bg()) ? ("<td class=\"$bgclass\">$userinfo[datejoined]</td>") : (""))." ".(($show['postscol'] AND exec_switch_bg()) ? ("<td class=\"$bgclass\">$userinfo[posts]</td>") : (""))." ".(($show['lastvisitcol'] AND exec_switch_bg()) ? ("<td class=\"$bgclass\">$userinfo[lastvisit]</td>") : (""))." ".(($show['reputationcol'] AND exec_switch_bg()) ? ("<td class=\"$bgclass\">$userinfo[reputationdisplay]</td>") : (""))." ".(($show['avatarcol'] AND exec_switch_bg()) ? ("<td class=\"$bgclass\">".(($show['avatar']) ? ("<img src=\"$avatarurl\" border=\"0\" $avwidth $avheight alt=\"" . construct_phrase("$vbphrase[xs_avatar]", "$userinfo[username]") . "\" hspace=\"4\" vspace=\"4\" />") : ("&nbsp;"))."</td>") : (""))." ".(($show['profilepiccol'] AND exec_switch_bg()) ? ("<td class=\"$bgclass\">$userinfo[profilepic]</td>") : (""))." ".(($show['birthdaycol'] AND exec_switch_bg()) ? ("<td class=\"$bgclass\">$userinfo[birthday]</td>") : (""))." ".(($show['agecol'] AND exec_switch_bg()) ? ("<td class=\"$bgclass\">$userinfo[age]</td>") : (""))." ".(($show['customfields']) ? ("$customfields") : (""))." ".(($show['usergroup'] AND exec_switch_bg()) ? ("<td class=\"$bgclass\">".(($show['hideleader']) ? ("&nbsp;") : ("<input type=\"checkbox\" name=\"deletebox[$userinfo[userid]]\" value=\"yes\" />"))."</td>") : (""))." </tr> <tr align="center"> <td class="alt1Active" align="$stylevar[left]" id="u$userinfo[userid]"> <a href="member.php?$session[sessionurl]u=$userinfo[userid]">$userinfo[musername]</a> <if condition="$show['usertitlecol']"><div class="smallfont">$userinfo[usertitle]</div></if> </td> <!-- show awards --> <if condition="$vbulletin->options['aw_memberlist']"><td class="$bgclass">$userinfo[userawards] <if condition="$userinfo[num_awards]"><div nowrap> <a href="member.php?$session[sessionurl]u=$userinfo[userid]#award">$vbphrase[total_awards]: $userinfo[num_awards]</a></div></if> </td></if> <!-- /show awards --> <if condition="$show['emailcol'] AND exec_switch_bg()"><td class="$bgclass"><if condition="$show['emaillink']"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$userinfo[userid]" target="_blank" rel="nofollow"><img src="$stylevar[imgdir_button]/email.gif" alt="email.gif" title="<phrase 1="$userinfo[username]">$vbphrase[click_here_to_email_x]</phrase>" border="0" /></a></if>&nbsp;<if condition="$show['pmlink']"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$userinfo[userid]" target="_blank" rel="nofollow"><img src="$stylevar[imgdir_button]/sendpm.gif" alt="sendpm.gif" title="<phrase 1="$userinfo[username]">$vbphrase[send_private_message_to_x]</phrase>" border="0" /></a></if></td></if> <if condition="$show['imicons'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[icqicon] $userinfo[aimicon] $userinfo[msnicon] $userinfo[yahooicon] $userinfo[skypeicon]</td></if> <if condition="$show['homepagecol'] AND exec_switch_bg()"><td class="$bgclass"><if condition="$show['homepagelink']"><a href="$userinfo[homepage]" target="_blank"><img src="$stylevar[imgdir_button]/home.gif" alt="home.gif" title="<phrase 1="$userinfo[username]">$vbphrase[visit_xs_homepage]</phrase>" border="0" /></a><else />&nbsp;</if></td></if> <if condition="$show['searchcol'] AND exec_switch_bg()"><td class="$bgclass"><if condition="$show['searchlink']"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$userinfo[userid]" rel="nofollow"><img src="$stylevar[imgdir_button]/find.gif" alt="find.gif" title="<phrase 1="$userinfo[username]">$vbphrase[find_all_posts_by_x]</phrase>" border="0" /></a><else />&nbsp;</if></td></if> <if condition="$show['datejoinedcol'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[datejoined]</td></if> <if condition="$show['postscol'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[posts]</td></if> <if condition="$show['lastvisitcol'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[lastvisit]</td></if> <if condition="$show['reputationcol'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[reputationdisplay]</td></if> <if condition="$show['avatarcol'] AND exec_switch_bg()"><td class="$bgclass"><if condition="$show['avatar']"><img src="$avatarurl" border="0" $avwidth $avheight alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" hspace="4" vspace="4" /><else />&nbsp;</if></td></if> <if condition="$show['profilepiccol'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[profilepic]</td></if> <if condition="$show['birthdaycol'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[birthday]</td></if> <if condition="$show['agecol'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[age]</td></if> <if condition="$show['customfields']">$customfields</if> <if condition="$show['usergroup'] AND exec_switch_bg()"><td class="$bgclass"><if condition="$show['hideleader']">&nbsp;<else /><input type="checkbox" name="deletebox[$userinfo[userid]]" value="yes" /></if></td></if> </tr> template 1205805209 Jim O 3.7.0 Beta 6 vbulletin

select * from vb_template where templateid = 13045

Quote:

13045 -1 WHOSONLINE $stylevar[htmldoctype] <html xmlns=\"http://www.w3.org/1999/xhtml\" dir=\"$stylevar[textdirection]\" lang=\"$stylevar[languagecode]\"> <head> $headinclude ".(($show['refresh']) ? (" ".((is_browser('mozilla')) ? (" <script type=\"text/javascript\"> <!-- var myvar = \"\"; var timeout = $refreshtime; function exec_refresh() { var timerID = setTimeout(\"exec_refresh();\", 100); if (timeout > 0) { timeout -= 1; } else { clearTimeout(timerID); window.location=\"online.php?" . $GLOBALS['vbulletin']->session->vars['sessionurl_js'] . "order=$sortorder&sort=$sortfield&pp=$perpage&page =$pagenumber$refreshargs_js\"; } } exec_refresh(); //--> </script> ") : (" <meta http-equiv=\"refresh\" content=\"" . $GLOBALS['vbulletin']->options['WOLrefresh'] . ";url=online.php?" . $GLOBALS['vbulletin']->session->vars['sessionurl'] . "order=$sortorder&amp;sort=$sortfield&amp;pp=$perp age&amp;page=$pagenumber$refreshargs\" /> "))." ") : (""))." <title>" . $GLOBALS['vbulletin']->options['bbtitle'] . " - $vbphrase[whos_online]</title> </head> <body> $header $navbar ".(($pagenav) ? (" <table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\" style=\"margin-bottom:3px\"> <tr valign=\"bottom\"> <td align=\"$stylevar[right]\">$pagenav</td> </tr> </table> ") : (""))." <table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\" id=\"woltable\"> <tr> <td class=\"tcat\" colspan=\"$colspan\"><div class=\"smallfont\"> <span style=\"float:$stylevar[right]\"> <a href=\"$reloadurl\"><strong>$vbphrase[reload_this_page]</strong></a> </span> <strong>" . construct_phrase("$vbphrase[x_members_and_y_guests]", "$numbervisible", "$numberguests") . "</strong><br />" . construct_phrase("$vbphrase[most_users_ever_online_was_x_y_at_z]", "$recordusers", "$recorddate", "$recordtime") . " </div></td> </tr> <tr> <td class=\"thead\"> <span style=\"float:$stylevar[right]\"> <a href=\"$sorturl".((!$show['sorturlnoargs']) ? ("&amp;") : (""))."order=desc&amp;sort=time&amp;pp=$perpage&am p;page=$pagenumber\">$vbphrase[last_activity]</a> $sortarrow[time] </span> <a href=\"$sorturl".((!$show['sorturlnoargs']) ? ("&amp;") : (""))."order=asc&amp;sort=username&amp;pp=$perpage &amp;page=$pagenumber\">$vbphrase[username]</a> $sortarrow[username] </td> <td class=\"thead\"><a href=\"$sorturl".((!$show['sorturlnoargs']) ? ("&amp;") : (""))."order=asc&amp;sort=location&amp;pp=$perpage &amp;page=$pagenumber\">$vbphrase[location_temp]</a> $sortarrow[location]</td> ".(($show['ip']) ? ("<td class=\"thead\">$vbphrase[ip_address]</td>") : (""))." ".(($GLOBALS['vbulletin']->options['showimicons']) ? ("<td class=\"thead\" align=\"center\">$vbphrase[instant_messaging]</td>") : (""))." </tr> $onlinebits </table> ".(($show['ajax_resolve']) ? (" <script type=\"text/javascript\" src=\"clientscript/vbulletin_ajax_wolresolve.js?v=" . $GLOBALS['vbulletin']->options['simpleversion'] . "\"></script> <script type=\"text/javascript\"> <!-- vB_AJAX_WolResolve_Init('woltable'); //--> </script> ") : (""))." <br /> <table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\"> <tr> <td class=\"alt1\" align=\"center\"> <form action=\"online.php\" method=\"get\"> <input type=\"hidden\" name=\"s\" value=\"" . $GLOBALS['vbulletin']->session->vars['sessionhash'] . "\" /> <input type=\"hidden\" name=\"sortfield\" value=\"$sortfield\" /> <input type=\"hidden\" name=\"sortorder\" value=\"$sortorder\" /> <div class=\"fieldset\" style=\"margin:0px\"> ".(($GLOBALS['vbulletin']->options['WOLguests']) ? (" $vbphrase[display]: <select name=\"who\"> <option value=\"all\" $whoselected[0]>$vbphrase[all]</option> <option value=\"members\" $whoselected[1]>$vbphrase[members]</option> <option value=\"guests\" $whoselected[2]>$vbphrase[guests]</option> ".(($GLOBALS['vbulletin']->options['enablespiders']) ? (" <option value=\"spiders\" $whoselected[3]>$vbphrase[search_bots]</option> ") : (""))." </select> &nbsp; &nbsp; ") : (""))." ".(($show['ip']) ? (" $vbphrase[user_agent]: <select name=\"ua\"> <option value=\"1\" $uaselected[1]>$vbphrase[yes]</option> <option value=\"0\" $uaselected[0]>$vbphrase[no]</option> </select> &nbsp; &nbsp; ") : (""))." $vbphrase[per_page]: <input type=\"text\" class=\"bginput\" style=\"font-size:11px\" name=\"pp\" value=\"$perpage\" size=\"2\" /> &nbsp; &nbsp; <input type=\"submit\" class=\"button\" value=\"$vbphrase[display]\" accesskey=\"s\" /> </div> </form> </td> </tr> </table> ".(($pagenav) ? (" <table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\" style=\"margin-top:3px\"> <tr valign=\"top\"> <td align=\"$stylevar[right]\">$pagenav</td> </tr> </table> ") : (""))." <br /> <!-- icons and forum jump --> <table cellpadding=\"0\" cellspacing=\"2\" border=\"0\" width=\"100%\"> <tr valign=\"bottom\"> <td width=\"100%\"> <table cellpadding=\"2\" cellspacing=\"0\" border=\"0\"> <col align=\"center\"></col> <tr> <td><strong>+</strong></td> <td class=\"smallfont\">&nbsp; $vbphrase[user_is_on_your_contact_list]</td> </tr> ".(($show['hidden']) ? (" <tr> <td><strong>*</strong></td> <td class=\"smallfont\">&nbsp; $vbphrase[user_is_invisible_to_others]</td> </tr> ") : (""))." ".(($show['badlocation']) ? (" <tr> <td><img src=\"$stylevar[imgdir_statusicon]/wol_lockedout.gif\" alt=\"$vbphrase[viewing_forum_closed]\" /></td> <td class=\"smallfont\">&nbsp; $vbphrase[viewing_forum_closed]</td> </tr> <tr> <td><img src=\"$stylevar[imgdir_statusicon]/wol_nopermission.gif\" alt=\"$vbphrase[viewing_no_permission_message]\" /></td> <td class=\"smallfont\">&nbsp; $vbphrase[viewing_no_permission_message]</td> </tr> <tr> <td><img src=\"$stylevar[imgdir_statusicon]/wol_error.gif\" alt=\"$vbphrase[viewing_error_message]\" /></td> <td class=\"smallfont\">&nbsp; $vbphrase[viewing_error_message]</td> </tr> ") : (""))." </table> </td> <td> $forumjump </td> </tr> </table> <!-- / icons and forum jump --> $footer </body> </html> $stylevar[htmldoctype] <html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> $headinclude <if condition="$show['refresh']"> <if condition="is_browser('mozilla')"> <script type="text/javascript"> <!-- var myvar = ""; var timeout = $refreshtime; function exec_refresh() { var timerID = setTimeout("exec_refresh();", 100); if (timeout > 0) { timeout -= 1; } else { clearTimeout(timerID); window.location="online.php?$session[sessionurl_js]order=$sortorder&sort=$sortfield&pp=$perpage&page= $pagenumber$refreshargs_js"; } } exec_refresh(); //--> </script> <else /> <meta http-equiv="refresh" content="$vboptions[WOLrefresh];url=online.php?$session[sessionurl]order=$sortorder&amp;sort=$sortfield&amp;pp=$perpa ge&amp;page=$pagenumber$refreshargs" /> </if> </if> <title>$vboptions[bbtitle] - $vbphrase[whos_online]</title> </head> <body> $header $navbar <if condition="$pagenav"> <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px"> <tr valign="bottom"> <td align="$stylevar[right]">$pagenav</td> </tr> </table> </if> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="woltable"> <tr> <td class="tcat" colspan="$colspan"><div class="smallfont"> <span style="float:$stylevar[right]"> <a href="$reloadurl"><strong>$vbphrase[reload_this_page]</strong></a> </span> <strong><phrase 1="$numbervisible" 2="$numberguests">$vbphrase[x_members_and_y_guests]</phrase></strong><br /><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase> </div></td> </tr> <tr> <td class="thead"> <span style="float:$stylevar[right]"> <a href="$sorturl<if condition="!$show['sorturlnoargs']">&amp;</if>order=desc&amp;sort=time&amp;pp=$perpage&amp;pa ge=$pagenumber">$vbphrase[last_activity]</a> $sortarrow[time] </span> <a href="$sorturl<if condition="!$show['sorturlnoargs']">&amp;</if>order=asc&amp;sort=username&amp;pp=$perpage&amp ;page=$pagenumber">$vbphrase[username]</a> $sortarrow[username] </td> <td class="thead"><a href="$sorturl<if condition="!$show['sorturlnoargs']">&amp;</if>order=asc&amp;sort=location&amp;pp=$perpage&amp ;page=$pagenumber">$vbphrase[location_temp]</a> $sortarrow[location]</td> <if condition="$show['ip']"><td class="thead">$vbphrase[ip_address]</td></if> <if condition="$vboptions['showimicons']"><td class="thead" align="center">$vbphrase[instant_messaging]</td></if> </tr> $onlinebits </table> <if condition="$show['ajax_resolve']"> <script type="text/javascript" src="clientscript/vbulletin_ajax_wolresolve.js?v=$vboptions[simpleversion]"></script> <script type="text/javascript"> <!-- vB_AJAX_WolResolve_Init('woltable'); //--> </script> </if> <br /> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="alt1" align="center"> <form action="online.php" method="get"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="sortfield" value="$sortfield" /> <input type="hidden" name="sortorder" value="$sortorder" /> <div class="fieldset" style="margin:0px"> <if condition="$vboptions['WOLguests']"> $vbphrase[display]: <select name="who"> <option value="all" $whoselected[0]>$vbphrase[all]</option> <option value="members" $whoselected[1]>$vbphrase[members]</option> <option value="guests" $whoselected[2]>$vbphrase[guests]</option> <if condition="$vboptions['enablespiders']"> <option value="spiders" $whoselected[3]>$vbphrase[search_bots]</option> </if> </select> &nbsp; &nbsp; </if> <if condition="$show['ip']"> $vbphrase[user_agent]: <select name="ua"> <option value="1" $uaselected[1]>$vbphrase[yes]</option> <option value="0" $uaselected[0]>$vbphrase[no]</option> </select> &nbsp; &nbsp; </if> $vbphrase[per_page]: <input type="text" class="bginput" style="font-size:11px" name="pp" value="$perpage" size="2" /> &nbsp; &nbsp; <input type="submit" class="button" value="$vbphrase[display]" accesskey="s" /> </div> </form> </td> </tr> </table> <if condition="$pagenav"> <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px"> <tr valign="top"> <td align="$stylevar[right]">$pagenav</td> </tr> </table> </if> <br /> <!-- icons and forum jump --> <table cellpadding="0" cellspacing="2" border="0" width="100%"> <tr valign="bottom"> <td width="100%"> <table cellpadding="2" cellspacing="0" border="0"> <col align="center"></col> <tr> <td><strong>+</strong></td> <td class="smallfont">&nbsp; $vbphrase[user_is_on_your_contact_list]</td> </tr> <if condition="$show['hidden']"> <tr> <td><strong>*</strong></td> <td class="smallfont">&nbsp; $vbphrase[user_is_invisible_to_others]</td> </tr> </if> <if condition="$show['badlocation']"> <tr> <td><img src="$stylevar[imgdir_statusicon]/wol_lockedout.gif" alt="$vbphrase[viewing_forum_closed]" /></td> <td class="smallfont">&nbsp; $vbphrase[viewing_forum_closed]</td> </tr> <tr> <td><img src="$stylevar[imgdir_statusicon]/wol_nopermission.gif" alt="$vbphrase[viewing_no_permission_message]" /></td> <td class="smallfont">&nbsp; $vbphrase[viewing_no_permission_message]</td> </tr> <tr> <td><img src="$stylevar[imgdir_statusicon]/wol_error.gif" alt="$vbphrase[viewing_error_message]" /></td> <td class="smallfont">&nbsp; $vbphrase[viewing_error_message]</td> </tr> </if> </table> </td> <td> $forumjump </td> </tr> </table> <!-- / icons and forum jump --> $footer </body> </html> template 1212145003 Jelsoft 3.7.2 vbulletin

So these are some fairly standard templates it would seem.

I do have styles that are unavailable for users to select, but enabling them, flushing the cache and looking again made no difference on the empties. Like I said, all template caches appear to be empty. :confused:

Deceptor 12-23-2008 02:10 AM

For some reason the template content isn't being cached. If you turn on vB debug mode, does vB optimise tell you it's fetched templates from cache, or that it needs to query them to cache?

If unsure where vB Optimise messages are, it's the bottom drop down menu on your pages after enabling debug mode, which can be done like so by adding this in config.php:
Code:

$config['Misc']['debug'] = 1;

Jim O 12-23-2008 02:23 AM

It says that it got 86 templates from the cache and 0 fetched from the database so it seems to be working.

Maybe it's best I ignore what XCache is telling me (?), though it seems odd, and it only appears with this product.

NolF 12-23-2008 04:03 AM

Another suggestion Deceptor

vblog could probably do with one of your great optimizations ^^

shlomot 12-23-2008 04:04 AM

When vB Optimise is active, when clicking the save button after editing a post, the revised data is saved into the database, but the screen is left at the editor mode instead of refreshing into a normal post display.

NolF 12-23-2008 04:15 AM

shlomot I tried quick and advance edit in 3.7.4 and the edit box went away and the post was updated correcty


All times are GMT. The time now is 10:10 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.02508 seconds
  • Memory Usage 1,958KB
  • 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_code_printable
  • (20)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
  • (40)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