News:

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

Main Menu

SA Buddy Pm Notifactions

Started by SA™, February 11, 2011, 09:27:41 AM

Previous topic - Next topic

SA™

Link to Mod

simple enhancement to the buddy system

sends a notifaction when a user gets added to somones buddy list
sends a pm when your removed from somones buddy list
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Rain Forest

Dutch translation:
$txt['buddy_notifaction1'] = 'Als vriend toegevoegd';
$txt['buddy_notifaction2'] = 'Als vriend toegevoegd';
$txt['buddy_notifaction3'] = '%1$s heeft jou als vriend toegevoegd aan zijn / haar vriendenlijst. [br][br]Klik [url=%2$s?action=profile;area=lists;sa=buddies;u=%3$s]hier[/url] om zelf vrienden toe te voegen.';
$txt['buddy_notifaction4'] = '%1$s heeft jou verwijderd als vriend op zijn / haar vriendelijst. [br][br]Klik [url=%2$s?action=profile;area=lists;sa=buddies;u=%3$s]hier[/url] om zelf vrienden toe te voegen / te verwijderen.';


Hmm, mod doesn't work for me.. Also I can't find the set- up at profile - notifications

SA™

there is no setup in profile - notifications

it does what it says on the box
Quote
sends a notifaction when a user gets added to somones buddy list
sends a pm when your removed from somones buddy list
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Rain Forest

Quote from: SA™ on April 22, 2011, 01:13:43 PM

it does what it says on the box
Quote
sends a notifaction when a user gets added to somones buddy list
sends a pm when your removed from somones buddy list

Doesn't work for me (RC5)



NanoSector

Trying atm

PS It's notification, not notifaction :P
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

NanoSector

My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

SA™

strange it work just fine for me on my test site how are you trying it?

it works like this
usera adds userb to there buddy list userb get a pm saying they where added to usera buddy list
usera removes userb from there buddy list userb get a pm saying they where removed from usera buddy list
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Spoogs

works just fine for me as well

NanoSector

Quote from: SA™ on April 23, 2011, 01:37:48 PM
strange it work just fine for me on my test site how are you trying it?

it works like this
usera adds userb to there buddy list userb get a pm saying they where added to usera buddy list
usera removes userb from there buddy list userb get a pm saying they where removed from usera buddy list
With a test user and myself.
The test user adds me to his buddy list. Nothing happens with a PM, on neither accounts.

Doesn't work on my test site, neither does it work on my live site.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Rain Forest

Quote from: SA™ on April 23, 2011, 01:37:48 PM
strange it work just fine for me on my test site how are you trying it?

it works like this
usera adds userb to there buddy list userb get a pm saying they where added to usera buddy list
usera removes userb from there buddy list userb get a pm saying they where removed from usera buddy list

At which version are u trying? RC5?

SA™

rc5
i will try it on another server later
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Rain Forest


SA™

http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

NanoSector

Doesn't work either :(

Thanks for your efforts though.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Rain Forest

Hmm, doesn't work for me either.

Maybe it's a language issue? Yoshi and me both are using the dutch language?

*I did use this to Modifications.dutch.php

$txt['buddy_notifaction1'] = 'Als vriend toegevoegd';
$txt['buddy_notifaction2'] = 'Als vriend toegevoegd';
$txt['buddy_notifaction3'] = '%1$s heeft jou als vriend toegevoegd aan zijn / haar vriendenlijst. [br][br]Klik [url=%2$s?action=profile;area=lists;sa=buddies;u=%3$s]hier[/url] om zelf vrienden toe te voegen.';
$txt['buddy_notifaction4'] = '%1$s heeft jou verwijderd als vriend op zijn / haar vriendelijst. [br][br]Klik [url=%2$s?action=profile;area=lists;sa=buddies;u=%3$s]hier[/url] om zelf vrienden toe te voegen / te verwijderen.';

NanoSector

Quote from: giovannie_1 on April 30, 2011, 04:01:08 AM
Hmm, doesn't work for me either.

Maybe it's a language issue? Yoshi and me both are using the dutch language?

*I did use this to Modifications.dutch.php

$txt['buddy_notifaction1'] = 'Als vriend toegevoegd';
$txt['buddy_notifaction2'] = 'Als vriend toegevoegd';
$txt['buddy_notifaction3'] = '%1$s heeft jou als vriend toegevoegd aan zijn / haar vriendenlijst. [br][br]Klik [url=%2$s?action=profile;area=lists;sa=buddies;u=%3$s]hier[/url] om zelf vrienden toe te voegen.';
$txt['buddy_notifaction4'] = '%1$s heeft jou verwijderd als vriend op zijn / haar vriendelijst. [br][br]Klik [url=%2$s?action=profile;area=lists;sa=buddies;u=%3$s]hier[/url] om zelf vrienden toe te voegen / te verwijderen.';

I used both Dutch and English and neither of them worked..
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Rain Forest

Hmm, not sure but maybe it's a custom theme issue?

NanoSector

Quote from: giovannie_1 on April 30, 2011, 06:57:37 AM
Hmm, not sure but maybe it's a custom theme issue?
I'm using the default theme, the Project Tools mod displays better in that theme :P
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

SA™

hmm this is strange can you check the edits are getting made?

i have tryed this on sevaral sites now and i only encounterd one bug about to members array being empty wich was flagged up during approval but i could never replicate it that then
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

NanoSector

Quote from: SA™ on May 01, 2011, 12:40:29 PM
hmm this is strange can you check the edits are getting made?

i have tryed this on sevaral sites now and i only encounterd one bug about to members array being empty wich was flagged up during approval but i could never replicate it that then
Yeah the edits are made... I even manually installed it once ???
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

SA™

im realy lost with this one lol
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Bugo

When I try add (via Profile) someone to my Buddy List, I get this error:
Quote
Database error, given array of integer values is empty. (to_members)
Error Log:

http://***/index.php?action=profile;u=1;area=lists;sa=buddies
Database error, given array of integer values is empty. (to_members)
Function: sendpm
File: ***/Sources/Subs-Post.php
Line: 981

Advertisement: