Comments (9)
Hi killkeeblerelves, that's indeed not possible.
The way the plugin works is that it automatically finds your UIDs.
(And will succeed when you're visiting the forum and connecting to the TS server from the same computer.)
Simply go to your UserCP -> TeamSpeak Link and press the button.
If you really want to do it manually, you can add them directly in the database (mybb_tslink_uids table).
from tslink.
I've tried the "teamspeak link button" it doesnt work. Check www.AwakenRP.com
I can send you the config file to verify
from tslink.
Please try the version attached. I added logging to the plugin which can be enabled/disable in the config file. Also upload the log folder and make sure it's writable for the webserver (chmod 777 or something).
After clicking on the button in the UserCP it should write a log file in the log folder.
You could sent me this file together with your config file to [email protected]
from tslink.
Hi killkeeblerelves,
did you solve the ip's being different? If so, could you tell us how?
Also I added a little tweak to the config.sample.php file to get the right ip when the board is behind cloudflare.
from tslink.
I had to remove http proxy on cloud flare.
On Oct 15, 2016 1:41 PM, "Gianni Fontanini" [email protected]
wrote:
Hi killkeeblerelves,
did you solve the ip's being different? If so, could you tell us how?
Also I added a little tweak to the config.sample.php file to get the right
ip when the board is behind cloudflare.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#22 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AVhZ4rtyUlVwf--_cS7ncj2mzskceGKqks5q0R5wgaJpZM4KL4gN
.
from tslink.
Would be interesting to make the plugin reference a user entered ts3 UID.
As I still do not get requests upon sign up. Only on "update groups"
On Oct 15, 2016 1:42 PM, "Ken W" [email protected] wrote:
I had to remove http proxy on cloud flare.
On Oct 15, 2016 1:41 PM, "Gianni Fontanini" [email protected]
wrote:Hi killkeeblerelves,
did you solve the ip's being different? If so, could you tell us how?
Also I added a little tweak to the config.sample.php file to get the
right ip when the board is behind cloudflare.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#22 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AVhZ4rtyUlVwf--_cS7ncj2mzskceGKqks5q0R5wgaJpZM4KL4gN
.
from tslink.
Ah ok! Well if you want it back, you could try to replace the following in your config:
if ($givenip == '')
{
$givenip = $_SERVER['REMOTE_ADDR'];
$mybb_ip = bin2hex(inet_pton($givenip));
}
else {
$mybb_ip = bin2hex(inet_pton($givenip));
}
To:
if ($givenip == '') {
if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) {
$givenip = $_SERVER['HTTP_CF_CONNECTING_IP'];
} else {
$givenip = $_SERVER['REMOTE_ADDR'];
}
$mybb_ip = bin2hex(inet_pton($givenip));
} else {
$mybb_ip = bin2hex(inet_pton($givenip));
}
I'm not a big fan of letting users add their UID themselves, because if they would be a vip member, they could add someone else's UID to the database making them a VIP too.
After activation of someone's account the plugin should be triggered.
I don't know if you work with activation emails, but when users click the link, magic should start happening.
If you take a look in tslink.php you can see the hooks at the bottom.
In the future I'll probably check how MyBB is configured and build the hooks upon that.
from tslink.
I've tried cf_connecting with no luck actually
On Oct 15, 2016 1:52 PM, "Gianni Fontanini" [email protected]
wrote:
Ah ok! Well if you want it back, you could try to replace the following in
your config:if ($givenip == '')
{
$givenip = $_SERVER['REMOTE_ADDR'];
$mybb_ip = bin2hex(inet_pton($givenip));
}
else {
$mybb_ip = bin2hex(inet_pton($givenip));
}To:
if ($givenip == '') {
if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) {
$givenip = $_SERVER['HTTP_CF_CONNECTING_IP'];
} else {
$givenip = $_SERVER['REMOTE_ADDR'];
}
$mybb_ip = bin2hex(inet_pton($givenip));
} else {
$mybb_ip = bin2hex(inet_pton($givenip));
}I'm not a big fan of letting users add their UID themselves, because if
they would be a vip member, they could add someone else's UID to the
database making them a VIP too.
After activation of someone's account the plugin should be triggered.
I don't know if you work with activation emails, but when users click the
link, magic should start happening.
If you take a look in tslink.php you can see the hooks at the bottom.In the future I'll probably check how MyBB is configured and build the
hooks upon that.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#22 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AVhZ4tGVDhbWu2AT1dYTuUV1hrmaQk-Hks5q0SDlgaJpZM4KL4gN
.
from tslink.
Hmm, too bad. According to the CF support pages, this is the only way.
from tslink.
Related Issues (11)
- Incompatible with 1.8? HOT 3
- Error HOT 5
- Plugin errors whenever I change the status of a user HOT 8
- PHP Fatal Error
- Not working... HOT 1
- 1366 - Incorrect integer value: '' for column 'tid' at row 1 HOT 3
- Error connecting to query HOT 11
- Issues HOT 5
- help please HOT 25
- Not showing any menu HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tslink.