![]() |
Random pics in sigs
Most of my members moan about not being able to use flash in their sigs so they can display more than 2 in their sig, so i thought of making a hack to help them display a random picture in their signiture, i looked into this and seen this code
PHP Code:
|
bump
|
1 Attachment(s)
Hmm, this would be a difficult hack to make, unless you enable HTML in your signatures I suppose.
Here is my suggestion: Create X amount of new fields (lets say 4) in the usercp profile page under the signature field. Then allow the user to enter up to 4 different URL's of signatures. Then you could probably work your way somehow with one of those banner rotation scripts and integrate it with vBulletin to allow a member to rotate their 4 banners. You could have more than 4 ofcourse, or you could even allow the user to specify how many he wants, ofcourse this adds more coding on your part. Attached is the simplest banner-rotation script I know of. |
Quote:
|
Anyone know if replacements might work?
I am guessing they won't, I am thinking of a way to do this...why don't you just allow flash? with the [swf] replacement...I think I saw some addon about flash somewhere. Drk |
I can't see how this would work without having some type of profile field...the user has to somehow enter the URL's of the images that need to be rotated, the method you had thought of and that I suggested is the only way I could see it being done. That way the info can be stored in the database via a query.
As for the quantity of signatures, to get this you just have a field that allows the user to type in a number, and upon hitting the "go" button, it generates X amount of new siggie fields. There is one way easier for users, the only other way I could see it being done. Have the user make a animated gif with all the signatures inside, set at slow frame speed ;) ...now that I think of it though, there might be another way, but a probably very hard to code way--and this is probably the way that would best suit you and your members. Somehow create a new tag, that possibly looks like: Code:
[randomsig][*]http://www.mysite.com/images/sig.1jpg[*]http://www.mysite.com/images/sig.2jpg[*]http://www.mysite.com/images/sig.2jpg Now how all this is done, I have no clue :) |
Quote:
|
HELP this is a great idea i would also like to have a random sig !
|
Thats very easy you can do that with GD library
|
perhaps you could get this hack made then, i have a small idea on what you could do, but i'm a php n00b still
|
All times are GMT. The time now is 03:47 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|