Author Topic: [MOD] - Universal ignore users function (free)  (Read 20201 times)

0 Members and 1 Guest are viewing this topic.

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
[MOD] - Universal ignore users function (free)
« on: November 22, 2007, 02:43:24 AM »
Hi, in trez site - is ask money. I create this one free. ;)

- Function is check for ignore user (member profile e.g) in IGNORE_USERS_TABLE . If find, you use function and say action you like. ;)
- Create auto SQL table for name (no need for use phpmyadmin or SQL patches MOD for this) - I code.

// Step 1

In member.php file,

find:

Code: [Select]
//-----------------------------------------------------
//--- Show Profile ------------------------------------
//-----------------------------------------------------

add before:

Code: [Select]
if ($action == "exec_ignore_users_profile") {
    if (isset($HTTP_POST_VARS[URL_USER_ID])) {
        $user_id = (isset($HTTP_POST_VARS[URL_USER_ID])) ? intval(trim($HTTP_POST_VARS[URL_USER_ID])) : GUEST;
        $user_id = preg_replace("/[^0-9]+/i", "", $user_id);
    } else {
        $user_id = GUEST;
    }
   
    if (isset($HTTP_POST_VARS['user_status'])) {
        $user_status = (isset($HTTP_POST_VARS['user_status'])) ? intval(trim($HTTP_POST_VARS['user_status'])) : 0;
        $user_status = preg_replace("/[^0-9]+/i", "", $user_status);
    } else {
        $user_status = 0;
    }
   
    if (!isset($user_id) || $user_id == GUEST || !isset($user_status) || empty($user_status)) {
        redirect($url);
   
    } elseif (function_exists('exec_ignore_user_account')) {
         exec_ignore_user_account($user_info[$user_table_fields['user_id']], $user_id, $user_info[$user_table_fields['user_level']], $user_status);
         redirect ("member.php?action=showprofile&" . URL_USER_ID . "=" . $user_id);
    }
}

Find:

Code: [Select]
if ($user_row = get_user_info($user_id)) {

add after:

Code: [Select]
if (function_exists('select_ignore_user_account') && select_ignore_user_account($user_info[$user_table_fields['user_id']], $user_row[$user_table_fields['user_id']], 1)) {
... action ...         
}

Note: Change ... action ... for action you like for refuse user. ;)

Find:

Code: [Select]
"user_comments" => (isset($user_row['user_comments'])) ? $user_row['user_comments'] : REPLACE_EMPTY,

add after:

Code: [Select]
"select_ignore_user_account_1" => (function_exists('select_ignore_user_account_dropdown') && select_ignore_user_account_dropdown($user_info[$user_table_fields['user_id']], $user_row[$user_table_fields['user_id']], 1)) ? true : false,     
      "select_ignore_user_account_2" => (function_exists('select_ignore_user_account_dropdown') && select_ignore_user_account_dropdown($user_info[$user_table_fields['user_id']], $user_row[$user_table_fields['user_id']], 2)) ? true : false,     
      "select_ignore_user_no_same_user_or_user_to_admin" =>  (($user_info[$user_table_fields['user_id']] == ($user_row[$user_table_fields['user_id']]) || $user_info[$user_table_fields['user_level']] == USER && $user_row[$user_table_fields['user_level']] == ADMIN)) ? false : true,
      "lang_ignore_user_account_title" => $lang['ignore_user_account_title'],
      "lang_ignore_user_account_no_option" => $lang['ignore_user_account_no_option'],
      "lang_ignore_user_account_yes_option" => $lang['ignore_user_account_yes_option'],
      "lang_ignore_user_account_submit" => $lang['ignore_user_account_submit'],
      "has_ignore_users_profile" => true,

// Step 2

In includes/functions.php file,

add in top ?>:

Code: [Select]
if (!function_exists('create_ignore_user_account_table')) {
    function create_ignore_user_account_table() {
        global $site_db, $table_prefix;
       
        if (!defined('IGNORE_USERS_TABLE')) {
            define('IGNORE_USERS_TABLE', $table_prefix . 'users_ignore');
        }
       
        $sql = "
       
        CREATE TABLE IF NOT EXISTS " . IGNORE_USERS_TABLE . " (
        field_id int(11) unsigned NOT NULL AUTO_INCREMENT,
        user_id int(11) NOT NULL DEFAULT '0',
        other_user_id int(11) NOT NULL DEFAULT '0',
        ignore_date varchar(32) NOT NULL DEFAULT '0000-00-00',
        user_status int(1) NOT NULL DEFAULT '1',       
        PRIMARY KEY(field_id)
        ) TYPE=MyISAM;
       
        ";
           
        $result = $site_db->query($sql);       
    }
}

