Enhancing 80 million pages.

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Pensamientos al azar acerca de vBSEO y www.bmwfaq.com
Php PHP programming related
Old

Forum Stats Signature Generator

Posted 11-15-2007 at 06:30 AM by Danny Bembibre
I make a stupid script to generate forum stats in a image template with GD. This is based in a old plugin that come from the earling times of vBulletin2

What make this

Based in a template image


The script that is executed a scheduled task from the vB adminCP modify the template and put in it your forum stats.
...
Danny Bembibre's Avatar
vBSEO Staff
Comments 8 Danny Bembibre is offline
Old

Source Compile PHP 5.2.4 for Plesk 8

Posted 11-13-2007 at 10:15 AM by Danny Bembibre
Updated 11-14-2007 at 04:15 PM by Philipp Herbers
Proceed at yourn risk, if you brake your server this won't be my problem .

I hate await when a new version of php is released that a packager built it. I prefer has the liberty of compile at any moment.

This procedure is tested in a Plesk 8.1 and in Plesk 8.2

Review the rpms installed:
Code:
[daniel@srv01 ~]$ rpm -qa | grep php
php-5.2.3-1.el4.art
php-common-5.2.3-1.el4.art
php-mysql-5.2.3-1.el4.art
php-gd-5.2.3-1.el4.art
...
Danny Bembibre's Avatar
vBSEO Staff
Posted in BMW FAQ Club, Php
Comments 2 Danny Bembibre is offline
Old

Plugin Memcached vBulletin Templates

Posted 11-02-2007 at 06:03 AM by Danny Bembibre
Updated 11-05-2007 at 04:45 PM by dbembibre
I modify a old plugin of Orban that cached templates at disk and make a modify to put this templates into memcached server (i use as base a memcache wrapper of Jiri Kupiainen).
Work ok at my forums, but im not a php expertise and i cant guaranteed that is bug free..

Upload the template_cache.php file to you includes folder and install the xml product.

Go to AdminCP->Memcached Cache Options and config:

...
Danny Bembibre's Avatar
vBSEO Staff
Comments 0 Danny Bembibre is offline
Old

Plugin restrict search when server load is high

Posted 10-24-2007 at 09:43 AM by Danny Bembibre
This is a old plugin that i make in the earling times of vBulletin 3.5

This plugin allow to you disable searches when the load average reaches a defined level.
  • Can exclude user groups of the search restriction
  • Users with search restricted can use google integrated search (by the plugin)
The code
PHP Code:
 
     $Groupids 
explode(','$vbulletin->options['Allowed_Groups']);
 
     if(
is_member_of($vbulletin->userinfo$Groupids))
     { 
...
Danny Bembibre's Avatar
vBSEO Staff
Posted in BMW FAQ Club, Php
Comments 2 Danny Bembibre is offline
Old

Create a Custom page link and vBSEO-it

Posted 10-22-2007 at 04:08 AM by Danny Bembibre
Updated 10-26-2007 at 05:42 AM by dbembibre
Create a archive in your forum root with name links.php

Copy the following content

PHP Code:
<?php
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('THIS_SCRIPT''links'); // change this depending on your filename
// ################### PRE-CACHE TEMPLATES AND DATA ######################
...
Danny Bembibre's Avatar
vBSEO Staff
Posted in BMW FAQ Club, Php
Comments 2 Danny Bembibre is offline

All times are GMT -4. The time now is 08:16 PM.


Powered by vBulletin Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.