Search found 20 matches

by BrokenCrust
Fri Jan 23, 2015 7:13 pm
Forum: Extension Writers Discussion
Topic: [Dev-Change] Extensions New ACP/UCP/MCP Module Auth
Replies: 28
Views: 9205

Re: [Dev-Change] Extensions New ACP/UCP/MCP Module Auth

Well, you have my code for review [hint hint] so help yourself, but yes I must try to learn github (I'm an SVN :D ). These are the two files in question I expect. It works like this, but not with a non empty string for auth. namespace brokencrust\deletemyaccount\ucp; class delete_my_account_info { f...
by BrokenCrust
Fri Jan 23, 2015 3:09 pm
Forum: Extension Writers Discussion
Topic: [Dev-Change] Extensions New ACP/UCP/MCP Module Auth
Replies: 28
Views: 9205

Re: [Dev-Change] Extensions New ACP/UCP/MCP Module Auth

I thought that your "Delete my Account" extension did just that Ha ha. Yes it does. And it works correctly, except as described above. i.e. putting something in auth='' breaks the ext. I am trying to understand why and can not. I am therefore asking if someone else did it successfully for a UCP mod...
by BrokenCrust
Fri Jan 23, 2015 1:11 pm
Forum: Extension Writers Discussion
Topic: [Dev-Change] Extensions New ACP/UCP/MCP Module Auth
Replies: 28
Views: 9205

Re: [Dev-Change] Extensions New ACP/UCP/MCP Module Auth

I'm still not getting anywhere with this. :cry:

Does anyone have a working example of adding a tab to the UCP in an extension with the correct auth settings? I searched about but couldn't find an extension that did this but I expect I missed them.
by BrokenCrust
Wed Jan 21, 2015 8:15 pm
Forum: Extension Writers Discussion
Topic: [Dev-Change] Extensions New ACP/UCP/MCP Module Auth
Replies: 28
Views: 9205

Re: [Dev-Change] Extensions New ACP/UCP/MCP Module Auth

Thanks. The only difference between the two is the line above. In fact if I put any value in there I get this error except when I put something && something then I get an error about an extra &. It can't be an extra ) because there isn't one, either in the name or in the file. I must be doing someth...
by BrokenCrust
Wed Jan 21, 2015 1:05 pm
Forum: Extension Writers Discussion
Topic: [Dev-Change] Extensions New ACP/UCP/MCP Module Auth
Replies: 28
Views: 9205

Re: [Dev-Change] Extensions New ACP/UCP/MCP Module Auth

I am converting an mod to an ext that adds a tab to the UCP. I have the extension working. In the mod the module info file had the auth field set to and empty string. i.e. 'auth' => '', This is working fine in the ext except where the extension is disabled, because then it is still displayed in UCP ...
by BrokenCrust
Tue Feb 28, 2012 8:56 pm
Forum: [3.0.x] Convertors
Topic: Adding a New Setting to the Convertor
Replies: 2
Views: 295

Re: Adding a New Setting to the Convertor

I need to ask for the timezone of the server where the old DF board was located. This is required because DF uses this timezone for the time for posts and PMs etc inside the database, rather than GMT. This may not be the current timezone of the server since the database might have moved to a new hos...
by BrokenCrust
Tue Feb 28, 2012 9:14 am
Forum: [3.0.x] Convertors
Topic: Adding a New Setting to the Convertor
Replies: 2
Views: 295

Adding a New Setting to the Convertor

I would like to add a new input box (a drop-down list) to the convertor settings screen to collect an additional setting from the user for the conversion process. Has anyone done this or have an example of how to do it?
by BrokenCrust
Sun Feb 19, 2012 10:11 pm
Forum: [3.0.x] MODs in Development
Topic: [RC] Delete My Account 0.1.1
Replies: 8
Views: 916

Re: [RC] Delete My Account 0.1.1

Thank you both for the feedback. @ varioles Thanks for the translation. It'll add it into the next release. @ kas5986 It must delete to meet the European directive so deactivate isn't possible. Anyway "Deactivate My Account" doesn't make sense - why would a user want to do that? If you don't want us...
by BrokenCrust
Sun Feb 19, 2012 10:53 am
Forum: [3.0.x] MODs in Development
Topic: [RC] Delete My Account 0.1.1
Replies: 8
Views: 916

Re: [RC] Delete My Account 0.1.1

OK, my bad - I changed my mind about using the install directory at the last minute and then promptly forgot to refresh the zip. This is now fixed and tested. I also fixed the mod version number in the modx file. Sorry I'm still getting to grips with the automod /umil installer processes and require...
by BrokenCrust
Sat Feb 18, 2012 1:33 pm
Forum: [3.0.x] MODs in Development
Topic: [RC] Delete My Account 0.1.1
Replies: 8
Views: 916

Re: [RC] Delete My Account 0.1.0

Sorry I don't understand what this is about. The link is working fine:-

http://brokencrust.com/mods/delete-my-account/

And the download is also working. Tested in FF 10.
by BrokenCrust
Sat Feb 18, 2012 11:56 am
Forum: [3.0.x] MODs in Development
Topic: [RC] Delete My Account 0.1.1
Replies: 8
Views: 916

[RC] Delete My Account 0.1.1

Modification Name: Delete My Account Author: BrokenCrust Modification Description: This mod will add a new UCP tab that allows users to delete their own account. Complies with EU directive 95/46/CE. (See the download page for a full description). Modification Version: 0.1.1 Modification Download: D...
by BrokenCrust
Sat Feb 18, 2012 10:15 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Help with UMIL - adding UCP tab and module
Replies: 6
Views: 834

Re: Help with UMIL - adding UCP tab and module

Thanks, I've sorted it. I knew it would be something obvious. Looking too much at UMIL and not enough at PHP. :oops:
by BrokenCrust
Sat Feb 18, 2012 9:27 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Help with UMIL - adding UCP tab and module
Replies: 6
Views: 834

Help with UMIL - adding UCP tab and module

I would like to add a new UCP tab with a new module under it. so I tried this:- 'module_add' => array(array('ucp', 0, 'UCP_MY_MOD')), 'module_add' => array(array('ucp', 'UCP_MY_MOD', array('module_basename' => 'my_mod'))), Which gives the error ERROR: The parent category specified for this module do...
by BrokenCrust
Fri Feb 17, 2012 11:07 am
Forum: [3.0.x] MOD Writers Discussion
Topic: A Couple of Mod Pre-Release Questions
Replies: 5
Views: 281

Re: A Couple of Mod Pre-Release Questions

UMIL it is then. I guess that's the safest way. More knowledgeable administrators will be able to sort out the moving of UCP modules afterwards themselves and this way I can offer an uninstaller script too. UMIL seems a bit over-the-top for my small mod. I wish automod could take care of modules and...
by BrokenCrust
Fri Feb 17, 2012 9:18 am
Forum: [3.0.x] MOD Writers Discussion
Topic: A Couple of Mod Pre-Release Questions
Replies: 5
Views: 281

Re: A Couple of Mod Pre-Release Questions

Thanks, that confirms the way things looked to me.

Go to advanced search