HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Re: how to get correct site url when using javascript
You can retrieve the root-relative path of Vanilla with gdn.url('/');. This will work even if Vanilla is in a sub-directory. For your image, you can do: document.getElementById("Body").style.backgroundImage = "url(" + gdn.url('/themes/Elegant/design/images/nontransparent/1.png') + ")"; "gdn" is a global library that is… -
Can't disable Private community
I installed the private community but later changed my mind and disabled it but when a non logged in user clicks on any discussion it still redirects to login page. I have deleted the plugin folder but it still redirecting... Please I want to completely stop the redirecting and make my forum public again so that any body… -
Manipulating post output?
I was trying to manipulate the contents of a post before it is displayed to the user. Basically what I am trying to do is similar to emoticon processing of old before unicode-emotes, i.e take a certain code phrase and replace it with a text string plus an image and some html formatting codes and display it inline in the… -
Re: A very handy plugin
Adding an inform sprite to the body of a message causes it to be rendered on page. Since the class uses absolute positioning, it is placed in the upper left hand corner of the screen. Would something like 'Disable Maintenance Mode.' with a more visible icon be more intuitive? I was trying to avoid using more than one line… -
Re: No custom CSS plugin?
-
Vanilla's New Discussion editor
Vanilla V 3.0.2 Using Vanilla Keystone Theme 2019 along with browsers Internet Exlorer, Google Chrome and Firefox from my Windows V7 destop. I'm finding that the New Discussion body window cannot be entered. My pointer just hangs up there with its hour glass symbol. However it does work if I use my Opera browser. Has… -
Bootstrap Theme, can not be integrated JS into default.master.tpl
I found an interesting photo and video slider to integrate it in my forum. But there is a problem with the JS code «script type="text/javascript"» $(document).ready(function() { $('#slider').iView(); }); «/script» that initiates the start of the slider. «script » «/script» «/body» «/html» it is all right, ok. But after… -
Re: Why is there so much markup in php files?
I wouldn't think so much in terms of markup but rather how you want it look. That said, you can overwrite the discussion row markup by copying this part: https://github.com/vanilla/vanilla/blob/release/2.1/applications/vanilla/views/discussions/helper_functions.php#L91-L197 ...into your theme hooks file below the class… -
Todd: Suggestion for Bonk Page Replacement.
replace error.master.php with this file or something like it. <?php @ob_end_clean(); echo '<?xml version="1.0" encoding="utf-8"?>'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-ca"> <head>… -
Re: How to inject discussions from SQL?
Hi all again, I'm having some trouble, for some reason comments are not showing. I have some questions. What does the ForeignID column do in gdn_discussion? I'm just injecting without that column and as result discussions have a null value. For this table I'm injecting: DiscussionID CategoryID InserUserID Body Name…
250 results