if (!function_exists('exec_ignore_user_account')) {
    function exec_ignore_user_account($user_id = 0, $other_user_id = 0, $user_level = GUEST, $user_status = 0) {       
       
        if (!isset($user_id) || empty($user_id) || !isset($other_user_id) || empty($other_user_id) || !isset($user_level) || empty($user_level) || !isset($user_status) || empty($user_status) || $user_level < USER) {
            return;
        }
       
        if ($user_level >= USER) {           
            global $site_db, $table_prefix, $config;
           
            $user_id = preg_replace("/[^0-9]+/i", "", $user_id);
            $other_user_id = preg_replace("/[^0-9]+/i", "", $other_user_id);
            $user_status = preg_replace("/[^0-9]+/i", "", $user_status);
           
            if (!defined('IGNORE_USERS_TABLE')) {
                define('IGNORE_USERS_TABLE', $table_prefix . 'users_ignore');
            }
           
            $date = date($config['date_format']);
           
            $sql = "
           
            SELECT user_id
            FROM " . IGNORE_USERS_TABLE . "
            WHERE user_id = " . $user_id . " AND other_user_id = " . $other_user_id;
           
            if (!$site_db->not_empty($sql)) {
               
                $sql = "
               
                INSERT INTO " . IGNORE_USERS_TABLE . "
                (field_id, user_id, other_user_id, ignore_date, user_status)
                VALUES (NULL, '" . $user_id . "', '" . $other_user_id . "', '" . $date . "', '" . $user_status . "')
               
                ";
               
                $result = $site_db->query($sql);
           
            } else {
               
                $sql = "
               
                UPDATE " . IGNORE_USERS_TABLE . "
                SET user_status = " . $user_status . ", ignore_date = '" . $date . "'
                WHERE user_id = " . $user_id . " AND other_user_id = " . $other_user_id;
               
                $result = $site_db->query($sql);               
            }
           
            if (isset($result) && $result) {
                return $user_id;
                return $other_user_id;
                return $user_level;
           
            } else {
                return;
            }
        }       
    }
}

if (!function_exists('select_ignore_user_account')) {
    function select_ignore_user_account($user_id = 0, $other_user_id = 0, $switch = 0) {
        global $site_db, $table_prefix, $lang;
       
        if (!isset($user_id) || !isset($other_user_id)) {
            return;
        }
       
        if (!defined('IGNORE_USERS_TABLE')) {
            define('IGNORE_USERS_TABLE', $table_prefix . 'users_ignore');
        }
       
        $user_id = preg_replace("/[^0-9]+/i", "", $user_id);
        $other_user_id = preg_replace("/[^0-9]+/i", "", $other_user_id);
       
        $sql = "
       
        SELECT ig.user_status
        FROM " . IGNORE_USERS_TABLE . " ig       
        LEFT JOIN " . USERS_TABLE . " u ON (" . get_user_table_field("u.", "user_id") . " = ig.user_id)
        WHERE ig.user_id = " . $other_user_id . " AND ig.other_user_id = " . $user_id;
       
        $get_info = $site_db->query_firstrow($sql);
       
        switch ($switch) {           
            case 2 :
           
            if ($get_info['user_status'] == 2) {
                return $get_info['user_status'];
            }
            break;
           
            case 1 :
           
            if ($get_info['user_status'] == 1) {
                return $get_info['user_status'];
            }
            break;
        }
    }
}

