HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Re: when sharing FB it does not give me a choice of sharing
It all worked ok in 2.0.8 so i thought that it's an 2.1.8 problem it the configuration. What I'll try is load there own widget direct, but I don't know how to get it at the bottom of the posts. Do I put somewhere in here? applications/vanilla/views/discussion/discussion.php ?php $this->FireEvent('BeforeDiscussionBody'); ?… -
Re: Default search function not working on basic pages
Basic Pages currently doesn't integrate with Vanilla's search function. The search results view outputs each result with the following metadata: author, author photo, and date created time. These are required by Vanilla's search model, but they are superfluous for pages. I like the idea of having pages show up in the… -
Re: AJAX Form
I've ended with this short script: $( ".BoxQuickDiscussion form" ).submit(function( event ) { event.preventDefault(); var elName = document.getElementsByName('QuickDiscussionName')[0]; var elBody = document.getElementsByName('QuickDiscussionBody')[0]; // Send the data using post var posting = $.post(… -
Re: Replace Homepage with my own content
Also, if you just want to add simple static content without rerouting ... in your template, default..master.tpl there is a nice smarty variable you can use to decide what to show in your homepage. It is $isHomepage You can load an entire new page template design if you want {if $isHomepage} <!DOCTYPE html> <html> <title>my… -
Re: Pulling content of post to show in pocket
I don't see a benefit in using the Pockets plugin. That plugin isn't made for showing dynamic data. This is the code that transforms your pocket into what you can see on your web page: public function toString() { ... $plugin->EventArguments['Pocket'] = $this; $plugin->fireEvent('ToString'); if (strcasecmp($this->Format,… -
The renderExcerpt FUNCTION give a crash
release: Vanilla 2021.011 when click on the Comments in the profile page of certain users, the code cause an error and display "Something as gone wrong". The file that cause the error is profilecomments.php at row 27 there's: <div class="Message"> <?php echo htmlspecialchars(Gdn::formatService()->renderExcerpt… -
Suggestions/issues
I'll be implementing some of this stuff myself, just thought you might like to get some feedback. Viewing your demo site on OS X Yosemite in Chrome. * give the body a min-width, so everything doesn't get all wonky if your browser window gets small * give the panel a fixed width; just my personal preference * I have a hard… -
Re: Event Calendar Beta
I haven't worked really hard on the css but I want it to look like it is shown on the screenshot attached. If there are too many (more than 2, maybe 3) events for one day, there should be a link shown to a daily overview, but that is a php task, not a css one. I would like to show only the title of a discussion and on… -
Re: Bug report: deleting user/blanking content
This is fixed in the beta. Patch below: --- /vanilla-core-2-0-18-8/applications/vanilla/settings/class.hooks.php+++ /vanilla20/applications/vanilla/settings/class.hooks.php@@ -92,11 +92,6 @@ ->Set('Format', 'Deleted') ->Where('InsertUserID', $UserID) ->Put();- - // Erase the user's comments- $Sender->SQL->From('Comment')-… -
Clicking on a Discussion Link takes Signed In Users Straight to Comment Section.
I have a discussion link titled: 'PLEASE READ BEFORE POSTING', at the top of my forum site: https://educativeguides.com When a site visitor (unregistered user) clicks the link, It takes them to the top of the page as shown below. This behaviour is okay. For registered and signed in users, however, clicking on the post link…
250 results