I have been working on porting an old VB4 forum into XenForo 2.1 and one of the things the owner called for is their custom newsletter system to be ported over. It was basically a single php file running on unix cron that did a hacky read of the VB4 database of users, grabbed their email, and...
Hey there, just curious if the src folder needs to have certain permissions set (i.e. 0755 or 0777) for zip addon installs to work? i often get error messages when installing addons via zip archive:
"Not all files are writable (example: src/addons/SV/ConversationEssentials/hashes.json). Cannot...
In the following file :
theres a check on line 38 that fails
If "mappings" is not in the $config array, it will throw an "Undefined Index" error
I've fixed this on my copy by changing it to :-...
I sometimes need to make a quick modification to a template in an addon, but then to bump the version ID I need to RDP in to the server, fire up the command line and run a script. In XF1 it took seconds to make a quick version ID bump, but in XF2 it take a few mins each time (which is a pain...
I have the XenStaff addon added to my site (https://visionaryislands.com). When you click "Staff" in the header bar at the top, it redirects you to XenStaff and displays the staff members as it should.
Currently, when you click on "Staff" it will take you to...
If you export an addon, it generates a zip file with a directory and filename that could easily be guessed (or known). This means that if an addon was exported on a live site, it would be possible for someone else to download without permission. Perhaps a random hash could be appended to the...
It would be great if it was possible to export addons via the Admin interface, rather than needing to use the command-line. I often make quick changes to an addon and being able to download the zip with one-click would be a lot easier than accessing a remote server command line (esp. on a...
Hello, i want to do some actions when user save addon settings. For example:
if ($this->app->options()->some_option) //If user click save settings with a specific option enabled
Which class/function do i need to extend?
Hello, that's a repost because @S Thomas said that my first post is simply to long to understand my problem.
Since the last week I'm trying to add a new display location for some input fields in the account settings location.
I want to add for example a new location for a first name. Everything...
I cant use createTable :/
class Setup extends AbstractSetup
public function install(array $stepParams = )
$sm = $this->schemaManager();
I am trying to add a new addon (8MB) here on xenforo.com but it says that my file is too large.
Unfortanutely I can't reduce the size anymore because my addon uses a MathJax library which is huge as hell (its original size was 61MB).
So my suggestion is to increase max allowed addon size...
How do you generate the hashes.json file please, if I try adding/editing my old file due to editing the code slightly it keeps saying this - "To prevent potential issues, please resolve the following warnings before continuing"
"src/addons/xPoster/addon.json": "[hash code here]",
Hello, need to develop an addon for version XF 2
Need to return the notification on profile page, following or not following profile's owner for the member who visited his page.
I do not know why the developers of version 2.0 removed this small opportunity, but users of my community complain...
I noticed that when uninstalling an AddOn the behavior of XF2 differs between Admin CP and CLI.
When uninstalling via Backend, the class extensions seem to be valid until the very last step has passed. In CLI mode this is not the case and you will be given something like "The site is currently...