if (!function_exists('select_ignore_user_account_dropdown')) {
    function select_ignore_user_account_dropdown($user_id = 0, $other_user_id = 0, $switch = 0) {
        global $site_db, $table_prefix, $lang;
       
        if (!isset($user_id) || !isset($other_user_id)) {
            return;
        }
       
        if (!defined('IGNORE_USERS_TABLE')) {
            define('IGNORE_USERS_TABLE', $table_prefix . 'users_ignore');
        }
       
        $user_id = preg_replace("/[^0-9]+/i", "", $user_id);
        $other_user_id = preg_replace("/[^0-9]+/i", "", $other_user_id);
       
        $sql = "
       
        SELECT ig.user_status
        FROM " . IGNORE_USERS_TABLE . " ig       
        LEFT JOIN " . USERS_TABLE . " u ON (" . get_user_table_field("u.", "user_id") . " = ig.user_id)
        WHERE ig.user_id = " . $user_id . " AND ig.other_user_id = " . $other_user_id;
       
        $get_info = $site_db->query_firstrow($sql);
       
        switch ($switch) {           
            case 2 :
           
            if ($get_info['user_status'] == 2) {
                return $get_info['user_status'];
            }
            break;
           
            case 1 :
           
            if ($get_info['user_status'] == 1) {
                return $get_info['user_status'];
            }
            break;
        }
    }
}

// Step 3

In lang/english/main.php file,

add in top ?>:

Code: [Select]
$lang['ignore_user_account_title'] = "<b>Ignore user:</b>";
$lang['ignore_user_account_no_option'] = "No";
$lang['ignore_user_account_yes_option'] = "Yes";
$lang['ignore_user_account_submit'] = "Submit";

// Step 4

In includes/page_header.php file,

find:

Code: [Select]
"has_rss" => false,

add after:

Code: [Select]
"has_ignore_users_profile" => false,

// Step 5

In templates/your_template/member_profile.html file,

add:

Code: [Select]
{if user_loggedin}{if select_ignore_user_no_same_user_or_user_to_admin}
        {if select_ignore_user_account_1}
<tr>
          <td class="row1">{lang_ignore_user_account_title}</td>
          <td class="row1"><br /><form action="{url_member}" method="post" /><input type="hidden" name="action" value="exec_ignore_users_profile"><input type="hidden" name="user_id" value="{user_id}"><select name="user_status" class="select" /><option value="{select_ignore_user_account_1}" selected>{lang_ignore_user_account_yes_option}</option><option value="2">{lang_ignore_user_account_no_option}</option></select>&nbsp;&nbsp;<input type="submit" name="submit" value="{lang_ignore_user_account_submit}" class="button"></form></td>
        </tr>
        {endif select_ignore_user_account_1}
{if select_ignore_user_account_2}
        <tr>
          <td class="row1">{lang_ignore_user_account_title}</td>
          <td class="row1"><br /><form action="{url_member}" method="post" /><input type="hidden" name="action" value="exec_ignore_users_profile"><input type="hidden" name="user_id" value="{user_id}"><select name="user_status" class="select" /><option value="{select_ignore_user_account_1}" selected>{lang_ignore_user_account_no_option}</option><option value="{select_ignore_user_account_2}">{lang_ignore_user_account_yes_option}</option></select>&nbsp;&nbsp;<input type="submit" name="submit" value="{lang_ignore_user_account_submit}" class="button"></form></td>
        </tr>
        {endif select_ignore_user_account_2}
{ifno select_ignore_user_account_1}{ifno select_ignore_user_account_2}
        <tr>
          <td class="row1">{lang_ignore_user_account_title}</td>
          <td class="row1"><br /><form action="{url_member}" method="post" /><input type="hidden" name="action" value="exec_ignore_users_profile"><input type="hidden" name="user_id" value="{user_id}"><select name="user_status" class="select" /><option value="1">{lang_ignore_user_account_no_option}</option><option value="2">{lang_ignore_user_account_yes_option}</option></select>&nbsp;&nbsp;<input type="submit" name="submit" value="{lang_ignore_user_account_submit}" class="button"></form></td>
        </tr>
        {endifno select_ignore_user_account_2}{endifno select_ignore_user_account_1}
{endif select_ignore_user_no_same_user_or_user_to_admin}{endif user_loggedin}

(place you want)

// Step 6

In global.php file,

find:

Code: [Select]
$site_db = new Db($db_host, $db_user, $db_password, $db_name);

add after:

Code: [Select]
//-----------------------------------------------------
//--- Creates ignore users table ----------------------
//-----------------------------------------------------
if (function_exists('create_ignore_user_account_table')) {
    create_ignore_user_account_table();
}

Finish ...
« Last Edit: November 24, 2007, 04:38:02 PM by thunderstrike »
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] - Universal ignore users function (free)
« Reply #1 on: November 22, 2007, 03:15:20 AM »
Step 1 fix (member.php file).
Step 2 fix (replace select_ignore_user_account function in includes/functions.php file).
Step 2 fix (add select_ignore_user_account_dropdown in includes/functions.php file).

All work now. :)
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: [MOD] - Universal ignore users function (free)
« Reply #2 on: November 22, 2007, 08:22:51 AM »
hi thunderstrike,

i'm just looking your signature and some of your posts, about requesting money  :mrgreen:

 :arrow: anyway thx for the MOD :!:

moving thread and sticking
« Last Edit: November 22, 2007, 12:29:46 PM by Nicky »
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline om6acw

  • Full Member
  • ***
  • Posts: 187
    • View Profile
    • My Animal's World
Re: [MOD] - Universal ignore users function (free)
« Reply #3 on: November 22, 2007, 09:32:49 PM »
I really think everybody can appreciate this mod from you, and you did this for as for free!
Thanks so much thunderstrike!!!

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] - Universal ignore users function (free)
« Reply #4 on: November 22, 2007, 09:53:09 PM »
I really think everybody can appreciate this mod from you, and you did this for as for free!
Thanks so much thunderstrike!!!

If so - you like this. ;)

/* Addon */

// Step 1

In ROOT_PATH, create new file: ignore_users_cp.php .

Add:

Code: [Select]
<?php

$main_template 
'ignore_users_cp';

define('ROOT_PATH''./');
include(
ROOT_PATH 'global.php');
require(
ROOT_PATH 'includes/sessions.php');
@include_once(
ROOT_PATH 'includes/page_header.php');

if (
$user_info['user_level'] == GUEST || $user_info['user_level'] == USER_AWAITING) {
    
redirect($url);
}

if (
$action == "") {
    
$action "show_ignore_user_cp";
}

if (
$action == "exec_ignore_users_cp") {
    if (isset(
$HTTP_POST_VARS['field_id'])) {
        
$field_id = (isset($HTTP_POST_VARS['field_id'])) ? intval(trim($HTTP_POST_VARS['field_id'])) : 0;
        
$field_id preg_replace("/[^0-9]+/i"""$field_id);
    } else {
        
$field_id 0;
    }
    
    if (isset(
$field_id) && !empty($field_id)) {
        
        if (!
defined('IGNORE_USERS_TABLE')) {
            
define('IGNORE_USERS_TABLE'$table_prefix 'users_ignore');
        }
                       
        
$result $site_db->query("DELETE FROM " IGNORE_USERS_TABLE " WHERE field_id = " $field_id);
        
        if (isset(
$result) && $result) {
            
$action "show_ignore_user_cp";
        
        } else {
            
$action "show_ignore_user_cp";
        }
    
    } else {
        
$action "show_ignore_user_cp";
    }
}

if (
$action == "show_ignore_user_cp") {
    
    if (!
defined('IGNORE_USERS_TABLE')) {
        
define('IGNORE_USERS_TABLE'$table_prefix 'users_ignore');
    }
    
    if (isset(
$additional_user_fields) && is_array($additional_user_fields) && !empty($additional_user_fields)) {
        
$additional_sql "";
        foreach (
$additional_user_fields as $key => $val) {
            
$additional_sql .= ", u." $key;
        }
    }
    
    
$sql "
    
    SELECT ig.field_id, ig.other_user_id, ig.ignore_date, ig.user_status" 
get_user_table_field(", u.""user_name") . $additional_sql "
    FROM " 
IGNORE_USERS_TABLE " ig
    LEFT JOIN " 
USERS_TABLE " u ON (" get_user_table_field("u.""user_id") . " = ig.other_user_id)
    WHERE ig.user_id = " 
$user_info['user_id'];
    
    
$result $site_db->query($sql);
    
$num_rows $site_db->get_numrows($result);
    
    if (isset(
$num_rows) && $num_rows <= 0) {
        
$msg $lang['ignore_users_account_no_content'];
    
    } elseif (isset(
$num_rows) && $num_rows 0) {
        
        
$ignore_content "";
        
$bgcounter 0;
        while (
$ignore_row $site_db->fetch_array($result)) {
            
$row_bg_number = ($bgcounter++ % == 0) ? 2;
            
            
$field_id $ignore_row['field_id'];
            
$other_user_id $ignore_row['other_user_id'];           
            
$user_name format_text(trim($ignore_row[$user_table_fields['user_name']]), 2);            
            
$ignore_date $ignore_row['ignore_date'];
            
$user_status $ignore_row['user_status'];
            
            
$site_template->register_vars(array(
            
"field_id" => $field_id,
            
"user_name" => $user_name,
            
"user_url" => $site_sess->url(ROOT_PATH "member.php?action=showprofile&" URL_USER_ID "=" $other_user_id),            
            
"ignore_date" => $ignore_date,
            
"user_status" => $user_status,
            
"lang_yes" => $lang['yes'],
            
"lang_no" => $lang['no'],
            
"counter" => (isset($row_bg_number)) ? (int)$row_bg_number ""
            
));            
            if (isset(
$additional_user_fields) && is_array($additional_user_fields) && !empty($additional_user_fields)) {
                
$additional_field_array = array();
                foreach (
$additional_user_fields as $key => $val) {
                    
$additional_field_array[$key] = (!empty($ignore_row[$key])) ? format_text($ignore_row[$key], 1) : REPLACE_EMPTY;
                    
$additional_field_array['lang_'.$key] = $val[0];
                }
                if (!empty(
$additional_field_array)) {
                    
$site_template->register_vars($additional_field_array);
                }
            }
            
$ignore_content .= $site_template->parse_template("ignore_users_cp_content");            
        }
    }    
}

