There is a way to use cookies to show the debugger in SMF. This does require modifications of your code and generally is being used for positioning in customized site setups First off, you will need to place some code on your site. You can use $context[‘user’][‘is_admin’] to hide and show it. You will need …
Tag: SMF
SMF Using Nginx to enable special variables
I came up with this little trick while working with my SMF installs. I wanted to be able to present $db_show_debug to myself but not others. There are many ideas involved in this including waiting until we loaded enough of the user profile to check if they are a admin and then enabling it. However …
SMF 2.0 with PHP 7
SMF does not officially support running version 2.0.x with PHP 7.0. This is due to PHP removing the mysql library in favor of more secure MySQLi library. To get around this if you have root access to your server, you could manually build in the old mysql library functions. Or you know, build compatibility functions. I’m …
SFTP, SSHFS, VPN + exportFS, and WebDav.
While working on some code, I needed to get something I could access much faster and much easier than my current methods. So after some testing, I’ve come across a solution. I started with my simple SSH session. This proves to not be so helpful when editing multiple files or needing to move around easier. …
Pastebin rewrote
I have taken my original code I wrote for my SMF powered pastebin and rewrote this script. This was a massive rewrite from the original code and hopefully it works out well for anyone else who is looking into using it. I wrote it so it should be plugable with different databases, user information and …
SMF Package Manager Generator
Hello, Originally I had wrote my original SMF Package Manager Generator a few years ago. It was sloppy coding, poor JavaScript and relied heavily on the server. Not my absolute best work, but was something I was proud on at the time from my efforts to dive into JavaScripting. However, todays times are different. So …