HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Re: Fatal Error in Gdn_Factory.Factory();
I'm also getting a User Model error on a clean install. Class UserModel not found while trying to get an object for UserModel. Check the path .The error occurred on or near: /var/www/vhosts/[domain]/httpdocs/brainstorm/library/core/class.factory.php60: require_once($Path);61: }62: 63: if (!class_exists($ClassName, FALSE))… -
Re: YAGA Feature req: show hidden reactions when hovering over 'and X others' text in reaction record
I have come up with an idea to make your wish come true... The part that you want to display like a tool tip is in the en-ca definitions in the locale folder for yaga . $Definition['Yaga.Reactions.RecordLimit.Plural'] = 'and %s others.';$Definition['Yaga.Reactions.RecordLimit.Single'] = 'and %s other.'; It is here that you… -
Re: VanillaHtmlFormatter: how to customize, add attributes and class
The source for fetching a configuration value is more complex than I wish it was. https://github.com/vanilla/vanilla/blob/master/library/core/class.configuration.php#L344-L364 In particular the explode() in there is O(n). Not a big deal unless you're using it 100's or 1000's or 10's of 1000's of times in a page request.… -
_blank or new browser
Please, can you show me the way in PHP to have the "Leaving" function opening a new tab, or a new window, like using the HTML's attributes "target=_blank" or "target=new_window" , instead to open a page in the same that contain the target link? Thanks in advance! The original code function: <?php if… -
how to put style element in if statement
I am trying to set the class Category-tuts-scripts-pagina-s to display: none if the logged in user is a normal member, and to display it if he is a mod or admin. I tried the following: public function discussionController_render_before($sender) { if (!Gdn::Session()->CheckPermission('Garden.Moderation.Manage')) { // if not… -
Re: Karma Bank - Feedback - Ideas
-
Re: Translation
-
Re: Utility update failed - does that matter?
-
Re: Roadmap for 2.3 and 2.4
-
Re: Username validation
Seems like you are right and I thought that the following declaration $Configuration['Garden']['User']['ValidationRegex'] = '\w\s'; would do the trick but it doesn't. Looks like such basic character like "-" is still not allowed. However, it seems like adding extra \W do the job as it does accept characters like *-+=)…
409 results