HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
How to get value of Comment body before user posts?
-
Re: Error when deleting a comment
The usage of $Sender->Discussion->Body causes the error. So you have to do 2 modifications to the plugin in order to get it going. First search for this: // og:typeif(strlen($Sender->Discussion->Body) < 1){ and replace with that // og:typeif (isset($Sender->Discussion)) { $Description = $Sender->Discussion->Body;} else {… -
Re: Frequently Asked Questions
- 13 Is it possible to show the actual text of a new comment in a notification? Yes it is a config setting. you can add config statements to /conf/config.php which adds text of body, instead of just a link to forum. $Configuration['Vanilla']['Activity']['ShowDiscussionBody'] = TRUE; // True includes discussion body text… -
Re: How to change the default front size.
-
Re: QuotedMentionUserImageRecognition Plugin Coop
ok I came up with an idea for this, since there is no specific class for the link of the author besides quote Author and that only happens after being quoted, it is a temporary state and the only constant is the link to the user profile the quoted author. UserPhoto calls the user photo so that is not working. What if I can… -
Re: Snippet Plugins
-
User logged in or out?
In the old Vanilla, the body tag had classes of "UserLoggedIn" and "UserLoggedOut" that could be used to determine if the user was logged in or not. How do you do that in the new Layout Editor (Foundation theme) - where the body classes no longer exist and everything in the HTML component is buried in shadow DOM? THanks. -
Flyout close and unneeded ULs
It seems for Flyouts (e.g. cog menu) to close by clicking elsewhere on the page, the content of the page must be wrapped in something with id 'Body' - The 'Flyout' is controlled in /js/global.js which contains the following line around line 809: $(document).delegate('#Body', 'click', function() { This theme doesn't have… -
Error when posting a comment with a smiley face
Hi! I have a problem when posting a comment with a smiley face. Error writing to the database Incorrect string value: '\xF0\x9F\x99\x84"}...' for column `forum`.`GDN_Comment`.`Body` at row 1|Gdn_Database|Query|insert `GDN_Comment` (`Body`, `DiscussionID`, `InsertUserID`, `Format`, `DateInserted`, `InsertIPAddress`) values… -
Re: how to update pre tag to code tag in DB
UPDATE GDN_Comment SET Body = '<code lang="php">' WHERE Body = '<pre lang="php" line="1">'; This is wrong becuase you are saying the entire body is is <pre lang="php" line="1">, and the entire body is to be replaced You want UPDATE GDN_Comment SET Body = REPLACE(Body, '<pre lang="php" line="1">', '<code lang="php">') WHERE…
250 results