R_J
AdminR_J Admin
-
Re: How to set the default tab in the profile page
The most intuitive approach would be a rewrite rule but that wouldn't work. Profile routes look like that: /profile /profile/username /profile/comments/username /profile/comments So neither the … (View Post)1 -
Re: Database Manipulation
As I've said "from within a plugin": https://docs.vanillaforums.com/developer/addons/addon-quickstart/ If you want to extend Vanillas functionality, the cleanest approach is to write a… (View Post)1 -
Re: How to retrieve last n inserted users via API
If you are not able to update soon, you can still write a plugin, it is really super simple! Write a plugin with just one method like that (totally untested but should be quite complete): public func… (View Post)1 -
Re: Delete discussion programmatically
The cleanest way is to use the models methods: DiscussionModel::instance()->deleteID will do the trick /** * Delete a discussion. Update and/or delete all related data. * * Events: DeleteDiscussio… (View Post)1 -
Re: How to Set Automatically logout when user is idle for sometime?
Use the pockets plugin to insert it onto your page and try it out yourself. The problem I see is that you reload the page before the timeout. A reload will set back all timers and so the timeout can … (View Post)1
