View Full Version : img in sigs
almighty one
08-05-2001, 06:01 PM
where would i restrict the deminsions of ims in sigs? or can this not be done? or could it be hacked? if it could be hacked please could a mod move it to requested hacks if it is easy to do can someone tell me how to do so thank you
keep in mind it isnt the bytes im so worried with it is deminsions restrictin buytes to 100kb would be nice as well
Dakota
08-07-2001, 02:59 AM
Well I am not sure how to restrict the actual file size of the sig, but as for the img dimensions, all you need to do is create another BB code for them to use. I just used
and here is the html needed for it
<img src="http://www.bidforpower.com/forum/admin/cp_logo.gif" height="101" width="455">
You can just change the dimensions to whatever you want, but this will stretch every image used in a sig to that size.
almighty one
08-07-2001, 09:45 PM
see i dont want to strecth the sig to a size i want to keep users from using a sig graphic that exceeds a size and they can use anything under that size lets say 550pixels by 200 pixels as an example they can use anything upto this size but no more then this size is what i ned thanx for tryin though
Dakota
08-08-2001, 04:04 PM
Well I think the only way you could do that is by doing something like what the custom avatar uses. You would most likely have to upload the users sig into the database or something.
Preasidium
06-06-2002, 11:08 AM
I have a question about img in sigs.
If I have the option off to show img in posts why does the img in sigs not show up? I thought that it was a dif template. And I have the sig options all turned on to yes. So I dont know why its not showing. Anyone know whts wrong?
Chris M
06-06-2002, 11:42 AM
Im not sure if I understand what you mean...
Satan
Preasidium
06-06-2002, 11:53 AM
ok, i will explain in more detail. sorry about that.
On my board I have Attachments as links. I dont allow images to be shown in the threads.
Now in my sig, i want to display an image but all I get it a link to where the image is. Not the actual image.
Here is the code he used to display his img.
http://www.yoursighost.com/members/Furasaki/sig1.jpg (www.empire-forums.com)
Is there anything wrong with this? Or is there something I have to do in the CP. I have enabled HTML, BB Code, everything. I just dont get it :(
Chris M
06-06-2002, 12:26 PM
Ah...
You cannot mix HTML and vB code in a tag...
Either do :
<a href="url"><img src="imageurl"></a>
Or
[ url="url" ][ img ]imageurl[ /img ][ /url ]
Satan
Figment
03-14-2003, 08:10 PM
Hi, I am using the [sig] codes to limit the size of signature images, but is there any way to prevent users putting the [sig] code into the body of posts/replies to get around images being switched off?
filburt1
03-14-2003, 08:12 PM
Requires hacking. Also notice how this thread was started two years ago.
Lesane
03-14-2003, 08:58 PM
Figment, you could check the post if it contains [sig]. If so, then show "postbit_nosig" template.
To do so, open admin/functions.php and find:
//highlight words for search engine
Add above it:
i$string_find="[sig]";
if(strstr($post[pagetext], $string_find)) {
eval("standarderror(\"".gettemplate('post_nosig')."\");");
}
Then make a new template named post_nosig with the message that you don't allow the tag [sig] in any of the posts.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.