Mihalism Technologies: Josh D. - Viewing Profile

Jump to content

Josh D.'s Profile User Rating: -----

Reputation: 6 Neutral
Group:
Administrators
Active Posts:
421 (0.73 per day)
Most Active In:
Mihalism Multi Host (195 posts)
Joined:
07-February 09
Profile Views:
4,618
Last Active:
User is offline Today, 07:20 PM
Currently:
Offline

Latest Visitors

Icon   Josh D. has not set their status

Topics I've Started

  1. Sneak Peek: Image Cropping

    Posted 7 Jul 2010

    Here's a sneak peek at a new mod I've been working on that will allow you to crop your images.
    Attached File  Image Cropping.jpg (384.68K)
    Number of downloads: 50
    Attached File  Image Cropping2.jpg (165.22K)
    Number of downloads: 33
  2. New local server

    Posted 10 Apr 2010

    Finally got a linux server up and running, here's the specs:

    Attached File  server-info.jpg (225.06K)
    Number of downloads: 22
  3. Donations

    Posted 8 Apr 2010

    Here is the new donation link:

    Donate
  4. [5.0.x] Captcha check for guest user

    Posted 1 Apr 2010

    This is the discussion topic for Captcha check for guest user.
  5. [5.0.x] Captcha check for guest user

    Posted 1 Apr 2010

    Originally posted by: sasha2002, on 31 March 2010

    In index.php (line 103):
    Before :
    "STANDARD_UPLOAD_YES" =>

    Add this :
    "CAPTCHA_CODE" => recaptcha_get_html($mmhclass->info->config['recaptcha_public']),


    In source/language/upload.php (line 71):
    Before :
    ?>

    Add this :
    $mmhclass->lang['061'] = "The security code entered did not match the one displayed. <br />
    A new code has been generated. Please try again.<br />
    <br />
    <a href=\"javascript:void(0);\" onclick=\"history.go(-1);\">Return to Previous Page</a>";
    


    In source/public_html/home.tpl (line 40):
    Before :
    <input class="button1" type="button" value="Start Uploading" 

    Add this :
                    <if="$mmhclass->info->is_user == false">
                    <div style="width:100%;text-align:left;"><span>Security Code:</span><# CAPTCHA_CODE #></div>
                    </endif>
    

    In source/public_html/home.tpl (line 148):
    Before :
    <input class="button1" type="button" value="Start Uploading" 

    Add this :
                    <if="$mmhclass->info->is_user == false">
                    <div style="width:100%;text-align:left;"><span>Security Code:</span><# CAPTCHA_CODE #></div>
                    </endif>
    


    In upload.php (line 13):
    After :
    $mmhclass->templ->page_title = sprintf($mmhclass->lang['001'], $mmhclass->info->config['site_name']);

    Add this :
            if ($mmhclass->info->is_user == false) {
                    $recaptcha_check = recaptcha_check_answer(
    $mmhclass->info->config['recaptcha_private'],
     $mmhclass->input->server_vars['remote_addr'],
     $mmhclass->input->post_vars["recaptcha_challenge_field"],
     $mmhclass->input->post_vars["recaptcha_response_field"]);
            }
    

    In upload.php (line 34):
    After :
    case "paste_upload":

    Add this :
                                            if ($recaptcha_check->is_valid == false && $mmhclass->info->is_user == false) {
                                                    $mmhclass->templ->error($mmhclass->lang['061'], true);
                                            }
    


    In upload.php (line 40):
    After :
    case "webpage_upload":

    Add this :
                                            if ($recaptcha_check->is_valid == false && $mmhclass->info->is_user == false) {
                                                    $mmhclass->templ->error($mmhclass->lang['061'], true);
                                            }
    


    In upload.php (line 150):
    After :
    case "standard":

    Add this :
                                            if ($recaptcha_check->is_valid == false && $mmhclass->info->is_user == false) {
                                                    $mmhclass->templ->error($mmhclass->lang['061'], true);
                                            }
    


    In upload.php (line 154):
    After :
    case "normal-boxed":

    Add this :
                                            if ($recaptcha_check->is_valid == false && $mmhclass->info->is_user == false) {
                                                    $mmhclass->templ->error($mmhclass->lang['061'], true);
                                            }
    



    That's all folks.
    Just Use it !!!


    With best regards sasha2002

My Information

Member Title:
Staff
Age:
26 years old
Birthday:
October 25, 1983
Gender:
Location:
Internet

Contact Information

E-mail:
Private

Friends

Comments

Josh D. has no profile comments yet. Why not say hello?