$clickstream "<a href=\"" $site_sess->url(ROOT_PATH "index.php"). "\">" $lang['home'] . "</a>" $config['category_separator'] . $lang['ignore_users_cp_title'];

$site_template->register_vars(array(
"clickstream" => trim($clickstream),
"msg" => (isset($msg)) ? $msg "",
"ignore_content" => (isset($ignore_content)) ? $ignore_content "",
"lang_ignore_users_cp_title" => $lang['ignore_users_cp_title'],
"lang_ignore_users_cp_user_name" => $lang['ignore_users_cp_user_name'],
"lang_ignore_users_cp_ignore_date" => $lang['ignore_users_cp_ignore_date'],
"lang_ignore_users_cp_user_status" => $lang['ignore_users_cp_user_status']
));
$site_template->print_template($site_template->parse_template($main_template));
unset (
$ignore_content);

@include_once(
ROOT_PATH 'includes/page_footer.php');
?>


// Step 2

In includes/page_header.php file,

find:

Code: [Select]
"url_lost_password" => (!empty($url_lost_password)) ? $site_sess->url($url_lost_password) : $site_sess->url(ROOT_PATH."member.php?action=lostpassword"),

add after:

Code: [Select]
"url_ignore_users_cp" => $site_sess->url(ROOT_PATH . "ignore_users_cp.php"),

Find:

Code: [Select]
"lang_images_per_page" => $lang['images_per_page'],

add after:

Code: [Select]
"lang_users_cp_title" => $lang['ignore_users_cp_title'],

// Step 3

In lang/english/main.php file,

add in top ?>:

Code: [Select]
$lang['ignore_users_cp_title'] = "Control Panel - Ignore user";
$lang['ignore_users_cp_user_name'] = "User name";
$lang['ignore_users_cp_ignore_date'] = "Ignore date";
$lang['ignore_users_cp_user_status'] = "User status";
$lang['ignore_users_account_no_content'] = "There are no users added to your ignore list.";

// Step 4

In templates/your_template, create file: ignore_users_cp.html .

Add (note: I use ULM for template):

Code: [Select]
{header}
{ste_layout_top}
{ste_layout_left}

<span class="title">{site_name}</span>
<br /><br />

{if ignore_content}
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" class="head1">{lang_ignore_users_cp_title}</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" class="row2">&nbsp;</td>
</tr>
</table>
<table width="100%" border="1" cellpadding="0" cellspacing="0">
<tr>
<td width="33%" class="head1" align="center" />{lang_ignore_users_cp_user_name}</td>
<td width="33%" class="head1" align="center" />{lang_ignore_users_cp_ignore_date}</td>
<td width="33%" class="head1" align="center" />{lang_ignore_users_cp_user_status}</td>
</tr>
<form name="jumpbox" action="{url_ignore_users_cp}" method="post" />
{ignore_content}
</form>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" class="row2">&nbsp;</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" class="head1">&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
{endif ignore_content}

{ifno ignore_content}{if msg}
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" class="head1">{lang_ignore_users_cp_title}</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" class="row2">&nbsp;</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" class="row2" align="center" />{msg}
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" class="row2">&nbsp;</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" class="head1">&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
{endif msg}{endifno ignore_content}

