Results 1 to 1 of 1

Thread: Personalize your members invite to Freinds, Hot List and Block List

  1. #1
    Prometheus
    Guest

    Default Personalize your members invite to Freinds, Hot List and Block List

    What does this hack do?

    When a member hot lists, blocks or adds a member to any of these lists the OTB output is
    "User was added to your ??? list".

    Now the display will be, as an example, "webmaster was added to your hot list"
    "Ann was added to your hot list" or whatever the members name is that you added or blocked.

    (see screen shot for before and after)

    Code:
    on your list_pop.php
    
    find
    
    if ( $action == "hot" )
    {
    
    after add
    
    $arr_nick = db_arr("SELECT NickName FROM Profiles WHERE Profiles.ID = $actID");
    
    find and delete
    
    $ret .= "<center> "._t("_User was added to hot list")." </center>";
    
    replace with
    
    $ret .= "<center> ". $arr_nick['NickName'] . _t("_User was added to hot list")." </center>";
    
    find
    
    if ( $action == "friend" )
    {
    
    afer add
    
        $arr_nick = db_arr("SELECT NickName FROM Profiles WHERE Profiles.ID = $actID");
    
    find
    
    if ( $action == "block" )
    {
       
    after add   
    
    $arr_nick = db_arr("SELECT NickName FROM Profiles WHERE Profiles.ID = $actID");
    
    find and delete
    
    $out .= "<center> "._t("_User was added to block list")." </center>";
    
    replace with
    
    $out .= "<center> ". $arr_nick['NickName']. _t("_User was added to block list")." </center>";
    
    find and delete
    
    $ret .= "<center> "._t("_User was added to friend list")." </center>";
    
    replace with
    
    $ret .= "<center> ". $arr_nick['NickName']._t("_User was added to friend list")." </center>";
    
    In your lang file change
    
    '_User was added to friend list' => 'User was added to your friends list',
    
    to
    
    '_User was added to friend list' => '<br>was added to your friends list',
    
    change
    
    '_User was invited to friend list' => 'User was invited to your friends list',
    
    to
    
    '_User was invited to friend list' => '<br>was invited to your friends list'
    
    change
    
    '_User was added to hot list' => 'User was added to your hot list',
    
    to
    
    '_User was added to hot list' => '<br>was added to your hot list',
    
    ange
    
    '_already_in_friend_list' => 'This user already in your Friends list!',
    
    to
    
    '_already_in_friend_list' => '<br>is already in your Friends list!',
    
    change
    
    '_User was added to block list' => 'User was added to your block list',
    
    to
    '_User was added to block list' => '<br>was added to your block list',

    Done

    Enjoy.


    Prometheus
    Attached Images Attached Images
    Last edited by Prometheus; 03-25-2007 at 12:38 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Viewing Other Members Friend List
    By Ringodestarr in forum Wishlist
    Replies: 1
    Last Post: 01-05-2007, 10:57 AM
  2. members can not delete friends from the list
    By Yair Czitrom in forum Bugs aeDating v4.0.2
    Replies: 6
    Last Post: 12-23-2006, 05:37 PM
  3. IP address block list STOP SCAMMERS
    By ijk in forum Security / Server Administration
    Replies: 0
    Last Post: 08-21-2006, 12:48 PM
  4. Top Members List
    By outlander in forum General Troubleshooting
    Replies: 0
    Last Post: 03-04-2006, 04:58 PM
  5. Wrone id in the members list
    By Yair Czitrom in forum General Troubleshooting
    Replies: 0
    Last Post: 05-05-2005, 04:31 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •