Clan Adverts

Sponsors

CT on Facebook

Latest Product

User Box

Anonymous
38.107.179.219
Nickname:

Password:

Security Code
Security Code
Type Security Code


PND Downloads Feed

Phpnuke Downloads
How to Delete or Reset yo...
How to Delete or Reset your PHPNuke Admin Account
Lost your admin password ?  Cant login to your admin account ?This sh...
Back Online & Stuff
Back Online & Stuff
Look at us with our nifty website back up and running… Seriousl...
How to edit the admins in...
How to edit the admins in the forums
Here is a way to make someone admin in your forums on your Evo site. I...
Demo Splash Screen
Demo Splash Screen
Ped @ Clan Themes has released a simple splash screen entrance hack. ...
Free Phpnuke Business The...
Free Phpnuke Business Theme 6
This is the 6th Business theme for Phpnuke that Clan Themes has releas...
Tricked Out Slider
Tricked Out Slider
We have seen some great new things come out of Tricked Out News and th...

Custom Work

PHP Nuke Custom Work

www.clanthemes.com :: View topic - A simple but effective way of making a teamspeak 3 block
A simple but effective way of making a teamspeak 3 block

0 Replies / 447 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » Blocks

View previous topic :: View next topic


scope1234
Reputation: 80.7 Add RepSubtract Rep
votes: 2
Local time: 10:24 AM
Location: United Kingdom
uk.gif

Stand-by Stand-by
Stand-by Stand-by

0.58 posts per day
Medals: 0

Joined: Nov 06, 2009
Last Visit: 02 Jan 2012
Posts: 482
Points: 35419 

Post A simple but effective way of making a teamspeak 3 block Posted: Tue Feb 16, 2010 7:42 am

Shop Purchases:
Battlefield 2 Splash Screen

OK so i was getting annoyed trying to make my HTML code work on my nuke evo extreme site when i thought about doing a simple block. Now this block will work on and php site out there in theory. So this what i cam up with:

OK so first after watch Dreaded Corpse's lovely video tutorial on how to make a simple block i thought to my self hmm i can make a team speak 3 block using some of this material so this is what i did.

Step 1: go to www.tsviewer.com

Step 2: add or search you team speak 3 server

Step 3: Customize the look of the generated viewer

Step 4: Copy the generated code

Step 5: Now we get more into the code site of it, open up Dream Weaver, Notepad++ or something similar

Step 6: Copy paste you code for viewer in to the new php blank script

Step 7: go back to top of page and hit enter 2 times

Step 8: Now copy and paste this code in line 1

Code:
<?php

if (!defined('BLOCK_FILE') ){
   Header ("location: ../index.php");
   die();
}


Step 9: there now will be a blank line witch is line 7. Keep this line blank, go to line 8 and type:

Code:
$content = "[Team speak viewer code witch should already be pasted in]";


Ignore the [ ] brackets there just to show were the code goes

Step 10: go down 2 more lines and type:

Code:
?>


Step 11: go to the start of the ts viewer code you copied in from the site. Now hit CRL+F and a box will appear now I'm using Dream Weaver CS4 so mine may be different I'm not sure but what i get is a box with Fine and Replace.
Under find type: "
Under replace Type: \"
OK now Missing the first " of the code that you manually put in hit replay till you get to the end of the code but leaving the "; as it is.

Step 12: Save your Block as block_teamspeak3.php

Step 13: upload to you site and activate it as you would to any other block.

So you should end up with something like this:

Code:
<?php

if (!defined('BLOCK_FILE') ){
   Header ("location: ../index.php");
   die();
}

$content = "<script type=\"text/javascript\" charset=\"utf-8\" src=\"http://www.tsviewer.com/ts3viewer.php?ID=910957&amp;text=ffffff&amp;text_size=12&amp;text_family=1&amp;js=1&amp;text_s_weight=bold&amp;text_s_style=normal&amp;text_s_variant=normal&amp;text_s_decoration=none&amp;text_s_color_h=525284&amp;text_s_weight_h=bold&amp;text_s_style_h=normal&amp;text_s_variant_h=normal&amp;text_s_decoration_h=underline&amp;text_i_weight=normal&amp;text_i_style=normal&amp;text_i_variant=normal&amp;text_i_decoration=none&amp;text_i_color_h=525284&amp;text_i_weight_h=normal&amp;text_i_style_h=normal&amp;text_i_variant_h=normal&amp;text_i_decoration_h=underline&amp;text_c_weight=normal&amp;text_c_style=normal&amp;text_c_variant=normal&amp;text_c_decoration=none&amp;text_c_color_h=525284&amp;text_c_weight_h=normal&amp;text_c_style_h=normal&amp;text_c_variant_h=normal&amp;text_c_decoration_h=underline&amp;text_u_weight=bold&amp;text_u_style=normal&amp;text_u_variant=normal&amp;text_u_decoration=none&amp;text_u_color_h=525284&amp;text_u_weight_h=bold&amp;text_u_style_h=normal&amp;text_u_variant_h=normal&amp;text_u_decoration_h=none\"></script><noscript>Enable JavaScript or visit <a href=\"http://www.tsviewer.com/index.php?page=ts_viewer&amp;ID=910957\">TeamSpeak Viewer</a>to display the TeamSpeak server.</noscript>";


?>


Enjoy this easy to make block, if you need help just ask.

SCOPE
 

 
View user's profileSend private messageMSN Messenger Reply with quote
Post new topic   Reply to topic  
   www.clanthemes.com Forum Index » Blocks


 
0 Replies / 447 Views
Page 1 of 1
All times are GMT
Display posts from previous:   
 
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 can download files in this forum