Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost FAQ

Post Reply
 
Thread Tools
  #1  
Old 10-20-2008, 06:35 PM
sprants Offline
forum loafer
 
Join Date: May 2008
Posts: 14
PixelPost Promote

hi my friends

i dont know why pixelpost promote addon doesnt work in my page .

my photoblog adress is : http://www.sabzabi.com/pblog/index.php
now i want show random photos from my blog in first page of my site ( first page : http://wwww.sabzabi.com/index.php)
i do this :

1.add promote.php to my addons directory

2.add promote_template.html to my template directory

3. add this code to the first page :

Code:
</head><body>
<script src="http://www.sabzabi.com/pblog/index.php?x=promote&type=random&total=6&showtitle=yes"></script>
<div id="pixelpostpromote"> <div class="pixelposttitle"><a href="http://www.sabzabi.com/pblog/index.php">Your Site Title</a></div> <a href="http://http://www.sabzabi.com/pblog/?showimage=8" class="thumb"><img src="http://www.sabzabi.com/pblog/thumbnails/thumburl.jpg" border="0" alt=" "/></a> </div>
</body></html>
now i see just a link in my first page !

sorry for this simple problem ! plz say to me what i do ?!

Last edited by sprants; 10-21-2008 at 02:10 PM.
Reply With Quote
  #2  
Old 10-21-2008, 01:08 AM
kevincrafts's Avatar
kevincrafts Offline
pixelpost guru
 
Join Date: Jul 2007
Location: Colorado
Posts: 434
I'm getting a 404 error - did you remove the promote template?
__________________
Kevin | Light & Dark Photoblog

Reply With Quote
  #3  
Old 10-21-2008, 02:24 PM
sprants Offline
forum loafer
 
Join Date: May 2008
Posts: 14
My dear Kevin Thanx for your message

No, i add promote_template.html to template directory whit no changes !

are all this work that i do correct ?

plz say to me ! i want show a random image of my gallery in forst page ! what i do ?!
Reply With Quote
  #4  
Old 10-22-2008, 01:41 AM
kevincrafts's Avatar
kevincrafts Offline
pixelpost guru
 
Join Date: Jul 2007
Location: Colorado
Posts: 434
I am still getting a 404 error and I don't see the promote_template.html file where it should be - http://sabzabi.com/Pblog/templates/s..._template.html
__________________
Kevin | Light & Dark Photoblog

Reply With Quote
  #5  
Old 10-22-2008, 11:49 AM
sprants Offline
forum loafer
 
Join Date: May 2008
Posts: 14
ok my friend . i dont know why ! but iam uploading this file again andknow it should be correct !
Reply With Quote
  #6  
Old 10-23-2008, 01:18 AM
kevincrafts's Avatar
kevincrafts Offline
pixelpost guru
 
Join Date: Jul 2007
Location: Colorado
Posts: 434
Ok the files are in the right place but you didn't need to do any editing to the promote_template.html file.

Just place this code on a page where you want your images to appear:

Code:
<script src="http://www.sabzabi.com/pblog/index.php?x=promote&type=latest&total=6&showtitle=yes"></script>
__________________
Kevin | Light & Dark Photoblog

Reply With Quote
  #7  
Old 10-23-2008, 09:54 PM
sprants Offline
forum loafer
 
Join Date: May 2008
Posts: 14
Thank you for everything my dear ! its done ! thanx a lot
Reply With Quote
  #8  
Old 11-24-2008, 11:12 AM
sprants Offline
forum loafer
 
Join Date: May 2008
Posts: 14
hi my friends !

i have a random photo in my first page and for fit this photo to my menu i set the thumbnail sizes to 250*225.

Now i want create a folder for promote with 250*225 thubmnails and dont change pixelpost thumbnail folder !

can i ?

in the other type i dont want change the archive(browse) thumbnail sizes !
Reply With Quote
  #9  
Old 11-27-2008, 05:51 PM
sprants Offline
forum loafer
 
Join Date: May 2008
Posts: 14
. . . . no one cant help me ?
Reply With Quote
  #10  
Old 11-28-2008, 02:43 AM
kevincrafts's Avatar
kevincrafts Offline
pixelpost guru
 
Join Date: Jul 2007
Location: Colorado
Posts: 434
You can create an addon that would create this image on upload and save it in another directory, similar to the way the thumbnails get generated.
__________________
Kevin | Light & Dark Photoblog

Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 08:52 AM.

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