PHP programming related
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. ...
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 ...
[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
Updated 11-14-2007 at 05:15 PM by Philipp Herbers
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: ...
Updated 11-05-2007 at 05:45 PM by dbembibre
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 restrictionUsers 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)) { ...
$Groupids = explode(',', $vbulletin->options['Allowed_Groups']); if(is_member_of($vbulletin->userinfo, $Groupids)) {
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 ###################### ...
<?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 ######################
Updated 10-26-2007 at 06:42 AM by dbembibre