News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Buddy List

Started by Yağız..., October 14, 2009, 04:09:00 PM

Previous topic - Next topic

Yağız...

Link to Mod

This mod creates a popup window with a button on menu that contains your buddy list.

Thanks to Özgür ([Daydreamer]) for his beta testing.



samurai-lupin

Hello, this looks like a great Mod! Any chance you will also develop it for SMF 1.1? Regards

Yağız...

@NIBODO;
Thanks! :)

@samurai-lupin
Soon :) I'll begin next week.

KensonPlays

implement in custom theme?

EDIT: Nevermind, it works...

Owner of Mesozoic Haven

Yağız...

Quote from: Kcmartz on October 15, 2009, 01:25:58 PM
implement in custom theme?

EDIT: Nevermind, it works...
There is no template edit, so it should work :)

Marcus Forsberg

Looking good, Yağız! Keep it up. :)

-=[Vyorel]=-

My mods for SMF - [6].

samurai-lupin

Great! Thanks! I look forward to using it with SMF 1.1! Thanks for your good work!

hhy89

Seo4Smf 2.0 - Full Top10 Stats(full top10) - Aligned and Bilateral Child Boards(2li 3lü alt bölümler)
http://www.smfmod.com
http://destek.smfmod.com


C4G-TK

I have one problem.  I'm getting a blank white square where the person's avatar should be located.  Is there any permissions or settings other than the main "enable buddy lists" that need selected?

It is like in your example.  Some people are showing up as blank and others w/ their avatar.





I'm on RC1.2 default theme

-img removed-

Yağız...

Quote from: C4G-TK on October 23, 2009, 04:06:59 AM
I have one problem.  I'm getting a blank white square where the person's avatar should be located.  Is there any permissions or settings other than the main "enable buddy lists" that need selected?

It is like in your example.  Some people are showing up as blank and others w/ their avatar.





I'm on RC1.2 default theme
No, there isn't any other setting or permission. If the user doesn't have an avatar, it should blank.

C4G-TK

#13
Ok, these people do have avatars.

I put three people on my buddy list and only one of them is showing.

I took a screen shot of my member list and added a screen shot of the buddy list to show you that they have avatars, but aren't showing up.

(The other person has an avatar, but is not on the same page of the member list, so I couldn't have it show on the screen shot.


UPDATE:  I think I figured out the problem, but don't know how to remedy it.  I do not have avatars already on the forum, but I allow the members to either link a picture or to upload  their own picture to use as an avatar.

The ones that are NOT showing are uploaded.  The one that IS showing up is linked.

-img removed-

Antes

Finally we saw a good job forum you ;) :P ... SweeT mod

Yağız...

#15
@C4G-TK;
OK, I fixed the problem. Quick fix:
Find in ./Themes/default/BuddyList.template.php:
', $buddy['avatar']['url'], '
Replace with:
', $buddy['avatar']['href'], '
And, thank you for reporting :)

Package Updated!

Quote from: Antes on October 23, 2009, 02:48:01 PM
Finally we saw a good job forum you ;) :P ... SweeT mod
Thanks buddy :)

C4G-TK

Thanks for the quick fix.  Works like a charm! :D

-img removed-

samurai-lupin

Quote from: Yağız... on October 15, 2009, 07:44:56 AM
@NIBODO;
Thanks! :)

@samurai-lupin
Soon :) I'll begin next week.

Thank you for making this mod available for SMF 1.1, too!

grafitus

Hi Yağız,

At the outset congratulations of your new mod!

Small edit:

Quote from: Yağız... on October 23, 2009, 03:17:30 PMFind in ./Themes/default/BuddyList.php
- not
Quote from: Yağız... on October 23, 2009, 03:17:30 PMFind in ./Themes/default/BuddyList.template.php
- Be such




And Turkish translate:
Code ($languagedir/Modifications.turkish.php) Select
// Buddy List
$txt['buddylist'] = 'Arkadaş Listesi';
$txt['buddylist_add'] = 'Arkadaş Ekle';
$txt['buddylist_reload'] = 'Tenile';
$txt['buddylist_close_window'] = 'Kapat';

// Buddy List Errors
$txt['buddylist_error_disabled'] = 'Üzgünüm, arkadaş listesi pasif.';
$txt['buddylist_error_no_buddies'] = 'Üzgünüm, hiç arkadaşınız yok.';

Yağız...

Modification updated for SMF 1.1.x versions and some little bugfixes for SMF 2.0 versions!

I don't accept translations done by translator tools.

grafitus

Quote from: Yağız... on October 24, 2009, 12:44:53 PM
I don't accept translations done by translator tools.

I translated. I can English to Turkish translate. ;)

Yağız...

Quote from: (grafitus) on October 24, 2009, 02:02:52 PM
Quote from: Yağız... on October 24, 2009, 12:44:53 PM
I don't accept translations done by translator tools.

I translated. I can English to Turkish translate. ;)
I can see ... lol

BTW, I included my own Turkish translation into package.

grafitus

[turkish](Valla billa kendim çevirdim. :/ )[/turkish]

Yağız ı can't see in Modifications.english.php:

$txt['buddylist_pm_send']

Yağız...

It's not needed in SMF 2.0 because it's already exists.

shadow82x

Pssst. Yagiz

You should update this mod to look nicer on SMF2.0 RC2. Its also calling to the wrong css in buddylist.template.php. Real easy fixes. :)
Colin B
Former Spammer, Customize, & Support Team Member

Yağız...

Quote from: Shadow82x on November 15, 2009, 01:04:47 PM
Pssst. Yagiz

You should update this mod to look nicer on SMF2.0 RC2. Its also calling to the wrong css in buddylist.template.php. Real easy fixes. :)
Yes, I know :) But I have Ultimate Profile to finish, and then I'll begin to convert this one :)

Yağız...

Updated! :)
Hope you like the new style :)

shadow82x

Looking good. :)

Except maybe there could be a little less white space at the top and sides?
Colin B
Former Spammer, Customize, & Support Team Member

Yağız...

Hmm, yeah you are right. I'll try to update it tomorrow.

Sudhakar Arjunan

Nice Update. Thank You.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

illusioner

Hello there .. I tried to use this mod and got an error when clicking the "Buddy List" button on the menu.

An Error Has Occurred!
Wrong value type sent to the database. Array of integers expected. (buddy_list)
Back

This error occurred when using the default theme and a custom theme.
When installing, no errors or failures occurred.

I am using SMF 2 RC 2.

Not sure how to fix. Any suggestions?

Thanks!

Yağız...

Do you have any buddies?

Arantor

Yagiz, I'm seeing the same reported error in Buddy Page users too. Something is breaking the buddy_list column.

Yağız...

Quote from: The Grinch on December 23, 2009, 06:59:36 PM
Yagiz, I'm seeing the same reported error in Buddy Page users too. Something is breaking the buddy_list column.
I'm using same codes as SMF, and SMF's buddy page doesn't have this error... And this error comes when there is no buddy in the list.

illusioner

Quote from: Yağız... on December 23, 2009, 07:38:18 PM
Quote from: The Grinch on December 23, 2009, 06:59:36 PM
Yagiz, I'm seeing the same reported error in Buddy Page users too. Something is breaking the buddy_list column.
I'm using same codes as SMF, and SMF's buddy page doesn't have this error... And this error comes when there is no buddy in the list.

I do have buddies. I have one buddy listed on my profile and when I try to use this mod, I get that error. :(

Arantor

Yagiz, I'm referring to my Buddy Page mod - I have users reporting this too, both with and without buddies. Something is messing up the field in the DB that causes it, but I have no idea what.

UnleashedFX

Hi, great mod, i seem to be having a problem with the buddy list pop up not reading my stylesheet, it works fine but it just looks like default text etc... not the same background as the main forum

Yağız...

What is your SMF version?

UnleashedFX


Snogmarr

I have the same problem

What is breakng it is the Ultimate profile Mod

Install this before (UP) Its Fine after It breaks it.
Install UP after This Mod, same thing happens.

Whichever conotation used it still brings this error up.

I there a fix for this

An Error Has Occurred!
Wrong value type sent to the database. Array of integers expected. (buddy_list)

any advice would be gratefully recieved,,,, except de install (UP) lol

Arantor

That's because UP has broken the buddy_list field in the database by not handling it properly.

Yağız...

Quote from: Arantor on February 02, 2010, 01:41:15 PM
That's because UP has broken the buddy_list field in the database by not handling it properly.
Yes, that's it. I'm trying to fix it for the next release.

Arantor

Yagiz, the issue is where UP is updating the field; it's adding quotes around it where it shouldn't be - check the query, you'll likely find it has a pair of quotes around the actual value in it.

Yağız...

Quote from: Arantor on February 02, 2010, 01:48:46 PM
Yagiz, the issue is where UP is updating the field; it's adding quotes around it where it shouldn't be - check the query, you'll likely find it has a pair of quotes around the actual value in it.
I think it's because I've added {string:xx}, but I should add {raw:xx}, right?

Arantor

Depends what the data type is. You should not ever have to be adding your own quotes anywhere in the DB layer unless the content specifically requires it.

{string:xx} should be used here, and the string itself should have no quotes, since {string:xx} will escape it itself.

grafitus

It was fascinating with new style. ^ı^
But I surmise it has a problem. If the user is using 2.0 RC1.2 (or lower), list will be distorted... I think you add support for 2.0 RC1.2 (or lower).

Yağız...

Quote from: grafitus... on February 17, 2010, 12:59:11 PM
It was fascinating with new style. ^ı^
But I surmise it has a problem. If the user is using 2.0 RC1.2 (or lower), list will be distorted... I think you add support for 2.0 RC1.2 (or lower).
Adding support for old versions? No ... RC3 will be released soon and I can't understand why there are users who still uses RC 1.2

BTW, I just saw your reply Arantor, thanks :)

