The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Removing Default BBCodes & Message Text

3 posters

Go down

Removing Default BBCodes & Message Text Empty Removing Default BBCodes & Message Text

Post by cobaltblue March 21st 2014, 3:31 pm


  1. Is it possible to remove several default BBCodes, such as Dailymotion code, also to edit the available value for font size perhaps?
  2. I got this java script to change "You have no message" to "Inbox":
    Code:
    $(function() {
    document.getElementById('i_icon_mini_message').nextSibling.nodeValue='Inbox';
    });
    Is there any way to change "You have x message" to "Inbox (1)" or something similar? Basically I want it to show different text when users have messages.
avatar
cobaltblue
New Member

Posts : 11
Reputation : 1
Language : English

http://thewerewolfgame.forumotions.net

Back to top Go down

Removing Default BBCodes & Message Text Empty Re: Removing Default BBCodes & Message Text

Post by Pizza Boi March 21st 2014, 4:00 pm

Hi Very Happy

Code:
#textarea_content > div > div.sceditor-toolbar > div:nth-child(5) > a.sceditor-button.sceditor-button-dailymotion {
visibility: hidden;
}

^ That's just an example.

The first one, you can hide it via CSS and insert a padding or margin to remove the spacing.

As for the second one, I do not know. Lastly, I replied to your other topic with the code, quote, spoiler, etc.

Regards,
Pizza Boi
Pizza Boi
Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

Back to top Go down

Removing Default BBCodes & Message Text Empty Re: Removing Default BBCodes & Message Text

Post by cobaltblue March 22nd 2014, 1:58 am

Visibility doesn't work, it will leave some gap. I changed it to this instead.
Code:
   #textarea_content > div > div.sceditor-toolbar > div:nth-child(5) > a.sceditor-button.sceditor-button-dailymotion {
        display: none;
    }

To be specific, I want to remove the "more" button which consists of subscript, superscript, vertical & horizontal scrolling, WoW, random generator, also insert time/date buttons.

I want to simplify the smileys column too.
Removing Default BBCodes & Message Text Pictur13
In details:
1. To remove that smiley category selection.
2. And to remove that horizontal scrolling. Probably code to modify the width of smiley column.
avatar
cobaltblue
New Member

Posts : 11
Reputation : 1
Language : English

http://thewerewolfgame.forumotions.net

Back to top Go down

Removing Default BBCodes & Message Text Empty Re: Removing Default BBCodes & Message Text

Post by Sir Chivas™ March 22nd 2014, 2:20 am

Hi,

You want to remove the drop down option? And do you want to stop the scrolling from right to left?

Regards,
Sir Chivas.
Sir Chivas™
Sir Chivas™
Helper
Helper

Male Posts : 6965
Reputation : 457
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum