У Вас в настройках PHP register_globals=ON? какеры идут к Вам!!!

Файловый Архив

  • Неограниченное количество категорий и суб-категорий
  • Настройки прав доступа по группам
  • Настройки прав доступа по каждой категории
  • Предпросмотр медиа файлов: FLV, IFLV, F4A, F4V, MP4, MP3, MOV и других...
  • Мультизагрузка файлов - SWFUploader
  • Добавление файлов с сервера
Подробности и история обновлений продукта в этой теме
Loading

Go Back   форум vBSupport.org > >
Register Изображения Меню vBsupport Files Manager Аллея Звёзд Реклама на форуме Search Today's Posts Mark Forums Read
  • Мемберка
  • Администраторам
  • Premoderation
  • For English speaking users
  • Изменения в правах
  • Каталог Фрилансеров
Пароли на скачивание файлов в Member Area меняются автоматически каждый день
Если вам нужно скачать какой то скрипт, за паролем ко мне в ЛС
привет какирам kerk
Ещё раз обращаем Ваше внимание: всё, что Вы скачиваете и устанавливаете на свой форум, Вы устанавливаете исключительно на свой страх и риск.
Сообщество vBSupport'а физически не в состоянии проверять все стили, хаки и нули, выкладываемые пользователями.
Помните: безопасность Вашего проекта - Ваша забота.
Убедительная просьба: при обнаружении уязвимостей или сомнительных кодов обязательно отписывайтесь в теме хака/стиля
Спасибо за понимание
На форуме введена премодерация ВСЕХ новых пользователей

Почта с временных сервисов, типа mailinator.com, gawab.com и/или прочих, которые предоставляют временный почтовый ящик без регистрации и/или почтовый ящик для рассылки спама, отслеживается и блокируется, а так же заносится в спам-блок форума, аккаунты удаляются
for English speaking users:
You may be surprised with restriction of access to the attachments of the forum. The reason is the recent change in vbsupport.org strategy:

- users with reputation < 10 belong to "simple_users" users' group
- if your reputation > 10 then administrator (kerk, Luvilla) can decide to move you into an "improved" group, but only manually

Main idea is to increase motivation of community members to share their ideas and willingness to support to each other. You may write an article for the subject where you are good enough, you may answer questions, you may share vbulletin.com/org content with vbsupport.org users, receiving "thanks" equal your reputation points. We should not only consume, we should produce something.

- you may:
* increase your reputation (doing something useful for another members of community) and being improved
* purchase temporary access to the improved category:
10 $ for 3 months. - this group can download attachments, reputation/posts do not matter.
20 $ for 3 months. - this group can download attachments, reputation/posts do not matter + adds eliminated + Inbox capacity increased + files manager increased permissions.

Please contact kerk or Luvilla regarding payments.

Important!:
- if your reputation will become less then 0, you will be moved into "simple_users" users' group automatically.*
*for temporary groups (pre-paid for 3 months) reputation/posts do not matter.
Не можете скачать вложение?
Изменения в правах групп пользователей
внимательно читаем эту и эту темы
Короткая версия - тут
Уважаемые пользователи!

На форуме открыт новый раздел "Каталог фрилансеров"

и отдельный раздел для платных заказов "Куплю/Закажу"

 
 
Первый пост
Old  
TAIFUN
Человек
vBSSecurity
 
TAIFUN's Avatar
Default 1

Quote:
Originally Posted by Dyuhaha View Post
vboptimise
Лучше от него отказаться.

Обращаю внимание на то, что для корректного удаления этого хака - его нужно сначала отключить!
 
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
Old  
Dyuhaha
Эксперт
 
Dyuhaha's Avatar
Default 0

Quote:
Originally Posted by TAIFUN View Post
Обращаю внимание на то, что для корректного удаления этого хака - его нужно сначала отключить
Спасибо!
Только что попробовал просто выключить и раскомментировать config['Datastore']['class'] = 'vB_Datastore_XCache' - опять посыпались ошибки. Это что-то на сервере с XCache нужно накручивать. Вопрос - что? У меня отключена автоматическая очистка кэша:
Code:
; interval of gc scanning expired items, 0=no scan, other values is in seconds
xcache.gc_interval =           0
Может быть из-за этого проблема? И как его, вообще, вручную чистить?
 
Old  
mindframe
Специалист
 
mindframe's Avatar
Default 1

@Dyuhaha, не совсем.
http://www.vbulletin.org/forum/showthread.php?t=277804
Ну и это то, про что я и говорил.
http://www.vbulletin.org/forum/showthread.php?t=255994
 
Old  
Dyuhaha
Эксперт
 
Dyuhaha's Avatar
Default 0

Quote:
Originally Posted by mindframe View Post
не совсем.
К сожалению я "Unlicensed Members"))
 
Old  
hoo
Мастер
 
hoo's Avatar
Default 0

xcache.test=On
для начала
 
Old  
Dyuhaha
Эксперт
 
Dyuhaha's Avatar
Default 0

Quote:
Originally Posted by hoo View Post
xcache.test=On
Пробовал утром - не помогает.
 
Old  
hoo
Мастер
 
hoo's Avatar
Default 0

@Dyuhaha,
xcache.var_size = 64M
тогда так
 
Old  
Dyuhaha
Эксперт
 
Dyuhaha's Avatar
Default 0

