RossMitchell
Forum Replies Created
-
Forum: Localhost Installs
In reply to: Connect to WP on RPI from Internet with IPWhat you want is certainly possible, however I question the wisdom of hosting a public facing server on your own network.
Congratulations for getting so far.This is a short term solution.
Say that at the moment that your ISP has assigned ip address “w.x.y.z” to your modem/router.
In your “hosts” file, details here: https://en.wikipedia.org/wiki/Hosts_(file)
add two lines like:w.x.y.z mydomainname.com w.x.y.z www.mydomainname.comThis works because most web browsers consult the hosts file before using the DNS system to resolve a name to an address, if you are using one of the browsers that don’t do this you are out of luck.
You will have to edit these lines every time your ISP changes your assigned ip.
Longer term you will need one of the dynamic dns solutions. Some routers provide support for this.
- This reply was modified 5 years, 5 months ago by RossMitchell. Reason: clarification
Forum: Developing with WordPress
In reply to: Black Line (Box) Around Image And Text LinksSuggest that you ask in the support forum for your theme.
Forum: Fixing WordPress
In reply to: Theme not updatingSuggest that you try and install a theme manually. That is:
– download the theme .zip file
– extract it on your own computer
– upload it to your hosting using FTP, possibly FILEZILLA
– login as administrator on your WordPress and activate the theme.Reasons that the WordPress is unable to install its own new themes include having the wrong file and directory permissions.
Forum: Fixing WordPress
In reply to: How to whitelist a specific admin account for wp-admin for captcha?This would have to be done in javascript. Hence your logic would have to go out to every browser attempting a login. Unless you get tricky you would be telling anyone who cared to look that this specific user was a high value hackable login, not a good look. Rather than compare on username, do some hash on it and compare it to a known hash, would deny hackers an obvious target.
Forum: Fixing WordPress
In reply to: Removing homepage link from footer in Maywood themeFirst get into your browser’s browser inspector and look into your footer section.
You will find a widget area which will be easy to customise.
You will also find a “class-info” classed div that has your homepage link and an empty link too.
If you create a child theme you will be able to customise the footer section.
On the other hand you could seek support from the theme authors.Forum: Localhost Installs
In reply to: WordPress in virtual box don’t display rightHello again,
Now that your issue is resolved, please mark the thread as resolved.Forum: Localhost Installs
In reply to: ERR_TOO_MANY_REDIRECTS after replacing routerSince you are on localhost, the network traffic is not going through the router, it can be discounted as not relevant.
What else have you changed in your website hosting configuration ? Especially the apache site configuration.
Your wordpress installs each contain a “readme.html” file, concentrate on getting it to display correctly at this stage before working on the WordPress configuration.Forum: Fixing WordPress
In reply to: Front page address did not change after URL changingIn your menu editing page (Dashboard > Appearance > Menus) Add the entry for your HOME page again, and then delete the old entry, remember to SAVE.
Forum: Localhost Installs
In reply to: WordPress in virtual box don’t display rightHello stepdrz,
What are your “site address” and “WordPress address” in your website ?
Chances are that they are some variation on “localhost”, which works fine for the ubuntu machine, but does not work across a network.
Use your browser inspector on your Windows machine, look at the url and address where the browser is expected to fetch the CSS file from. Suggest that you change the “site address” and “WordPress address” to use the assigned IP.Forum: Fixing WordPress
In reply to: Invisible pictures from the theme are mixed contentFind the entries mentioning this file in your database, there may be more than one.
Fix them there, maybe the data will be serialised in which case adjust the field length counts as well.Forum: Localhost Installs
In reply to: Defualt themes have no CSS after insatll on MAMPVery likely it is that your WordPress address and Site Address do not match your Apache web server configuration, hence the browser is unable to fetch the CSS file.
Use your browser inspector to view the page header in your site, check that the address given for the css file works.Forum: Everything else WordPress
In reply to: Plugin to calculate fields, store in DB and show a chartI am sure you will need to write your own.
This plugin: https://wordpress.org/plugins/wp-csv-to-database/
gave me lots of tips on how to do things including doing SQL, create a plugin etc, mind you you should also readup on using “prepare” when creating SQL statements dynamically.
Custom tables are easy to deal with, just name them explicitly, create them with phpmyadmin. You can take many shortcuts when it only runs on your own site.To me it looks like your biggest challenge is how to render the chart. Tricky in PHP, so put the values into a javascript routine and have it rendered in the browser.
Forum: Developing with WordPress
In reply to: insertion of data on website to SQL databasesI have done this many times on different projects.
Other approaches are:
– Add custom page templates to your theme, in these you can write your own PHP code, populate forms and put templates behind submit buttons to update databases. OR use AJAX to stream updates to database tables.
– Write a plugin that registers shortcodes. The shortcodes do what was described above.
OR combinations of the two.
I found this plugin helpful in developing my ideas:
https://wordpress.org/plugins/wp-csv-to-database/- This reply was modified 5 years, 6 months ago by RossMitchell.
Why are using photos of the Sydney CBD ?
This looks like a “bug” in the media handling of your theme, when it is in your browser on your IPAD in landscape orientation then some CSS gets it wrong.
I can see this happen when it is narrower than 768 pixels.
Suggest that you:
– try different browsers
– ask in the support forum for your themeForum: Localhost Installs
In reply to: production server to localhost permalink differentThat changing permalinks breaks you localhost site is a worry.
Suggest that you check that the apache module “mod_rewrite” is enabled on your localhost.
Save this php page and it will tell you this, and lots more. On localhost this file is safe, but if you ever put it up on accessible hosting make sure it has an obscure name, some of the details it displays could assist a hacker.
PHP file, call it say “LHphpinfo.php”<?php phpinfo(); ?>NOTE that there is no carriage return on the last line.