vBulletin Modifications

TeamSpeak Script Help (Pure PHP)

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > General vBulletin Support

Reply
 
LinkBack Thread Tools
Old 08-19-2006, 02:51 PM   #1
Coder
BigJohnny's Avatar
Join Date: Jul 2006
BigJohnny is on a distinguished road

Default TeamSpeak Script Help (Pure PHP)

Well back to another little oddity of my site.... so to speak.

As many of you well know i use a teamspeak module on my site (rogersnm knows this well )

As you also may know it is nothing special, it simply loads a PHP script in an iframe.

the actual script allows the user to click on a channel name and it will auto login to the teamspeak server.

Well since i already have a login form on my TS module, I would like (If possible) to remove the login from the PHP script itself.
I know nothing of PHP and even though i can usually look at code and figure something like this out on my own, PHP confuses my brain.

Here is the code for the "TS_Config.php" file, this is a configuration file only.
Not sure if it requires editing to achieve the desired effect, but here is the code just in case.

You must first be a registered member to view any code.
And here is the script that actually does the work, the one that connects to the server, gets the info and displays it.... this is the one you would click on and join the server. and this is where the functionaly needs to be removed.

You must first be a registered member to view any code.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 08-19-2006, 03:22 PM   #2
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

Can't see anything in that




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-19-2006, 03:41 PM   #3
Coder
BigJohnny's Avatar
Join Date: Jul 2006
BigJohnny is on a distinguished road

Default

I know there are 2 locations that contain "Teamspeak://" and then variables .... so this i know would be the area where the user can click and login.
It also has href, so i know its a link.... but i dont know wtf all the /"n/" and stuff is, so im not sure what i should remove, or if it will affect the table if i do remove it.

wtf man .... im gonna give it a shot anyway




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-19-2006, 03:56 PM   #4
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

linespaces i do believe +i can onyl see one Teamspeak://




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-19-2006, 04:06 PM   #5
Coder
BigJohnny's Avatar
Join Date: Jul 2006
BigJohnny is on a distinguished road

Default

i did it oh when i said there are two places its because there are two scripts... one just auto refreshes.

Found the chunk i needed to remove, and got rid of the redundancy.

Not sure why i didnt really try it before... it was quite simple.

Remove this, and away goes login from the script

You must first be a registered member to view any code.

Last edited by BigJohnny; 08-19-2006 at 04:08 PM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-19-2006, 04:07 PM   #6
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

Do you mean
You must first be a registered member to view any code.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-19-2006, 05:35 PM   #7
Coder
BigJohnny's Avatar
Join Date: Jul 2006
BigJohnny is on a distinguished road

Default

ya that was the place, but i found the soloution... read my above post.

only a small tag to be removed and the function goes away

The only thing i would fix about this script if i knew php, is to make it show sub-channels properly.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-19-2006, 05:40 PM   #8
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

I would help if i even knew what teamspeak was. btw the line you edited out is not in the files you listed in your first post.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-19-2006, 06:36 PM   #9
Coder
BigJohnny's Avatar
Join Date: Jul 2006
BigJohnny is on a distinguished road

Default

teamspeak is a voice chat program. widely used among gaming clans.

that piece was in the second script i posted.
the first script i wasnt sure if it was even needed to edit anything... it actually isnt.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding info with php script Dutchy General vBulletin Support 5 08-14-2006 10:24 PM
php inside php Nick R General vBulletin Support 10 07-06-2006 02:12 PM
Broken PHP with SUSE Update Ken Iovino Announcements 2 06-17-2006 12:14 AM
need lil' bit help with php code, wrote some myself yannick vBulletin Modification Requests 2 05-23-2005 05:19 PM
PHP Vulnerabilities in <= 4.3.9 and <= 5.0.2 Junior Announcements 0 05-11-2005 06:19 AM


All times are GMT -3. The time now is 05:26 PM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)