I've installed the latest friendlist D6, along with

- rules version = "6.x-1.x-dev"
- token version = "6.x-1.x-dev"

along with ;

friendlist_api, friendlist_blocks, friendlist_import_bl, friendlist_rules , friendlist_ui , friendlist_views

I added a user as a 'buddy' (default relationship) by visiting their profile and hitting the link

friendlist/add/2/3?destination=user%2F2

I get the message "Request has been sent successfully."

however in my user (uid 100), i visit 'user/100/community/sent' and i see

"This page lists the friend requests you send. You have no outgoing requests.
Friend relationships."

Comments

dgtlmoon’s picture

OK seems to happen AFTER i run the buddylist2 import! *before* I run it i am able to add/remove/list people

dgtlmoon’s picture

dgtlmoon’s picture

Alrite, well I don't know how this happens but here's how I fixed my situation where things were broken after I ran the buddylist (not buddylist2!) import ;

Basically, the views are designed to only look for rtid (relationship-type-id) of 1, however when i ran the import, all my RTID's are set to 3, and theres only 1 row in the friendlist_relation_types table.

views_defs/fl_manage.inc

    'rtid' => array(
      'operator' => 'in',
      'value' => array(
        '1' => '1',
      ),
      'group' => '0',
      'exposed' => FALSE,
      'expose' => array(
        'operator' => FALSE,
        'label' => '',
      ),
      'id' => 'rtid',
      'table' => 'friendlist_relations',
      'field' => 'rtid',
      'override' => array(
        'button' => 'Use default',
      ),
      'relationship' => 'none',
    ),

mysql> select * from friendlist_relation_types;
+------+-------+---------+--------+--------+   
| rtid | name  | name_p  | oneway | active |   
+------+-------+---------+--------+--------+   
|    3 | buddy | buddies |      0 |      1 |   
+------+-------+---------+--------+--------+   
1 row in set (0.00 sec) 

My fix was just the following *after* I ran the import

update friendlist_relations set rtid=1 where rtid=3;

update friendlist_relation_types set rtid=1;