Page Index Toggle Pages: [1] 2  Send TopicPrint
Hot Topic (More than 10 Replies) Allow HTML in Posts for YaBB 2.5AE - V.1.3 (Read 3475 times)
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Allow HTML in Posts for YaBB 2.5AE - V.1.3
Oct 27th, 2010 at 4:21pm
Print Post  
HTML in Posts - Version 1.3


Description:

This mod allows HTML in posts. In Admin Center - Forum options - tab posts you have a drop box where you can set the permission for it. Choose from the options:

  • All Members
  • Admins, Global Mod's and Mod
  • Admins and Global Mod's
  • Only Admins

Note that the permission to use HTML in posts may be a security risk. Therefore forgive the permission rather restrictive. The permission "all members" is not recommended!

Screenshot admin setting:



After install use these tags for post html:
Code
Select All
[html] .......... [/html] 



Known issues:

Doesn't work with Preview and Life Preview


Note:

Special thanks goes to the mod author, James Andrews. I've contact them and he gave me the permission to update/modified and release her mods.

Contents mod package:

  • post_html_1_3.mod
  • post_html_1_3_german_du_patch.mod
  • post_html_1_3_german_patch.mod


Installation:

1) Use the BoardMod Programm to install the mod or edit the files manually.
2) Upload all modified files in ASCII mode.

  • Languages/English/Admin.lng  
  • Sources/Display.pl
  • Sources/Recent.pl  
  • Admin/Modlist.pl
  • Admin/Settings_Main.pl
  • Admin/NewSettings.pl


Mod History:

  • Latest Version 1.3 - 21.01.2011 for YaBB 2.5AE (Bug fixed reportet by FPS_Brian and solved by Derek Barnstorm)
  • Version 1.2 - 24.10.2010 for YaBB 2.5AE (Downloads: 22)
  • Version 1.1 - 31.10.2008 Updated for YaBB 2.3/2.3.1
  • Version 1.1 - 09.08.2006 for YaBB 2/2.1
  • Version 1.0 - 19.07.2006 for YaBB 2/2.1


A german description you find here: German Description
Eine deutsche Beschreibung findest Du hier: Deutsche Beschreibung


Have fun  Smiley
« Last Edit: Jan 21st, 2011 at 2:22pm by ThM »  

html_in_posts_1_3.zip ( 3 KB | Downloads )

Greeting ThM
Back to top
 
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Allow HTML in Posts for YaBB 2.5AE - V.1.2
Reply #1 - Oct 27th, 2010 at 5:12pm
Print Post  
Downloaded and installed this one, but haven't ended up testing it yet ... I've got to get that done soon! Installed just fine, though.
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
Fps_Brian
Full Member
***
Offline



Posts: 130
Location: Beach Haven
Joined: Aug 14th, 2008
Gender: Male
Re: Allow HTML in Posts for YaBB 2.5AE - V.1.2
Reply #2 - Jan 19th, 2011 at 9:44am
Print Post  
When I set permissions in admin/posting  to administrator guests ( and maybe members) cant see what I posted. All they see is the html coding?
  

www.omgot.org
65+ mods installed
Back to top
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: Allow HTML in Posts for YaBB 2.5AE - V.1.2
Reply #3 - Jan 20th, 2011 at 12:10pm
Print Post  
Thx Brian, confirmed ....

I'm trying to figure it out .....
  

Greeting ThM
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Allow HTML in Posts for YaBB 2.5AE - V.1.2
Reply #4 - Jan 20th, 2011 at 6:41pm
Print Post  
Hi ThM,

I hope you don't mind me poking my nose in, but try this - Change this line in the edit to Display.pl:

Code
Select All
	  if (${$uid.$musername}{'position'} && ($AHTML_level == 1 || ($AHTML_level == 2 && ($iammod || $iamgmod || $iamadmin)) || ($AHTML_level == 3 && ($iamgmod || $iamadmin)) || ($AHTML_level == 4 && $iamadmin))) 


To:

Code
Select All
	  if ($musername ne "Guest" && ($AHTML_level == 1 || ($AHTML_level == 2 && (${$uid.$musername}{'position'} eq 'Administrator' || ${$uid.$musername}{'position'} eq 'Global Moderator' || &is_moderator($musername))) || ($AHTML_level == 3 && (${$uid.$musername}{'position'} eq 'Administrator' || ${$uid.$musername}{'position'} eq 'Global Moderator')) || ($AHTML_level == 4 && ${$uid.$musername}{'position'} eq 'Administrator'))) 


You might just want to give that a good testing with all of the different settings though.

Edited:
Oh, and the same thing in Recent.pl

One other small thing I've noticed is that you need to add the highlighted to the label tag in Settings_Main.pl too:

