Buddy List

Started by Grudge, December 05, 2004, 11:10:50 AM

Previous topic - Next topic

Grudge

Link to Mod

This is a basic buddy list. It allows you to easily add people to your list through their profile. Once on your list it shows your buddies in the "who is online" area and makes it easy to select people to send IM's too.
I'm only a half geek really...

snarf

Would be a nice mod if it worked, see error message:

Fatal error: Call to undefined function: buddymanage() in
/MY OWN URL/public_html/test/Sources/InstantMessage.php on line 105

Next messages occured during istallation

Voer code uit BuddyPdb.php 
2. Voer aanpassing uit ./Sources/BoardIndex.php Succes
3. Voer aanpassing uit ./Sources/InstantMessage.php Mislukt <= failed
4. Voer aanpassing uit ./Sources/Load.php Succes
5. Voer aanpassing uit ./Sources/Profile.php Succes
6. Voer aanpassing uit ./Themes/default/BoardIndex.template.php Mislukt <= failed
7. Voer aanpassing uit ./Themes/default/InstantMessage.template.php Succes
8. Voer aanpassing uit ./Themes/default/languages/Modifications.english.php Succes
9. Voer aanpassing uit ./Themes/default/Profile.template.php Succes


grtz Frans 8)

Grudge

All my mods haev been adapted ready for 1.0 Final and may not install in RC2 anymore I'm afraid - I adapted them early as it's better than adapting them late like I normally do :P Shouldn't be too long to wait for it I hope
I'm only a half geek really...

Killer Possum

*coughmodpagestillsaysCompatibleWith:1.0 RC2cough*

Grudge

Mod Site doesn't have 1.0 Final on there yet :P
I'm only a half geek really...

Killer Possum


cleavers1066

I've a minor problem since upgrading to 1.0

In the error log i'm getting this error from Guests ?

Quote8: Undefined index: buddyList
/home/website/public_html/forum/Sources/Load.php
180

Line 180

'buddy_list' => $user_settings['buddyList'],

I originally installed it inder RC2, and since the upgrade I have un-installed and re-installed.

Kindred

Change that line (line 180 in load.php)  to read:

      'buddy_list' => isset($user_settings['buddyList']) ? $user_settings['buddyList'] : '',
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

cleavers1066

Thanks kindred that seems to have sorted the problem.

Much appreciated.

Webby

I would like to have it show the Buddies like this :



How would I do that ?

Grudge

Webby, it should already do that! Are you using the default theme? If not you can check this happens by going to ?theme=1 on your url.
I'm only a half geek really...

Webby

No, also when I use ?theme=1 it doesn't show me the count. What can I add to display the buddy-count then on a non-standard theme ?

Webby

Never mind, got it working already ;)

Sean

hi there, im getting a strange error, it took me forever to get the buddy mod to even load, than when i did, i keep getting this error on the top of some my pages

Notice: Undefined index: buddyList in /home/username/public_html/forums/Sources/Load.php on line 179

any ideas how to fix this, or to at least remove the mod?

like an idiot i didnt back up my database or sources directory

thanks for your time

Grudge

Is this happening when you are logged in? Can you check your members table to check the buddyList column was actually added?
I'm only a half geek really...

Kindred

Sean,

Did you read the above posts at all?

Change that line (line 179 in load.php)  to read:

      'buddy_list' => isset($user_settings['buddyList']) ? $user_settings['buddyList'] : '',

Although we seem to have some additional mods, which set our buddy_list line to 180 instead of 179, the error and the fix remain the same.


Grudge,

for some reason, under SMF v1.0, this needs to be a conditional... but it's not in your basic code.

I had the same issue (and same fix) with someone else's mod as well...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Grudge

Actually, yes, I already fixed this!!

I suspect the user downloaded the old file from the mod site and not the new one?
I'm only a half geek really...

Sean

well i got rid of the error, but it wont diplay the buddy list

could it have to do with im running the mos bridge?

or that im using a different theme other than the default theme?

thanks for your time

Kindred

Sean...

You really need to check other threads (and previous messages in the same thread) for answers.

The Mambo-SMF bridge requires some modification for SMF mods like this one (especially ones that add actions)

You have two options, modify the smf.php file in mambo/components/com_smf or install [unknown]'s newest version of the bridge along with his bridge package update for SMF.

The Buddy mods works perfectly on my site, which is running SMF 1.0 and Mambo 4.5.1 with [unknown]'s bridge
(it also worked when I originally ran 2.11 stable of Orstio's bridge with modifications)

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Grudge

My mods only modify the default theme. Any other theme will require manual modification of BoardIndex.php (On this mod). To work out what changes to make open the archive, and then open the mod file contained within it. Search for "Boardindex.template.php" and make the changes that it says under that filename.
I'm only a half geek really...

Advertisement: