home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

HTML is not working right in PHP Nuke

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 1387
Discussions: 200,927, Posts: 2,379,139, Members: 246,295
Old June 16th, 2006, 06:05 AM   Digg it!   #1 (permalink)
Member
 
CowboyHacker's Avatar
 
Join Date: Dec 2005
Location: Waxahachie, TX, USA
Posts: 381
Send a message via ICQ to CowboyHacker Send a message via AIM to CowboyHacker Send a message via MSN to CowboyHacker Send a message via Yahoo to CowboyHacker Send a message via Skype™ to CowboyHacker
HTML is not working right in PHP Nuke

I have PHP nuke 7.8. When I try to insert HTML code into a module or a message, it shows the code as text(see below), then when I go back to administration, nothing appears in the text input box and when you click the HTML edit button to the bottom right of the text input box, it only shows a portion of the code.
When I try to insert the same code into a forum post, I get a code not allowed message.

I am trying to insert HTML/Javascript codes for PayPal donations and Google AdSense advertising:

Code:
<script type="text/javascript"><!--
google_ad_client = "pub-5714609032693513";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_page_url = document.location;
google_color_border = ["000000","6699CC","000000","CCCCCC"];
google_color_bg = ["F0F0F0","003366","000000","CCCCCC"];
google_color_link = ["0000FF","FFFFFF","FFFFFF","000000"];
google_color_url = ["008000","AECCEB","999999","666666"];
google_color_text = ["000000","AECCEB","CCCCCC","333333"];
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
This one is for Google AdSense. When I insert it, it shows like that until I go to edit it again...
__________________
~CowboyHacker
COMPAQ Presario V2405US
AMD Turion 64 MT-37 @ 2.0GHz~1,280MB RAM -128MB for video~60GB C HDD, 40GB T HDD
CowboyHacker is offline   Reply With Quote
Old June 16th, 2006, 05:15 PM     #2 (permalink)
Banned
 
Iturea's Avatar
 
Join Date: Jan 2004
Location: Earth
Posts: 420
Wink

Since I don't know anything about PHP nuke 7.8 I will just take a wild guess that somewhere it is configured to not except JavaScript as a post. So when it sees JavaScript in the post the application strips it and sends it to the browser as text and not script - kind of like the code tag for these forums do. Look at your client side code when the page loads and see if the JavaScript is there.
Iturea is offline   Reply With Quote
Old June 16th, 2006, 10:54 PM     #3 (permalink)
Member
 
CowboyHacker's Avatar
 
Join Date: Dec 2005
Location: Waxahachie, TX, USA
Posts: 381
Send a message via ICQ to CowboyHacker Send a message via AIM to CowboyHacker Send a message via MSN to CowboyHacker Send a message via Yahoo to CowboyHacker Send a message via Skype™ to CowboyHacker
Quote:
Originally Posted by Iturea
Look at your client side code when the page loads and see if the JavaScript is there.

Huh?
CowboyHacker is offline   Reply With Quote
Old June 17th, 2006, 09:23 AM     #4 (permalink)
Member
 
CowboyHacker's Avatar
 
Join Date: Dec 2005
Location: Waxahachie, TX, USA
Posts: 381
Send a message via ICQ to CowboyHacker Send a message via AIM to CowboyHacker Send a message via MSN to CowboyHacker Send a message via Yahoo to CowboyHacker Send a message via Skype™ to CowboyHacker
Anyone?
CowboyHacker is offline   Reply With Quote
Old June 17th, 2006, 06:22 PM     #5 (permalink)
Member
 
CowboyHacker's Avatar
 
Join Date: Dec 2005
Location: Waxahachie, TX, USA
Posts: 381
Send a message via ICQ to CowboyHacker Send a message via AIM to CowboyHacker Send a message via MSN to CowboyHacker Send a message via Yahoo to CowboyHacker Send a message via Skype™ to CowboyHacker
Does anyone here have any idea?
CowboyHacker is offline   Reply With Quote
Old June 17th, 2006, 06:29 PM     #6 (permalink)
Real gangstas sip on Yacc
 
jkrohn's Avatar
 
Join Date: Oct 2001
Location: Suckas-ville
Posts: 4,552
Send a message via ICQ to jkrohn Send a message via AIM to jkrohn Send a message via Yahoo to jkrohn
Modify the PHP file directly and put the code in. Much simpler than trying to figure out why exploit fest PHPNuke won't let you put it in.
__________________
Signatures blow hard
If your signature contains an ad of any kind, congratulations, you're on my ignore list.
jkrohn is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
Does anyone use PHP-Nuke? ImagoX Graphic Design and Digital Photography 4 February 18th, 2005 01:44 AM
PHP Nuke 6.8 Rand Dusing Webmastering and Programming 6 September 25th, 2003 06:12 PM
PHP Not working for .html file vass0922 Webmastering and Programming 7 November 10th, 2002 04:16 AM
another php nuke question VERT Webmastering and Programming 5 May 10th, 2002 09:33 AM
? about php Nuke e980238 Webmastering and Programming 4 April 25th, 2002 04:30 PM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (2867)
Is the PSU I received dead? (10)
windows vista security holes (9)
HIS HD5770 graphic card question (15)
Foreign voltage (10)
Print spooler problem (13)
Install XP pro and a Vista laptop ?.. (10)
Dept. of HS: NSA 'Helped' Develop V.. (15)
A good PSU? (10)
Ideal cheap graph card for PC-Gamin.. (15)
New Computer wont recognize XP disc (7)
EVGA 9800 gtx help with finding a g.. (8)
World's largest Monopoly Game using.. (331)
Modern Warfare 2: Who Bought It? (61)
Recent Discussions
Fire in DVD (2)
Regular Build (0)
Modern Warfare For the PC (33)
radeon x850xt platinum & shader 3 (3)
Have you switched yet? (84)
Install XP pro and a Vista laptop ?? (10)
Wireless Router+Cable Modems and Much.. (0)
Optical Audio A-B Switch (1)
windows vista security holes (9)
The NTDVM CPU has encountered an ille.. (24)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (34)
Wireless speakers for PC? (11)
Print spooler problem (13)
Help getting around port 80 for camer.. (2)
Display shows 3x5 inch in middle of s.. (3)
monitor will not turn on at all, (1)
World's largest Monopoly Game using G.. (331)
Foreign voltage (10)
FiOS modem/router interfering with ne.. (7)
Browsers wont load websites (2)
Virus Doctor Popup? (1)
Dept. of HS: NSA 'Helped' Develop Vis.. (15)
EVGA 9800 gtx help with finding a goo.. (8)
Problem with speed step/turbo boost? (1)
Modern Warfare 2: Who Bought It? (61)


All times are GMT -4. The time now is 02:53 AM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28