Customizing SMF > Modifications and Packages

AjaxChat Integration (latest version 3.2.1)

<< < (3/1806) > >>

Lady Bug:
Does anyone know what kind of bandwidth this Ajax program consumes?

Normano:
I like the mod, if I could get it working
swedish translated

--- Code: ---//Users in chat
$txt['user_in_chat']=' Användaren är i chatten:';
$txt['users_in_chat']=' Användare i chatten:';
$txt['no_user_in_chat']=' Inga användare är i chatten.';
--- End code ---

mashby:
Initially I had this linked in the footer using the Global Headers/Footers mod and it's working great there. I wanted to make this a tab though that works like the PM tab, so if 3 people are in chat, the tab would read CHAT[3]. And with no one in there, it would just read CHAT. I have the tab logic down to accomplish this, but I think I need to globalize the context. At the moment, the context only works when on the FORUMS tab as the context is defined on the BoardIndex.template file (I also have TinyPortal installed, so it's not the HOME tab). Where should I put the code to make the context global?
(I'm running 1.1.5 with many mods.)

mashby:
I ended up putting the code from the code inserted on the BoardIndex source file in the index.template file for all of the themes I have installed. Is there a danger in putting database calls in a file NOT in the /Sources/ folder? It's working like a charm, but I'm left wondering if putting DB calls in a theme file is OK from a security standpoint.

edi67:
intersting i hope to see soon release for smf 2.0 thx

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version