TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,989
  • Total Topics: 21,322
  • Online today: 1,078
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 261
  • Total: 262
  • @rjen

Wallpapers.com

Started by clickbouyow, December 23, 2005, 11:39:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jordan

i get this when i put it into a html / bbc box (i dont have a javascript box guys wtf!!!)?

Wallpaper of the day

<div id="gw_wallpaperoftheday_pc"><a href="javascript:gwGetPreview_pc();">[/url]
</div>

<script>
function gwGetPreview_pc() { url = "http://www.gamewallpapers.com/wallpaperoftheday/getpreview.php?type=pc";
ipwindow = window.open(url,"_blank","fullscreen=no,resizable=no,scrollbars=no,toolbar=no,height=316,width=400");
}
</script>

it just shows the code, the top writing with the daily wallpaper is the block header

Nikki Sixx

The "scriptbox" block must be used for (X)HTML and/or JavaScript language scripts.

Jordan

thanks nikki just tried it but i still get

Wallpaper of the day

<div id="gw_wallpaperoftheday_pc"><a href="javascript:gwGetPreview_pc();"><img src="http://www.gamewallpapers.com/wallpaperoftheday/wallpaperoftheday_pc.jpg" width="120" height="90" border="0" onError="document.all.gw_wallpaperoftheday_pc.style.visibility='hidden';"></a>
</div>

<script>
function gwGetPreview_pc() { url = "http://www.gamewallpapers.com/wallpaperoftheday/getpreview.php?type=pc";
ipwindow = window.open(url,"_blank","fullscreen=no,resizable=no,scrollbars=no,toolbar=no,height=316,width=400");
}
</script>

Nikki Sixx

#13
The terminating "[/url]" tag should not be present. You are also missing portions of the script! On top of that, I don't believe BBC tags are rendered in "scriptbox" blocks.

Jordan

#14
got any idea why i get this when i rmove the url tag?:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, mysite@mysite.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.37 Server at " mysite" Port 80


OMG why do i get this error al the time now whenever i try add this code, whats going on!!!!! i hate the net and it all happened when i used ur code too LOL

G6Cad

You MUST use codetags when you pasting in code in the post.
If you dont the posting will render the post and put in bbc tags where they dont belong.

Also please read the posting guide for this forum, one of the sticky posts clearly say NO support in the block code and snippets board.

Jordan

This is in support! well it is now anyway, so now since i'ts in support you can help me.

got any idea why i get this when i rmove the url tag?:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, mysite@mysite.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.37 Server at " mysite" Port 80



OMG why do i get this error all the time now whenever i try add scriptbox code into TP? sometimes happens on my domain name too

Jordan


Ken.

Jordan, please don't bump the thread so soon, it's only been 1.5 hours.

Someone will try and give you an answer, you just have to give us time enough to get back to you.

Thanks... Ken.
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

G6Cad

Internal server error usually means that it's the host that needs to change some configuration.
It might be that you are running on safe mod, or even "external" urls are not permitted.

This website is proudly hosted on Crocweb Cloud Website Hosting.