Is there a way to make the profile description HTML toggle like when I make a HTML block? I want to do this so I can let people add little fancy scripts like embedded glitter text scrips, virtual pets ect, you know to pimp up their profile a bit. I found something similar on the forum but it was for a really old version of dolphin something like dolphin 6 and i have the most recent I think |
What I did was to change the default TinyMCE toolbar set so that html view and embed was added. My members can add music players and videos, etc. without the need to toggle the toolbars on and off. Geeks, making the world a better place |
thanks GG, where is the default TinyMCE toolbar located? or do i alter a php file or something |
If you look at the code, you will see something along the lines of
'HTML' => 2
The number is the number of the toolbar set. It may say true instead of a number. To see the toolbar sets, go to /templates/base/scripts/BxBaseEditorTinyMCE.php, this is where you will add buttons to the toolbars and any plugins those buttons will use. If you don't understand TinyMCE, go to tinymce.com. You may just need to add to the toolbar that the description box uses instead of changing the toolbar.
Geeks, making the world a better place |
I couldn't find anything that resembled 'HTML' => 2. Is there a mod that allows you do make the required changes? I don't thin looking at the TinyMCE website would help me because I'd still have no idea how to implement it into dolphin, i'm just not that good yet, at the moment scrips look like gobidlygook to me lol |
Is your description block text only right now ? https://dolphin-techs.com - Skype: Dolphin Techs |
Thanks Jay, did not think about asking that .
You need to turn on HTML for the description box if it is off.
Go to your builders and then to profile fields and then click on the DescriptionMe. You should set that field to HMTLTextarea. If you want to allow this at join time, you do it for both the join form and the profile edit form.
Geeks, making the world a better place |
it is set to HMTLTextarea, I can put pictures in but not toggle to html, there is no button for it despite having that enabled |
the best way i can explain is to show you
Right now the description toolbar looks like this..... no way to inset html

here are the settings in profile builder.......

but i want this html button so people can put glitter text scripts into their profiles

|
Go back to my post about the php file you will need to edit. Go to that file, find the toolbar that is used by the description box and add the buttons you need. Just look at the other editor tool bars in the file and copy. Some buttons requires you also add the plugin used by the button to the list of plugins. Geeks, making the world a better place |
While you are in there, add the emotions buttons and emotion plugin to the toolbars. Geeks, making the world a better place |
i don't know how to add these buttons. I have no idea |
i don't know how to add these buttons. I have no idea |
go to /templates/base/scripts/BxBaseEditorTinyMCE.php That holds the various toolbar sets. Just look at the ones that includes the HTML button and copy. Also, you can go to tinymce.com and they have all the documentation on tinymce. Geeks, making the world a better place |
OK, maybe you are not following me when I say look at the others and just copy.
This is my mini toolbar; compare it to your mini toolbar.
protected static $CONF_MINI = " plugins: 'autolink,autosave,lists,inlinepopups,paste,fullscreen,embed,emotions', width: '100%', height: '150', theme: 'advanced', theme_advanced_buttons1: 'bold,italic,underline,removeformat,|,bullist,numlist,|,justifyleft,justifycenter,justifyright,|,blockquote,|,link,unlink,image', theme_advanced_buttons2: 'fontselect,fontsizeselect,|,forecolor,backcolor,|,embed,code,|,emotions', theme_advanced_buttons3: '', theme_advanced_toolbar_location: 'top', theme_advanced_toolbar_align: 'center', theme_advanced_statusbar_location: 'none', ";
Geeks, making the world a better place |
oh it worked!!!!!!!!
lol i'm so blonde, sometimes i just don't get it lol. I have HTML now in my description and I never even broke it :)
thankyou GG you are the SUPER GIRL TO THE RESCUE of dolphin
|
You are welcomed and I am glad it is working for you. You use the same principle for changing the other toolbars. I would suggest adding the embed tag; while you can use the html for that, the embed tag makes it easier because you don't have to search though the html code. Just place the cursor where you wish the embed to be, click on the embed button, paste in the code and hit submit. Geeks, making the world a better place |