Skip to main content
Recent Posts
31
Addons / Re: Adding Hooks!!
Last post by Frenzie -
Yeah, the debugging functionality to see all hooks is really useful when writing mods.
32
Bug Reports / Report Personal message
Last post by radu81 -
I tried here and also on my forum to report a personal message, but I gen an error, see the attached image. Is this a bug?
35
Support / mailinglist option settings
Last post by adiluca2000 -
Hi,
Can anybody explain in plain words what are the settings for the mailinglist like option? What exactly should I change and where on the server? I mean I need the members to receive forum notification and reply through email and post in the forum.

Thanks.
36
Addons / Re: Adding Hooks!!
Last post by Spuds -
Also we have the "generic" _before and _after hooks that get called via the dispatcher.  You can always turn on debug and then see the list off all hooks that were called to create a page.
37
Addons / Re: Adding Hooks!!
Last post by emanuele -
Hi @disputes and welcome to Elk.

Regarding the login, there is already:
* integrate_verify_user (that is probably the best place to check if you want a user to be logged in or not), and
* integrate_login (that is exactly at the beginning of doLogin, most likely the one you are looking for).

I'm all for way to extend the core without having to edit files, login is just one of the most... less straightforward parts of Elk, so I'm always a bit wary about touching it. lol
39
Custom Themes / Re: Themes questions
Last post by omBre -
Just to Say Hi All ... and ask regarding this earlier dilemma quoted bellow my question > can I integrate in the Portal Page an animated menu via php or html code from Adobe Muse, as easy and fast way to get animated menu through adequate muse plugin!?

Gooey Menu Widget from Muse - https://www.youtube.com/watch?v=DgXlu_ga2QE

    is there option in ElkArte to have welcome page as main page through which as I said main page will be animated menu through which one can choose between different areas 1.forum 2.portal 3.blog 4.gallery 5.download 6.chating 7.map 8.audio section

    just to add, I dont want animated menus, but separate first/home page with slogans, friends, greetings etc. where in its center on top there will be animated menu linked to the board menu strings
[/list]
40
Addons / Adding Hooks!!
Last post by disputes -
What's the general thought on adding or modifying hooks?  I'm looking at 1.1 and all the code edit mods I have to update and hoping new hooks would make it easier but not finding them.  First example I'm looking at right now is I add additional info in the function loadExistingMember which is called from action_login2.  Sure, I could hook onto the end of login2 except I actually check that information to make a yes/no decision on the login and doLogin would already be called. 

So a last hook before doLogin that would allow me to set a failure variable checked before doLogin was called as well as set $context['login_errors'] would be nice.

A lot of the other changes are still in Post and all the is_allowed type stuff.  I haven't checked, but have hooks been added to all those functions to modify their results?