Teamspeak viewer block not working on new PHP site

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Teamspeak viewer block not working on new PHP site
SFCMert
CZ Newbie
SFCMert has been a member for over 17 year's 17 Year Member
usa.gif minnesota.gif
Occupation: U.S. Army
Age: 57
Gender: Male
Fav. Sports Team: Minnesota Vikings
Website:
Status: Offline
Joined: Jul 12, 2006
0.00 posts per day
Posts: 24
Points: 525
   
I currently use as free PHP hosting site (NukeYou.com) and I am developing my own site on our server. I copied the IFrame code for our Teamspeak viewer from my current site and pasted it into a block on the new site...all it shows is the text, not the IFrame, help?

Current site: [ Register or login to view links on this board. ]
New site: [ Register or login to view links on this board. ]

Thanks!



Back to top Reply with quote
#2   re: Teamspeak viewer block not working on new PHP site
floppydrivez
CZ Addict
 Codezwiz Site Donator
floppydrivez has been a member for over 18 year's 18 Year Member
usa.gif mississippi.gif
Occupation: graphic design
Age: 42
Gender: Male
Website:
Status: Offline
Joined: Feb 26, 2006
0.08 posts per day
Posts: 518
Points: 4,848
AIM Address Yahoo Messenger MSN Messenger 
Post the block code for each site. I know you are missing something I just don't know what without looking at the code.



Back to top Reply with quote
#3   re: Teamspeak viewer block not working on new PHP site
SFCMert
CZ Newbie
SFCMert has been a member for over 17 year's 17 Year Member
usa.gif minnesota.gif
Occupation: U.S. Army
Age: 57
Gender: Male
Fav. Sports Team: Minnesota Vikings
Website:
Status: Offline
Joined: Jul 12, 2006
0.00 posts per day
Posts: 24
Points: 525
   
Here is the current site that works:

<center><a href="http://imageshack.us"><img src="http://img487.imageshack.us/img487/4527/tslogo4cp.jpg" border="0" width="50" alt="Image Hosted by ImageShack.us" /></a>
<iframe name="tsviewer" allowtransparency="true" src="http://www.tsviewer.com/ts_viewer_pur.php?ID=8177&bg=transparent&type=c9c536" width="150" height="225" frameborder="0" style="width: 150px; height: 225px; border:0px solid #;"></iframe>
</center>

Here is the new site that doesnt work:

<center><a href="http://imageshack.us"><img src="http://img487.imageshack.us/img487/4527/tslogo4cp.jpg" border="0" width="50" alt="Image Hosted by ImageShack.us" /></a>
<iframe name="tsviewer" allowtransparency="true" src="http://www.tsviewer.com/ts_viewer_pur.php?ID=8177&bg=transparent&type=c9c536" width="150" height="225" frameborder="0" style="width: 150px; height: 225px; border:0px solid #;"></iframe>
</center>


i JUST COPIED AND PASTED, SO i DONT THINK ANYTHING IS MISSING FROM THE CODE, MAYBE SOEMTHING FROM THE SITE?



Back to top Reply with quote
#4   re: Teamspeak viewer block not working on new PHP site
floppydrivez
CZ Addict
 Codezwiz Site Donator
