phpBB3 Enable HTML Mod in news block
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
phpBB3 Enable HTML Mod in news block
Your Portal Version: 1.0.2
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Basic Knowledge
Boardlink: http://knxforum.se
What have you done before the problem was there?
What have you already tryed to solve the problem?
Description and Message
I have installed Enable HTML Mod and it works in the forum.
When i write a topic with HTML it shows up fine in viewtopic.
But when I show this topic in news block it shows the html code.
How do i display HTML in the news block?
/Mike
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Basic Knowledge
Boardlink: http://knxforum.se
What have you done before the problem was there?
What have you already tryed to solve the problem?
Description and Message
I have installed Enable HTML Mod and it works in the forum.
When i write a topic with HTML it shows up fine in viewtopic.
But when I show this topic in news block it shows the html code.
How do i display HTML in the news block?
/Mike
Last edited by Kevin on 9. March 2009 07:27, edited 1 time in total.
Reason: edited topic title
Reason: edited topic title
Re: HTML in news block
Have someone mofified the news block so the Enable HTML mod works.
/Mike
/Mike
-
- Site Admin
- Posts: 2989
- Joined: 7. January 2006 20:11
- phpBB.de User: Saint
- phpBB.com User: Saint_hh
- Location: Hamburg
- Contact:
Re: HTML in news block
A link to this mod would be helpful, as i don't know it...
btw: you forgot to include the portal.css as stated in the install.xml
btw: you forgot to include the portal.css as stated in the install.xml
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~
Kein Support per PN / No support via PM!
Kein Support per PN / No support via PM!
Re: HTML in news block
HiKevin wrote:A link to this mod would be helpful, as i don't know it...
btw: you forgot to include the portal.css as stated in the install.xml
The link to the mod is http://www.lithiumstudios.org/forum/vie ... f=31&t=535.
btw:
I have:
Copy: root/styles/prosilver/theme/portal.css
To: styles/prosilver/theme/portal.css
And i have @import url("portal.css"); in stylesheet,css.
What have I missed?
/Mike
-
- Site Admin
- Posts: 2989
- Joined: 7. January 2006 20:11
- phpBB.de User: Saint
- phpBB.com User: Saint_hh
- Location: Hamburg
- Contact:
Re: HTML in news block
You may have missed to do this: knowledge/kb_show.php?id=28Leahcim wrote:What have I missed?
Regarding the HTML mod:
At first I copy this one
Now to the changes - not tested as i don't use this mod.Repeat after me:If my board gets hacked because I allowed somebody to post HTML it is my fault and I can not hold anyone else responsible. This modification is a major security vulnerability to my board, I am willing to put myself and any others who access this board in danger to have HTML capabilities.
Open portal/includes/functions.php
search:
Code: Select all
u.username,
u.user_id,
u.user_type,
Code: Select all
u.user_permissions,
Code: Select all
// Second parse bbcode here
Code: Select all
// START Enable HTML
if (!function_exists('enable_html'))
{
include($phpbb_root_path . 'includes/mods/enable_html.' . $phpEx);
}
if (enable_html_permission($row['poster_id'], $row['forum_id']))
{
$row['post_text'] = enable_html($row['post_text'], $row['bbcode_uid']);
}
// END Enable HTML
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~
Kein Support per PN / No support via PM!
Kein Support per PN / No support via PM!
Re: HTML in news block
DoneKevin wrote: You may have missed to do this: knowledge/kb_show.php?id=28
ThanksKevin wrote: Regarding the HTML mod:...
I will try this out today.
/Mike
Re: phpBB3 Enable HTML Mod in news block
Kevin
I received this after the changes:
[phpBB Debug] PHP Notice: in file /portal/includes/functions.php on line 310: Undefined variable: phpEx
[phpBB Debug] PHP Notice: in file /portal/includes/functions.php on line 310: include(./includes/mods/enable_html.) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /portal/includes/functions.php on line 310: include() [function.include]: Failed opening './includes/mods/enable_html.' for inclusion (include_path='.;C:/php5/pear')
/Mike
I received this after the changes:
[phpBB Debug] PHP Notice: in file /portal/includes/functions.php on line 310: Undefined variable: phpEx
[phpBB Debug] PHP Notice: in file /portal/includes/functions.php on line 310: include(./includes/mods/enable_html.) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /portal/includes/functions.php on line 310: include() [function.include]: Failed opening './includes/mods/enable_html.' for inclusion (include_path='.;C:/php5/pear')
/Mike
Re: phpBB3 Enable HTML Mod in news block
Hello! I have the Enable HTML mod also, and it's too bad that news section of the portal does not support it. I like to use a bigger ammount of space for my news on my home page and show an image along with real news/Top stories. I need for text to wrap around an image like this:
I'm able to accomplish this on the forums.... but unfortunatly, not with the portal. no matter what custom bbcode I try.
If you or someone can look more into this, It would be great.
I'm able to accomplish this on the forums.... but unfortunatly, not with the portal. no matter what custom bbcode I try.
If you or someone can look more into this, It would be great.
-
- Active Member
- Posts: 6
- Joined: 29. April 2009 01:11
Re: phpBB3 Enable HTML Mod in news block
I need this mod also as our news includes flash video and layout issues with just using bbcode. Also I dont see where the security risk is when the only users that are allowed to use html in posts are admin?......
-
- Active Member
- Posts: 6
- Joined: 29. April 2009 01:11
Re: phpBB3 Enable HTML Mod in news block
No reply or answer to this one? If we cant use this i'm afraid we would have to change portal and it would be a shame as we really like the rest of this portal.
Any help would be greatly apreciated!
Any help would be greatly apreciated!