Code
Select All
		description => qq~<label for="AHTML_level">$admin_txt{'740a'}</label>~, 


Again, I hope you don't mind me poking my nose in. Smiley
« Last Edit: Jan 20th, 2011 at 11:45pm by Derek Barnstorm »  
Back to top
 
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: Allow HTML in Posts for YaBB 2.5AE - V.1.2
Reply #5 - Jan 21st, 2011 at 10:11am
Print Post  
Derek Barnstorm wrote on Jan 20th, 2011 at 6:41pm:
I hope you don't mind me poking my nose in......


Smiley ......

On the contrary Derek, I'm very grateful for any kind of your support and thank you also for your Engegemant.
I'm trying what you have posted when i come home from work .....

Thanks again .....  Wink


  

Greeting ThM
Back to top
 
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: Allow HTML in Posts for YaBB 2.5AE - V.1.3
Reply #6 - Jan 21st, 2011 at 1:53pm
Print Post  
New *zip File on the First Post .....

Bug fixed that FPS_Brian reportet and Derek solved ....

If you don't wont te reinstall the Mod please read Derek's post and change the parts in

  • Display.pl
  • Recent.pl
  • Settings_Main.pl


manually.

Special thanks goes to FPS_Brian an Derek ......  Thumbs Upsup:
  

Greeting ThM
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Allow HTML in Posts for YaBB 2.5AE - V.1.3
Reply #7 - Jan 22nd, 2011 at 1:30am
Print Post  
Thank you ThM - I will never forget your kindness and help when I first started posting on this forum. So, my thanks and graditude go to you.

I was slightly worried today though, when I logged on to YaBBForum I noticed that you are now a "Past Team Member"? ... I really hope that you are still going to carry on modding and still be active with YaBB?
  
Back to top
 
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: Allow HTML in Posts for YaBB 2.5AE - V.1.3
Reply #8 - Jan 24th, 2011 at 8:09am
Print Post  
Derek Barnstorm wrote on Jan 22nd, 2011 at 1:30am:
I was slightly worried today though, when I logged on to YaBBForum I noticed that you are now a "Past Team Member"? ... I really hope that you are still going to carry on modding and still be active with YaBB? 


Yes, it is so. I can't support the team as I would like and so it makes no sense as an active member of the team to be led. But I YaBB and modding will remain true to itself.

Wink
  

Greeting ThM
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Allow HTML in Posts for YaBB 2.5AE - V.1.3
Reply #9 - Jan 24th, 2011 at 9:29pm
Print Post  
ThM wrote on Jan 24th, 2011 at 8:09am:
But I YaBB and modding will remain true to itself.

Well, I'm happy about that. Smiley
  
Back to top
 
IP Logged
 
RonS2
New Member
*
Offline


I Love YaBB 2!

Posts: 27
Joined: Mar 19th, 2010
Re: Allow HTML in Posts for YaBB 2.5AE - V.1.3
Reply #10 - Aug 14th, 2011 at 2:32pm
Print Post  
Is there a version for 2.4?

Thanks
  
Back to top
 
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: Allow HTML in Posts for YaBB 2.5AE - V.1.3
Reply #11 - Aug 14th, 2011 at 6:22pm
Print Post  
Not specially for 2.4, but try these Version. I think it works with 2.4  Wink
  

Greeting ThM
Back to top
 
IP Logged
 
Derek Bullock
Full Member
***
Offline


I love Camp Oven Cooking

Posts: 184
Location: Brisbane
Joined: Nov 9th, 2007
Gender: Male
Re: Allow HTML in Posts for YaBB 2.5AE - V.1.3
Reply #12 - Sep 13th, 2011 at 3:40am
Print Post  
Installed and works well.  Many thanks
  

Back to top
WWW  
IP Logged
 
RonS2
New Member
*
Offline


I Love YaBB 2!

Posts: 27
Joined: Mar 19th, 2010
Re: Allow HTML in Posts for YaBB 2.5AE - V.1.3
Reply #13 - Nov 15th, 2011 at 2:44pm
Print Post  
I got this to work in 2.4, well almost.

I can use basic commands, but if I try to call a page using <iframe> I get a "404 Not Found Error"

I know the file is there because its on my server and I can call it up on a standard HTML page.

Any advice?
  
Back to top
 
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: Allow HTML in Posts for YaBB 2.5AE - V.1.3
Reply #14 - Nov 15th, 2011 at 3:39pm
Print Post  
Please put the complete code snipet from your iframe here.
And i forget. Don`t use the " sign in the iframe code.

Example:

Code
Select All
[html]<iframe src=http://www.yabbwelt.de/yabbfiles/yabb24/membermap/gmt/login/gmt.php></iframe>[/html] 

« Last Edit: Nov 15th, 2011 at 5:13pm by ThM »  

Greeting ThM
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint