Author Topic: [MOD] Buddy List || Friend List  (Read 136625 times)

0 Members and 1 Guest are viewing this topic.

Offline Mr_LovaLove

  • Full Member
  • ***
  • Posts: 233
  • Unkown
    • View Profile
Re: [MOD] Buddy List || Friend List
« Reply #45 on: July 30, 2007, 12:43:54 PM »
Perfect :)

that solve the problem :)

ThaaaaaaaaaaankS ^_ ^


English Please :@

Offline Mr_LovaLove

  • Full Member
  • ***
  • Posts: 233
  • Unkown
    • View Profile
Re: [MOD] Buddy List || Friend List
« Reply #46 on: July 31, 2007, 12:48:48 PM »

I'm now having this problem !

i set the size of the image 650 px for both width and hight and the image  size  that user uploaded is 450 width and 275 the hight ?!?!

and this error is appears:
Code: [Select]
Template Error: Couldn't open Template ./templates/infoqatar/exif_bit.html
how come ? any idea ?


English Please :@

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] Buddy List || Friend List
« Reply #47 on: July 31, 2007, 01:05:56 PM »
Quote
Template Error: Couldn't open Template ./templates/infoqatar/exif_bit.html

exif_bit.html does not exist on your infogatar folder. Take it from the default template. This will fix problem.
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 Mr_LovaLove

  • Full Member
  • ***
  • Posts: 233
  • Unkown
    • View Profile
Re: [MOD] Buddy List || Friend List
« Reply #48 on: August 01, 2007, 12:40:01 AM »
ThankS ^_^

that fix the problem :)

seems i forgot to move that file from the defualt to the new template

its my pleasure to be one of whom you helped em  ^_^
English Please :@

Offline Stoleti

  • Hero Member
  • *****
  • Posts: 574
    • View Profile
Re: [MOD] Buddy List || Friend List
« Reply #49 on: August 03, 2007, 02:24:05 AM »
great mod , congratulations  :mrgreen:

but this would be better if we can block/ignore the user also  8)

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] Buddy List || Friend List
« Reply #50 on: August 03, 2007, 04:20:10 AM »
Quote
$user_id = $user_info['user_id'];
  $user_row = get_user_info($user_id);
   $sql = "SELECT *
        FROM ".USERS_TABLE."
        WHERE user_id = $user_id";
    $user_friends_info = $site_db->query_firstrow($sql);

No need from MOD ... $user_info use from includes/sessions.php file. No need call 2 time. ;)

And this:

Quote
if (isset($user_info['user_friends_ids']) && !empty($user_info['user_friend_ids'])) {
    $friends_id_sql = str_replace(" ", ",", trim($user_info['user_friend_ids']));
   }else{
      $friends_id_sql=0;
   }

;)
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 ccsakuweb

  • Sr. Member
  • ****
  • Posts: 498
  • Patri
    • View Profile
    • My Art
Re: [MOD] Buddy List || Friend List
« Reply #51 on: August 03, 2007, 02:44:29 PM »
wow thank you thunderstrike. Im new in php and this is my first mod ^^ i will change this and it will be more optimizated

how many time stolety, i remember when we req a buddylist ;)
:arrow: 4images Paid Mods: Links, Blog, Albums, Subdomains for users, Diferent templates for user profile, Related picture in details, Last pictures in details.
And the mod that you request me.   Demo: http://www.myart.es

A website dedicated to artist people who loves drawing, design, writing and more

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] Buddy List || Friend List
« Reply #52 on: August 03, 2007, 02:48:55 PM »
No prob. Took look at code and I like. Close to clean code. :)

1 comment - should use $action foreach request. Stoleti ask for ignore user, easy to addin with seperate $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 Stoleti

  • Hero Member
  • *****
  • Posts: 574
    • View Profile
Re: [MOD] Buddy List || Friend List
« Reply #53 on: August 03, 2007, 04:48:34 PM »
wow thank you thunderstrike. Im new in php and this is my first mod ^^ i will change this and it will be more optimizated

how many time stolety, i remember when we req a buddylist ;)

yea i've been lil out, also i've made few php works, well i'm back and i'm happy for you did it , also i'll try make few addons  8)

Offline Stoleti

  • Hero Member
  • *****
  • Posts: 574
    • View Profile
Re: [MOD] Buddy List || Friend List
« Reply #54 on: August 03, 2007, 11:18:59 PM »
where can i find the english version for lang files in english ?

 :roll:

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] Buddy List || Friend List
« Reply #55 on: August 04, 2007, 12:34:55 AM »
Install lang / whole MOD lang ?
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 ccsakuweb

  • Sr. Member
  • ****
  • Posts: 498
  • Patri
    • View Profile
    • My Art
Re: [MOD] Buddy List || Friend List
« Reply #56 on: August 04, 2007, 01:23:49 PM »
Im sorry i forgot to translate lang variables in spanish to english. I translated the steps and explanation.

 I dont understand what you two said about ignore an user... what i have to ignore?? that an user add me as friend??
:arrow: 4images Paid Mods: Links, Blog, Albums, Subdomains for users, Diferent templates for user profile, Related picture in details, Last pictures in details.
And the mod that you request me.   Demo: http://www.myart.es

A website dedicated to artist people who loves drawing, design, writing and more

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] Buddy List || Friend List
« Reply #57 on: August 04, 2007, 01:26:20 PM »
Quote
what i have to ignore??

Hard for me to get first time.  :lol:

Think like: Buddy List / Hate List ... mirror thing request.
One like + one hate in one module.  :mrgreen:
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 ccsakuweb

  • Sr. Member
  • ****
  • Posts: 498
  • Patri
    • View Profile
    • My Art
Re: [MOD] Buddy List || Friend List
« Reply #58 on: August 04, 2007, 01:35:55 PM »
lol is the first time that i hear something like that xDDD
I wouldn't like have a list with people that i don't like xD  But with that it would be posible doing a counter about how popular is an user.
I think that a hate list is easy to make... it would be a list like buddy list, but i would have to list users from two list in the same page. isn't it?  i will search information about $action foreach. I am newest coding in php.

sorry because my horrible english..
:arrow: 4images Paid Mods: Links, Blog, Albums, Subdomains for users, Diferent templates for user profile, Related picture in details, Last pictures in details.
And the mod that you request me.   Demo: http://www.myart.es

A website dedicated to artist people who loves drawing, design, writing and more

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] Buddy List || Friend List
« Reply #59 on: August 04, 2007, 02:08:23 PM »
Quote
but i would have to list users from two list in the same page. isn't it?

Other way ... need two diff list (one for like, one for hate).  :mrgreen:

Quote
i will search information about $action foreach.

Great examp from member.php file. ;)
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 ?