Search found 6 matches

by WhiskeyMike
Thu Jul 24, 2008 9:35 pm
Forum: 2.0.x Support Forum
Topic: Users Online
Replies: 5
Views: 10135

Re: Users Online

That didn't work. I do have the top code for all integrated pages. The .tpl file: "viewonline_body.tpl" contains variables (I guess, not your typical $ variables) that look like this:

{guest_user_row.USERNAME}

These don't come back with any value, and just write the exact same thing on the .php
by WhiskeyMike
Thu Jul 24, 2008 2:02 am
Forum: 2.0.x Support Forum
Topic: Users Online
Replies: 5
Views: 10135

Users Online

This may have already been addressed but after going through about 60 results pages, I gave up. I'm trying to do some integration. I've successfully done the login/logout with no problems. Now I'm trying to see if there's a script that will not only show how MANY people are online, but who they are....
by WhiskeyMike
Sat Feb 02, 2008 5:45 pm
Forum: 2.0.x Support Forum
Topic: Adding users from outside PHP script
Replies: 5
Views: 310

Re: Adding users from outside PHP script

That worked... thanks!
by WhiskeyMike
Fri Feb 01, 2008 7:59 pm
Forum: 2.0.x Support Forum
Topic: Adding users from outside PHP script
Replies: 5
Views: 310

Re: Adding users from outside PHP script

Here's my attempt to increase the MAX by one... it isn't working. Any ideas? $db = mysql_connect($fdbhost, $fdbuname, $fdbpass) or die("Could not connect to the SQL server<br>"); mysql_select_db($fdbname); $query = "SELECT MAX(user_id) FROM phpbb_users"; $result = mysql_query($max); if ( !$result ) ...
by WhiskeyMike
Fri Feb 01, 2008 6:24 pm
Forum: 2.0.x Support Forum
Topic: Adding users from outside PHP script
Replies: 5
Views: 310

Re: Adding users from outside PHP script

stevemaury wrote:You would have to query the db for the largest value for an existing user_id and have the script apply that value +1.
Okay... not sure how to do that but I can look it up I suppose. At least now I know it can be done. Thanks!
by WhiskeyMike
Fri Feb 01, 2008 6:21 pm
Forum: 2.0.x Support Forum
Topic: Adding users from outside PHP script
Replies: 5
Views: 310

Adding users from outside PHP script

I have a script where an administrator reviews an application, then adds the applicant to a roster, as well as adds them into the users table. Here is my script: $db = mysql_connect($fdbhost, $fdbuname, $fdbpass) or die("Could not connect to the SQL server<br>"); mysql_select_db($fdbname); $query = ...

Go to advanced search