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

0 Members and 1 Guest are viewing this topic.

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] Buddy List || Friend List
« Reply #75 on: August 06, 2007, 10:14:09 PM »
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 #76 on: August 06, 2007, 10:19:53 PM »
dude....everybody knows that kind of translators sucks as hell ..mostly of times make translations without any sense, i prefer somebody , a user or try find out somebody to help :)

but thanks for the tip  :wink:

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] Buddy List || Friend List
« Reply #77 on: August 06, 2007, 10:20:50 PM »
Don't like it, use Google. ;)
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 #78 on: August 07, 2007, 07:03:08 AM »
@Stoleti

well !! i use aan online site :P !! and it works !! ( but with little small mistakes in some words )

after testin teh mod you will know where ur mistakes are :P !! ( talking about translating )

------------------
My Part
------------------
hmmm, while i was testing !! i figer something little bet wired ! ( no its all wierd )

b4 this mod i already downloaded the Best Uploader MOD !

and it was working ! in local host perfect ! so i didnt test it that musch when i uploaded to my site !!

but know i reliazed that, the count of pictures for my 5 best uploader wont change even he/she uploaded 10000 pix ! that wont effect the counter ! untill one of hi/her friend who has add him/her to his buddy list

in the buddy list, if the user in my buddy list ( and he is one of the best uploader ) when i click on the number of his uploaded pix in the site the search run and gives me all his uploaded pix in the site and then the best uploader number will be updated :S

( example:
my nickname is: Mr_LovaLove
im in the best uploader nick and the count in next to my nick name is :50 pix

i uploaded another 20 pix 2day ! so my totall pix in the site is: 70 pix

whatever i do that number in the best uploader wont change it will be 50 and wont become 70 pix

let assume thunderstrike added me in his friend list

when he click on the list he will see that i have only have 50 pix !! ( and it suppose to be 70 pix )

if he clicks on 50 ( in the friend list ) then everything will be changed to 70 !! in the friend list and in the best uploader !

* lol the good thing is ! i figured this mistake while i was trying to know where my last error was :P and we can say thunderstrike who discovered this :P *


sorry no error code :P
English Please :@

Offline Stoleti

  • Hero Member
  • *****
  • Posts: 574
    • View Profile
Re: [MOD] Buddy List || Friend List
« Reply #79 on: August 07, 2007, 05:43:28 PM »
hopefully i've got friend from chile who are going translate it to english  :wink:

Offline ccsakuweb

  • Sr. Member
  • ****
  • Posts: 498
  • Patri
    • View Profile
    • My Art
Re: [MOD] Buddy List || Friend List
« Reply #80 on: August 08, 2007, 02:16:17 AM »
@Mr_LoveLove : hehe you are right , i saw that mistake a lot time ago, when i havent yet finished all the mod. And i forgot to fix that little bug. But at now here is 2:11 am and i don't have neurons working hehe... I will try to fix that bug tomorrow. And i will install a new list for hated people with little modifications from this mod

@sToleti: I didnt translated it because my english is horrible. Please, when your friend finish the translation, it would be great if you share it with us
: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 Mr_LovaLove

  • Full Member
  • ***
  • Posts: 233
  • Unkown
    • View Profile
Re: [MOD] Buddy List || Friend List
« Reply #81 on: August 08, 2007, 03:25:02 PM »
thanks alot for the fast replay

in fact, this mod is great and i can hide the best uploader at this time :P

thought this error comes from my code ! so i was searching alot in my code ! well u just cut that off :P !! now i can go and try to make some modificatio in the
design

and yeah , waiting for ur MOD and hope to see this mod with the pm v2 ! coz i tried alot and still trying to solve the mysql error to see how pm v2 and list friends work 2gother

i saw that u have added many ADD ONS :D and almost all works with the PM *hate to wait* :P

thanks again for this nice MOD and waiting to see the hated MOD ^_*

dont worry this topic is on my favorites  list
English Please :@

Offline Stoleti

  • Hero Member
  • *****
  • Posts: 574
    • View Profile
Re: [MOD] Buddy List || Friend List
« Reply #82 on: August 09, 2007, 12:03:01 AM »
@ccsakuweb , sure i'll post here, but one note if you say your english is horrible, so you should see my spanish ... "crime against mankind"  :mrgreen:

Offline ccsakuweb

  • Sr. Member
  • ****
  • Posts: 498
  • Patri
    • View Profile
    • My Art
Re: [MOD] Buddy List || Friend List
« Reply #83 on: August 09, 2007, 01:11:07 AM »
if you want i will teach you xD

thank you Mr_LoveLove, ^^ im really happy that you like this mod :)  Im busy but i will find free time and i will make more and more addons for this mod hehe
: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 #84 on: August 09, 2007, 01:20:28 AM »
Question ... is whos online in 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 ccsakuweb

  • Sr. Member
  • ****
  • Posts: 498
  • Patri
    • View Profile
    • My Art
Re: [MOD] Buddy List || Friend List
« Reply #85 on: August 09, 2007, 09:26:02 PM »
wow what a nice idea!!

and it would be great too an option that send pm to all friends with pm v2
: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 #86 on: August 09, 2007, 09:36:20 PM »
Did it for friendslist (my version - for whosonline). Look good. Think this one is build - no so ... ;)
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 #87 on: August 10, 2007, 02:45:26 AM »
@ccsakuweb

well, no need to harry up :P !! just take ur time its ur MOD and no one ganna say anythin if u close this subject :P !! so (what about if u post a late ADD-ONS :Pp )

good luck with ur study:P


@thunderstrike

No worries :P !!


we will wait ur code or her code ^_* but seems u find a good way with small part of codin' :P am i right !!

it will be great if u just post it ( as long as go with this rule: sharing is caring ) :P

English Please :@

Offline fast

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
Re: [MOD] Buddy List || Friend List
« Reply #88 on: August 12, 2007, 11:13:52 AM »
Addon user status:
search:
Code: [Select]
<td class=\"head2\" align=\"center\">".$lang['user_name']."</td>\nadd after in the same line:
Code: [Select]
<td class=\"head2\" align=\"center\">Status:</td>\nsearch:
Code: [Select]
$user_name = "";add after
Code: [Select]
$user_status = "";search:
Code: [Select]
    $user_join_date = (isset($user_row['user_joindate'])) ? format_date($config['date_format'], $user_row['user_joindate']) : REPLACE_EMPTY;
add after:
Code: [Select]
$user_status = ($user_row['user_lastaction'] >= (time() - 300) && ((isset($user_row['user_invisible']) && $user_row['user_invisible'] == 0) || $user_info['user_level'] == ADMIN)) ? " <img src=\"".get_gallery_image("user_online.gif")."\" border=\"0\" alt=\"online\" />" : "<img src=\"".get_gallery_image("user_offline.gif")."\" border=\"0\" alt=\"Offline\" />";
search:
Code: [Select]
    $userlist .= "<td valign=\"top\" align=\"left\"> ".$user_name." </td>\n";
add after:
Code: [Select]
$userlist .= "<td valign=\"top\" align=\"center\">".$user_status."</td>\n";   
soon.. the other addons..

what do i have to do to be able to sort my user with the online status? like with the date of register or homepage etc.?

Offline ccsakuweb

  • Sr. Member
  • ****
  • Posts: 498
  • Patri
    • View Profile
    • My Art
Re: [MOD] Buddy List || Friend List
« Reply #89 on: August 12, 2007, 10:02:00 PM »
I think you can use the last_Action and order Desc

Search:
Code: [Select]
$lang['lang_sort_pictures']
Add after in the same line:
Code: [Select]
, "Status"
Search:
Code: [Select]
'user_t_images'
Add after in the same line:
Code: [Select]
, 'user_lastaction'
search:
Code: [Select]
case 'user_t_images':
$order_by = "user_t_images $sort_order";
break;

add after.
Code: [Select]
case 'user_lastaction':
$order_by = "user_lastaction $sort_order";
break;

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