Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost Help

Post Reply
 
Thread Tools
  #11  
Old 02-25-2008, 08:24 PM
kevincrafts's Avatar
kevincrafts Offline
pixelpost guru
 
Join Date: Jul 2007
Location: Colorado
Posts: 434
Can you post the code you've put in on your image_template.html file for me to look at?
__________________
Kevin | Light & Dark Photoblog

Reply With Quote
  #12  
Old 04-25-2008, 09:30 AM
froyt Offline
forum loafer
 
Join Date: Apr 2008
Posts: 3
Quote:
Originally Posted by mrquick View Post
I'm a programming novice.
My problem is a little different.
I was trying to use the delicious 1.1 template.
I know the stripes addon is creating the stripes because I can see the stripes folder with the files.
I've tried it in the image_template file which didn't work so I then put it in the style sheet and it still didn't work.
Any ideas?
yeah same problem
my template to delicious 1.1 . but I try all template .nothing happend .
( sorry my english not good
Reply With Quote
  #13  
Old 04-25-2008, 10:25 PM
kevincrafts's Avatar
kevincrafts Offline
pixelpost guru
 
Join Date: Jul 2007
Location: Colorado
Posts: 434
I need a url to further troubleshoot this issue.
__________________
Kevin | Light & Dark Photoblog

Reply With Quote
  #14  
Old 04-25-2008, 10:52 PM
froyt Offline
forum loafer
 
Join Date: Apr 2008
Posts: 3
Quote:
Originally Posted by kevincrafts View Post
I need a url to further troubleshoot this issue.
http://www.froyt.com/v3.0/index.php?showimage=57
or
http://www.froyt.com/v3.0/index.php?showimage=54

addon is creating the stripes I can see the stripes folder with the files.

Last edited by froyt; 04-27-2008 at 10:05 PM.
Reply With Quote
  #15  
Old 04-28-2008, 09:58 PM
froyt Offline
forum loafer
 
Join Date: Apr 2008
Posts: 3
ok I give up
Reply With Quote
  #16  
Old 02-05-2009, 01:19 PM
webby Offline
forum loafer
 
Join Date: Jun 2005
Location: Paris
Posts: 18
Thumbs up

Great add-on, wonderful effects, thank you
Reply With Quote
  #17  
Old 02-07-2009, 07:23 PM
DaveAdams Offline
forum loafer
 
Join Date: Feb 2009
Posts: 8
Quote:
Originally Posted by froyt View Post
ok I give up
Oh dear, so near and yet so far. IF you cannot get this addon working, here are a couple of extra steps that may help.

Copy the following into your index.php file, somewhere near the bottom will do (note -this is the same code that appears in the admin_stripes.php file)

PHP Code:
// Background stripes
if((preg_match("<BGSTRIPES>"$tpl) && $image_id)) {
    
$filename 'stripes/stripes_' $image_name;
    if (
file_exists($filename)) {
        
$stripecss 'stripes/' $filename;
        
$tpl str_replace("<BGSTRIPES>",$filename,$tpl);
    } else {
        
$filename '';
        
$tpl str_replace("<BGSTRIPES>",$filename,$tpl);
    }
}
if (
preg_match("<RANDOMSTRIPE>"$tpl)) {
    if (
$handle opendir('stripes')) {
        while (
false !== ($file readdir($handle))) {
            if ((
strpos($file'.jpg',1)) && (strlen($file) > 5)){
                
$files[] = $file;
            }
        }
        
closedir($handle);
    }
    
$r rand(0count($files));
    
$filename 'stripes/' $files[$r];
    
$tpl str_replace("<RANDOMSTRIPE>",$filename,$tpl);

NOTE: , I pasted it in at line 994, just after the following line in index.php
PHP Code:
$tpl ereg_replace("<SITE_PHOTONUMBER>",$pixelpost_photonumb,$tpl); 
-

Then in your image_template.html, you need to put

PHP Code:
<style type="text/css">
body {
"background-color":"black",
"background-image":"<SITE_URL><BGSTRIPES>",
"background-repeat":"repeat"
}
</
style
For some reason, adding the code into the index file helps, as does specifying the repeat option in the css.
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 01:18 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs