-

Enable_HTML

Support for phpBB3, phpBB3 Modifications, and phpBB3 styles
Forum rules
Bugs go in the Bug Tracker

Enable_HTML

Postby Chantal » Sun Jul 22, 2012 10:59 am

I've tried to implement this mob to no success. Using phpBB3.

I've installed, gave permissions, but when the user tries to post this for example:
Code: Select all
[html]
 <table cellpadding="3" bgcolor="DimGray"> <tr bgcolor="MidnightBlue"><td align="left" colspan="14"> <b> <font size="3" color="White"> Avatar of Sholoth on 7/21/2012 </font> </b> </tr> <tr bgcolor="Black"><td align="left"> <font size="2" color="White">  </font><td align="left"> <b> <font size="2" color="White"> Damage by </font> </b><td align="right"> <b> <font size="2" color="LightSkyBlue"> Total </font> </b><td align="right"> <b> <font size="2" color="White"> % of Tot </font> </b><td align="right"> <b> <font size="2" color="LightSkyBlue"> Time </font> </b><td align="right"> <b> <font size="2" color="White"> DPS </font> </b><td align="right"> <b> <font size="2" color="LightSkyBlue"> Scaled </font> </b><td align="right"> <b> <font size="2" color="White"> Hits </font> </b><td align="right"> <b> <font size="2" color="LightSkyBlue"> Max hit </font> </b><td align="right"> <b> <font size="2" color="White"> Avg hit </font> </b><td align="right"> <b> <font size="2" color="LightSkyBlue"> Dmg to PC </font> </b><td align="right"> <b> <font size="2" color="White"> NPC DPS </font> </b><td align="left"> <b> <font size="2" color="LightSkyBlue"> Special </font> </b><td align="left"> <font size="2" color="White">  </font> </tr> <tr bgcolor="MidnightBlue"><td align="left"> <font size="2" color="White">  </font><td align="left"> <b> <font size="2" color="White"> Total </font> </b><td align="right"> <font size="2" color="LightSkyBlue"> 930161 </font><td align="right"> <font size="2" color="White"> 100% </font><td align="right"> <font size="2" color="LightSkyBlue"> 65 </font><td align="right"> <font size="2" color="White"> 14310 </font><td align="right"> <font size="2" color="LightSkyBlue"> 14310 </font><td align="right"> <font size="2" color="White"> 64 </font><td align="right"> <font size="2" color="LightSkyBlue"> 42550 </font><td align="right"> <font size="2" color="White"> 14533 </font><td align="right"> <font size="2" color="LightSkyBlue"> 0 </font><td align="right"> <font size="2" color="White"> 0 </font><td align="left"> <font size="2" color="LightSkyBlue">  </font><td align="left"> <font size="2" color="White">  </font> </tr> <tr bgcolor="Black"><td align="left"> <font size="2" color="White">  </font><td align="left"> <b> <font size="2" color="White"> Haix </font> </b><td align="right"> <font size="2" color="LightSkyBlue"> 930161 </font><td align="right"> <font size="2" color="White"> 100% </font><td align="right"> <font size="2" color="LightSkyBlue"> 65 </font><td align="right"> <font size="2" color="White"> 14310 </font><td align="right"> <font size="2" color="LightSkyBlue"> 14310 </font><td align="right"> <font size="2" color="White"> 64 </font><td align="right"> <font size="2" color="LightSkyBlue"> 42550 </font><td align="right"> <font size="2" color="White"> 14533 </font><td align="right"> <font size="2" color="LightSkyBlue"> 0 </font><td align="right"> <font size="2" color="White"> 0 </font><td align="left"> <font size="2" color="LightSkyBlue">  </font><td align="left"> <font size="2" color="White">  </font> </tr> <tr bgcolor="darkgreen"> <td colspan="14" align="right"> <a href="http://gambosoft.com/forum/"> <i> <font size="2" color="gold"> Produced by GamParse v1.0.2 </font> </i> </a> </td> </tr> </table>
Special:   7 - 7th yr vet   G - Glyph   K - Kiss   S - Staunch   X - Slain   $ - Saved by DI
[/html]


instead of getting a nice neat table like this:
Image

He gets this:
Image

all the < have been changed to &lt; and so on. I had originally made the changes manually, then uninstalled and reinstalled using the mod.
Chantal
Donor
Donor
 
Posts: 2
Joined: Sat Jul 21, 2012 6:43 pm
Blog: View Blog (0)

Re: Enable_HTML

Postby EXreaction » Sun Jul 22, 2012 11:35 am

First, did you run the database installer, enable_html.php, in your web browser?

If you did, did you also give your user permission to post HTML (it's a forum level permission and a global user level permission)?
Grateful for the mods I've built? Then donate!
User avatar
EXreaction
Site Owner
Site Owner
 
Posts: 4988
Joined: Wed Jun 28, 2006 5:08 pm
Blog: View Blog (53)

Re: Enable_HTML

Postby Chantal » Sun Jul 22, 2012 3:04 pm

Yes to both. I didn't know I was supposed to run enable_html.php the first time so I opened the installer.xml file, read all the changes and copy and pasted all of them to the appropriate files. At the end it says to run enable_html.php and when I did that the only option that was available was uninstall. I went then went to give the user rights. I saw that long disclaimer of yours so I knew I was on the right track. I gave him forum level rights and asked him to post. It didn't work. I then gave myself forum level rights and tried and it didn't work. I removed all the permissions, went to enable_html and uninstalled. Then I re-installed using enable_html.php. I gave myself rights and it didn't work.
Chantal
Donor
Donor
 
Posts: 2
Joined: Sat Jul 21, 2012 6:43 pm
Blog: View Blog (0)

Re: Enable_HTML

Postby EXreaction » Mon Jul 23, 2012 10:06 am

Does it work if you preview the message?

If it does not, try making two quick changes to posting.php:
Code: Select all
if (enable_html_permission($post_data['poster_id'], false, $forum_id))


This should exist twice, change both to:
Code: Select all
if (true)


Then test it again to see if it works (this is just for previewing a post). Undo the change and let me know what happened.
Grateful for the mods I've built? Then donate!
User avatar
EXreaction
Site Owner
Site Owner
 
Posts: 4988
Joined: Wed Jun 28, 2006 5:08 pm
Blog: View Blog (53)


Return to phpBB3 Support



Who is online

Users browsing this forum: hkji6t1c90, njonesg309, oaeenfl11f, tjonesx107 and 1 guest

cron