PDA

View Full Version : PixelPost Promote


sprants
10-20-2008, 06:35 PM
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 :

</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/switchy/promote_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:

<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.

Dennis
11-28-2008, 12:23 PM
Basically you can do almost anything with addons.

sprants
12-03-2008, 07:48 PM
thanx alot my friends but how ?! which addon ? i can not found it !

sprants
12-15-2008, 07:58 PM
please help me ! how can i solve this problem ? i cant find any addons about this !
this is my archive : http://www.sabzabi.com/pblog/index.php?x=browse
how can i create a new directory for thumbnil ?