Page 1 of 14

[2.0.10] HTML BBcode MOD

Posted: Wed Oct 27, 2004 9:01 pm
by Extensions Robot
MOD Name: HTML BBcode MOD
Author: markus_petrux
MOD Description: This MOD adds an HTML BBcode to your forum, which allows you to enter HTML tags yourself when posting a message. It is also possible to post JavaScript, Flash or Java objects, Forms, etc. You can even use other BBCode tags within an HTML block! Syntax is pretty simple: [html]text[/html].
While this BBCode is powerful, it is also somehow dangerous! By default, it is only allowed for the main board administrator. It can also be allowed for other Admins or members of a usergroup via ACP.

WARNING: You shouldn't allow anyone to post HTML unless you trust them 100%. Use at your own peril!

MOD Version: 1.1.4

Download File: html_bbcode_mod_1_1_4.zip
mods overview page: View
File Size: 5270 Bytes

Security Score:

Posted: Tue Nov 02, 2004 10:58 pm
by wGEric
MOD Validated/Released

Notes:
Adds a BBCode that lets you post HTML. You can choose who can use this BBCode because letting users use HTML in their posts opens the board up for security problems.

This MOD requires the Multiple BBCodes MOD.

Posted: Wed Nov 03, 2004 12:33 am
by markus_petrux
Thanks, Eric! :)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The Beta topic for this MOD was here:
http://www.phpbb.com/phpBB/viewtopic.php?t=225389
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Notes:
  1. This MOD is compatible with the latest version of the Multiple BBCode MOD (1.4.0)
    You can get it here: http://www.phpbb.com/phpBB/viewtopic.php?t=145513
  2. Please, carefully read Author Notes section in the MOD header before installing this MOD.
Known Issues:
  • Problem: If you're using phpBB 2.0.20 (and up), you may find that HTML tags and/or attributes aren't displayed, even when using the HTML BBCode.

    Workaround: Go to your AdminCP / General Admin / Configuration, scroll down and set the option "Allow HTML" to No.

Enjoy! :)

Text box not working correctly

Posted: Wed Nov 10, 2004 6:38 am
by davidshook
I have installed multi-bbc-1-4-0 and html_bbcode_mod_1_1_4
Now I am having problems with the text box that's used for posting messages.

Nothing happens when I press the bbcode bottons. The text does not get enclosed in the tags.
In InternetExplorer I can't even highlight the text in the text box.
Also, I can't add the emoticons to the text box.
... I am assuming that this is a javascript problem.

When I add the tags by typing them into the text and than preview the message it seems to display correctly.

Please help. In my stupidity, I did not keep a backup.

I also have the following MOD's: NoseBleed template, the lates phpbb, attachment mod, eXtreme Styles, easymod instal (which doesn't seem to work correctly), Topic_Description105a MOD

Posted: Wed Nov 10, 2004 8:09 pm
by markus_petrux
Have you installed this MOD with EasyMOD? Did you get any errors?

Is the problem happening using subSilver, NoseBleed or both templates?

Do you have a link?

Posted: Fri Nov 19, 2004 4:33 am
by warnmar10
Cool! Works for me!

Posted: Tue Nov 23, 2004 7:14 am
by Joe Belmaati
This MOD kicks major *** !

An idea could be to leave all html that has already been posted alone without having to go back and wrap all those posts in [html] tags.... I don't know if that is possible to implement..

Thanks, Markus!!

Posted: Tue Nov 23, 2004 7:41 am
by markus_petrux
Have you added the following line in includes/constants.php ?

Code: Select all

define('FOUNDER', 2)
If so, the block where the HTML BBCode options are in the ACP->Configuration should be visible. This is the code that enables the visibility of this configuration option in admin/admin_board.php

Code: Select all

//+MOD: HTML BBCode MOD
if( $userdata['user_id'] == FOUNDER )
{
	$template->assign_block_vars('bbcode_html_allowed', array());
}
//-MOD: HTML BBCode MOD

$template->pparse("body");
:?:

Posted: Tue Nov 23, 2004 7:43 am
by markus_petrux
Joe Belmaati wrote: nvm solved my problem. Nothing relating to this MOD.

I should have quoted you before. :lol:

Posted: Tue Nov 23, 2004 7:49 am
by Joe Belmaati
I am ashamed to admit that my modding in admin_board.php was bogus. I parsed the body BEFORE the switch!! :D

I edited my original post and added an idea to it...

Posted: Tue Nov 23, 2004 8:48 am
by markus_petrux
Joe Belmaati wrote: An idea could be to leave all html that has already been posted alone without having to go back and wrap all those posts in [html] tags.... I don't know if that is possible to implement..

I have no idea on how to do this easily. :?

Posted: Tue Nov 23, 2004 9:53 am
by Joe Belmaati
No problem, Markus. Is there a way to get it to parse php as well..?

Posted: Tue Nov 23, 2004 11:21 am
by macgeek
OMG!!!! This mod is SO AWESOME!!! :) I can now create tables in my postings.

--- macgeek

Posted: Tue Nov 23, 2004 3:07 pm
by markus_petrux
Joe Belmaati wrote: Is there a way to get it to parse php as well..?

PHP in postings ? 8O Not with this one, I'm afraid. It might be something to think of for another MOD.

I believe exTreme Styles MOD allows PHP in templates.

Posted: Tue Nov 23, 2004 3:17 pm
by Joe Belmaati
Yes, I use php in templates quite that extensively..