![]() |
Seperate BB codes for Signatures & Posts
I'd like to be able to restrict certain bbcodes to the signature and certain bbcodes to the post. My reason: the image resizers are not working for everything. A way to fix this is to create your own custom bbcodes that set a specific size for an image. I'd like to be able to let users use whatever size they want in the signature (the normal img), but then I want to be able to have a seperate bbcode that can only be used it posts. Is this possible? I'd also like to avoid code modifications.
This is the ultimate way to avoid oversized images. You can force all images into a certain size in posts without messing up the way signatures are made. Ask questions if ya got em... |
Still lookin. =\
|
*twiddles his thumbs*
|
*spins counter-clockwise in his chair*
|
Please don't bump threads every day, or almost every day - If a reply is not given within a week, you may bump it again to just ask if anyone's interested, and after that leave it for a couple of weeks...
Chris |
"1.4 No senseless "Bumping": Please do not bump your request/help searching or other threads several times a day. Remember there are people who don't browse this board every hour. So do not bump a thread within 24h or too much even after 24 hours."
Quote:
|
Still lookin for this modification. Any takers?
|
Quote:
Chris |
bump
|
What do ya'll say!?
|
I know ExtProof wants it. Who else wants it? Everyone, right?
|
I would, too.
|
So would I!
|
We gots people everywhere that want this. How difficult can this really be?
|
Still lookin.
|
FWIW, My hack is kind-of what you're looking for. A band-aid at least.
https://vborg.vbsupport.ru/showthread.php?p=875990 |
That won't do what I want it to do. What I want to do is force images put into posts to be 160x120 whereas I want to allow signatures as wide as 480. The only way to do that is to make two seperate tags; one for each part.
Right now I have a hack that disabled the use of [thumb] in signatures. That tag makes all images inside that tag 160x120. However, users can use both thumb and img in the posts. I need to be able to prevent certain tags in the post as well so I can ONLY allow [img] in the signatures, and [thumb] in the posts. See what I'm saying? |
Aah, gotcha.
I'm not nearly good enough with vB and scripting in general to write something like that, but if you could come up with some kind of regex replace, that would replace any instance of IMG in posts with THUMB, and IMG in signatures to use SIGIMAGE, I think that would do what you're looking to do. Unfortunately I haven't the slightest idea how to go about that. If I'm totally off base, apologies, I'm only on my first cup of coffee today. ;) |
Yeah. I've been at this for some time as you might be able to see from the first post. =P Tehnically, you can create your own bbcode labeled [img] and it will overwrite the default one. However, that's still not doing what I want it to do.
The problem occurs when a user is using [signature] in the post AND in the signature. The only way I see it working is to disable certain codes in the post. =\ |
I've read through this thread twice and don't get what you want still.
Could you explain one more time? |
I want to be able to disable certain bbcodes that can be used in the posts. For instance, if I have [img], [url], [html], [quote], and [php]... but I only want [url] and [php] to work in posts, I want a way to be able to disable those other bbcodes so they are not usable in posts. However, I want them to be able to work in signatures.
Let's just say I want [a], [b], and [c] to work in posts but not signatures... and I want [d], [e], and [f] to work in signatures but not posts. That better? Like specify the bbcodes in the admincp that cannot be used in posts. |
I'm pretty sure that if Andreas could make only certain bbcodes work in the signature... someone could make only certain bbcodes work in the post too. Please... someone...
|
Andreas ignored my PM. =(
Why does the world not want to disable bbcodes in the post? |
Up !!!
this is so important hack , should to be done !!! i want too to prevent the user from using a flash signature and i want to put a limitation for the img any help ? |
Offer some $$$ to get this made, resell it cheap to the first comers then release it.
|
Check this guys
https://vborg.vbsupport.ru/showthrea...94&postcount=8 |
All times are GMT. The time now is 09:13 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:
|