[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 173: Cannot modify header information - headers already sent by (output started at [ROOT]/feed.php:1)
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 174: Cannot modify header information - headers already sent by (output started at [ROOT]/feed.php:1)
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 180: Cannot modify header information - headers already sent by (output started at [ROOT]/feed.php:1)
IntegraMOD Home of phpBB Integrated Modifications 2006-06-22T16:45:59-07:00 https://integramod.com/forum/feed.php?f=17&t=1237 2006-06-22T16:45:59-07:00 2006-06-22T16:45:59-07:00 https://integramod.com/forum/viewtopic.php?t=1237&p=10007#p10007 <![CDATA[Re: About HTML Posting By Admin]]> http://www.integramod.com/forum/viewtop ... highlight=).

The mods mentionned above can be used, but they do not allow to select which html tags can be used. In fact, "HTML BBcode MOD" would be perfect, except that I need all members to be able to post with some html tags. Some one, allowing all tags is probably too dangerous...

I would like to be able to post the following code:

 NOTE ]

Is there any way to do things simple? For example, it seems impossible to get the first line working. Every time I post it, I only get :

[code](div class="GMapEZ")


And the rest of the line disappeared...

I understand the safety issues with html code, but it is really a pity not to have a simple way to allow some html.

Any advice very welcomed.

sanji

Statistics: Posted Author: sanji — Thu Jun 22, 2006 4:45 pm


]]>
2006-06-18T13:49:20-07:00 2006-06-18T13:49:20-07:00 https://integramod.com/forum/viewtopic.php?t=1237&p=9708#p9708 <![CDATA[About HTML Posting By Admin]]>
"badboy";p="9628" wrote:
if i wanna add something like this
<a><embed></embed><br>Get Music Video Codes by VideoCodeLibrary.com</a>


what tag should i add to the list
You'll need a and embed I believe.

Statistics: Posted Author: Teelk — Sun Jun 18, 2006 1:49 pm


]]>
2006-06-18T02:05:05-07:00 2006-06-18T02:05:05-07:00 https://integramod.com/forum/viewtopic.php?t=1237&p=9667#p9667 <![CDATA[About HTML Posting By Admin]]>
The team are looking into it but it will probably come down to whether the gain outweighs the risk.

A

Statistics: Posted Author: Adrian Rea — Sun Jun 18, 2006 2:05 am


]]>
2006-06-17T09:19:50-07:00 2006-06-17T09:19:50-07:00 https://integramod.com/forum/viewtopic.php?t=1237&p=9628#p9628 <![CDATA[About HTML Posting By Admin]]> I was sure there was this feature using configuration+, but I can't find it. So, I think it would require a MOD... you can try something like this, but it's untested and taken from &quot;admins allowed html&quot; by mitsubishi.

Open viewtopic.php
FIND
    //     // If the board has HTML off but the post has HTML     // on then we process it, else leave it alone     //     if ( !$board_config['allow_html'] || !$userdata['user_allowhtml'])  

REPLACE WITH
    //     // If the board has HTML off but the post has HTML     // on then we process it, else leave it alone     //     if ( !$board_config['allow_html'] && $postrow[$i]['user_level'] != ADMIN || !$userdata['user_allowhtml'] && $postrow[$i]['user_level'] != ADMIN)

Open posting.php
FIND
//// End session management//

AFTER ADD
if ($userdata['user_level'] == ADMIN){         $board_config['allow_html'] = 1;}

Open includes/topic_review.php
FIND
    $sql = &quot;SELECT u.username, u.user_id, p.*,  pt.post_text, pt.post_subject, pt.bbcode_uid  

REPLACE WITH
$sql = &quot;SELECT u.username, u.user_id, u.user_level, p.*,  pt.post_text, pt.post_subject, pt.bbcode_uid

FIND
            //             // If the board has HTML off but the post has HTML             // on then we process it, else leave it alone             //             if ( !$board_config['allow_html'] && $row['enable_html'] )

REPLACE WITH
                 // If the board has HTML off but the post has HTML                         // on then we process it, else leave it alone                         //                         if ( !$board_config['allow_html'] && $row['enable_html'] && $row['user_level'] != ADMIN )


But, as I said, this is untested so if you want to use it backup these three files first.

EDIT]

if i wanna add something like this
[code]<a href="http]

what tag should i add to the list

Statistics: Posted Author: badboy — Sat Jun 17, 2006 9:19 am


]]>
2006-06-17T03:45:43-07:00 2006-06-17T03:45:43-07:00 https://integramod.com/forum/viewtopic.php?t=1237&p=9610#p9610 <![CDATA[Re: About HTML Posting By Admin]]> [url=http]HTML BBcode MOD[/url]
[url=http]HTML enable for ADMINs and MODs only[/url]
[url=http]HTML Enabled for Administrators Only[/url]

I believe the last two are listed as "In Development". I understand there may be security issues with allowing HTML. I am not certain how well each of these MODS may address this concern.

Statistics: Posted Author: Dr. Bantham — Sat Jun 17, 2006 3:45 am


]]>
2006-06-16T21:13:03-07:00 2006-06-16T21:13:03-07:00 https://integramod.com/forum/viewtopic.php?t=1237&p=9594#p9594 <![CDATA[Re: About HTML Posting By Admin]]>
Open viewtopic.php
FIND
    //     // If the board has HTML off but the post has HTML     // on then we process it, else leave it alone     //     if ( !$board_config['allow_html'] || !$userdata['user_allowhtml'])  

REPLACE WITH
    //     // If the board has HTML off but the post has HTML     // on then we process it, else leave it alone     //     if ( !$board_config['allow_html'] && $postrow[$i]['user_level'] != ADMIN || !$userdata['user_allowhtml'] && $postrow[$i]['user_level'] != ADMIN)

Open posting.php
FIND
//// End session management//

AFTER ADD
if ($userdata['user_level'] == ADMIN){         $board_config['allow_html'] = 1;}

Open includes/topic_review.php
FIND
    $sql = "SELECT u.username, u.user_id, p.*,  pt.post_text, pt.post_subject, pt.bbcode_uid  

REPLACE WITH
$sql = "SELECT u.username, u.user_id, u.user_level, p.*,  pt.post_text, pt.post_subject, pt.bbcode_uid

FIND
            //             // If the board has HTML off but the post has HTML             // on then we process it, else leave it alone             //             if ( !$board_config['allow_html'] && $row['enable_html'] )

REPLACE WITH
                 // If the board has HTML off but the post has HTML                         // on then we process it, else leave it alone                         //                         if ( !$board_config['allow_html'] && $row['enable_html'] && $row['user_level'] != ADMIN )


But, as I said, this is untested so if you want to use it backup these three files first.

EDIT: I should also mention that HTML needs to be turned off for this MOD to work and you also need to fill out the allowed HTML tags in ACP>Configuration.

Statistics: Posted Author: Teelk — Fri Jun 16, 2006 9:13 pm


]]>
2006-06-15T15:55:34-07:00 2006-06-15T15:55:34-07:00 https://integramod.com/forum/viewtopic.php?t=1237&p=9521#p9521 <![CDATA[About HTML Posting By Admin]]> Statistics: Posted Author: badboy — Thu Jun 15, 2006 3:55 pm


]]>