HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Using a View from within a Module
Preface I tried to clone the categories module (because I want to create a pimped version) and found it exceptionally hard to get it working. Finally it was just one additional line to the module but I'd like to share what I've found out because I haven't seen a nice solution in other plugins that are using modules. When… -
Tutorial: How to Enable a debug log and collect debugging information.
To Enable logging: 1 add these statements to your config.php $Configuration['Garden']['Errors']['LogEnabled'] = TRUE; $Configuration['Garden']['Errors']['LogFile'] = 'log/DebugLog'; 2 create a log folder off of the root folder of your forum e.g. if your forum resides in /forum create a folder (directory) called log give it… -
Re: I have an idea but I don't know how to implement it
Here's a couple of quick ideas for hacking something together without coming up with a new plugin: Role Title addon You could probably hack something together using the Role Title addon, if you're not using it for anything else. Basically you could just have a Verified role (with a unicode checkmark ✓ and everything if you… -
Re: How to modify an old plugin for 2.1
basically the difference is between inheritance and implementation in laymans terms: implementation means there is a class [Class Gdn_IPlugin] that describes a set of interfaces (in this case an interface refers to public methods or properties that can be accessed by any consumer). This class is referred to as an… -
Re: SSO for API v2
I don't think that's the question you really wanted to ask. But if you think so, here is the answer: no, there is no single "sso method". There are standard sso solutions integrated. If you want to use them, your script must speak those standards, too. Otherwise you would have to create your own custom authenticator. Take… -
How to welcome new users to your community
Hello there! Wait, what is this? A new user has joined. What's more, no one seems to know him (or her)! How should you welcome this new user? How will you get to know him? This is a situation all forum regulars, veterans, and admins know too well. A great place to start, in my humble opinion, is by respecting them as a… -
Re: Apache & nginx alternative: Caddy
Funny thing is that I always preferred nginx over apache just because I've heard it is more performant. But now that I discovered caddy I threw away that extra speed for comfort. Since I only have test domains and nothing productive, I never needed to care for speed, anyway. I toy around with a lot of PHP software and… -
Re: Github : stale
I've asked a similar question on GitHub and @charrondev gave a very insightful and detailed answer: https://github.com/vanilla/vanilla/issues/10147#issuecomment-593440556 The most important takeaway from that answer: Closed issues All it takes to "save" an issue is to leave any comment on the issue. It could just be "Still… -
Re: No one is safe, neither html5
I know, I belong to NARAS and they have heavy lobbying to get this and anything that can control how and by whom the products are used. Remember the beginning of cd technology ? The tech was hugely criticized by the content creators because it produced perfect copies of the original since it was digital. Making piracy… -
Re: Social login in guest module
in guest.php view I have next code <?php if (!defined('APPLICATION')) exit(); ?> <?php echo T('Howdy, Stranger!'); ?> <?php echo T($this->MessageCode, $this->MessageDefault); ?> <?php $this->FireEvent('BeforeSignInButton'); ?> <?php $signInUrl = SignInUrl($this->_Sender->SelfUrl); if ($signInUrl) { echo ''; echo…
>1581 results