PDA

View Full Version : Seperate BB codes for Signatures & Posts


evenmonkeys
12-06-2005, 02:06 AM
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...

evenmonkeys
12-07-2005, 03:34 AM
Still lookin. =\

evenmonkeys
12-08-2005, 05:50 AM
*twiddles his thumbs*

evenmonkeys
12-09-2005, 03:39 PM
*spins counter-clockwise in his chair*

Chris M
12-09-2005, 04:42 PM
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

evenmonkeys
12-09-2005, 05:16 PM
"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."

Senseless: Lacking sense or meaning.
I'm interested in this hack and would like some input. My bumps are very legitimate as I am hoping to get some feedback. I have done nothing wrong.

evenmonkeys
12-17-2005, 05:56 PM
Still lookin for this modification. Any takers?

Chris M
12-18-2005, 12:49 AM
"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."


I'm interested in this hack and would like some input. My bumps are very legitimate as I am hoping to get some feedback. I have done nothing wrong.

That is up to the discretion of the moderator, and I feel personally that you had been bumping the thread too often...

Chris

Evil X
12-18-2005, 01:10 AM
bump

evenmonkeys
12-20-2005, 02:05 AM
What do ya'll say!?

evenmonkeys
12-21-2005, 09:38 PM
I know ExtProof wants it. Who else wants it? Everyone, right?

TwinsForMe
01-06-2006, 01:18 PM
I would, too.

Darat
01-14-2006, 09:05 PM
So would I!

evenmonkeys
01-15-2006, 10:34 PM
We gots people everywhere that want this. How difficult can this really be?

evenmonkeys
01-18-2006, 12:43 AM
Still lookin.

Guest210212002
01-18-2006, 02:22 AM
FWIW, My hack is kind-of what you're looking for. A band-aid at least.

https://vborg.vbsupport.ru/showthread.php?p=875990

evenmonkeys
01-18-2006, 03:34 AM
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?

Guest210212002
01-18-2006, 03:46 PM
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. ;)

evenmonkeys
01-18-2006, 09:17 PM
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. =\

Borgs8472
01-18-2006, 11:28 PM
I've read through this thread twice and don't get what you want still.

Could you explain one more time?

evenmonkeys
01-19-2006, 06:08 AM
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.

evenmonkeys
01-23-2006, 07:20 PM
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...

evenmonkeys
01-25-2006, 02:57 AM
Andreas ignored my PM. =(

Why does the world not want to disable bbcodes in the post?

mido
01-30-2006, 01:08 PM
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 ?

Borgs8472
01-30-2006, 01:25 PM
Offer some $$$ to get this made, resell it cheap to the first comers then release it.

voter
05-09-2008, 06:24 AM
Check this guys
https://vborg.vbsupport.ru/showthread.php?p=1496394&postcount=8