grafitus

Quote from: Yağız... on February 17, 2010, 01:26:20 PM
Adding support for old versions? No ... RC3 will be released soon and I can't understand why there are users who still uses RC 1.2
Me too... But there are still those who use. Need to think them. Anyway, you know. ;)

aussieherps

Have just installed UP and now my current buddies can not be made my buddies on the UP.
I am using 2.0rc2 default theme.
Any help would be great as I still want to add these guys to my buddy list.
http://aussieherps.com">snakes lizards spiders turtles and much more

Yağız...

It doesn't integrate UP buddies, but I'll try to integrate it if I can have some free time.

iPhoneDestek

Translation by MOD Translator SirtLanVadisi in german and german-utf8 languages






<file name="$themedir/languages/Modifications.german.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Buddy List MOD Translation by SirtLanVadisi.NeT
$txt['buddylist'] = 'Liste der Freunde';
$txt['buddylist_add'] = 'Freund hinzufügen';
$txt['buddylist_reload'] = 'Aktualisieren';
$txt['buddylist_close_window'] = 'Schliessen';
$txt['buddylist_pm_send'] = 'Privat Nachricht schicken';
$txt['buddylist_error_disabled'] = 'Der Liste der Freunde ist nicht aktif.';
$txt['buddylist_error_no_buddies'] = 'Sie haben keine Freude in der Liste.';
// END Buddy List MOD Translation by SirtLanVadisi.NeT
]]></add>
</operation>
</file>
<file name="$themedir/languages/Modifications.german-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Buddy List MOD Translation by SirtLanVadisi.NeT
$txt['buddylist'] = 'Liste der Freunde';
$txt['buddylist_add'] = 'Freund hinzufügen';
$txt['buddylist_reload'] = 'Aktualisieren';
$txt['buddylist_close_window'] = 'Schliessen';
$txt['buddylist_pm_send'] = 'Privat Nachricht schicken';
$txt['buddylist_error_disabled'] = 'Der Liste der Freunde ist nicht aktif.';
$txt['buddylist_error_no_buddies'] = 'Sie haben keine Freude in der Liste.';
// END Buddy List MOD Translation by SirtLanVadisi.NeT
]]></add>
</operation>
</file>



$$  Q u a l i t y    I n f o r m a t i o n    L i n e  for iPhone $$



<   M O D  |  T R A N S L A T O R  |  TO  |  TUR  |  A N D   |  G E R   >


Rain Forest

Nice mod! But I do have a question. Can I see what friends someone else has? Or is it just private?

Modifications.dutch.php

// Buddy List
$txt['buddylist'] = 'Vriendenlijst';
$txt['buddylist_add'] = 'Voeg een vriend toe';
$txt['buddylist_reload'] = 'Vernieuw';
$txt['buddylist_close_window'] = 'Sluit het venster';

// Buddy List Errors
$txt['buddylist_error_disabled'] = 'Oeps, de vriendenlijst is op dit moment dicht.';
$txt['buddylist_error_no_buddies'] = 'Oeps, op dit moment heb je nog geen vrienden.';

ittiphol

i need script show on index page not popup  :-\

ittiphol

i apply code
now buddy show on index page  ;D


Advertisement: