SimplePortal
Support => International Support => Turkish (Türkçe) => Topic started by: ucundan on September 27, 2009, 03:36:57 PM
-
Arkadaşlar Teamspeak serverımın javascript kodlarını html kod bloğuna eklemeye çalıştığımda sayfa bembeyaz olup gidiyor, yani blok oluşmuyor. Kullandığım kod şu:
<script language="javascript" type="text/javascript" charset="iso-8859-1" src="http://www.tsviewer.com/ts_viewer_pur.php?ID=62351&bg=transparent&type=ffffff&type_size=11&type_family=1&info=0&channels=1&users=1&js=1&type_s_color=ffffff&type_s_weight=bold&type_s_style=normal&type_s_variant=normal&type_s_decoration=none&type_s_color_h=525284&type_s_weight_h=bold&type_s_style_h=normal&type_s_variant_h=normal&type_s_decoration_h=underline&type_i_color=ffffff&type_i_weight=normal&type_i_style=normal&type_i_variant=normal&type_i_decoration=none&type_i_color_h=525284&type_i_weight_h=normal&type_i_style_h=normal&type_i_variant_h=normal&type_i_decoration_h=underline&type_c_color=ffffff&type_c_weight=normal&type_c_style=normal&type_c_variant=normal&type_c_decoration=none&type_c_color_h=525284&type_c_weight_h=normal&type_c_style_h=normal&type_c_variant_h=normal&type_c_decoration_h=underline&type_u_color=ffffff&type_u_weight=normal&type_u_style=normal&type_u_variant=normal&type_u_decoration=none&type_u_color_h=525284&type_u_weight_h=normal&type_u_style_h=normal&type_u_variant_h=normal&type_u_decoration_h=none"></script><noscript>Enable JavaScript or visit <a href="http://www.tsviewer.com/index.php?page=ts_viewer&ID=62351">TeamSpeak Viewer</a> to display the TeamSpeak server.</noscript>
Ayrıca php kodu da php bloğunda çalışmıyor. syntax hatası veriyor:
<?php include("http://www.tsviewer.com/ts_viewer_pur.php?ID=62351&bg=&type=ffffff&type_size=11&type_family=1&info=0&channels=1&users=1&type_s_color=ffffff&type_s_weight=bold&type_s_style=normal&type_s_variant=normal&type_s_decoration=none&type_s_color_h=525284&type_s_weight_h=bold&type_s_style_h=normal&type_s_variant_h=normal&type_s_decoration_h=underline&type_i_color=ffffff&type_i_weight=normal&type_i_style=normal&type_i_variant=normal&type_i_decoration=none&type_i_color_h=525284&type_i_weight_h=normal&type_i_style_h=normal&type_i_variant_h=normal&type_i_decoration_h=underline&type_c_color=ffffff&type_c_weight=normal&type_c_style=normal&type_c_variant=normal&type_c_decoration=none&type_c_color_h=525284&type_c_weight_h=normal&type_c_style_h=normal&type_c_variant_h=normal&type_c_decoration_h=underline&type_u_color=ffffff&type_u_weight=normal&type_u_style=normal&type_u_variant=normal&type_u_decoration=none&type_u_color_h=525284&type_u_weight_h=normal&type_u_style_h=normal&type_u_variant_h=normal&type_u_decoration_h=none"); ?>
-
JavaScript kodları genellikle </head> tagının üstüne eklenir. Ve PHP bloğunda PHP taglarını açmadan kodunuzu ekleyeceksiniz. (Bu arada include ile başka bir sunucu üzerinden dosya çağırılmır mı bilmiyorum.)
-
İlk kod HTML bloğunda çalışmalı, bizzat denedim. Hangi sürümü kullanıyorsunuz?
İkincisi ise include() fonksiyonu ile ilgili bir kısıtlamadır muhtemelen.
-
2.3 versiyonunu kullanıyorum ama java kodunu çalıştırmayı şu ana kadar başaramadım. Kodu girip kaydet dedidiğimde sayfa bembeyaz kalıp kilitleniyor. Geri al yapıp öyle foruma giriyorum. Tiny portal kullanırken bu kodu rahatlıkla çalıştırabiliyordum. Bence simple portal da java yla ilgili bir problem var.