Quote:
Originally Posted by hoo View Post
xcache.var_size = 64M
И так пробовал!) Честно!
И апач каждый раз перегружал...
 
Old  
mindframe
Специалист
 
mindframe's Avatar
Default 1

xCache Templates
Code:
By default vBulletin loads templates out of the database which means that all templates that are required on a page must be loaded ("cached") before the first template gets rendered.

If a template is not cached an additional dataase query is required.

This Add-on loads templates from XCache on demand, completely emiminating the need for database reads after an initial pageload.

By loading templates on demand only those templates that are really being used on a page will be loaded into memory, so theoretically this Add-on should

    Decrease memory footprint
    Decrease page creation time (as loading data from a shared memory storage like XCache is faster than DB access)
    Remove 1+X (X = amount of uncached templates) queries per page


How is that different to other existing tools like vBOptimise?
Most existing tools (at least the ones I know of) load all templates upfront, just like vBulletin would do if the DB is used.
This means that only those templates that are explicitly cached will be loaded from the cache, uncahed templates will cause additional database queries.

Can I use this Add-on my hared Webhosting?
Most likely not as it requires XCache with variable caching enabled which is usually not the case on shared hosts

I use multiple webservers, is that a problem?
It should work just fine with multiple webservers but that has not been tested so far.

Are there any other drawbacks?
Yes, this Add-on might be (be is not necessarily) incompatible with Add-ons that manipulate the template cache at runtime (which is a technique that is genreally deprecated).

History
1.0.0 Beta 1
First Public Release

1.0.0 Beta 2

    Fixed incorrect variable initialisation that caused problems with other Add-ons that manipulate the template cache
    Important: Such techniques (like using str_replace(), etc.) are deprecated and it is strongly advised not to use Add-ons that do such auto-template changes.
    Increased Plug-in execution order to the maximum to ensure all Templates cached via Plug-ins are grabbed


1.0.0 Beta 3

    Fixed missing global in Hook template_compile
    Added prefix setting to config.php
XCache for vBulletin Caching
Code:
This mod will replace the default vB_Cache_Db class (database cache) used in vBulletin with an xCache implementation of it.
vBulletin has promised to implement this option themselves, but I'm sick of waiting, so I created this.

What are the benefits of using XCache for caching over MySQL (Database) ?

In theory, quicker page load times, lower server load. This will offload the duty of caching from mysql and throw it into the RAM. 
It will also reduce your query count per page.

The most staggering difference you will notice is with the CMS, or any mods that make good use of the cache.
For instance, in my dev site using the default CMS content and settings, browsing as a guest, I was able to shave off an average of 0.06 seconds from the page generation time  (0.23 -> 0.17 seconds) and 43 queries (86 -> 43)!
In a live site, the reduction in queries and overall time spent serving the page will have a large effect on overall performance in a busy site.

Make sure that you also have the datastore cache method set to xcache as well for further query reduction: https://www.vbulletin.com/docs/html/datastore
Also install "Load templates from XCache" for further query reduction: http://www.vbulletin.org/forum/showthread.php?t=255994

Any drawbacks?

Other than a file edit required on every vBulletin upgrade, none that I can think of... If you think of one, post it.

What about other data caches ? (memcached, apc, etc.)

I could write those as well, if there is a demand for it, and they happen to work similar enough to xcache.

This is a beta!

This has been tested in a live forum for a few days, and no incidents/side-effects have been noticed or reported, but I cannot yet guarantee it is 100% perfect.

This mod requires one file edit

See this bug to find out why: http://tracker.vbulletin.com/browse/VBIV-13241

Requirements

This was designed to fail gracefully by falling back on the DB cache if there is an error, so if there is an error you will not even realize it.

Make sure these requirements are met:
  • XCache 1.3.2 installed (only version that I tested) (verify by viewing phpinfo page)
The following are in your XCache ini settings (php.ini usually):
  • xcache.var_size = 32M (32MB; at least)
  • xcache.var_slots = 8k (8000; at least)
  • Set xcache.admin.user and xcache.admin.pass to whatever you want (keep in mind that the pass must be MD5'd)
Restart after making any changes. Another tip is to set your xcache.count and xcache.var_count to the number of CPU cores that you have. See the documentation here: http://xcache.lighttpd.net/wiki/XcacheIni After running this mod for a while, check your xcache admin page to ensure that your var_slots and var_size are large enough. Install Instructions 1. Upload the contents of the UPLOAD folder in xcache.zip to your forum root 2. Open up your /includes/config.php file and add the following:
PHP Code:
/*  * XCache Config  */ $config['xcache']['user'] = 'user'; $config['xcache']['pass'] = 'pass'
Edit it to include your xcache admin username and password 3. This step will need to be repeated whenever you do a forum upgrade. Open up /vb/cache.php. Find:
PHP Code:
self::$instance vB_Cache_Db::instance(); 
Replace with:
PHP Code:
self::$instance fst_Cache_Xcache::instance(); 
Attached Files
File Type: zip xcachtemplates_1-0-0_Beta_3.zip (3.7 KB, 4 views)
File Type: zip xcache-0.9.1.zip (3.7 KB, 5 views)
 
Old  
Dyuhaha
Эксперт
 
Dyuhaha's Avatar
Default 0

@mindframe, огромное спасибо! Буду разбираться.
 
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT +4. The time now is 01:50 PM.


Powered by vBulletin® Version vBSupport Edition
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.