Adding scEditor Custom BBCodes

by DarkHorse - 28-10-2015, 06:19 AM
Junior Member
Posts:
78
Joined:
Aug 2015
Likes:
2
Credits:
2
Reputation:
0
1 Year of Service
#1
OP
Posted: 28-10-2015, 06:19 AM
I was wondering if it was possible to add custom bbcodes to my editor (using the same NulledBB uses)

Thanks!
PARADISE
Prime
Posts:
878
Joined:
Oct 2015
Likes:
12
Credits:
436
Reputation:
40
1 Year of Service
#2
Posted: 28-10-2015, 06:19 AM
(28-10-2015, 06:19 AM)DarkHorse Wrote: I was wondering if it was possible to add custom bbcodes to my editor (using the same NulledBB uses)

Thanks!

Addicted he would be able to help u out probs Smile 
­
Posts:
4,221
Joined:
Jan 2015
Likes:
103
Credits:
6,932
Reputation:
89
2 Years of Service
#3
Posted: 28-10-2015, 06:22 AM (This post was last modified: 28-10-2015, 06:23 AM by Addicted.)
You can edit there I think

Templates & Style -> Templates -> Your theme -> Ungrouped Templates -> codebuttons

You also have to edit the javascript file
PARADISE
Prime
Posts:
878
Joined:
Oct 2015
Likes:
12
Credits:
436
Reputation:
40
1 Year of Service
#4
Posted: 28-10-2015, 06:25 AM
(28-10-2015, 06:19 AM)DarkHorse Wrote: I was wondering if it was possible to add custom bbcodes to my editor (using the same NulledBB uses)

Thanks!

i told you he can help hes a boss :Smile Addicted
Junior Member
Posts:
78
Joined:
Aug 2015
Likes:
2
Credits:
2
Reputation:
0
1 Year of Service
#5
OP
Posted: 28-10-2015, 06:28 AM
(28-10-2015, 06:22 AM)Addicted Wrote: You can edit there I think

Templates & Style -> Templates -> Your theme -> Ungrouped Templates -> codebuttons

You also have to edit the javascript file

I found the Template but still not very sure how to define variables for the Editor to parse it:

Code:
toolbar: "{$basic1}{$align}{$font}{$size}{$color}{$removeformat}{$basic2}image,{$email}{$link}|video{$emoticon}|{$list}{$code}quote|maximize,source",

Will wait for somebody to reply tomorrow, if no solution is found i guess i'll be heading for my first time to MyBB Forums xD
­
Posts:
4,221
Joined:
Jan 2015
Likes:
103
Credits:
6,932
Reputation:
89
2 Years of Service
#6
Posted: 28-10-2015, 06:32 AM
(28-10-2015, 06:28 AM)DarkHorse Wrote:
(28-10-2015, 06:22 AM)Addicted Wrote: You can edit there I think

Templates & Style -> Templates -> Your theme -> Ungrouped Templates -> codebuttons

You also have to edit the javascript file

I found the Template but still not very sure how to define variables for the Editor to parse it:

Code:
toolbar: "{$basic1}{$align}{$font}{$size}{$color}{$removeformat}{$basic2}image,{$email}{$link}|video{$emoticon}|{$list}{$code}quote|maximize,source",

Will wait for somebody to reply tomorrow, if no solution is found i guess i'll be heading for my first time to MyBB Forums xD

http://community.mybb.com/thread-78064.html
DarkHorse
28-10-2015, 06:46 AM
Junior Member
Posts:
78
Joined:
Aug 2015
Likes:
2
Credits:
2
Reputation:
0
1 Year of Service
#7
OP
Posted: 28-10-2015, 06:46 AM
(28-10-2015, 06:32 AM)Addicted Wrote:
(28-10-2015, 06:28 AM)DarkHorse Wrote:
(28-10-2015, 06:22 AM)Addicted Wrote: You can edit there I think

Templates & Style -> Templates -> Your theme -> Ungrouped Templates -> codebuttons

You also have to edit the javascript file

I found the Template but still not very sure how to define variables for the Editor to parse it:

Code:
toolbar: "{$basic1}{$align}{$font}{$size}{$color}{$removeformat}{$basic2}image,{$email}{$link}|video{$emoticon}|{$list}{$code}quote|maximize,source",

Will wait for somebody to reply tomorrow, if no solution is found i guess i'll be heading for my first time to MyBB Forums xD

http://community.mybb.com/thread-78064.html

That certainly helped a bit, will go try to see if the guys at MyBB Forums can help me sort it out. Thanks anyways!
­
Posts:
4,221
Joined:
Jan 2015
Likes:
103
Credits:
6,932
Reputation:
89
2 Years of Service
#8
Posted: 28-10-2015, 06:50 AM
(28-10-2015, 06:46 AM)DarkHorse Wrote:
(28-10-2015, 06:32 AM)Addicted Wrote:
(28-10-2015, 06:28 AM)DarkHorse Wrote:
(28-10-2015, 06:22 AM)Addicted Wrote: You can edit there I think

Templates & Style -> Templates -> Your theme -> Ungrouped Templates -> codebuttons

You also have to edit the javascript file

I found the Template but still not very sure how to define variables for the Editor to parse it:

Code:
toolbar: "{$basic1}{$align}{$font}{$size}{$color}{$removeformat}{$basic2}image,{$email}{$link}|video{$emoticon}|{$list}{$code}quote|maximize,source",

Will wait for somebody to reply tomorrow, if no solution is found i guess i'll be heading for my first time to MyBB Forums xD

http://community.mybb.com/thread-78064.html

That certainly helped a bit, will go try to see if the guys at MyBB Forums can help me sort it out. Thanks anyways!

No problem. I would help you out more but I am extremely busy atm and I am about to go to bed.
Junior Member
Posts:
75
Joined:
Oct 2015
Likes:
0
Credits:
96
Reputation:
0
1 Year of Service
#9
Posted: 28-10-2015, 07:04 AM
there is a mod over at mybb from martec to have custom buttons an your own mycodes
Junior Member
Posts:
78
Joined:
Aug 2015
Likes:
2
Credits:
2
Reputation:
0
1 Year of Service
#10
OP
Posted: 28-10-2015, 08:02 AM
(28-10-2015, 07:04 AM)justme Wrote: there is a mod over at mybb from martec to have custom buttons an your own mycodes

As we were talking, martec replied to my Thread. Thanks for putting me on the right way to find it! n.n
The last reply on this thread is older than a month. Please do not unnecessarily bump it.
Register an account or login to reply
Create an account
Create a free account today and start posting right away. It only takes a few seconds.
Login
Log into an existing account.
1 Guest(s)