View Full Version : Using Pixel Post with PHP v4.2.2
Anonymous
03-09-2005, 03:22 AM
Does anyone know if it is possible to strip down or disable some features of Pixel Post to run on a pre-4.3 version of PHP?
I am wanting to setup a simple Photoblog, and Pixel Post looks perfect for my needs, but my host only has 4.2.2!
I do some PHP development myself, so I wouldn't mind tinkering around inside if anyone knows of the functions used that require 4.3.
Thanks, any help would be great!
raminia
03-09-2005, 05:16 AM
nope!
there should be some ways but I don't know.
at starting point of index.php
there is some code
switch ($_GET['x']) {
case "":
$tpl = file_get_contents("templates/".$cfgrow['template']."/image_template.html");
break;
case "ref":
$tpl = file_get_contents("templates/".$cfgrow['template']."/referer_template.html");
break;
case "browse":
$tpl = file_get_contents("templates/".$cfgrow['template']."/browse_template.html");
break;
case "about":
$tpl = file_get_contents("templates/".$cfgrow['template']."/about_template.html");
break;
case "category":
$tpl = file_get_contents("templates/".$cfgrow['template']."/image_template.html");
break;
}
which loads templates and without php 4.3. file_get_contents function of these does not work. There may be moresimilar codes.
Connie
03-09-2005, 06:15 AM
my personal opinion is that it is not a good idea to go back in development, we are all working on going further with Pixelpost and that eats a lot of time and devotion...
you will not be able to use updates, addons or modfications... because you always have to check whether it is compatible or not...
but that is my opinion and I think we should not invest our time in that
Anonymous
03-09-2005, 01:54 PM
I would agree that you shouldn't invest time into "going backwards." I was mainly curious if anyone had already done it at some point or something like that.
I am all for making the software better and moving forward! For now I am just out of luck until my host upgrades or until I find a different host I guess!
Thanks for the comments!
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.