I want to create a private thread based on a mysql condition
So no user has access unless they meet certain conditions that are defined in mysql.
Any ideas the best way to obtain this?
Ok thanks, was looking in completely the wrong place for this! The issue must be something to do with how I've imported the users register date. I noticed this morning that I am getting one new update a day so must be to do with the time. Will investigate thanks
Hi this is a quick one (I hope)
I have an external registration process that Ive built so that any new users are automatically registered to the forum.
However I have a tiny bug in that when a new user registers externally the 'latest member' on the forum fails to update.
I get the member...
Ive added this to the bottom of the PHP
It works perfectly however Im not comfortable with using Javascript incase the user doesn't support it etc then the script will fail.
I want to login the user straight after registering. So I'm exploring posting to /forum/login/login with my redirect set but how would I do that without the user triggering the submit.
I can't do a PHP header because of the way xenforo works with urls? Even then thats not POST its GET isn't it?
Is there any reason why xenforo doesn't use an upto date version of Jquery? Im using the login/logout features externally on the site and its causing conflict issues with other javascript. What I want to do is use Jquery version 1.7.2 instead of trying to run two versions which is very messy...
Im intergrating xenforo into the rest of my site. The login and logout/ register etc is all working a treat now but I want it to popup the same as it does on the forum.
Ive added
<link rel="stylesheet" href="/forum/css.php" />
<script src="/forum/js/jquery/jquery-1.5.2.min.js"></script>...
Just done that there are no errors, I have errors set in my php.ini file so I don't think that made any difference.
It feels like a java script thing to me but I can't locate it at the moment. Just wondering what the message meant as it might help my investigation into the problem.
Im getting this error ('Response not JSON') every time I open a template in admin and every time I save a file. If I ignore the popup all is running as expected. However I would like to know what it means so I can fix it.
On the forum Ive noticed sometimes (not all the time intermittently ) it...
I didn't want to do a whole new import as I fixed it as I went along, But I did just test that bit of the script and got these results:
$user= 'username1';
$name = utf8_substr(rtrim($user, true), 0, 50);
echo 'input_name : '; echo $user; /// Result = 'username1'
echo...
Its odd but they defiantly were not duplicates and were coming from one import of FORUM_users. I can't really give you my database or table as theres loads of personal info etc that I can't give out as my sites not just a forum. However Im off out at the moment but when I get back I can provide...