YAFLogo

Zero2Cool
  • Zero2Cool
  • 100% (Exalted)
  • YAF Leader Topic Starter
11 years ago
Currently, UserPostedImage for adding a YouTube video, but is it possible to add a YouTube button rather than clicking a button then selecting it via drop down menu? I'd like to add several things such as Marquee, Spoiler, Strikethrough, etc as one click buttons if possible.
Sponsor

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
11 years ago
Originally Posted by: Zero2Cool 

Currently, UserPostedImage for adding a YouTube video, but is it possible to add a YouTube button rather than clicking a button then selecting it via drop down menu? I'd like to add several things such as Marquee, Spoiler, Strikethrough, etc as one click buttons if possible.

Currently this is only possible when you modify the source code, there is no other way to modify the editor. Maybe that will be possible in future versions.

But you can use ckeditor for that, you can modify it over the js config files.

Zero2Cool
  • Zero2Cool
  • 100% (Exalted)
  • YAF Leader Topic Starter
11 years ago
Originally Posted by: tha_watcha 

Originally Posted by: Zero2Cool 

Currently, UserPostedImage for adding a YouTube video, but is it possible to add a YouTube button rather than clicking a button then selecting it via drop down menu? I'd like to add several things such as Marquee, Spoiler, Strikethrough, etc as one click buttons if possible.

Currently this is only possible when you modify the source code, there is no other way to modify the editor. Maybe that will be possible in future versions.

But you can use ckeditor for that, you can modify it over the js config files.

Would adding several more BBCode buttons be difficult to accomplish? Or is there another BBCode editor out there that has many more options that we could use?

I haven't had a chance to check out the source code because I'm not able to get a site running off my local machine.

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
11 years ago
Originally Posted by: Zero2Cool 

Originally Posted by: tha_watcha 

Originally Posted by: Zero2Cool 

Currently, UserPostedImage for adding a YouTube video, but is it possible to add a YouTube button rather than clicking a button then selecting it via drop down menu? I'd like to add several things such as Marquee, Spoiler, Strikethrough, etc as one click buttons if possible.

Currently this is only possible when you modify the source code, there is no other way to modify the editor. Maybe that will be possible in future versions.

But you can use ckeditor for that, you can modify it over the js config files.

Would adding several more BBCode buttons be difficult to accomplish? Or is there another BBCode editor out there that has many more options that we could use?

I haven't had a chance to check out the source code because I'm not able to get a site running off my local machine.

No it's not really complicated, but as I wrote before ckeditor as bbcode editor is the best solution for that.

Zero2Cool
  • Zero2Cool
  • 100% (Exalted)
  • YAF Leader Topic Starter
11 years ago
Originally Posted by: tha_watcha 

No it's not really complicated, but as I wrote before ckeditor as bbcode editor is the best solution for that.

I did play around with CKEditor and found it not to be too user friendly (source toggle specifically) and that kind of pushed me away. I'll play with it some more. Every time I tried to add a quote, it kept adding the closing quote tag too.

Zero2Cool
  • Zero2Cool
  • 100% (Exalted)
  • YAF Leader Topic Starter
10 years ago
Originally Posted by: tha_watcha 

No it's not really complicated, but as I wrote before ckeditor as bbcode editor is the best solution for that.

I value your opinion, but I just can't buy into the CKEditor, and I have tried it several times. It looks nice, but its a bit laggy to load in general and when displaying the dialog box for inserting an image its slow to respond.

The YAF Standard YafBBCode Editor is great! It's quick, has most commonly used codes. I think users would benefit if individual buttons were added for several of the codes, rather than having them listed under the UserPostedImage button. I find myself reminding users they can embed album pics and youtube videos quite often.

For what it's worth, I think adding YouTube, Vimeo, Album, Spoiler individual buttons to the standard list would be fantastic. :)

squirrel
10 years ago
Originally Posted by: Zero2Cool 

Originally Posted by: tha_watcha 

No it's not really complicated, but as I wrote before ckeditor as bbcode editor is the best solution for that.

I value your opinion, but I just can't buy into the CKEditor, and I have tried it several times. It looks nice, but its a bit laggy to load in general and when displaying the dialog box for inserting an image its slow to respond.

The YAF Standard YafBBCode Editor is great! It's quick, has most commonly used codes. I think users would benefit if individual buttons were added for several of the codes, rather than having them listed under the UserPostedImage button. I find myself reminding users they can embed album pics and youtube videos quite often.

For what it's worth, I think adding YouTube, Vimeo, Album, Spoiler individual buttons to the standard list would be fantastic. :)

Even the ability to load buttons via an XML file or something would be nice -- just something that could read the 'button name, image name, and [bbcode] to insert' and would be able only need to add the call to the javascript that writes in a bbcode into the editor -- then the background processing wouldn't need to be touched...


If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
Zero2Cool
  • Zero2Cool
  • 100% (Exalted)
  • YAF Leader Topic Starter
9 years ago
Originally Posted by: squirrel 

Even the ability to load buttons via an XML file or something would be nice -- just something that could read the 'button name, image name, and [bbcode] to insert' and would be able only need to add the call to the javascript that writes in a bbcode into the editor -- then the background processing wouldn't need to be touched...

That would be beneficial indeed.