Recent content by cowgod

  1. cowgod

    XF 1.5 How can I print debug messages in an add-on?

    I figured out I can just use var_dump($variable).
  2. cowgod

    XF 1.5 How can I print debug messages in an add-on?

    I am trying to debug an old add-on in XenForo 1.5. I see that XenForo 2 has these functions. Does XenForo 1 have anything similar? \XF::dump($var); \XF::dumpSimple($var);
  3. cowgod

    XF 2.0 How do you assign a phrase to an add-on?

    Oh! No, I had English (US) selected in the drop down. I switched to Master Language and now I see the Add-on dropdown to select on the Add phrase page. Thank you!
  4. cowgod

    XF 2.0 How do you assign a phrase to an add-on?

    Yes, I am in development mode. The Add phrase page only has fields for Title, and Phrase text, nothing about assigning it to an add-on.
  5. cowgod

    XF 2.0 How do you assign a phrase to an add-on?

    Under Admin->Phrases, you can filter the list of phrases by add-on. However, when you add a new phrase, there is no way to assign it to a particular add-on. If I want to include phrases in my add-on, how do I assign them so they get filtered properly with the drop down on this page?
  6. cowgod

    Custom Addon Development | Xenforo 2.x | Xenforo 1.x | Custom Styling | Migration Services (9+ Experience)

    You did not tell me this. If that was the case, I could have waited until you were available. I asked for a status update, and all you said was "Sorry." I then followed up to ask if that meant you were not going to work with me, and you said "Yes, mate." I then followed up again to ask why...
  7. cowgod

    Custom Addon Development | Xenforo 2.x | Xenforo 1.x | Custom Styling | Migration Services (9+ Experience)

    I was communicating with Fahad to update a plugin from XF1 to XF2. They backed out without any reason given and then ghosted me. I do not recommend working with them.
  8. cowgod

    XF 2.2 Where do we configure the contents of emails?

    Completely missed that. Thank you! (I really think this should be added to the XenForo 2 manual!)
  9. cowgod

    XF 2.2 Where do we configure the contents of emails?

    I am looking to migrate from XF 1 to XF 2. In XF 1, there was an Email Templates system where you could customize what was contained in the subject and body of emails. I can't seem to find this in XF 2. I also can't seem to find anything about it in the XF 2 manual. How do we customize these?
  10. cowgod

    XF 2 Add-on to make the user approval queue work the same way as the report queue

    I would like to know what it would cost to develop an add-on that changes the moderator approval queue for new users to behave the same way that the report queue works. The main goal of the add-on is to provide a way for moderators to discuss whether or not to approve new applications, and be...
  11. cowgod

    Need quote for porting XF1 add-on to XF2

    I had a developer create an add-on for XF1 and I am looking to upgrade to XF2. That developer doesn't appear to be around anymore, so I need someone else to update this add-on to work in XF2. I do not have a very large budget, and the add-on is not too advanced, so I am hoping this can be done...
  12. cowgod

    XF 2.2 Force a custom user field to display in a different location on registration_form?

    I am creating an addon that modifies the registration process. I have a couple custom fields that I want to be displayed or hidden based on other options selected on the form. Is it possible to force a custom user field to be displayed at the very beginning of the registration_form, before the...
  13. cowgod

    XF 2.2 How can I validate the User name field during registration with custom code in my add-on?

    Looks like this works: <?php namespace MyAddon\Registration\XF\Validator; class Username extends XFCP_Username { public function isValid($value, &$errorKey = null) { $isValid = parent::isValid($value, $errorKey); $username = $value...
  14. cowgod

    XF 2.2 How can I validate the User name field during registration with custom code in my add-on?

    That was the missing piece. Thank you. How would I go about creating my own errorKey? I know how to create a new phrase, but would I have to basically copy/paste the entire getPrintableErrorValue function from XF\Validator\Username.php and add it to my own class extension, adding my new case?
  15. cowgod

    XF 2.2 How can I validate the User name field during registration with custom code in my add-on?

    I noticed I put "extend" instead of "extends". I also changed the if check to use !==. Neither of those seemed to fix the issue. Do I have to increment the version number if I change a php file in my src/addons/MyAddon directory to somehow get it to reload?
Top Bottom