View Full Version : Sig Maker: Dynamic Forum Signature Image
calorie
01-26-2006, 10:00 PM
This mod makes it so you can display your site name, user name, user title, join date, and post count on a dynamic JPG image. It can be used as a forum signature on forums allowing https://vborg.vbsupport.ru/ in signatures.
Requirements: (1) you need to have PHP compiled with the GD image library, and (2) you need either $_SERVER['SCRIPT_URL'] or $_SERVER['SCRIPT_NAME'] available on your server. To see if you meet the requirements, check the README.txt file in the ZIP archive.
You can use whatever JPG image you want for the backdrop. See screenshot, which uses white text on a black to blue gradient. Of course, you can change the text color and make a fancier backdrop.
Please, click install should you use this mod. Thanks. :)
Fine Print: This mod provides up-to-date information on the image, and that means a query per request, so if you are concerned about queries, this mod may not be for you.
Daniel
01-27-2006, 02:44 AM
Nice one :)
And fortunately, my forums meet the requirements :D
* Daniel hits install button
WNxWakko
01-27-2006, 02:55 AM
I hate to burst your bubble. You are the second person today to release a mod that has already been done. Would hate to see repeats all the time. Yours seems a little risky to have to enable .php in sigs. Anyone could exploit that.
Exact same mod,
https://vborg.vbsupport.ru/showthread.php?t=102551
Daniel
01-27-2006, 03:00 AM
Why can't this mod be an alternative? This modification doesn't require you to do put so much work into the installation. This was a lot quicker and easier installation for me.
Cap'n Steve
01-27-2006, 03:03 AM
It's not enabling PHP code in signatures, it's just an image tag that points to the script. And this seems like a more user oriented one while the other one displays forum stats.
WNxWakko
01-27-2006, 03:12 AM
Yes, I see a few of the differences. Perhaps the ideas of both could be pulled into one, so all options are available on the same mod.
Also, how do you link an image using the extension .php without enabling the use of .php? I've never actually tried using any other extention in an image.
Replicators
01-27-2006, 04:16 AM
This is a great idea, but there are not many forums that allow the .php extension as images in the signature. Atleast if they are IPB forums >8(
calorie
01-27-2006, 05:19 AM
LOL, didn't think this mod would cause minor controversy. Not sure what else to call it, forgive me. ;)
From the release post...
It can be used as a forum signature on forums allowing https://vborg.vbsupport.ru/ in signatures.
When you use the BB code tag like so:
[img]http://www.your-domain.com/forum/usersig1.php
It gets parsed like so, assuming the BB code [img] tag is allowed like above:
<img src="http://www.your-domain.com/forum/usersig1.php" border="0" alt="" />
The usersig1.php script of this mod, once you have it up and running, is a clean script returning a JPG image, so forums allowing the BB code [img] tag in signatures like above (on vB it's vB -> vBulletin Options -> User Profile Options -> Allow [IMG] Code in Signatures) you will see the image onscreen.
Please note that the vB BB code [img] tag in signatures is not the same as allowed vB extensions for attachments. Can't say what other non-vB forums do WRT their signatures.
Thanks to those that have been trying to explain it. :)
Snake
01-27-2006, 09:08 AM
Oh I was waiting for something like this one. Thanks!
/me clicks on install
G-Force 199
01-27-2006, 09:54 AM
Thanks so much. Im looking for this one.
This looks like wat i need
/me installs
/me couldnt get it to work
theodonnells
01-27-2006, 06:32 PM
Works great thanks a lot.... :nervous:
lazyseller
01-27-2006, 08:38 PM
Is there a way to display custom profile fields ?
Replicators
01-27-2006, 09:40 PM
This doesn't work on any other forum except vb
Mr Chad
01-27-2006, 09:46 PM
This doesn't work on any other forum except vb
https://vborg.vbsupport.ru/showthread.php?t=102551 uses a cron that creates the image every X minites, and you use a .jpg image to show it. So you dont need to enable php in sigs. Only diff thing about this one is that it uses member names.
calorie
01-27-2006, 10:40 PM
From the release post...
It can be used as a forum signature on forums allowing http://www.your-domain.com/forum/usersig1.php in signatures.
If you want to use this mod on forums that don't allow the BB code [img] tag like above, then yes, you'd need to write the image to a file like chatbum's mod.
However, if you frequent vB forums, then assuming said forums allow the BB code [img] tag in signatures, then you don't need to write the image to a file.
If I would have seen chatbum's mod prior to releasing this mod, I wouldn't have bothered, but as it is, you can change this mod to write the image to a file, or you can change the other mod to display alternative text.
RMS-Chef
01-28-2006, 01:37 AM
Not sure if this would help out as a budy of mine added some htaccess for me for my case.
I had a script that I wrote via a tut that wrote some random text to an image. I too needed to technically call "http://mydomain.com/01/whateverimage.php" to display the image. He had me place the following text in a .htaccess in that /01/ directory where the base image and the script was:
RewriteEngine On
RewriteRule ^(.+)\.jpg$ /01/$1.php [L]
With that in there, it allowed me to use the more "universally accepted" "http://mydomain.com/01/whateverimage.jpg" and it would in turn return the php file. I had a couple of directories ( /02/, /03/, etc.) that had different base images and I just had to change that small piece in the htaccess code to corispond with whatever directory it was in.
Not sure if any of this could improve usability or if it's even an issue but it allowed me to just use a jpg extention in the IMG tags to call the php script.
calorie
01-29-2006, 01:31 PM
Good suggestion RMS-Chef. :)
RewriteEngine on
RewriteBase /
RewriteRule /forum/usersig([0-9]+)\.jpg$ /forum/usersig$1\.php [L]
RMS-Chef
01-29-2006, 10:12 PM
Good suggestion RMS-Chef. :)
RewriteEngine on
RewriteBase /
RewriteRule /forum/usersig([0-9]+)\.jpg$ /forum/usersig$1\.php [L]
Yeah, I don't know what any of it means...lol
Just seemed like it was on the same lines as what I was using.
In my case, http://simpsonsigs.com/03/quotes05.jpg actually calls and returns http://simpsonsigs.com/03/quotes05.php
http://simpsonsigs.com/03/quotes05.jpg
Xtrato
02-07-2006, 10:47 PM
great user friendly mod thanks!
M Shaker
02-26-2009, 02:12 PM
This looks like wat i need
M Shaker
02-26-2009, 02:26 PM
Oh I was waiting for something like this one. Thanks!
itsheinz
06-10-2009, 05:28 AM
how to find this one?
$_SERVER['SCRIPT_URL'] or $_SERVER['SCRIPT_NAME']
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.