Quantcast
Channel: ejabberd Community Site - Module development
Browsing all 56 articles
Browse latest View live
↧

Building a module using Java

Hi, My team has some beginner erlang skills but for the most part we are java developers. Since erlang supports writing nodes in Java can we just write a little erlang that invokes our java node? Don't...

View Article


Dealing With Custom Messages

HiI have custom XMPP messages comming from the clients and I want to process them. Adding a hook I can catch these custom messages, but now I have the following dillema: The hook is running on the...

View Article


Buy the Best Radio Frequency Detector for Camera from Here

New system for keeping your life safe and keep all dangerous elements out of the range you think to be protected. Detect the radio frequency effectively with this Radio Frequency Detector for Camera...

View Article

Detailed and proper ejabberd module development tutorials or books?

Hi all,I am totally a beginner to erlang and ejabberd... I need to implement module/s for extending ejabberd features but i couldnt find any proper tutorials for that (except the on on process-one,...

View Article

's War 3 Drive Swayed

's War 3 Drive Swayedread more

View Article


Ejabberd's salt (SCRAM) breaks mod_rest

I discovered that passwords were being stored in the clear in postgres and have since moved to 2.1.11 to enable the auth_password_format scram:{auth_method, internal}.{auth_password_format, scram}.this...

View Article

General Ejabberd Debug Shell Question

I am trying to test a function in a module ive been making, it works fine when ejabberd is running, but id like to test it directly:-spec get_acct(#jid{}) -> string() | {error, atom()}.get_acct(JID)...

View Article

How to test ejabberd modules (gen_mod + gen_server)

I implemented some ejabberd modules (using both gen_mod and gen_server behaviour). These modules are loaded into ejabberd supervision tree and seems to work in shell but I would like to test them in a...

View Article


a few issues in mod_vcard_ldap - photos and phone numbers

mod_vcard_ldap is, somehow, giving my photo types "png" according to debug output, even though I have this code:ldap_attribute_to_vcard(vCard, {"photo", Value}) ->    {xmlelement,"PHOTO",[],[...

View Article


mod_log_chat

Hello prompt logs may record only specific contacts? or write to a log administrator Jabberd servera?or may have a different module bolie flexible settings?

View Article

start module failed and report opcode failure

Dear Experts, I have two ejabberd server and want them to be a cluster. One server has erlang version R15B01 while another is R15B02. I have a custom module called mod_global_roster_writefile.erl It...

View Article

mod_archive doesn't get messages

Hi everyone,I have a problem with mod_archive. I configured this ( http://www.ndl.kiev.ua/content/mod_archive_odbc-release ) release and it looks like work well. It records messages on archive table.To...

View Article

pass token for user

Hi I am beginner of ejabberd,I created a mod_offline_pushnotification module extension to call an external php for users offline. Now I need to pass to this php a token. This token should be passed...

View Article


mod_rest doesn't respond

Here is my config: {mod_rest, [ {allowed_ips, [ {127,0,0,1} ]} ]}, {5280, ejabberd_http, [ {request_handlers, [ {["rest"], mod_rest} ... when I post wget http://127.0.0.1:5280/rest/ --server-response...

View Article

offline_message_hook: does not get called when one sends an offline message

I am developing, chat application for android using ejabberd as XMPP server. I want to send GCM push notification, when user is offline. For that I am creating new module in ejabberd, registerd...

View Article


how can I get StateData and replace this value in mod_muc_room

hi! I need to change StateData of the room in mod_muc_room.erl from ejabberd_c2s.erl. I mean I have to change StateData of each room this user is connected if he changes his presence,for example.so, in...

View Article

Kick/ ban module?

Does a kick/ ban module exist for ejabberd? Particularly one where the blacklist can be controlled via an XMPP IQ? I'd like to limit the number of messages a client can send, and put them on a ban list...

View Article


Compile gen_mod (2.1.13) gave error: gen_mod.erl:49: bad attribute

By following guide http://www.ejabberd.im/ejabberd-contrib, I checked out ejabberd modules and when tried to compile a module (any), it gave me error: ~/ejabberd-contrib/mod_admin_extra# ./build.sh...

View Article

Modules not working because of change in logging framework

None of the examples of custom modules like mod_logxml etc work with ejabberd 2.1.13 -- and the issue with the logger change to lager. I tried to use the logger.hrl which encapsulates both types of...

View Article

Module: mod_logxml not writting /log

We have successfully installed mod_logxml and it is generating an xml file, but the xml file will not rotate when set amount of packets is reached. We have tried setting the mb, but we get the same...

View Article
Browsing all 56 articles
Browse latest View live