{ste_layout_below}
{footer}

// Step 5

In templates/your_template, create file: ignore_users_cp_content.html .

Add (ULM too):

Code: [Select]
<tr>
<td width="33%" class="row{counter}" align="center" /><a href="{user_url}" class="link" />{user_name}</a></td>
<td width="33%" class="row{counter}" align="center" />{ignore_date}</td>
<td width="33%" class="row{counter}" align="center" /><br />
<input type="hidden" name="action" value="exec_ignore_users_cp">
<input type="hidden" name="field_id" value="{field_id}">
<select name="user_status" onchange="if (this.options[this.selectedIndex].value != 0) { forms['jumpbox'].submit() }" class="select" />
<option value="2">{lang_yes}</option>
<option value="1">{lang_no}</option>
</select>
</td>
</tr>

// Step 6

In templates/your_template/user_logininfo.html file,

find:

Code: [Select]
&raquo; <a href="{url_control_panel}">{lang_control_panel}</a><br />

add after:

Code: [Select]
&raquo; <a href="{url_ignore_users_cp}">{lang_users_cp_title}</a><br />

This is page for edit ignore user for each user . ;)

Finish.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Loda

  • Sr. Member
  • ****
  • Posts: 353
    • View Profile
    • Fotosucht Schweiz
Re: [MOD] - Universal ignore users function (free)
« Reply #5 on: November 23, 2007, 02:16:30 PM »
hi,
thank you very much for this free mod.
I'm a little bit confused and don't understand what do you mean with
Quote
Change ... action ... for action you like for refuse user
do you have an example for me?

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] - Universal ignore users function (free)
« Reply #6 on: November 23, 2007, 02:42:31 PM »
Quote
do you have an example for me?

Example (thank for word) is way you want for request... is you want for do if user ignore enable ?
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Loda

  • Sr. Member
  • ****
  • Posts: 353
    • View Profile
    • Fotosucht Schweiz
Re: [MOD] - Universal ignore users function (free)
« Reply #7 on: November 23, 2007, 05:09:43 PM »
Example (thank for word) is way you want for request... is you want for do if user ignore enable ?
äh.. yes..  :?: :!:



Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] - Universal ignore users function (free)
« Reply #8 on: November 23, 2007, 10:13:32 PM »
Please say request with MOD. If no request MOD, you no need help for MOD.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Loda

  • Sr. Member
  • ****
  • Posts: 353
    • View Profile
    • Fotosucht Schweiz
Re: [MOD] - Universal ignore users function (free)
« Reply #9 on: November 24, 2007, 07:45:25 AM »
hi,
sorry..
my question is for step 1
can you write down here an example for the ...action...?

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] - Universal ignore users function (free)
« Reply #10 on: November 24, 2007, 03:10:10 PM »
Quote
can you write down here an example for the ...action...?

Again, please say request with MOD. What you want for replace action ?
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] - Universal ignore users function (free)
« Reply #11 on: November 24, 2007, 04:38:24 PM »
I update first topic for Step 6 .
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Loda

  • Sr. Member
  • ****
  • Posts: 353
    • View Profile
    • Fotosucht Schweiz
Re: [MOD] - Universal ignore users function (free)
« Reply #12 on: November 24, 2007, 04:41:05 PM »
Quote
can you write down here an example for the ...action...?

Again, please say request with MOD. What you want for replace action ?

ahhh!  :idea: now i understand you!..
for example the pm mod
or the buddy mod
or write comments under my images
I'm on the right way?

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] - Universal ignore users function (free)
« Reply #13 on: November 24, 2007, 06:12:42 PM »
Quote
I'm on the right way?

Very short. What is do for action if PM or buddy ... I no get - please post details.
[Edit] - and please post URL for PM and buddy MOD so I check ( I no use ).
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Loda

  • Sr. Member
  • ****
  • Posts: 353
    • View Profile
    • Fotosucht Schweiz
Re: [MOD] - Universal ignore users function (free)
« Reply #14 on: November 24, 2007, 06:22:17 PM »
Quote
I'm on the right way?

Very short. What is do for action if PM or buddy ... I no get - please post details.

ok.. for buddylist is add me in a buddylist
and for pm is write a pm to me,
and for comment my pics is write a comment under my pics..
 :( i think we don't understand eachother..

buddylist mod: http://www.4homepages.de/forum/index.php?topic=17491.0