The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#312
|
|||
|
|||
Disable the original plugin based template cache. Under your forums, create a new folder called 'cache' and make sure it is writable by the webserver user (www or nobody or similar).
Copy everything in the first code block and put it in a new php file. Save it as yourforums.com/forums/includes/functions_hooks.php Then, in your adminCP, open 'Add a new plugin'. Under hook location, select 'cache templates'. Under 'Plugin PHP code', put everything from the second code block in orban's post. Make sure 'active' is yes, give it a descriptive name like 'Orban's experimental template cache' and save it. That's it. If you ever make any changes to your templates, you have to manually delete forums/cache/*.php otherwise your template changes will not become active. If this interferes with any other plugin, then there is no remedy as of now. You have to either stop using the other plugin or go back to the old cache. |
#313
|
||||
|
||||
thnx amcd..
seemd it will create probs (as Orban said). But does it make it any better than the existing one? |
#314
|
|||
|
|||
It 'may' create problems, not 'will'. It is unsupported. So you can use it if you are confident or daring.
Don't listen to me, because if something bad happens, I may not be competent to help you. It is orban's creation, and if he says it is experimental and not fit for production boards, I guess it is not. But I am using it without any problems from the day he first posted it. edit: The only reason I am subtly urging you to use it is that I want more people to use it. That will probably put pressure on orban to develop it into a more mature solution. |
#315
|
||||
|
||||
Quote:
more user more pressure developed version what r u using as opcode cacher ? how many ram did u allocate for that? what s ur experience about perfoamance gaining ? |
#316
|
|||
|
|||
I am using xcache with lighttpd. I have allocated more, but 128 MB should be more than enough if you only have vbulletin.
Regarding performance gains, let us just say that I cannot imagine my forums running without xcache or this plugin. Come to think of it, I cannot imagine my forums running on apache. btw, if you are really looking for big performance gains and have some php/mysql knowledge, do try sphinx search. The sphinx implementation for vbulletin is also orban's creation, and it is just unbelievable to say the least. |
#317
|
||||
|
||||
ah i think yet pit forum is not in the shape to impliment sphinx search.yes i read the whole thread for sphinx by orban.Still we are not that large in size....even not in bigboards
just saw ur board...do u mind to say ur server configuration ? dedicated ? but soon will install the new experimental one...maybe tomorrw night..... we got 320MB Ram + 1Gb burst ram. 128MB wont be a problem for us. |
#318
|
|||
|
|||
I am using the experimental version. Since yesterday our users were reporting few problems. The php error logs show a lot of these errors.
Code:
Call to undefined function template_4789() in /usr/home/xb/www/bbb/includes/functions.php(4605) : eval()'d code on line 1 globaltemplates[] = 'option'; |
#319
|
|||
|
|||
Have you recently installed an addon?
You can also try to exclude it, it's somewhere in the function....like I excluded the css templates. |
#320
|
|||
|
|||
no, I have not installed any add-on.
I have gone back to the original mod for now, and it seems to be working fine. |
#321
|
|||
|
|||
You could try to add "option" to
if (substr($template, 0, 17) == 'editor_jsoptions_' or substr($template, 0, 14) == 'editor_styles_') or $template == 'option' Or check what exactly is wrong on that line of code so I can maybe give you a fix... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|