HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Re: Vanilla 2.1.13 - security updates
An alternative thought on your situation Hillfoot. if you don't have some plugin or theme modifying the version in dashboard. The version number in your dashboard at the bottom should be the same version number reflected in your index.php make sure that you have copied the index.php file over correctly from the new… -
Re: Articles Rewrite: Concept
I've been keeping up development of the rewrite and everything's progressing well so far. Articles are essentially discussions that have their Type field set to Article. I've created another table in the database to store article data for discussions. This table is called GDN_Article and it contains these columns at the… -
Re: How the Vanilla dev staff decides important issues
I think the current standards/guidelines should be expanded e.g spacing decision like (· representing spaces) if·([condition])·{}if·([long condition]····&&·[long condition])·{} Do we do? namedFunction(·$var1,·'some string');namedFunction(·$var1,·$var1·);$namedArray['some string'];$namedArray[·$var1·];if·(·$var1·) {} like… -
Re: Hide/Show Pocket Based on User Role
here is another way. <?php if (!defined('APPLICATION')) exit(); $PluginInfo['CheckRoleSmarty'] = array('Name' => 'Check Role Smarty','Description' => "create smarty function to be used in smarty template",'Version' => '1.0','MobileFriendly' => TRUE,'Author' => "Peregrine",);class CheckRoleSmartyPlugin extends Gdn_Plugin {… -
Re: Exporter for Drupal request
Hi @UnderDog! I want to export my Drupal forum into Vanilla 2. I've tried to compose simple mapping table: Table: Discussion Vanilla fields | Drupal source---------------------------------DiscussionID | node.nidCategoryID | forum.tidInsertUserID | node.uidUpdateUserID | node_revisions.uidName | node_revisions.titleBody |… -
API v2 Post with CSRF Token?
Hello, I'm using Vanilla V2021.012 / API v2 I'm still quite inexperienced in dealing with APIs. I can get anything I want from the API using GET. But when I use POST I get the message 'invalid CSRF Token'. <meta name="csrf-token" content="" />string(210) "{ "message": "Invalid CSRF token. Please try again.", "status": 403,… -
Dynamic Posts displayed outside of forum
Ok I have doen this before, using RSS. But seemed very hefty at the time using this method. Plus isnt quite as dynamic as we had wanted. So my question is this: Ours is quite specific, but I am sure many users would find a use for such a script.. perhaps one exists. Brief: display posts externally, based on TAG. Yep, my… -
Re: Redirector do not seems to work on Vanilla 3.3
Hi, thanks for your help. I tried both solution without success. I also try to add a redirect rule directly in the apache virtualhost, and in the .htaccess but I still get a 404 on a the punBB URL. Here is the .htaccess (I use the Vanilla default one) # Original # If you modify this file then change the above line to: #… -
Re: Something has gone wrong. [RESOLVED]
-
Re: Date format problem: year isn't displayed if first
@csakip I think you may need to set in locale.php or definitions.php whichever you are using. try modifying Date.DefaultFormat to see if you get the results you want. e.g. $Definition['Date.DefaultFormat']=''%Y %e %B'; the code - for Date in class.format.php public static function Date($Timestamp = '', $Format = '') { code…
>1581 results