Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 98
» Latest member: cyylyy1
» Forum threads: 12
» Forum posts: 15

Full Statistics

Online Users
There are currently 3 online users.
» 0 Member(s) | 3 Guest(s)

Latest Threads
Scores
Forum: Programming
Last Post: sphegley23
11-22-2017, 04:55 PM
» Replies: 0
» Views: 283
UCM
Forum: Scripts
Last Post: Dale
08-18-2017, 12:51 PM
» Replies: 0
» Views: 350
show all errors
Forum: Programming
Last Post: Dale
05-07-2017, 09:00 AM
» Replies: 0
» Views: 492
mysqli connect
Forum: Programming
Last Post: Dale
05-07-2017, 09:00 AM
» Replies: 0
» Views: 531
header and footer include...
Forum: Programming
Last Post: Dale
05-07-2017, 08:51 AM
» Replies: 0
» Views: 520
php readfile
Forum: Programming
Last Post: Dale
05-07-2017, 08:49 AM
» Replies: 0
» Views: 502
Bootstrap Modal and Butto...
Forum: Programming
Last Post: Dale
05-07-2017, 08:48 AM
» Replies: 0
» Views: 522
MySQL Queries
Forum: Programming
Last Post: Dale
03-19-2017, 05:01 PM
» Replies: 0
» Views: 651

 
Thumbs Down Scores
Posted by: sphegley23 - 11-22-2017, 04:55 PM - Forum: Programming - No Replies

Every time I complete a game and it gives the score I get this message and was wondering why?
Thank you Sherry R Phegley


(This score has been detected as a cheat and has not been submitted.)

Print this item

  UCM
Posted by: Dale - 08-18-2017, 12:51 PM - Forum: Scripts - No Replies

Ticket Status Numbers

            1 Unassigned
            2 New
            3 Replied
            5 In Progress
            _TICKET_STATUS_RESOLVED_ID Resolved  (Is this 6?)
            7 Canceled
The default value is customizable in advanced settings ==> Advanced settings => ticket_reply_status_id

From http://ultimateclientmanager.com/forums/...dditional/

Move User to Customer

  1. Find the contact you wish to move, find user_id
  2. Go to the Customer account you wish to move this Contact to.
  3. After customer_id=nnn in the url, paste &move_user_id=nnnn
  4. Press the Enter key.
  5. Click the Save Button
  6. The contact will now be moved and set to the primary contact 
  7. Sst the previous primary contact back if needed.

From http://ultimateclientmanager.com/support...-customer/

Vendors (now called suppliers)
Still a work in progress
http://ultimateclientmanager.com/support...suppliers/

Print this item

  show all errors
Posted by: Dale - 05-07-2017, 09:00 AM - Forum: Programming - No Replies

error_reporting( E_ALL );

Print this item

  mysqli connect
Posted by: Dale - 05-07-2017, 09:00 AM - Forum: Programming - No Replies

$host = "localhost";
$user  = "dbaccount_dbusername";
$password =  "xxpasswordxx";
$database1 = "dbaccount_database";
$database2 = "dbaccount_anotherdatabase";
$dbh1 = new mysqli($host, $user, $password, $database1);
if($dbh1->connect_errno > 0){
    die('Unable to connect to database' . $dbh1->connect_error);
}else{
    echo "Database dbname is connected.";
}
 
$dbh2 = new mysqli($host, $user, $password, $database2);
if($dbh2->connect_errno > 0){
    die('Unable to connect to database' . $dbh2->connect_error);
}else{
    echo "Database anotherdbname is connected.";
}

Print this item

  header and footer includes
Posted by: Dale - 05-07-2017, 08:51 AM - Forum: Programming - No Replies

<?PHP include ($_SERVER['DOCUMENT_ROOT'].'/sitewide/header.php'); ?>

<?PHP include ($_SERVER['DOCUMENT_ROOT'].'/sitewide/footer.htm'); ?>

OR
<?PHP include("/home/hoosier/public_html/sitewide/header.php")?>

<?PHP include("/home/hoosier/public_html/sitewide/footer.htm")?>

Print this item

  php readfile
Posted by: Dale - 05-07-2017, 08:49 AM - Forum: Programming - No Replies

<?php @readfile('http://www.bloomingtononline.net/directory/index.php?cat=235&type=special'); ?>

Print this item

  Bootstrap Modal and Button
Posted by: Dale - 05-07-2017, 08:48 AM - Forum: Programming - No Replies

<!-- Button trigger modal -->
<button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal">
   Modal Title
</button>

<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog" role="document">
        <!--Content-->
        <div class="modal-content">
            <!--Header-->
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title w-100" id="myModalLabel">Modal title</h4>
            </div>
            <!--Body-->
            <div class="modal-body">
stuff
 </div>
   <!--Footer-->
            <div class="modal-footer">
                <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
                <button type="button" class="btn btn-primary">Save changes</button>
            </div>
        </div>
        <!--/.Content-->
    </div>
</div>
<!-- /.Live preview-->

Print this item

  MySQL Queries
Posted by: Dale - 03-19-2017, 05:01 PM - Forum: Programming - No Replies

I wanted to bulk change all users in the mybb_users table who were  in the awaiting activation to be in the registered usergroup
UPDATE mybb_users SET usergroup = REPLACE( usergroup, '5', '2' )

To replace empty column with same value:
UPDATE mybb_users SET password = 'TeMpPass'

To remove blank spaces in front of all email addresses:
UPDATE mybb_users set email = TRIM(email)

To add default avatar to everyone without any:
UPDATE mybb_users SET avatar = 'images/default_avatar.png' WHERE avatar = ''

Print this item