[Req] 4 Hacks (2Updates)

1. Setup TeamSpeak to use mySQL
By default TeamSpeak uses a file system called SQLite. To make it use a mySQL database edit the server.ini and add:
Quote:
[DBEXPRESS]
sqldir=mysql_sql/
Drivername=mysql
Database=database_name
Hostname=localhost
User_name=database_username
Password=database_password
GetDriverFunc=getSQLDriverMYSQL
VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
LibraryName=./libsqlmy.so
Active=1
When you start the server it will create all the necessary tables:

* ts2_bans
* ts2_channels
* ts2_channel_privileges
* ts2_clients
* ts2_servers
* ts2_server_privileges

Make sure these tables exist and that your TeamSpeak server is actively using your mySQL database properly before even downloading the gTeamSpeak modification.

For more information about setting TeamSpeak up to use a mySQL database visit TeamSpeak - Welcome to TeamSpeak.

2. gTeamSpeak Installation

1. Make sure that your TeamSpeak server is setup to use a mySQL database prior to installing this product. For best results prevent users and admins ability to register with the server via client. Also password the server to something gibberish as you will not be supplying the password to anyone. Also disable the ability for SA to grant SA for security.
2. Upload all files prior to installing product.
3. Install the product.
4. Create a Single-Selection Menu User Profile Field.
* /admincp/?loc=profilefield.php%3Fdo%3Dadd
* Single-Selection Menu
* Continue
* Title: TeamSpeak Access
* Description: Can register self with TeamSpeak server.
* Options:
o yes
o no
* Set Default: Yes, but No First Blank Option
* Field Required: No
* Field Editable by User: No
* Private Field: Yes
* Field Searchable on Members List: No
* Show on Members List: No
* Save
* Look and see what the field name is for TeamSpeak Access, example field25.
5. Fill in the gTeamSpeak configuration options.
6. Install any plugins you wish to use from the /admincp/gtsplugin directory.
7. That is all, send people to the form to sign up.

Note: You need to add your user id to the config.php under superadministrators. I will attempt to remove the need to require this in a future version.

TeamSpeak Access Profile Field Usage

This is used if you want to ban a user from TeamSpeak and do not want to ban them entirely from the forums or change their usergroup.

* Set this profile option to No to prevent a user from creating a TeamSpeak account.
* When a user is banned from the gTeamSpeak user management, this option is automatically set to No. If you wish to unban them, set this option to Yes and they will be able to create a TeamSpeak account again.
 
What Donations Bar Is:
It is a simple way for Admins to show a donation progress bar on their forum home page with Admin set goals and donations recieved. Because the donation bar is a stand alone it can be utilized with any donation system your using. It adds more visability of your site donation goal requirements and donation button to your members for hopefully more through put in donations.

Can Be Used With:

* Any paypal/donate system.
* PayPal Easy Donate - vB 3.6
* Cyb Paypal donate


This script adds:

1. 2 Plugins
2. 1 Template


Installation:

1. Import the product-donationbar.xml through admin cp
2. edit your FORUMHOME template:

Find:
Code:
Code:
</head>
<body>
$header
$navbar
<if condition="$show['guest']">
Change too:
Code:
Code:
</head>
<body>
$header
$navbar
$donationbar
<if condition="$show['guest']">
Post Installation:
Make sure when entering the form code for your Paypal button the links are formated as follows:
Code:
Code:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
 <input type="hidden" name="business"
      value="[email protected]">
                             <input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"></form>
If you do not use this format for the links your button will not show. Please do not copy and past my info above you must fo to your Paypal account and create a button with your account code and email info.
If you wish instead of a paypal button link you can put the URL to your donation page.
 
Back
Top