Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 8.1
Author Message
rasho
New Member
New Member



Joined: Feb 11, 2009
Posts: 5

PostPosted: Thu Aug 06, 2009 6:33 am Reply with quote

I´m traing put this code in topic:
Code:
$menuimg = menuimg("info.gif");

    echo "<font class=\"content\">"
   ."<center><a href= \"modules.php?name=Your_Account&amp;op=edituser\"><img src=\"$menuimg\" border=\"0\" alt=\"" ._CHANGEYOURINFO."\" title=\""._CHANGEYOURINFO."\"></a><br>"
   ."<a href=\"modules.php?name=Your_Account&amp;op=edituser\">"._CHANGEYOURINFO."</a>"
   ."</center></font></td>";

but preview:
Code:
$menuimg = menuimg("info.gif");

    echo "<font>"
   ."<center><a href="modules.php?name=Your_Account&amp;op=edituser\"><img src="$menuimg\" border="0\" alt="" title=""></a><br>"
   ."<a href="modules.php?name=Your_Account&amp;op=edituser\">"._CHANGEYOURINFO."</a>"
   ."</center></font></td>";

Where is the problem?
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Thu Aug 06, 2009 3:14 pm Reply with quote

Can you please explain exactly what your issue is?
 
View user's profile Send private message
rasho







PostPosted: Thu Aug 06, 2009 11:23 pm Reply with quote

1. phpNuke 8.1
2. phpBB port v2.0.7 based on Tom Nitzschner's phpbb port 2.0.6 upgraded to phpBB 2.0.7 standalone
3. allow html tags in config forums: html,head,body,div,span,title,link,meta,style,
p,h1,h2,h3,h4,h5,h6,strong,em,abbr,acronym,
address,bdo,blockquote,cite,q,code,ins,del,dfn,kbd,pre,
samp,var,br,a,base,img,area,map,object,param,b,i,
tt,sub,sup,big,small,hr,ul,ol,li,dl,dt,dd,table,tr,td
4. In config.php : $AllowableHTML = array("img"=>2,"tr"=>1,"td"=>2,"table"=>2,"div"=>2,"p"=>2,"hr"=>2,"b"=>2,"i"=>2,"strike"=>2,"u"=>2,"font"=>2,"a"=>2,"em"=>2,"br"=>2,"strong"=>2,"blockquote"=>2,"tt"=>2,"li"=>2,"ol"=>2,"ul"=>2,"center"=>2, "embed"=>2,"object"=>2,"param"=>2, "script"=>2, "src"=>2, "font color"=>2,"bgcolor"=>2,"font"=>2,"href"=>2, "html"=>2, "color"=>2);

If put code in new topic displayed below:
Code:
$menuimg = menuimg("info.gif");

    echo "<font class=\"content\">"
   ."<center><a href= \"modules.php?name=Your_Account&amp;op=edituser\"><img src=\"$menuimg\" border=\"0\" alt=\"" ._CHANGEYOURINFO."\" title=\""._CHANGEYOURINFO."\"></a><br>"
   ."<a href=\"modules.php?name=Your_Account&amp;op=edituser\">"._CHANGEYOURINFO."</a>"
   ."</center></font></td>";

didn't displayed full.
 
Raven







PostPosted: Fri Aug 07, 2009 7:03 am Reply with quote

You have a syntax error.

Change:
<a href= \"modules.php?

To:
<a href=\"modules.php?
 
rasho







PostPosted: Fri Aug 07, 2009 1:04 pm Reply with quote

No changes. Sad
 
rasho







PostPosted: Fri Aug 07, 2009 1:12 pm Reply with quote

Code:
Code:
$menuimg = menuimg("info.gif");

    echo "<font class=\"content\">"
   ."<center><a href=\"modules.php?name=Your_Account&amp;op=edituser\"><img src=\"$menuimg\" border=\"0\" alt=\"" ._CHANGEYOURINFO."\" title=\""._CHANGEYOURINFO."\"></a><br>"
   ."<a href=\"modules.php?name=Your_Account&amp;op=edituser\">"._CHANGEYOURINFO."</a>"
   ."</center></font></td>";

I view:
Code:
$menuimg = menuimg("info.gif");

    echo "<font>"
   ."<center><a href="modules.php?name=Your_Account&amp;op=edituser\"><img src="$menuimg\" border="0\" alt="" title=""></a><br>"
   ."<a href="modules.php?name=Your_Account&amp;op=edituser\">"._CHANGEYOURINFO."</a>"
   ."</center></font></td>";
 
Raven







PostPosted: Fri Aug 07, 2009 1:21 pm Reply with quote

The code I posted works for me. Look in your server error log to see what errors are being reported.
 
rasho







PostPosted: Fri Aug 07, 2009 1:37 pm Reply with quote

No Error Log Messages.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 8.1

View next topic
View previous 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©