Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[REL] Web-Based Clan Dispatch Program

Featured Replies

Awesome, I've been waiting for something like this!

I have it installed, but getting into it seems to be a challenge.  There are no users to choose from, and I don't know what kind of password hashing you're using to create a user in the database.

 

Is there some sort of administrative user?

  • Replies 24
  • Views 5.8k
  • Created
  • Last Reply

Top Posters In This Topic

  • Author

Right, you first register an account and then you register a clan. Once you've registered a clan then you'll receive administrative options for that clan.

 

Users joining your clan must then only register themselves and enter in your clan code. They will then be added to your clan, awaiting approval. Once you have approved them, they will appear on your Units page and be able to be assigned a rank, duty and status.

 

The default hashing that is included is simple MD5 with no salt (so I suggest you add your own). The one that I've got live is setup differently, but in the interest of security I won't reveal it.

Edited by Bojan

  • 4 weeks later...

Getting these errors:

Warning: mysqli_connect(): (42000/1044): Access denied for user 'sdsoclan_admin'@'localhost' to database 'sdsoclan_cad' in /home/sdsoclan/public_html/functions/connect.php on line 1
Failed to connect to MySQL: Access denied for user 'sdsoclan_admin'@'localhost' to database 'sdsoclan_cad' 
Warning: mysqli_query() expects parameter 1 to be mysqli, boolean given in /home/sdsoclan/public_html/functions/new-user.php on line 30

Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, null given in /home/sdsoclan/public_html/functions/new-user.php on line 31

[img]http://i.imgur.com/UgFkIzC.png[/img] Sheriff Andrew Conley

San Diego County Sheriff's Department [GTA:IV Clan]

http://www.sdsoclan.x10.mx

  • Author

Getting these errors:

Warning: mysqli_connect(): (42000/1044): Access denied for user 'sdsoclan_admin'@'localhost' to database 'sdsoclan_cad' in /home/sdsoclan/public_html/functions/connect.php on line 1

Failed to connect to MySQL: Access denied for user 'sdsoclan_admin'@'localhost' to database 'sdsoclan_cad' 

Warning: mysqli_query() expects parameter 1 to be mysqli, boolean given in /home/sdsoclan/public_html/functions/new-user.php on line 30

Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, null given in /home/sdsoclan/public_html/functions/new-user.php on line 31

 

That means that you aren't connecting to your database properly. Make sure you have a MySQL user named sdsoclan_admin and that you have a database named sdsoclan_cad and your password is correct. As well, make sure that your user is linked to the database and has all the privileges. 

 

In case you aren't too familiar with PHP, here's a link to a simple explanation of connecting to MySQL via PHP: http://www.w3schools.com/php/php_mysql_connect.asp

If you need more help with MySQL, here's a link to that: http://docs.cpanel.net/twiki/bin/view/AllDocumentation/CpanelDocs/MySQLDatabases

Just a note -- you should be able to click on the person's tile and add a note that is available in a status table somewhere. My dispatcher had some issues with knowing where units were and what they were doing.

 

I also think that there should be some interaction on the officer's side to report their status to dispatch (In Service, Out of Service, etc).

 

Just some notes.

 

Best,

Andrew

Edited by SheriffAConley

[img]http://i.imgur.com/UgFkIzC.png[/img] Sheriff Andrew Conley

San Diego County Sheriff's Department [GTA:IV Clan]

http://www.sdsoclan.x10.mx

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.