You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 381 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - HTML in messages module [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
RaptureReady
Nuke Soldier
Nuke Soldier


Joined: Nov 13, 2007
Posts: 17


PostPosted: Sun Jun 29, 2008 5:26 pm Reply with quoteBack to top

Hey all, I am using phpnuke 8.0 and am trying to add some images on my front page using the messages module and every time I click save it strips my code. My site is http://69.89.31.151/~menofgod/nuke/index.php

My allowable tags are as follows:
Code:

$AllowableHTML = array("b"=>1, "i"=>1, "a"=>2, "em"=>1, "br"=>1, "strong"=>1, "blockquote"=>1, "tt"=>1, "li"=>1, "ol"=>1, "H1"=>1, "H2"=>1, "H3"=>1, "H4"=>1, "center"=>1, "img"=>2, "alt"=>1, "table"=>2, "tr"=>2, "td"=>2, "p"=>2, "div"=>2, "font"=>2, "p"=>1, "p"=>1, "ul"=>1);


Here is the html code I am trying to use so if something is wrong with it please let me know.

Code:

<table border="0">
<tr>
<div align="center">
<img border="0" src="images/welcome/mogwelcome.png" />
</div>
</tr>

<tr>
<td colspan="2">&nbsp;</td>
</tr>

<tr>
<td colspan="2">
<div align="center">
<strong>Help us reach the world for Jesus<br />
<a href="donations/donations.htm"><img border="0" src="donations/images/paypal.gif" /><br />
Donate to MoG </a></strong></div></td>
</tr>

</table>

Find all posts by RaptureReadyView user's profileSend private message
mangeewolf
Nuke Soldier
Nuke Soldier


Joined: Sep 29, 2004
Posts: 26


PostPosted: Mon Jun 30, 2008 5:04 am Reply with quoteBack to top

I just used your code on my test site without a problem, had to add width to table command. Just a red X showed up for images.

When you are on the edit page of " messages " module look at the bottom of the " content " area. There is an icon that says HTML.
You click this area to open a window to do html code. When you click its update button the content area will strip or not show the html code. It will only show the result. So each time you want to change the html you need to click the html icon to see the hidden code so as to edit it.

On your html code you need to add a width=100% to the table. Otherwise everything will align to the left.
Find all posts by mangeewolfView user's profileSend private messageSend e-mailVisit poster's website
RaptureReady
Nuke Soldier
Nuke Soldier


Joined: Nov 13, 2007
Posts: 17


PostPosted: Mon Jun 30, 2008 5:18 am Reply with quoteBack to top

Okay thanks mangeewolf, it looks like all I needed to do is add the width="100%" to the table and it fixed it.

Thanks alot!

RR
Find all posts by RaptureReadyView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.037 Seconds - 176 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::