![]() |
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 |
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
PHP Code:
Code:
<img src="http://www.bidforpower.com/forum/admin/cp_logo.gif" height="101" width="455"> |
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
|
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.
|
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? |
Im not sure if I understand what you mean...
Satan |
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. PHP Code:
|
Ah...
You cannot mix HTML and vB code in a tag... Either do : Code:
<a href="url"><img src="imageurl"></a> Code:
[ url="url" ][ img ]imageurl[ /img ][ /url ] |
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?
|
Requires hacking. Also notice how this thread was started two years ago.
|
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: PHP Code:
PHP Code:
|
All times are GMT. The time now is 03:51 AM. |
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:
|