Link to the mod (https://custom.simplemachines.org/index.php?mod=2204)
Buddy Page
Original Author: Arantor
SMF Version: 2.0.x
Mod Version: 2.1
Description:
This mod adds a Buddy Page to the main tab listing, so you can see all your buddies in one place.
Additionally if the admin enables it in permissions, you can see if your buddies also have you marked as a buddy and even whether you and your buddies have other buddies in common.
Thanks to the FamFamFam icon set, for the online/offline icon.
ChangeLog:
2.1 - 28 July, 2013
Updated to add support for Default Avatar Mod (Thanks to Joker)
Fixed some minor bugs
2.0 - December 28, 2012
Taken Over by Runic
Updated for 2.0.X
1.2 - November 9, 2009
Minor compatibility fix for RC2 public.
1.1 - October 31, 2009
Update for RC2 compatibility
1.0 - October 15, 2009
First release
Why Not Visit:
http://www.smfhacks.com (http://www.smfhacks.com/)
Very nice mate!
Cheers :)
Very nice indeed. Keep it up, Arantor.
Congrats Arantor!
Very nice Arantor! :)
it's very very very nice.
but i want this mod in SMF 1.1.10
can u help me ?
Quote from: Hikkyz on October 18, 2009, 11:38:33 AM
but i want this mod in SMF 1.1.10
As Costa quoted from my mod's page, I will not back port this to 1.1, not even as a paid project.
Bluntly put, while yes it could be done without too much work, I have no desire to then spend time every single day helping people with adding the tab to the main menu, which is what it would come to.
I love writing mods, but what I don't want is for in 6 months (or more) time still going over how to edit this one if I haven't added any new features to it. That's the reason I'm not backporting it to 1.1, and I never will.
If someone else wants the job of doing that, they're welcome to use whatever code from it they wish and perform the operation on it, with the caveat that I will not support the 1.1 version if I haven't written the final code.
CuuuTE :) :) , really lovely ... & Thx for encourge ppl ,upgrade to SMF 2
Turkish Translation ( Based on XML ) , i'm glad if you add turkish.xml
( Small NoTe : I Also open topic in Turkish Section )
<?xml version="1.0"?>
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
<id>Arantor:BuddyPage</id>
<version>1.0</version>
<file name="$languagedir/Modifications.turkish.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['buddypage'] = 'Arkadaş Sayfası';
$txt['permissiongroup_buddylist'] = 'Arkadaş Listesi';
$txt['permissiongroup_simple_buddylist'] = 'Arkadaş Listesi';
$txt['permissionname_user_buddylist'] = 'Arkadaş Listelerine İzin Ver';
$txt['permissionhelp_user_buddylist'] = 'Seçilen grup üyelerinin forumdaki üyeleri arkadaş olarak eklemesini sağlar.';
$txt['permissionname_user_buddypage'] = 'Arkadaş Sayfalarına İzin Ver';
$txt['permissionhelp_user_buddypage'] = 'Kullanıcıların arkadaş listelerine ana sayfadan ulaşmalarına izin ver.';
$txt['permissionname_user_buddy_seeothers'] = 'Eğer kendi işaretlenmişse , kullanıcının görmesine izin ver';
$txt['permissionhelp_user_buddy_seeothers'] = 'Kullanıcının eklediği arkadaşların da onu listesine eklemesi (örn. eğer seni işaretlemişlerse)';
$txt['permissionname_user_buddy_seecommon'] = 'Ortak arkadaşları görebilsinler';
$txt['permissionhelp_user_buddy_seecommon'] = 'Kullanıcıların ortak arkadaşlarını görmesini sağlar (örn. senin ve onun arkadaş listesinde olan biri)';
$txt['buddies'] = 'Arkadaşlar';
$txt['buddiesincommon'] = 'Ortak Arkadaşlar';
$txt['user_has_you_buddy'] = 'Arkadaşı olarak işaretlemiş';
]]></add>
</operation>
</file>
<file name="$languagedir/Errors.turkish.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['cannot_user_buddylist'] = 'Arkadaş listesini kullanma izniniz bulunmamaktadır.';
$txt['cannot_user_buddypage'] = 'Arkadaşlarınızı görmeniz için arkadaş sayfasını kullanma izniniz bulunmamaktadır.';
$txt['no_buddies'] = 'Arkadaş listenizde arkadaş bulunmuyor.';
]]></add>
</operation>
</file>
<file name="$languagedir/Who.turkish.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['whoall_buddypage'] = 'Arkadaş sayfalarına bakıyor';]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.turkish-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['buddypage'] = 'Arkadaş Sayfası';
$txt['permissiongroup_buddylist'] = 'Arkadaş Listesi';
$txt['permissiongroup_simple_buddylist'] = 'Arkadaş Listesi';
$txt['permissionname_user_buddylist'] = 'Arkadaş Listelerine İzin Ver';
$txt['permissionhelp_user_buddylist'] = 'Seçilen grup üyelerinin forumdaki üyeleri arkadaş olarak eklemesini sağlar.';
$txt['permissionname_user_buddypage'] = 'Arkadaş Sayfalarına İzin Ver';
$txt['permissionhelp_user_buddypage'] = 'Kullanıcıların arkadaş listelerine ana sayfadan ulaşmalarına izin ver.';
$txt['permissionname_user_buddy_seeothers'] = 'Eğer kendi işaretlenmişse , kullanıcının görmesine izin ver';
$txt['permissionhelp_user_buddy_seeothers'] = 'Kullanıcının eklediği arkadaşların da onu listesine eklemesi (örn. eğer seni işaretlemişlerse)';
$txt['permissionname_user_buddy_seecommon'] = 'Ortak arkadaşları görebilsinler';
$txt['permissionhelp_user_buddy_seecommon'] = 'Kullanıcıların ortak arkadaşlarını görmesini sağlar (örn. senin ve onun arkadaş listesinde olan biri)';
$txt['buddies'] = 'Arkadaşlar';
$txt['buddiesincommon'] = 'Ortak Arkadaşlar';
$txt['user_has_you_buddy'] = 'Arkadaşı olarak işaretlemiş';
]]></add>
</operation>
</file>
<file name="$languagedir/Errors.turkish-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['cannot_user_buddylist'] = 'Arkadaş listesini kullanma izniniz bulunmamaktadır.';
$txt['cannot_user_buddypage'] = 'Arkadaşlarınızı görmeniz için arkadaş sayfasını kullanma izniniz bulunmamaktadır.';
$txt['no_buddies'] = 'Arkadaş listenizde arkadaş bulunmuyor.';
]]></add>
</operation>
</file>
<file name="$languagedir/Who.turkish-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['whoall_buddypage'] = 'Arkadaş sayfalarına bakıyor';]]></add>
</operation>
</file>
</modification>
Does that person have an avatar, and if so, what type of avatar? (is it an uploaded one, one of from an avatar pack, or an external URL?)
I'm sorry, Arantor. I had installed your mod and the other new buddy mod. It was the other mod that had the problem. I replied in the wrong thread by mistake. I apologize. (That's why I removed my comment.)
No worries.
For the other mod, it will display a white square if the user has no avatar at present.
Arantor, the readme says it supports 1.1.10 and the mod page says it supports 2.0 RC1.2
Which is it? ::)
;D
This is what I get for trying to be clever and reuse my template. Thanks for that JBlaze.
Quote from: Arantor on October 23, 2009, 04:24:00 AM
This is what I get for trying to be clever and reuse my template. Thanks for that JBlaze.
No sweat. Happens to the best of us :)
i installed and get this error
"Wrong value type sent to the database. Array of integers expected. (users) "
what is causing that ?
Can you look in the error log please, and confirm where this error occurs?
http://www.afrowall.com/index.php?action=buddypage
Apply Filter: Only show the errors with the same message
Wrong value type sent to the database. Array of integers expected. (users)
Function: loadMemberData
Apply Filter: Only show the errors from this file
File: /home/afrowall/public_html/Sources/Load.php
Line: 994
And do you have some buddies when you click on the buddy page?
Also, what other mods do you have?
Quote from: Arantor on October 26, 2009, 08:25:31 AM
And do you have some buddies when you click on the buddy page?
Also, what other mods do you have?
.
i have some buddies but nothing shows when i click on buddy page. just the error.
hmm; i have many mods installed. ultimate profile included.
. Global Headers Footers 2.0
2. Aeva ~ Auto-Embed Video & Audio 6.9.99
3. AutoKeywords 1.1
4. Buddy Page 1.0
5. Sitemap 2.0.0
6. Favicon 1.2
7. Twitter mod 1.5
8. Ultimate Profile 0.9
9. More Spiders 1.2
10. Pm_Informer 2.0.0.1
11. Registration redirection 0.1
12. Social Bookmarks 2.0
13. ENotify 1.06
14. Birthday Posts 0.10.2 Beta
15. Add IP2Location to Track IP 1.2
16. SMF Media Gallery 2.0
17. RSS Feeder 1.1.1
18. Welcome Topic Mod 2.0.2
19. RSS Feed Icon 1.1 [ Uninstall ]
20. Pretty URLs 1.0RC
21. Ad Managment
22. DisableTemplateEval
23. SMF Links
24. NoFollow All Links
25. SMF Articles
Are buddy lists enabled on your site?
yes,
cpan >>features n options >> Enable buddy lists. checked
Weird, very weird. Please can you attach your Load.php file here?
For reasons unknown, the list of buddies is not being loaded properly during Load.php, which is causing this error.
here is the file
maybe this could help.
I uninstalled it and installed the other buddy list mod.
It shows the same error but this tile it added something like
expecting (buddy_list).
i checked on the database but no table like buddy_list there.
Interesting, very interesting. Something is askew inside SMF then...
Both mods draw on the same place; it's not a table but a column in it.
If you check smf_settings, you'll find a long list of entries across the two columns in it, one of which should be 'enable_buddylist' on the left - is that listed and what does it say?
Quote from: Arantor on October 26, 2009, 02:57:47 PM
Interesting, very interesting. Something is askew inside SMF then...
Both mods draw on the same place; it's not a table but a column in it.
If you check smf_settings, you'll find a long list of entries across the two columns in it, one of which should be 'enable_buddylist' on the left - is that listed and what does it say?
it is listed there . enable_buddylist 1 . i opened it and the value is one
OK... now in the smf_members table, find your own row (by your user id, typically 1) and see the value for the buddy_list column. What does that contain? (Please feel free to PM me that if you're not willing to post it publicly, given that it would be able to identify everyone on your buddy list if they were to sign up on your forum)
I saw something like this there
''''4,9,11,137,22,2978,3,119,6,134,4225,4223,5537,...
In quotes?
Quote from: Arantor on October 26, 2009, 04:10:41 PM
In quotes?
i dont get what you mean here please.
meanwhile i see i have only 4 people on my buddy list according to my profile.
yet i see many member id numbers here on the database
Well, you've put "" at the start. Did it have that in the field, or was it just a list of numbers with commas?
Quote from: Arantor on October 26, 2009, 04:20:26 PM
Well, you've put "" at the start. Did it have that in the field, or was it just a list of numbers with commas?
oh yes. i just copied and pasted it the way it is there
That shouldn't be there.
Do other users have "" too? (I don't want the numbers, just want to know if "" is there too)
Quote from: Arantor on October 26, 2009, 04:23:50 PM
That shouldn't be there.
Do other users have "" too? (I don't want the numbers, just want to know if "" is there too)
hmm, others dont have the quotes, i was gonna tell you that now because i just looked closely.
i will remove the quotes and see what i will get
Ok, the buddy page is showing up now.
Thanks a lot.
Good to know, though I'm also curious where the "" came from. Let me know if it happens again.
Here is the scenario at the moment. I use Ultimate profile which i think has its own buddy structure.
The people i see on my buddy page are different from the people i added on my buddy list after installing ultimate profile.
what can i do about that ?
I don't know anything about Ultimate Profile, but if it does use something different I guess Buddy Page would have to be rewritten.
Great Mod Arantor!!
Sorry, I never actually used the Ultimate Profile mod before, so can't help ya with that one Afro :(
Thanks, SoLoGHoST! (Should I admit now this is the first time I ever made a template in a mod before...?)
is there a way to set how many people to appear on the buddy page ?
No, it just displays everyone. It didn't occur to me to write pagination.
I *may* look at it for a future version, no guarantee though.
Quote from: Arantor on October 26, 2009, 05:08:40 PM
Thanks, SoLoGHoST! (Should I admit now this is the first time I ever made a template in a mod before...?)
LoL, there's a first time for everything... or so I hear ;)
Ok, Arantor The Quotes inside the database showed up again this morning. Just on my own alone.
Quote from: Afro on October 27, 2009, 06:35:45 AM
Ok, Arantor The Quotes inside the database showed up again this morning. Just on my own alone.
Weird, very weird. Something is modifying that column, then. Have you added any new buddies yourself?
yes, i added one more buddy. i removed the quotes 7 hours ago and its working normal for now
Curious, very curious.
Please can you attach your Sources/Profile-Modify.php file?
here
I've tried installing your mod manually.. followed all instructions.. but it seems that the language files aren't working for me. The button that's supposed to say Buddy Page is blank. The part of the permissions page that is supposed to be options for the Buddypage are blank as well.
Any ideas? I hate to feel like I'm becoming a thorn in your side with all my little problems. ^_^;;
What language are you using, and what theme(s) are you using?
just plain English. As for theme, I'm using my own which is based off the default theme. So all the language files and most of the templates are being pulled from the default theme anyway.
Clear the file cache from Admin > Maintenance > Routine. If you have manually updated the files the cache will always need to be cleared.
There we go, that fixed it. Thanks again :)
Dutch translation ;)
$txt['buddypage'] = 'Vrienden pagina';
$txt['permissiongroup_buddylist'] = 'Vrienden lijsten';
$txt['permissiongroup_simple_buddylist'] = 'Vrienden lijsten';
$txt['permissionname_user_buddylist'] = 'Vriendenlijst toestaan';
$txt['permissionhelp_user_buddylist'] = 'Sta gebruikers in deze groep toe om vrienden van het forum te selecteren.';
$txt['permissionname_user_buddypage'] = 'Vriendenlijst toestaan';
$txt['permissionhelp_user_buddypage'] = 'Sta gebruikers toe om hun vriendelijst te kiezen uit het menu.';
$txt['permissionname_user_buddy_seeothers'] = 'Sta de gebruiker toe om te kijken of ze zelf zijn gemarkeerd';
$txt['permissionhelp_user_buddy_seeothers'] = 'Sta de gebruiker toe om te kijken of ze door zijn/haar vrienden zijn gemarkeerd';
$txt['permissionname_user_buddy_seecommon'] = 'Gemeenschappelijke vrienden';
$txt['permissionhelp_user_buddy_seecommon'] = 'Sta de gebruiker toe om te zien of hij/zij gemeenschappelijke vrienden heeft.';
$txt['buddies'] = 'Vrienden';
$txt['buddiesincommon'] = 'Gemeenschappelijke vrienden';
$txt['user_has_you_buddy'] = 'Markeer als vriend';
Thanks for the translation - unfortunately there are a few other strings not in that list, so I can't update the list just yet :(
In the errors file (will be for Errors.dutch.php) the following will need translation:
$txt['cannot_user_buddylist'] = 'You are not permitted to use the buddy list.';
$txt['cannot_user_buddypage'] = 'You are not permitted to use the buddy page to view your buddies.';
$txt['no_buddies'] = 'You have no buddies on your buddy list.';
And in the Who's Online (for Who.dutch.php):
$txt['whoall_buddypage'] = 'Viewing their buddy page';
Really would love to get this one into the next version though, and if you can translate those last strings, I'd be able to, thanks :)
Error . it installed well in rc2 but when i click the buddy page on menubar, ig loads a blank page.
then the log shows the below error.
http://www.afrowall.com/index.php?action=buddypage
Apply Filter: Only show the errors with the same message
Unable to load the 'main' template.
edit.
i removed the buddypage template and uploaded a new one. it solved the issue
Here ya go :)
Errors.dutch.php
$txt['cannot_user_buddylist'] = 'Je hebt niet genoeg rechten om de vriendenlijst te gebruiken.';
$txt['cannot_user_buddypage'] = 'Je hebt niet genoeg rechten om te bekijken hoeveel vrienden je hebt.';
$txt['no_buddies'] = 'Je hebt geen vrienden op je vriendenlijst.';
Who.dutch.php
$txt['whoall_buddypage'] = 'Laat hen vriendenlijst zien';
@Afro
Weird, very weird. Though it might be possible to get that if you update SMF without updating the mod at the same time.
@7s-1k
Thanks - I'll roll them into the next version shortly.
nice update for curve theme.
Im getting the same Wrong value type sent to the database. Array of integers expected. (buddy_list) I have enable the buddy list, and I use 2.0RC2, default theme,
Wrong value type sent to the database. Array of integers expected. (buddy_list)
Function: editBuddies
Archivo: /home/o/public_html/foro/Sources/Profile-Modify.php
Línea: 1467 in my members table under buddy_list I also have comas '''''' in many users, I remove the comas from my id but that did not help, I was using ultimate profile, I unistalled it long before I install this one, dont know if thats got to do with this, I know ultimate use a different table: _buddys so I really dont know
Hmm. Well *something* is messing with your buddy_list column.
It doesn't do it on a fresh RC1.2 or RC2, so it's gonna be something else. What other mods do you have?
I got a few:
1. Signature Area BBCode Buttons 1.7
2. Custom Field On Posting 1.2
3. Share This Topic 1.3
4. Advanced Contact Form 1.1
5. Buddy Page 1.2
6. PM to New Members 1.2
7. Spoiler Tag 0.6b
8. Member Color Link 3.0.7
9. Advanced Reputation System 1.8
10. SMF Media Gallery 2.0.1
11. Load Standard Language 1.0.2
12. SMG Spanish Translation 2.0.1
13. Topic View Log 1.1
14. Thank-O-Matic 2.0 RC1
15. PageRank BBCode 1.5
16. eNinja - Admin Notes 0.9.1
17. SimpleSEF 1.0.1
18. Birthday Posts 0.11.2 Beta
19. SubAccounts Mod 1.0.0
20. Welcome Topic Mod 2.0.2
21. Internal_Links_Use_Same_Window 1.2
22. YouTube BBCode 2.5.1
23. SimplePortal 2.3.1
24. Remove Reply Prefix 1.0
25. Hide Tag 2.3.6
26. Sitemap
is it possible to ad a bar like on the page Members with the possibility to sort your buddies alphabetical or by online Status?
Quote from: Azrael1 on January 03, 2010, 08:25:28 PM
is it possible to ad a bar like on the page Members with the possibility to sort your buddies alphabetical or by online Status?
Not without a substantial rewrite of the mod, which to be honest I don't really plan to add.
Very nice mod. Can it be integrated into the profile page? So that one clicks the profile page and right there will see all his friends avatars.
Quote from: neverhurry on January 05, 2010, 04:44:33 PM
Very nice mod. Can it be integrated into the profile page?
I don't plan to, no. More hassle than it's worth IMO.
I have an interesting result - I am not sure if it's specifically an error, or if it is working properly. Most everything about the buddy page looks to be working right from the other pages, and on the buddy page if you have 1 or more buddies.
If you have zero buddies and click on the buddy page, the title bar shifts from showing "buddies" to saying "An Error Has Occured!" and below it reads "You have no buddies", which makes sense.
Is the error message a sign of an error? Or is that what you would expect it to display?
No, that's as I originally wrote.
Hello,
Thanks for your great mod.
I have a small issue with a text string I guess. In the log there appears this error:
URL http://digiscrap.nl/imode/scraps_afdrukken/blurb_563.5.html
8: Undefined index: buddypage
File: /shared/usr/wzen1234567/DOMAIN/www.digiscrap.nl/HTML/Sources/Subs.php
Line: 4038
and
URL http://digiscrap.nl/wap2/overige_tips_en_vragen/digiscrap_event_2010_2175.25.html
8: Undefined index: buddypage
File: /shared/usr/wzen1234567/DOMAIN/www.digiscrap.nl/HTML/Sources/Subs.php
Line: 4038
The string $txt['buddypage'] = 'Vrienden'; is present in Modifications.dutch.php
I deleted the cach from SMF.
Maybe you can help?
Thanks, Vincent
Edit: Running: SMF2.0RC3
Hello,
I removed the SimpleSEF mod because of a lot of problems and also this error is gone.... So let's hope it will stay away from the error log ;)
Thanks,
Vincent
I'll look into the problem when I get a chance to see if I can solve the conflict between the mods so you can use both.
Hello,
I installed Pretty URL's and it works fine and there are no errors in the log. With a lot of other mods I had problems/errors when SimpleSEF was installed.
So I'll stay with Pretty URLs. Also the Buddypage is working fine now! :D
Thanks for your support!
Vincent
Hello!
When I click on my buddy I get an error
Wrong value type sent to the database. Array of integers expected. (users)
Yay for Ultimate Profile being broken. This has been an issue for months, it is a UP bug and one I reported to them ages ago.
Quote from: Arantor on May 16, 2010, 06:34:25 AM
Yay for Ultimate Profile being broken. This has been an issue for months, it is a UP bug and one I reported to them ages ago.
:) I still don't know how to reproduce this, soooo I can't fix it ...
At some point UP is pushing quotes into the buddies field in SMF. Check wherever that field is being updated to see what data type is being pushed; I suspect you've got a query with extra quotes it's not supposed to have.
Weird ... Because UP doesn't update anything on members table. I've commented SMF's editBuddies function (./Sources/Profile-Modify.php) for putting instead our buddy functions. I just put this instead:
global $sourcedir;
require_once($sourcedir . '/Buddies.php');
BuddiesMain();
And I don't think it'll break something but yeah ... I should make some tests again.
Quote from: 130860 on December 23, 2009, 06:41:30 PM
Im getting the same Wrong value type sent to the database. Array of integers expected. (buddy_list) I have enable the buddy list, and I use 2.0RC2, default theme,
Wrong value type sent to the database. Array of integers expected. (buddy_list)
Function: editBuddies
Archivo: /home/o/public_html/foro/Sources/Profile-Modify.php
Línea: 1467 in my members table under buddy_list I also have comas '''''' in many users, I remove the comas from my id but that did not help, I was using ultimate profile, I unistalled it long before I install this one, dont know if thats got to do with this, I know ultimate use a different table: _buddys so I really dont know
im getting this same error.. also have UP installed.. which is see is most likely the cause.. but where would i find the "members table" to have a crack at deleting the extra comas anyway?
You'll find it in the database, likely under smf_members.
Note that it's not extra commas that are the problem, it's quote marks (commas are the ones at the bottom like so , which actually aren't a problem, but quotes like " are very much a problem)
at the risk of soundly just a little uneducated... where/how do i get in to edit the database? this is new to me..
Edit the database for what ?
Quote from: uniektekniek on June 09, 2010, 12:11:02 AM
at the risk of soundly just a little uneducated... where/how do i get in to edit the database? this is new to me..
You'll need a tool like phpMyAdmin. It's not for the faint-hearted, and you are definitely advised to take a backup first.
yeah i think i might just let the people in the know fix this one.. haha.. cheers anyway!
whenever i tried to open my Buddy Page i got this message
Wrong value type sent to the database. Array of integers expected. (users)
what should i do. i reinstalled the mod but no change occurred.
Russian translated
Quote from: !RFAN on August 10, 2010, 08:57:59 PM
whenever i tried to open my Buddy Page i got this message
Wrong value type sent to the database. Array of integers expected. (users)
what should i do. i reinstalled the mod but no change occurred.
Just noticed today that my forum has also got the same problem.
Quote from: Arantor on June 08, 2010, 08:13:31 PM
You'll find it in the database, likely under smf_members.
Note that it's not extra commas that are the problem, it's quote marks (commas are the ones at the bottom like so , which actually aren't a problem, but quotes like " are very much a problem)
What changes exactly have to be made there, can anyone explain?
Is there any support for this mod available?
Find buddy_list at smf_members table. Remove everything except numbers and commas.
i cant get u??? can u please update the mod?
it isnt this mod that's broken or in need of updating
okay but why it is not working for most of the users??
because all the people it's broken for used ultimate profile which broke the buddy system in their forum
Quote from: Yağız... on October 13, 2010, 07:49:26 AM
Find buddy_list at smf_members table. Remove everything except numbers and commas.
Thanks, working fine now ;).
u mean we cant use both mods together?
no, you cant use both mods together, as has been shown several times
Quote from: Yağız... on October 13, 2010, 07:49:26 AM
Find buddy_list at smf_members table. Remove everything except numbers and commas.
Ive opened smf_members table, and then i clicked "Structure" (this is where to edit buddy_list right?). But i didnt find any number or comas, i only found "Text" like this :
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg295.imageshack.us%2Fimg295%2F6778%2Fbuddylist.jpg&hash=54d2c9d720c78cdde118d3d92424e27021901aed)
Anyone can help me with this ? im php blind lol,
thx in advanced..
yes, the field type is text
hit "browse" for the table (not "structure") and look at the buddy_list column
Quote from: !RFAN on October 21, 2010, 10:07:14 AM
u mean we cant use both mods together?
Both work fine on my forum
http://metal-world.biz
Quote from: Oya on October 31, 2010, 06:26:51 AM
yes, the field type is text
hit "browse" for the table (not "structure") and look at the buddy_list column
Yup, browse, and then "Edit", and then what do i do next ?
where did i say to touch that?
you don't touch that whatsoever
browse through the rows where you see each member's information and look at the column titled 'buddy_list'
lol :D okay ill try that, thx
HA!! it worked.. so ive noticed some members have extra coma on the front like ,34,36,25 so on, i removed the first coma and the row of numbers become 34,36,25, now everything is fixed. THX FOR THE HELP OYA :DDDD cant do nuttin w/o u dude.
Can you please update this mod for SMF 2.0 RC4 :)
Does this Mod run on SMF 2.0.2?
http://custom.simplemachines.org/mods/index.php?mod=3068
With thanks to Joker™ (http://www.simplemachines.org/community/index.php?action=profile;u=226111) this mod has been updated to add support for his Default Avatar Mod :)
Did the new version a change in the SQL-DB, or is it enough, when i overwrite the PHP-Files?
Quick couple of questions for you i installed it on my test forum 2.0.4 all went well i can edit permissions etc but nothing shows on my navigation bar i am using menu editor light & blackstorm theme if that has any issues or not with it.
also will this work with ultimate profile ?
Cheers
Hiya :)
Reinstalled Buddy Page, then made it visible to users. Then the code shown in picture popped up, while on pc. Testing on ipad as test user, and when I clicked into buddy myself as admin, the same error message popped up.
Fixed the problem with menu editor light was as simple as creating a new button on the menu and adding "yourwebsite/forum/index.php?action=buddypage" as a external url. This will come in handy if anyone wants to create there own custom buttons or add it to a mod that edits the menu in one way or another.
Another quick question i have re done my sites theme, stripped away a few mods one of them being menu editor light, moved my forum out of it's sub directory etc etc. So anyway the buddies list isn't showing up on my menu i uninstalled it and reinstalled it twice but still shows nothing i even manually added the button to my menu but it still shows nothing.
The actually buddies page shows up fine just i carnt get the damn button to add to the menu. Your help would be most welcome here is a link to my test forums so you can see what i mean.
http://www.keepitrealkeepitgoth.com/test/index.php
Very interesting mod! What code part could be usedf for displaying common buddies with SMF 1.1.X ? Thank you
Bump
For anyone who is getting "Wrong value type sent to the database. Array of integers expected. (users)" due to value in buddy_list column like (,3,5,7,,9) etc, add this line :
$user_info['buddies'] = array_filter( $user_info['buddies'], 'strlen' );
Before :
if(!count($user_info['buddies']))
fatal_lang_error('no_buddies', false);
I'd wonder why your database is messed up like that in the first place since the normal buddy code in SMF does not do that.