HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Re: Using external authentication (Facebook/Twitter/Google) with Approval or Invitation registration
Problem #4 took a bit more work to solve. With no invitation field on the Connect form, the Register process would raise an error for the missing code and display the form used for the Password authentication method. To keep from getting to that point, I decided to add the invitation field to the Connect form and validate… -
Re: Potential Pullquotes Plugin.
I also added this to the css because if you use span with colors in the message then the pullquote takes those colors and they do not work with the background color of the pullquote .pullquote span { color: #fff!important;} if you want the quote to be horizontal and take up less room .pullquote {background: #C39733;border:… -
Re: Version Checker for Plugins. R ur plugins up to date and the most recent. This will tell you.
I have used this before but today it will work and get a fatal error.Fatal Error in PHP.ProxyRequest(); Operation timed out after 1001 milliseconds with 0 bytes received The error occurred on or near: /home3/hannahas/public_html/surin-expatsforum/library/core/functions.general.php 1728: $Success = TRUE; 1729: if ($Response… -
Re: Ability to show discussion between a certain date?
Okay so to revive an old thread I have added the following to my plugin public function discussionsController_events_create($sender, $args) { // /discussions/events/2020/04/04?filter=date // Save our passed date arguments $year = intval($args[0]); $month = intval($args[1]); $day = intval($args[2]); // Test it to make sure… -
Re: Working with vf 3.1?
Oh my holy electron ;-) It works! Was that all it needed? - gotta find some time to get acquainted with some code standards. As I have seen commented - it does not have permission control It also seems it is not restricted to the format set in the settings "Time" fields (I thought it would be restricted to the given… -
Re: Vanilla 2.1b2 released
@YoJoe Here is my http (not https - minor difference in fcgi directives required in nginx) configuration for running Vanilla in nginx: location = /directoryname/index.php { include global-configs/php.conf; fastcgi_split_path_info ^(.+\.php)(.*)$;}location /directoryname/ { location ~* /categories/[0-9]*(/.*)?$ { return… -
Re: Very nice plugin!
Number 2: // You already did that in your code.$DiscussionID = (int)$Args[0];$DiscussionModel = new DiscussionModel();$Discussion = $DiscussionModel->GetID($DiscussionID);// That's new:if(!Gdn::Session()->CheckPermission('Vanilla.Discussions.Edit', true, 'Category', $Discussion->PermissionCategoryID)) { // Stop if session… -
Re: First step to writing this pluging?
I would write the plugin like that: * Create a role for "Suspicious" (though I would give it a friendlier name) that has Vanilla Approval Required "permission" checked * Write a plugin that adds a column to the User table "TrustedMember" with default to "false" * Hook UserModels event UpdateVisit and compare the new value… -
Re: Polish polish needed
* You can start online or do it offline, whatever you prefer. I find doing it online more comfortable. * I do not know of a user tutorial * Great! Vanillas Categories can be used in three ways: 1. as a container for other categories only 2. as a container for discussions only 3. as a container for discussions and… -
Re: No Captcha ReCaptcha 0.1.6b breaks registration of V 2.2
Hello, I am also getting the "Invalid keys" error with Vanilla 2.3. I tried the code above and included it this way `if(!function_exists('recaptcha_get_html')){ function recaptcha_get_html ($pubkey, $error = null, $use_ssl = false) { if ($pubkey == null || $pubkey == '') { echo (T('ToUseRecaptcha', "To use reCAPTCHA you…
512 results