-
Posts
15,289 -
Joined
-
Last visited
-
Days Won
436
Everything posted by requinix
-
Do you have already have a concept of posts inside threads? How did you manage that?
-
How to create a self-signed certificate with OpenSSL?
requinix replied to dil_bert's topic in Miscellaneous
Reminder: these forums use Let's Encrypt certs. They last for 3+ months and we have a cronjob that automatically renews when needed. A free cert that I never have to worry about expiring and renewing by myself is amazing. -
How to create a self-signed certificate with OpenSSL?
requinix replied to dil_bert's topic in Miscellaneous
You can generate a self-signed cert just for the webserver if you want, but every browser will warn you about it (though they'll allow you to continue anyways). Let's Encrypt is for a publicly accessible website with a proper domain name and DNS setup. -
Database choices for PHP applications
requinix replied to NotionCommotion's topic in PHP Coding Help
+1 to dropping the unique on the ordering. It doesn't have to be unique. Order by it, then by something else (like the ID). It's okay. I prefer PostgreSQL over MySQL and friends. More features. Perhaps better performance. -
Do you get a 404 from the server or a 404 from MediaWiki? Are you following these instructions?
-
Forms help - Confirmation page & Sticky checkbox input
requinix replied to zhanos's topic in PHP Coding Help
Before we get to that, would you mind running your HTML through the official W3 validator? Open the page in your browser, View Source, then copy and paste it all into the "Validate by Direct Input" section. If you see any error messages, fix what they talk about. Then come on back here and post what your revised code is. -
On the common parlance side of things, typically "index" emphases that it's related to searching while "key" refers to it being an identifier for a record. Like, if your table has a user ID key then it should also have a user ID index.
-
That's so Hufflepuff.
-
different logins for different directories - one landing page
requinix replied to ajetrumpet's topic in PHP Coding Help
Apparently CPanel has something to help you out with that part. -
PHP pages updates slow to reflect in browser
requinix replied to PatRoy's topic in PHP Installation and Configuration
According to the opcache.revalidate_freq setting, your server is only looking for changes to PHP scripts once every minute. I think that is a reasonable amount of time. Can you do your development and testing locally instead? That really is a good practice to learn, and you should be doing it regardless of this caching thing. -
Making a simple Marker is pretty simple. Check out the documentation and get just one marker on the map. It doesn't need to be real data. You can even hardcode the location. Get the basic marker there, then perhaps also work with the settings to customize it to look the way you want. Then add the popup tooltip functionality to it. Again, hardcode the information. Work with it, customize it, etc. Separate from that is getting the GPS data onto the page in a useful way. Do you have the map set up on the page yet? Where you want, how you want it? I don't see it in that index.php page...
-
Take a look at the syntax highlighting of the code you posted. In the first few lines, some of the highlighting is wrong. Can you see why?
-
Bug: Using quote creates nested quotes
requinix replied to SaranacLake's topic in PHPFreaks.com Website Feedback
A new line being the thing that is created when you hit Enter on your keyboard. Like I just did right now. -
Sounds good to me. Assuming you want multiple categories applied to each blog post, that is.
- 1 reply
-
- 1
-
-
Have you written the Javascript code necessary to add one marker to the map?
-
Bug: Using quote creates nested quotes
requinix replied to SaranacLake's topic in PHPFreaks.com Website Feedback
Bad news: no, the configuration I was thinking of has since been removed so it can't do what I thought it might have been doing. Good news: I found what I'll do for the next April Fool's Day prank. I have seen issues with quote blocks on other IPB 4 sites. And I do what Barand says: add a newline and move the quote above it. -
PHP pages updates slow to reflect in browser
requinix replied to PatRoy's topic in PHP Installation and Configuration
Can you post/link to your phpinfo()? -
Database choices for PHP applications
requinix replied to NotionCommotion's topic in PHP Coding Help
Back up. What issues with unique indexes? -
$(document).ready(function(){ became function added(){ Right? You modified that line at the beginning of the code to turn it into a function. Did you also take a look at the end of the code to see if that needed anything modified too?
-
If you're asking how it's done, typically either position:sticky or position:fixed. CSS.
-
I see you changed the beginning of the code to be a named function. Did you change the end of the code to match?
-
Okay. How about you write it, then come back and say what it is? Because like I said, depending on what it is, you may not need the subquery.
-
You might not need a subquery. Depends what that "too complicated" query was. So just let us see it.
-
Bug: Using quote creates nested quotes
requinix replied to SaranacLake's topic in PHPFreaks.com Website Feedback
Eh, it's BBCode parsing. IPB doesn't want people doing that anymore. But I'll see if maybe something happened during one of our upgrades - some configuration getting screwed up, something like that. That aside, please don't use quotes for code. You don't need to emphasize what line something else. Just say it. The little bit you gain from pointing out a particular line isn't enough to lose out on the monospace and syntax highlighting. -
Bug: Using quote creates nested quotes
requinix replied to SaranacLake's topic in PHPFreaks.com Website Feedback
Screenshot of the post submit textbox thing before you submit it?