floppydrivez has been a member for over 18 year's 18 Year Member
usa.gif mississippi.gif
Occupation: graphic design
Age: 42
Gender: Male
Website:
Status: Offline
Joined: Feb 26, 2006
0.08 posts per day
Posts: 518
Points: 4,848
AIM Address Yahoo Messenger MSN Messenger 
Hmm.. try this Copy and paste the code below into a new file called block_teamspeak.php. (don't use notepad or wordpad). Then upload to your /blocks folder and activate in admin.

<?php
if (eregi("block-teamspeak.php",$PHP_SELF)) {
    Header("Location: index.php");
    die();
}
$content  =  "<center><a href="http://imageshack.us"><img src="http://img487.imageshack.us/img487/4527/tslogo4cp.jpg" border="0" width="50" alt="Image Hosted by ImageShack.us" /></a>";
$content  .= "<iframe name="tsviewer" allowtransparency="true" src="http://www.tsviewer.com/ts_viewer_pur.php?ID=8177&bg=transparent&type=c9c536" width="150" height="225" frameborder="0" style="width: 150px; height: 225px; border:0px solid #;"></iframe>";
$content  .= "</center> ";
?>


Like you, I found no errors in the code. So lets give this a shot.


Back to top Reply with quote
#5   re: Teamspeak viewer block not working on new PHP site
SFCMert
CZ Newbie
SFCMert has been a member for over 17 year's 17 Year Member
usa.gif minnesota.gif
Occupation: U.S. Army
Age: 57
Gender: Male
Fav. Sports Team: Minnesota Vikings
Website:
Status: Offline
Joined: Jul 12, 2006
0.00 posts per day
Posts: 24
Points: 525
   
I am really lost...when going through the folders for PHP, there were several /blocks folders. I tried uploading to each one and then trying to find the block in the admin panel, with no success. Im really lost...



Back to top Reply with quote
#6   re: Teamspeak viewer block not working on new PHP site
floppydrivez
CZ Addict
 Codezwiz Site Donator
floppydrivez has been a member for over 18 year's 18 Year Member
usa.gif mississippi.gif
Occupation: graphic design
Age: 42
Gender: Male
Website:
Status: Offline
Joined: Feb 26, 2006
0.08 posts per day
Posts: 518
Points: 4,848
AIM Address Yahoo Messenger MSN Messenger 
ok no problem...

The /blocks folder I was referring to is root/blocks. Inside the admin panel under blocks there will be a list of blocks that are active/deactivated, left/right, and etc. At the bottom of that is a place to add blocks. You create a title then click the dropdown box and in that drop down list you should find teamspeak.

You can hit me up on AIM, MSN, or etc...



Back to top Reply with quote
#7   re: Teamspeak viewer block not working on new PHP site
floppydrivez
CZ Addict
 Codezwiz Site Donator
floppydrivez has been a member for over 18 year's 18 Year Member
usa.gif mississippi.gif
Occupation: graphic design
Age: 42
Gender: Male
Website:
Status: Offline
Joined: Feb 26, 2006
0.08 posts per day
Posts: 518
Points: 4,848
AIM Address Yahoo Messenger MSN Messenger 
glad we got that handled, icon_cool.gif



Back to top Reply with quote
#8   re: Teamspeak viewer block not working on new PHP site
SFCMert
CZ Newbie
SFCMert has been a member for over 17 year's 17 Year Member
usa.gif minnesota.gif
Occupation: U.S. Army
Age: 57
Gender: Male
Fav. Sports Team: Minnesota Vikings
Website:
Status: Offline
Joined: Jul 12, 2006
0.00 posts per day
Posts: 24
Points: 525
   
Me too, thank you fro all of your help!



Back to top Reply with quote
#9   re: Teamspeak viewer block not working on new PHP site
SFCMert
CZ Newbie
SFCMert has been a member for over 17 year's 17 Year Member
usa.gif minnesota.gif
Occupation: U.S. Army
Age: 57
Gender: Male
Fav. Sports Team: Minnesota Vikings
Website:
Status: Offline
Joined: Jul 12, 2006
0.00 posts per day
Posts: 24
Points: 525
   
Didn't think it would be so soon, but I am need of assistance again...I did another stupid action. I was messing with the zip of the theme you sent me, putting our name and stuff on it. When I went to update the header PDS, I accidetally loaded a different theme up. It wasn't bad...until when I was in the admin panel (it was later last night and I was tired and shouldn't have been doing stuff), I changed it to that theme (bluemetal). I read through the posts and found a themefix.php fro deep blue and I followed the instructions on it. Well it did reset the page to deepblue, but only with a background. I then tried to switch it to bluemetal hoping it would work, but didn't...then my wife made it home and I has to go to bed. I wont be able to be on the computer v ery much in the next 4 days, I still have your account on the admin...if you can either do something if it is easy to fix or send me some instructional help, that would be appreciated.



Back to top Reply with quote
#10   re: Teamspeak viewer block not working on new PHP site
floppydrivez
CZ Addict
 Codezwiz Site Donator
floppydrivez has been a member for over 18 year's 18 Year Member
usa.gif mississippi.gif
Occupation: graphic design
Age: 42
Gender: Male
Website:
Status: Offline
Joined: Feb 26, 2006
0.08 posts per day
Posts: 518
Points: 4,848
AIM Address Yahoo Messenger MSN Messenger 
I will try to look at it later tonight, but for sure tomorrow. If no one here can help you before then.



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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 cannot attach files in this forum
You cannot download files in this forum