Pixelpost Forum

Pixelpost Forum (http://www.pixelpost.org/forum/index.php)
-   Pixelpost FAQ (http://www.pixelpost.org/forum/forumdisplay.php?f=12)
-   -   PixelPost Promote (http://www.pixelpost.org/forum/showthread.php?t=9308)

sprants 10-20-2008 06:35 PM

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 ?!

kevincrafts 10-21-2008 01:08 AM

I'm getting a 404 error - did you remove the promote template?

sprants 10-21-2008 02:24 PM

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 ?!

kevincrafts 10-22-2008 01:41 AM

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

sprants 10-22-2008 11:49 AM

ok my friend . i dont know why ! but iam uploading this file again andknow it should be correct !

kevincrafts 10-23-2008 01:18 AM

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>

sprants 10-23-2008 09:54 PM

Thank you for everything my dear ! its done ! thanx a lot

sprants 11-24-2008 11:12 AM

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 !

sprants 11-27-2008 05:51 PM

. . . . no one cant help me ?

kevincrafts 11-28-2008 02:43 AM

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.


All times are GMT. The time now is 07:41 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.