By Fred on Friday, 14 March 2014
Posted in General Issues
Replies 14
Likes 0
Views 1.6K
Votes 0
So I found the bbcode.js in the media directory for ED, I tried adding a new button in there but it isn't showing up. Not sure what I'm doing wrong... But I'm trying to add this js functionality to ED BBCode Editor. (JS File

Right now that script allows me to do the below all over the site, but I'd like a nice little button for the end user to be able to easily add this into their posts without knowing how to code.

<div class="kodeshare">####</div>
Hello Fred,

Those script files were actually being compressed into a single js file. I don't think your changes are taking affect because they are not compiled. You can try recompiling them by accessing http://yoursite.com/index.php?option=com_easydiscuss&compile=true&minify=true
·
Friday, 14 March 2014 11:18
·
0 Likes
·
0 Votes
·
0 Comments
·
That worked well! However I'm getting an issue if I post two of the new BBcode I've added it posts it twice and adds the second one inside one of the buttons where "Edit, Delete, Moderate" is. Quite weird.. and I think I've ran into this issue before a long time ago with something else, can't recall. and Example URL is below
·
Monday, 17 March 2014 12:51
·
0 Likes
·
0 Votes
·
0 Comments
·
I am really sorry Fred but I don't actually have the luxury time to look at these customizations right now
·
Monday, 17 March 2014 23:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Thats fine Mark, I will continue to hack at it.
·
Tuesday, 18 March 2014 01:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Mark, I moved to a VPS since I've done this and now for some reason when I try to go to that URL to compile it doesn't do it :-\
·
Friday, 21 March 2014 10:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Fred,

I am sorry for the delay of this reply.

When you enter the URL to compile and minify your ED js file, ED actually connect to our server on port 1280 to process the js compiling process. Can you check if your server blocked any outgoing / incoming to port 1280 ?

Please advise.

Hope this help and have a nice day
Sam
·
Friday, 21 March 2014 11:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Sam, got them to open the port. That worked!

Question, I know Mark said he's really busy but I think I figured out why my customization is broken but I don't know what I'd need to edit. The Quote function isn't allowing iframe to be quoted, so when it tries to quote someone that has an iframe in their post it breaks everything. How would I enable your quoting to allow the iframe in the quote?

Maybe, if the Quote would take the BBCode rather than the source of the code, I think that would work.
·
Friday, 21 March 2014 11:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Fred,

Glad to know now your JS compile issue fixed

As for the issue QUOTE with iframe, currently the quote tag doesn't support html tag. You will need to put a CODE inside your QUOTE. E.g.:

http://screencast.com/t/uwo7INBu

Hope this help and have a nice day
Sam
·
Friday, 21 March 2014 13:11
·
0 Likes
·
0 Votes
·
0 Comments
·
that does doesn't help :-\

I need to just figure it out as its a main part of the site.
·
Friday, 21 March 2014 13:18
·
0 Likes
·
0 Votes
·
0 Comments
·
HI Fred,

I am sorry for the delay of this reply.

that does doesn't help :-\


Do you mean placing the CODE inside QUOTE not working for you? I tested myself and it should work correctly.

Anyway, we will see if we can add the support of html tag inside QUOTE in future release of EasyDiscuss or not but for now, maybe you want to advise your users to use CODE and they want to quote some content that has the html tags
Sam
·
Monday, 24 March 2014 15:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Sam what is happening is that the content is breaking and showing up in the Quote Button. http://puu.sh/7Hv5J.png

I've tried adding iframe into the parser.php file to be replaced with bbcode but that doesn't seem to work. I've tried messing with rawContent in the post.js to work a different way, along with trying to change the way the button displays the content in the post.actions.php file. However everything I try i can't seem to get to work. Example link is below in Optional info, see my post in that thread
·
Monday, 24 March 2014 19:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Fred,

I am really sorry for the delay of this reply. We somehow missed your thread

Anyway, is your issue resolved or you still having issue with the bbcode editor?
Please advise.
Sam
·
Monday, 28 April 2014 18:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Sam,

Thats fine, I actually ended up moving away from ED for a community forum from this site due to the community wasn't used to your layout and wanted a more traditional setup :-\

However I like what you guys have done to the site and I love your setup for ED, any chances your public version will be similar?
·
Monday, 28 April 2014 19:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Fred,

Sorry to hear ED doesn't fit the need for your community

However I like what you guys have done to the site and I love your setup for ED, any chances your public version will be similar?


Glad that you like our new site. As for the ED, We actually customised quite alot to fit what we want with the forum especially the themes. Its a combination of two themes from ED, the simplitic + zink theme I not sure if this will go to public or not but I will talk to the team and see what we can do about this. Maybe a brand new theme?

Thanks again for your inputs and have a nice day
Sam
·
Tuesday, 29 April 2014 14:14
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post