The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

HTML editing for rules

View previous topic View next topic Go down

Solved HTML editing for rules

Post by tony_h on January 16th 2012, 4:53 pm

Is it a possibility???

tony_h
Forumember

Male Posts : 245
Reputation : 6
Language : English
Location : Ireland

http://www.honda-haven.com

Back to top Go down

Solved Re: HTML editing for rules

Post by Base on January 16th 2012, 5:34 pm

Hi, which rules are you talking about? You need to be more specific than just 'rules'. Smile

Base
Forumaster

Male Posts : 10386
Reputation : 1687
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

Solved Re: HTML editing for rules

Post by tony_h on January 16th 2012, 5:36 pm

@Base wrote:Hi, which rules are you talking about? You need to be more specific than just 'rules'. Smile


Sorry, I was referring to the recent update, the forum rules... I.e. the green box below.


There is no option for HTML editing, was just hoping this would be updated

tony_h
Forumember

Male Posts : 245
Reputation : 6
Language : English
Location : Ireland

http://www.honda-haven.com

Back to top Go down

Solved Re: HTML editing for rules

Post by Guest on January 16th 2012, 5:39 pm

If you want to enable HTML Codes for a certain category/forum, you can't. HTML Codes can be enabled for full forum.

1. In this case go to Administration Panel => General => Messages and e-mails => Configuration => Messages => Allow HTML : Yes;

2. Go to your Profile => Preferences => Always allow HTML : Yes;

3. And finnaly (don't required): When you post a message you have a Options column that have field: Disable HTML in this post: NO. Smile

Edit... Sorry. You're posted before me:
About that. You can't. The only thing you can do this is to personalize via CSS.


Last edited by Gassy on January 16th 2012, 5:42 pm; edited 1 time in total

Guest
Guest


Back to top Go down

Solved Re: HTML editing for rules

Post by tony_h on January 16th 2012, 5:41 pm

Gassy wrote:If you want to enable HTML Codes for a certain category/forum, you can't. HTML Codes can be enabled for full forum.

1. In this case go to Administration Panel => General => Messages and e-mails => Configuration => Messages => Allow HTML : Yes;

2. Go to your Profile => Preferences => Always allow HTML : Yes;

3. And finnaly (don't required): When you post a message you have a Options column that have field: Disable HTML in this post: NO. Smile

I already have those turned on & have been using HTML to edit all along so it must not apply to all sections???? Since this is just a recent update I'm wondering if it has been missed or something?

tony_h
Forumember

Male Posts : 245
Reputation : 6
Language : English
Location : Ireland

http://www.honda-haven.com

Back to top Go down

Solved Re: HTML editing for rules

Post by MrMario on January 16th 2012, 6:57 pm

Hello,

Google Chrome doesn't has the HTML editor.

MrMario
Helper
Helper

Male Posts : 22186
Reputation : 1830
Language : test

http://test.com

Back to top Go down

Solved Re: HTML editing for rules

Post by tony_h on January 17th 2012, 9:33 am

@MrMario wrote:Hello,

Google Chrome doesn't has the HTML editor.

True, but I do edit using HTML through firefox and the forUm rules section is NOT affected.

tony_h
Forumember

Male Posts : 245
Reputation : 6
Language : English
Location : Ireland

http://www.honda-haven.com

Back to top Go down

Solved Re: HTML editing for rules

Post by MrMario on January 17th 2012, 10:17 pm

Not sure if they are going to plan on adding it, but i guess in the mean time, you'll need to do it by hand or use something within the admin panel that have the HTML editor and copy the codes over.

MrMario
Helper
Helper

Male Posts : 22186
Reputation : 1830
Language : test

http://test.com

Back to top Go down

Solved Re: HTML editing for rules

Post by LGforum on January 17th 2012, 10:27 pm

When you put HTML into the new forum rules "thing" then the HTML tags start and end are replaced with there HTML encode equivalent.

You can achive HTML in that section by replacing it back to HTML tags.

Something like this:

Code:

$(function(){
var x=document.getElementById('forum_rules');
 if(x) {
  x.innerHTML=x.innerHTML.replace(/&gt;/g,'>').replace(/&lt;/g,'<');
 }
});

LGforum
Hyperactive

Male Posts : 2254
Reputation : 254
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: HTML editing for rules

Post by tony_h on January 18th 2012, 6:41 am

@LGforum wrote:When you put HTML into the new forum rules "thing" then the HTML tags start and end are replaced with there HTML encode equivalent.

You can achive HTML in that section by replacing it back to HTML tags.

Something like this:

Code:

$(function(){
var x=document.getElementById('forum_rules');
 if(x) {
  x.innerHTML=x.innerHTML.replace(/>/g,'>').replace(/</g,'<');
 }
});

Thanks for the help once again man Wink

tony_h
Forumember

Male Posts : 245
Reputation : 6
Language : English
Location : Ireland

http://www.honda-haven.com

Back to top Go down

Solved Re: HTML editing for rules

Post by tony_h on January 18th 2012, 6:43 am

@MrMario wrote:Not sure if they are going to plan on adding it, but i guess in the mean time, you'll need to do it by hand or use something within the admin panel that have the HTML editor and copy the codes over.


I already tried to copy and paste earlier successful codes and they do not work!!

tony_h
Forumember

Male Posts : 245
Reputation : 6
Language : English
Location : Ireland

http://www.honda-haven.com

Back to top Go down

Solved Re: HTML editing for rules

Post by SLGray on January 18th 2012, 6:51 am

Please don't double post. This is your second reminder. Your post need to be separated by 24 hours before bumping, replying or adding more information. Please use the edit button instead!






SLGray
Administrator
Administrator

Male Posts : 35622
Reputation : 2372
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: HTML editing for rules

Post by LGforum on January 18th 2012, 10:15 am

Tony there is an error in the code I provided... And a bug on forumotion. It shouldn't be changing code boxes.

It seems to have replaced bits so I'm gonna have to provide a bit of instruction.

Code:

$(function(){
var x=document.getElementById('forum_rules');
 if(x) {
  x.innerHTML=x.innerHTML.replace(/gt;/g,'>').replace(/lt;/g,'<');
 }
});

Find in the code where it says gt and lt, and put in front of them both an ampersand (&). So it becomes & gt ;
But without the spaces.

LGforum
Hyperactive

Male Posts : 2254
Reputation : 254
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: HTML editing for rules

Post by tony_h on January 19th 2012, 6:23 am

@LGforum wrote:Tony there is an error in the code I provided... And a bug on forumotion. It shouldn't be changing code boxes.

It seems to have replaced bits so I'm gonna have to provide a bit of instruction.

Code:

$(function(){
var x=document.getElementById('forum_rules');
 if(x) {
  x.innerHTML=x.innerHTML.replace(/gt;/g,'>').replace(/lt;/g,'<');
 }
});

Find in the code where it says gt and lt, and put in front of them both an ampersand (&). So it becomes & gt ;
But without the spaces.


Thanks once again, you have been most helpful

tony_h
Forumember

Male Posts : 245
Reputation : 6
Language : English
Location : Ireland

http://www.honda-haven.com

Back to top Go down

Solved Re: HTML editing for rules

Post by Base on January 19th 2012, 5:48 pm

Glad your problem is solved; topic marked as solved and archived.

Base
Forumaster

Male Posts : 10386
Reputation : 1687
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

View previous topic View next topic Back to top


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