![]() |
Then you are doing something wrong.
|
probably. i will double check. thanks.
|
Hi,
Anybody know how to remove the space that gets inserted after the tag is closed? for example, if you highlight a word and then click the bold button, a space is inserted after the tag automatically. I'd like to get rid of the space. |
Any ideas to get rid of the space? Please??
I tried modifying the vbcode.js file, but I give up as the space still remains. The hack works extremely well but that space... |
Hello plcguru,
Since this feature wasn't actually programmed into the code (really! it just happens:D) I 'll have to look into how it even happens.;) It may take a while though, cause I'm working hard on vB-germany.:) Maybe someone else can take a shot at it. Scott |
Quote:
Any fix? (still a great hack... :D ) Thx, Phil |
Hello plcguru,
Sorry, I had fixed this in the vB-Germany thread but forgot to update you guys.:) Shame on me. Here is the fix. I never tested it but a couple of German users told me it works like a charm so give it a try. If you have probs. let me know. Please read the note below too! In the newthread template replace onChange=getActiveText(this) onclick=getActiveText(this) with $jsinsert Then search for the following code in newthread.php PHP Code:
PHP Code:
Scott |
Thanks Scott,
The fix worked fine :) The php code also needs to be changed as you wrote(exactly the same) in editpost.php and newreply.php. Then the template changes should also be done (exactly the same as you wrote) in the editpost template and newreply template. This fixes the javascript errors. Regarding the private message phps (private.php and private2.php) the code is different and I didn't want to mess with it (i.e. break it :ermm: ). So, I just removed the onChange=getActiveText(this) onclick=getActiveText(this) code from the following templates: priv_forwardmultiple priv_sendprivmsg priv_sendtobuddies Now users don't have the added convenience when sending PMs but at least they don't get an error. A reasonable trade I think. Awesome hack :cool: ... one of my favorites! Danke |
If I get a change I'll post the modifications to the rest of the templates. I can't get around to it today, I spent like 5 hours upgrading to 2.2.6 :)
|
works 2.2.5 with 2.2.6 ?
|
All times are GMT. The time now is 05:11 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:
|