Pixelpost Forum

Pixelpost Forum (http://www.pixelpost.org/forum/index.php)
-   Addons (http://www.pixelpost.org/forum/forumdisplay.php?f=13)
-   -   New Addon:Pixelpost Signature (http://www.pixelpost.org/forum/showthread.php?t=8555)

kevincrafts 06-10-2008 06:40 PM

New Addon:Pixelpost Signature
 
This addon will output your latest or random images as a single image that you can use as a signature in a forum or elsewhere. You can see a demo in my signature below.

Installation:
  1. Add signature.php to your addons directory
  2. Put the signature directory in your pixelpost directory

Use:


Default:
<img src="http://YOUR-URL-HERE/index.php?output=signature" />

Customize:
<img src="http://YOUR-URL-HERE/index.php?output=signature&show=8&height=50&order= random" />

Use your own values for show(any number), height(any number), or order (random or leave off for latest).

For a link to your site, the HTML would look like this:
<a href="http://blog.kevincrafts.com"><img src="http://YOUR-URL-HERE/index.php?output=signature" border="0" alt="Light and Dark Photoblog" /></a>
Demo:


Pixelpost Forums

The signature directory contains a .htacess file that will rewrite the url for sites not allowing dynamic images for signatures. Instead of the url above, use http://YOUR-URL-HERE/signature/sig.jpg - you can edit the .htaccess file to output the kind of image you want using the parameters listed above.

Download

witty 06-10-2008 07:18 PM

Hi,

Yaa-hah! Cool. I was hoping my "need" in your Promote add-on my inspire this idea. Thanks!

Sadly, for me, the forum I wanted to use with this with doesn't like the format of the img tag... saying:

"You are not allowed to use that image extension on this board. A valid format is: http://www.domain.com/picture.gif, an invalid format is: http://www.domain.com/picture.one.gif"

Darn. But your add-on works great.


-Witty

witty 06-10-2008 07:43 PM

Hi,

Another forum doesn't like it either:

"Sorry, dynamic pages in the [IMG] tags are not allowed"


-Witty

witty 06-10-2008 07:53 PM

UPDATE:

I got it working on forum #1 and forum #2. I misread the directions the first time. NOW to fix it on THIS forum. This is cool!


-Witty

BertJan 06-12-2008 06:20 AM

It does'nt work for me...
I don't know what I've doing wrong.
Can someone help me?

When I try my link to the picture, nothing happens...
http://www.mysteries.sohosted.nl/pho...nature/sig.jpg

kevincrafts 06-12-2008 07:01 AM

Well, it's outputting an empty image, but it is not naming the file correctly, so perhaps there could be something with your server? Has anyone else experienced similar issues? I'm at a loss of what exactly is happening without access to your server to do any sort of debugging.

BertJan 06-12-2008 08:11 AM

I think there is something with the .htaccess file. ?
But how can I change my files so that he use the rewrite function?

kevincrafts 06-12-2008 02:40 PM

It's not just the .htaccess file because I get no image with this url: http://www.mysteries.sohosted.nl/pho...tput=signature

dakwegmo 06-12-2008 04:58 PM

Does this cache the image or create it dynamically every time it's called? If it's not caching it could put some serious strain on your photoblog if you add it as your signature on a heavily trafficked web site.

kevincrafts 06-12-2008 06:39 PM

It does it dynamically each time - I don't know how to cache it, but if anyone wants to offer any assistance with that I would welcome it.


All times are GMT. The time now is 11:34 AM.

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