![]() |
Quote:
Not working instead it shows all the codes like $welcome .......but nothing else |
Oh sorry....try
Code:
eval('$welcomepanel = "' . fetch_template('forumhome_welcomepanel') . '";'); Code:
$welcomepanel = $vbulletin->templatecache['forumhome_welcomepanel']; |
Quote:
same thing..... |
Last two lines of the plugin should look like:
Code:
/*$vbulletin->templatecache['FORUMHOME'] = str_replace('$navbar','$navbar ' . $vbulletin->templatecache[forumhome_welcomepanel],$vbulletin->templatecache['FORUMHOME']);*/ |
arf go figure :-/ it works now!
Thanks! ur a lot of help! |
Really?
Woot! I can't even get that thing to work on my vB 3.6 so sorry about this rather awful support because I basically had to figure it out without being able to test it ;) If it runs, sweet!!! |
Quote:
www.dancehallareaz.com/forum |
Sweet! :) Nice boards!
|
Thanks!
|
Script works perfect here...
http://www.crookedjester.com Didnt even need to include any templates; doesnt appear to break ANY of my other plugins. |
Is there any reason why the files it creates are being mae in the root folder and not in templates dir.....??
Cheers. |
Can you try to the set the path manually in the options?
|
Quote:
I'm running 3.5.5 on a windows server if that helps any. Cheers |
Don't exactly know how paths on windows in PHP, maybe try \templates instead of /templates?
|
Quote:
There are already a few plugins available here on vb.org for template compression, but i dont know how to integrate them with your product. The drawback of those other plugins is that they try to compress the templates on every pageload, which means a lot of CPU cycles. If the same thing is implemented in your plug-in, the compression will happen only once when the template is added to the cache. see what andreas has to say about compression: https://vborg.vbsupport.ru/showpost....50&postcount=7 a few of the existing template compression threads: https://vborg.vbsupport.ru/showthread.php?t=106333 https://vborg.vbsupport.ru/showthread.php?t=107615 https://vborg.vbsupport.ru/showthread.php?t=83248 https://vborg.vbsupport.ru/showthread.php?t=79923 https://vborg.vbsupport.ru/showthread.php?t=69787 https://vborg.vbsupport.ru/showthread.php?t=56589 https://vborg.vbsupport.ru/showthread.php?t=67142 |
https://vborg.vbsupport.ru/showthread.php?t=107615 (vB 3.5)
https://vborg.vbsupport.ru/showthread.php?t=67142 (vB 3.0) Those two compress the templates and save them to the database (instead of realtime). So they will work with this plugin. You just have to manually clear the templates/ cache folder after you compress them I think. |
Hello orban
Sometimes forumdisplay not open,only blank page.But other thread is working without any problem. When I clear completely template directory this problem gone. Any idea for that ? |
Hmm, that's a tough one.
Is the server load okay? Are you using APC/eAccelerator? Did you change the template? Next time it happens make a copy of the template directory and manually look for empty/corrupt files. (You could send me a zip of the folder too so I can have a look). |
My server load sometimes peak,but my forum online normaly 1400-1800 (cookie timeout 900) :)
Yes I'm using APC cache. Yes....when I change some template after this problem occured.Or when I enter censor words occured again. Thanks |
Does it ONLY happen after changing censor words/templates? It might be a problem with too many requests so the file creation gets messed up.
|
Yes....Only after changing censor words/templates.But not everytime....
|
You could try to replace
Code:
$fp = fopen($templatefile, 'w+'); Code:
if (rand() < 0.1) |
Himmmm
I changed these lines.And I'll test.. |
Cool, let me know.
It might be a totally different problem of course...but it's hard to troubleshoot this. |
Troubleshott easy for me :) Because I have Threads: 211,191, Posts: 2,463,124, Members: 217,685 and also online is very high 1400-1800.In winter 2000-2500 online.
High traffic board easy troubleshooting ;) Anyway.... I tried 20-25 times change templates and censor words without any problem. I think this problem is gone. |
Cool.
Are the files still being created in the template folder? Double check for that. |
Yes these files already created in that folder ;)
|
Awesome. :)
|
Thanks for faster support :) This is really very good plugin for bigboards.
Cheers |
Glad to hear, thanks for the feedback! :D
|
This probably has been answered, but does this save on bandwidth or load pages faster or both?
Thanks. |
Quote:
it helps to load pages faster. it also helps to reduce the load on MySQL |
Quote:
|
Helo Orban..
REgarding this modification..we r facing some probs.. Quote:
Note: atm we uninstaled it after uninstall probs solved. |
Can you give me a list of other addons you're using?
|
I have a problem with vbSEO. I receive this error when I tried to open a thread:
Code:
Warning: Invalid argument supplied for foreach() in /template_cache.php on line 32 |
I don't have access to vBSEO (it costs moneys and I don't own a copy or intend to buy one) so I can't support that. I'm sorry.
Ask in their forums, I'm happy to talk to a developer of theirs... |
tnx a lot, I´m asking them right now.
|
I´ve tested again without vbseo and I have the same error, so the problem is with another plugin maybe?
I receive this error only: Warning: Invalid argument supplied for foreach() in /template_cache.php on line 32 |
Can you try clearing your forums/templates/ folder? (Not the index.html, though).
Are there even any files in it? It looks like you get empty cache files. |
All times are GMT. The time now is 11:38 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|