Page 1 of 11
uCoz Community » uCoz Modules » Forum » Edit $BBCODES$
Edit $BBCODES$
PixelKhaos
Posts: 636
Reputation: 26

Message # 1 | 10:07 AM
I want to add a bbcode-tag button to the panel, [video][/video] that is.
I found a way to add it on the panel, but it ends up on a new row, and trying to add all of the buttons manually disables/breaks them.

So is there a way for me to replace/add a button?

Added (2012-02-20, 4:07 AM)
---------------------------------------------
Also noticed that the video tag I make only add [video ] when clicked. But if I mark a link and click it, both [video] tags are added around the link.
And I also tried some custom coded BB-panels, but these have the same problem.

I tried one with a url popup instead though, which works, but I don't want that whole panel.
So, anyone who can help me with this?

Proud uCoz user since 2006
Freelance designer - http://pixelkhaos.com
PixelKhaos on twitter - @PixelKhaos

I can help you develop your site for a small fee.
Post edited by Acid - Monday, 2012-02-20, 10:08 AM
Sunny
Posts: 9296
Reputation: 456

Message # 2 | 12:16 PM
Acid, how did you add it? Explain in details.
I'm not active on the forum anymore. Please contact other forum staff.
PixelKhaos
Posts: 636
Reputation: 26

Message # 3 | 5:05 PM
I marked the BB panel and looked at the source code and found
Code
<input type="button" style="width: 20px; font-weight: bold;" id="b" class="codeButtons" onclick="simpletag('b','','','message','')" value="b" title="Bold"/>


I edited it to
Code
<input type="button" style="width: 40px;" id="video" class="codeButtons" onclick="simpletag('video','','','message','')" value="Video" title="Video"/>

And added that right after $BBCODES$

It seems to work better now, but still on a new row.

Added (2012-02-21, 10:19 AM)
---------------------------------------------
Hahah! YES!
Okay, so I managed to get it to work. I found the .js file used for bbcodes, and added it before </head> in general appearance of forum pages.
And then added all of the <input> codes for the bbcodes in new message form, replacing the $BBCODES$.

Added (2012-02-21, 11:05 AM)
---------------------------------------------
And I now see that the .js collides with every other .js.
Placing it in general appearance removes the adminbar and the possibility to remove posts.

I placed it in appearance of entries, and that works fine, but breaks my custom code for showing age in the forum.

(I'm sorry for spamming the thread.)


Proud uCoz user since 2006
Freelance designer - http://pixelkhaos.com
PixelKhaos on twitter - @PixelKhaos

I can help you develop your site for a small fee.
Post edited by Acid - Tuesday, 2012-02-21, 4:10 PM
carloscompu
Posts: 246
Reputation: 1

Message # 4 | 3:57 AM
How can I edit the bbcode penal on the add comment box

I want to edit it so it can look like the one on the comment box of this forum
PixelKhaos
Posts: 636
Reputation: 26

Message # 5 | 8:28 AM
carloscompu, for styling the buttons (color, rounded edges, hover) would be editing the .codeButtons in your CSS.

I will provide some codes for this later.

Proud uCoz user since 2006
Freelance designer - http://pixelkhaos.com
PixelKhaos on twitter - @PixelKhaos

I can help you develop your site for a small fee.
carloscompu
Posts: 246
Reputation: 1

Message # 6 | 8:00 AM
Is this the code of the add media{video and MP3) funtion on the user bar

Can I recieve this full script of this code

I have this bar disabled for users But there are some good useful functions that my users can use
Like the grafiti is also a good aplication but its only accesable through the user bar
Why?
PixelKhaos
Posts: 636
Reputation: 26

Message # 7 | 4:41 PM
carloscompu, that is not related to bbcodes, at all.
you can enable the bar for users, because the admin controls are only usable by admins and groups you set to have access to it.

Proud uCoz user since 2006
Freelance designer - http://pixelkhaos.com
PixelKhaos on twitter - @PixelKhaos

I can help you develop your site for a small fee.
uCoz Community » uCoz Modules » Forum » Edit $BBCODES$
Page 1 of 11
Search: