Announcement

Collapse
No announcement yet.

Optimizing vB4?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Andy
    replied
    Does anyone know under what situation the cache table is used?

    Leave a comment:


  • riceboi1230
    replied
    Originally posted by puertoblack2003 View Post
    actually its from here where i got my info from http://articles.digitalpoint.com/con...ze-vBulletin-4
    Yeah, me too.

    Leave a comment:


  • puertoblack2003
    replied
    Originally posted by ENF View Post
    I assume he's following this guide: http://www.adminspoint.com/threads/5...ze-vbulletin-4

    It's from July 2010 and I haven't stepped through all of in the most recent version. Proceed with caution in any case.
    actually its from here where i got my info from http://articles.digitalpoint.com/con...ze-vBulletin-4

    Leave a comment:


  • riceboi1230
    replied
    Yes I have tried it and it works like a charm. Good luck!

    Leave a comment:


  • ENF
    replied
    Originally posted by =abvolt= View Post
    Has anyone tested this ?
    I assume he's following this guide: http://www.adminspoint.com/threads/5...ze-vbulletin-4

    It's from July 2010 and I haven't stepped through all of in the most recent version. Proceed with caution in any case.

    Leave a comment:


  • =abvolt=
    replied
    Has anyone tested this ?

    Leave a comment:


  • ENF
    replied
    Originally posted by Coded View Post
    Atm I am following this optimize vBulletin 4 guide, and I came to this part i quoted above, how can I create a plug-in at the cron_script_cleanup_hourly location with the following PHP code? How do I get there?
    AdminCP -> Plugins & Products -> Add New Plugin

    1) choose vBulletin (line #1)
    2) choose the hook location (line #2) [cron_script_cleanup_hourly]
    3) Name your plugin (line #3)
    4) Execution order, can probably leave this alone... (line #4)
    5) Paste the code from above (line/box #5)
    6) Plugin Active? (YES) (line #6)

    Save.

    Leave a comment:


  • Coded
    started a topic [Forum] Optimizing vB4?

    Optimizing vB4?

    Clean Up Cache
    vBulletin 4 has an internal database based cache that never cleans itself up (don't ask me why). Expired cache items will stay in the database indefinitely (until you purge the entire cache).

    Create a plug-in at the cron_script_cleanup_hourly location with the following PHP code and cache items that are expired/unused will be purged hourly:
    require_once(DIR . '/includes/class_bootstrap_framework.php');
    vB_Bootstrap_Framework::init();
    vB_Cache::instance()->clean(true);
    Atm I am following this optimize vBulletin 4 guide, and I came to this part i quoted above, how can I create a plug-in at the cron_script_cleanup_hourly location with the following PHP code? How do I get there?

Related Topics

Collapse

Working...
X