![]() |
I'm trying to add vbcode buttons.
I removed the src=vbcode.js from the vbcode_buttons template, and added it to the non-WYSIWYG templates. Then I added the variable for $vbcode_buttons, and that worked fine. Now, what I tried to do instead of the above was this: Add all the code from the vbcode_buttons template EXCEPT for the src=vbcode.js thing to one of the WYSIWYG templates. It seems like this would work, since should be the same thing as above, right? But it doesn't, and I was wondering if anyone knew why. Any help on this would be greatly appreciated. P.S. The reason I wanted this to work is so that I could add only some of the vbcode buttons. |
Just a note to the person who said this hack 'sucks'.
If you downloaded the lastest copy of the install file that's on the first post, you will see that it contains almost every single update that's been talked about in these 9 pages. If you were less ignorant of topics such as PHP and JavaScript, you will see how foolish your demands were. Not only were you rude in making those requests, you were completely selfish, thinking only about how you can sit on your couch all day and not have to do a single thing while you tell us to make all the modifications for you. If you don't like the condition of the original hack, then shut up, leave, and don't install it. If you have any respect at all you'll see that we are not full-time vB hackers, we have jobs to do, and we can't possibly have the time to fully support a hack like how Jelsoft supports vBulletin. We are real people, with lives outside of a computer, which means that we do not have that much time to support our hacks. If we can't even support all of our hacks, what makes you think that we will spend countless hours of our lives trying to outhack Microsoft Internet Explorer and accomplish something that can't even be done (cursor position in iFrame) without either finding a backdoor or do what you do, and write nasty emails to Microsoft, forcing that they spend countless resources and update their free browser. |
The reason I asked is because I wanted to make sure I was doing it right and not going blindly into it. I'm still learning about PHP code and don't always feel comfortable messing with stuff I don't understand completely. Hopefully, I didn't mess anything up but I think I got it done.
Quote:
|
All the updates are included in the first post on this thread.
The only thing that's not included is the part for making the font the same as your forum. |
I did that in all three WYSIWYG files. I also changed the query in all three files (with the appropriate names in them) to what Firefly posted. Is that ok to do? :)
Quote:
|
Quote:
EDIT: w00t! Excellent news. It appears that I am able to insert smilies at the cursor position in a test page I have created using an iframe editor. I pretty much had to copy the vbcode.js from the other hack and do some modifications. Cool beans. I'll get it in there in the next update. |
I could be mistaken, but haven't you guys forgotten to put this in your install.txt:
Quote:
|
When you type your message and want to edit the words size or font, after you make the first word, for example, size 5, if you want to change another word to size 5 also, you have to select something else, for example size 2, before you can then select size 5 again and have it take effect. This works the same way on the font. Is there any way to have it reset to the default size and font after each change like Word does?
Also, could paragraph alignments, left, right and center, be implemented fairly easily? That would make a great addition to an already fantasic hack! :) |
Paragraph alignments cannot be made, as the current BBCodes do not support them.
They will be supported in vB3, which ironically, will include this hack. |
I kindof figured that, but the wife wanted me to ask. You made a fan out of her on this one. :)
Can the font and size be set back to default after use, though? |
All times are GMT. The time now is 11:33 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:
|