Joomla Gaming

The Gaming extensions for Joomla!

  • Increase font size
  • Default font size
  • Decrease font size
Home Forum
Welcome, Guest
Username Password: Remember me

[Update?] Axxis SuperMessenger (PMS)
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: [Update?] Axxis SuperMessenger (PMS)

[Update?] Axxis SuperMessenger (PMS) 1 year, 11 months ago #1537

  • NuMoon
  • OFFLINE
  • Junior Boarder
  • Posts: 38
  • Points: 6151
Hey Tinker, Vanama,

Nice stuff, I like it .

Any chance of including SuperMessenger as a default PMS notification option in the back end? It has a plugin you can use for developers and I understand it shouldn't be too hard (I could hack it myself, but then would have to keep doing in the event of any updates, and you guys are better at this kind of thing than me ).

You can see the API for developers post from Axxis here

I would really appreciate it if you would consider including it in your lovely gaming products :D !

Best wishes,

NuMoon
Last Edit: 1 year, 11 months ago by NuMoon.

Re: Axxis SuperMessenger (PMS) 1 year, 11 months ago #1539

  • Vanama
  • OFFLINE
  • Administrator
  • Posts: 712
  • Points: 5063069
I including JomSocial PMS to JG BlackJack and JG RPS. Yes, I will include Your messenger.

I will try it
Like You My Extensions? Please donate.
Please vote my extensions here. Thanks!

Re: Axxis SuperMessenger (PMS) 1 year, 11 months ago #1541

  • Vanama
  • OFFLINE
  • Administrator
  • Posts: 712
  • Points: 5063069
Ok, I have it done. I will do any changes on JG BlackJack and JG RPS and I will release it with this feature very soon.
Like You My Extensions? Please donate.
Please vote my extensions here. Thanks!

Re: Axxis SuperMessenger (PMS) 1 year, 11 months ago #1543

  • NuMoon
  • OFFLINE
  • Junior Boarder
  • Posts: 38
  • Points: 6151
Totally excellent ))! Many thanks!

I am very happy, I shall work out the custom feed for superactivity and post it on their forum, may help bring some subscribers your way.

Thanks again!

Best,

NuMoon

Re: Axxis SuperMessenger (PMS) 1 year, 11 months ago #1545

  • Vanama
  • OFFLINE
  • Administrator
  • Posts: 712
  • Points: 5063069
Thank You,
You can vote and rewiev for my extensions on JED too extensions.joomla.org/extensions/owner/Vanama/1
Like You My Extensions? Please donate.
Please vote my extensions here. Thanks!

Re: Axxis SuperMessenger (PMS) 1 year, 11 months ago #1616

  • NuMoon
  • OFFLINE
  • Junior Boarder
  • Posts: 38
  • Points: 6151
Hi Vanama,

I noticed that the Axxix SuperMessenger notifications weren'y quite right, so have played a little on my site;

Converted it to use the API (you had it posting straight to the db);

    }elseif ($config->pms == 2) { // Axxis SuperMesseer
include_once 'pms.supermessenger.php';
$supermessenger = new supermessenger3PDController();
$supermessenger->send($from, $to, $subject, $message);
}


I have attached the pms.supermessenger.php, the title I wrote straight in (so you may want to change it), it is the same for RPS and BlackJack excepting the title), as you can see I hacked SuperMessenger into BlackJack already ,

Also SuperMessenger is full html enabled (doesn't use bbCode), I just changed them manually to <a href rather than [URL in mine, could the algorythm detect which pms is used before it decided whether to go with bbCode or html maybe? Perhaps you could do something clever like have $link function that determined that bit, but that is a little compliacted for me so I was thinking a simple if based on the pms config, eg;

[code]if ($config->pms == 5) {
$pms_msg = $config->title." \n ".RPS_YOU_WON." ".RPS_IN_GAME." <a href=".sef("index.php?option=com_rps&Itemid=".$Itemid."&gid=".$gid).">".$game->challenger_name." vs ".$game->challenged_name."</a>.";
}else{
$pms_msg = $config->title." \n ".RPS_YOU_WON." ".RPS_IN_GAME." ".$game->challenger_name." vs ".$game->challenged_name.".";
)[/code]

Though it would be more code efficient to have a smart function that determined the typr of link like

if ($config->pms == 5) {
$link= '<a href';
$linkend='>'
$endlink='</a>';
}else{
$link= '[URL';
$linkend=']'
$endlink='[/URL]';
)


And the links like;
        $pms_msg = $config->title." \n ".RPS_DRAW." ".RPS_IN_GAME." ".$link."".sef("index.php?option=com_rps&Itemid=".$Itemid."&gid=".$gid)."".$linkend."".$game->challenger_name." vs ".$game->challenged_name."".$endlink."; 


But I am not sure if that would work (never sure whether to use ' or " and no idea what a T function means, he he, that doesn't stop me! ;))
Best wishes,

NuMoon :)

File Attachment:

File Name: pms.zip
File Size: 3744
Last Edit: 1 year, 11 months ago by NuMoon.
  • Page:
  • 1
Moderators: Tinker
Time to create page: 0.74 seconds