HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Auth issues with API v2 requests
hey, friends. i'm in trouble with auth and POST requests on API v2. i generated a personal access token with an user which has all permissions on my forum. GET requests are completely ok only when i use query string auth, using HTTP Header it doesn't work. when i try POST, both auth methods don't work too. this is my first… -
Re: Categories keep showing as unread when everything is read
Sorry just to note i am using the plugin "CategoryUnreadPhoto" When looking at the code it seems to use this code to determine if the category is read or not public function categoriesController_render_before($sender) { foreach ($sender->data('CategoryTree', []) as $id => $category) { if (!$category['Read'] &&… -
Re: BeforeRegister event question
The code looks perfectly okay. I've used that event in a small plugin as well. Delete the /cache/addon.json file and retry. Some odd behaviour which had occured to me a very few times in the past have happened when I was pasting code from somewhere: I had to retype the code! If in doubt simply manually reenter: public… -
Re: Thoughts about separation of discussions and comments
No question and I already had that SQL ready: SELECT d.Announce , d.Attributes , d.Body , d.CategoryID , d.Closed , NULL AS CommentID , d.CountBookmarks , d.CountComments , d.CountViews , NULL AS DateDeleted , d.DateInserted , d.DateLastComment , d.DateUpdated , NULL AS DeleteUserID , d.DiscussionID , NULL AS Flag ,… -
[V3.3] PM error post-upgrade - how to fix utility/structure output?
Hi there, Yesterday I completed an upgrade / server transfer for a forum that I'm hosting for some friends. We moved from Vanilla 2.1.9 (using PHP5.6) to Vanilla 3.3 (using PHP7.4). I have managed to get most things up and running and most things are working okay, but I am running into some issues around PMs working. They… -
How do I style Rich Editor Quotes in Posts
Good morning, I have just converted my from PunBB to Vanilla 3.3, all is going well so far however I am struggling to style the embed quotes. I have used the following which changes most of it except for the user content (colours are not final and just to make sure I can see what has changed! .embedExternal { border:… -
Incorrect date value: '0000-00-00 00:00:00' Solution....
Just as a FYI to anyone that is using Google Cloud SQL as their database for Vanilla make sure you set a database flag for SQL_Mode to include ALLOW_INVALID_DATES. You can do this from your Google Cloud Dashboard and look at your SQL instance and edit the flags. Vanilla does a lot of calculations based on if a date is… -
Addons page - Strange filter behavior
A couple of days ago I uploaded my first Vanilla1 extension to the Addons page. (Edit Buttons - http://vanillaforums.org/addon/492/edit-buttons) When I view the default Addons page, I see my extension listed. If I deselect "Vanilla 2" I see a filtered list of all the Vanilla 1 extensions, but mine vanishes. If I deselect… -
Advice on mass category update. Does this code logic and plan look correct?
I want move discussions to one distinct category based on criteria must meet all these criteria. * discussions has 0 comments * discussion is not an announcement * discussion is older than two days the guts of the plugins are this. admin clicks button in dashboard that calls this routine. Does anyone see an issue with this… -
Re: Removing old roles when promoting?
Thanks for using the plugin! although I probably changed a thing or two If you are talking about general improvements, feel free to submit a pull request :D When a user is promoted, roles associated with the previous rank should be automatically removed. I guess in your case "New Member" is not associated with any rank.…
512 results