brockangelo
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: failed to load URLah yes, samboll, good call. That is definitely going to be the cause.
Forum: Fixing WordPress
In reply to: Change width of blog postsContent Width on line 89 of your style.css is at 58.4%. Adjust that to how you’d like it to appear.
Forum: Fixing WordPress
In reply to: failed to load URLI’d log into GoDaddy and make sure all of your theme files are there. After that, you’ll want to check and make sure that your files have the correct permissions. Read through this article for how they should be:
Forum: Fixing WordPress
In reply to: public entries and intranet/ network private entriesI can’t answer all of your questions, but what you want cannot be fulfilled solely by an intranet. By definition, the Intranet would only be viewable within the company LAN, so outsiders wouldn’t ever have a way of getting to the site, except through VPN.
What you are describing is a public installation of WP with restricted access to content for logged in users. If you want the access to be available without logging in, you might consider a plugin that passes authentication from Active Directory if you are on a Windows network (I’m not sure if one exists). There are some that will authenticate with AD, but I don’t know if you can get one to automatically pass the login with prompting the user.
Hope this helps to clarify.
Forum: Installing WordPress
In reply to: Trying and failing to install wordpress as a CMSIf you go here: https://www.everythingcovered.co.uk/index.html, you’ll see a landing page (pointing to httpdocs/index.html) When you go to https://www.everythingcovered.co.uk it isn’t loading index.html by default – it is loading this other page (it looks like it is called “rzx8PkmV.htm.part.htm” – but that could be wrong).
See if you can set index.php as the default page to load when going to your site.
Forum: Fixing WordPress
In reply to: Cycling through grandchildren pagesI would double check that the return values are returning what you are expecting. Do a print_r on both of your variables to see what it is returning. like: print_r($secondtier).
Here is what I came up with. Let me know if it helps. A word of caution, this loads all top three levels of pages into memory, so it goes dreadfully slow on our intranet (2,000+ pages):
<?php $first_tier = get_pages('parent=0'); $second_tier = array(); $third_tier = array(); foreach ($first_tier as $first_tier_page) { $second_tier = get_pages('child_of'.$first_tier_page->ID); foreach ($second_tier as $second_tier_page) { $third_tier = get_pages('child_of'.$second_tier_page->ID); } } $id = $third_tier[0]; echo get_the_title($id); ?>
I put a sample call at the end of how to fetch a title. Good luck!
Forum: Plugins
In reply to: Calling the Delete method of WP Super Cache from a PHP scriptThat did the trick.
Thank you donncha!I’m curious, will the new function have any parameters?
Forum: Plugins
In reply to: Return to requested page after loginI appreciate that link rexolio. I had set this project off to the side, but now it works like a charm!
Forum: Plugins
In reply to: Return to requested page after loginI tried this on wp-login.php and it looped indefinitely to wp-login.php.
Forum: Fixing WordPress
In reply to: Multiple Editable RegionsCustom taxonomies may be what you are looking for.
https://justintadlock.com/archives/2009/05/06/custom-taxonomies-in-wordpress-28
Forum: Plugins
In reply to: Return to requested page after loginWhere do you insert this code?
Forum: Fixing WordPress
In reply to: WordPress as a CMS…is it possible?“Possible” is a word I would use cautiously here. WordPress is not designed to be a storefront. You may want to consider some of the e-commerce plugins, or installing a store application (like osCommerce) that sits next to a WordPress installation.
https://yoursite.com/store/ (osCommerce installation)
https://yoursite.com/ (WordPress installation)Forum: Fixing WordPress
In reply to: Submitting form to WordPress pageThanks – I was using the post names of “author”, “title” and “description” and was getting this error. I modified them to “ad_author”, “ad_title”, (I’m making a simple classifieds board for our intranet) and that took care of it.
Thanks for the tip! – I would call this resolved.
Forum: Fixing WordPress
In reply to: Using WP On a Local IntranetYou run into this when networks are built with only PC’s in mind… If you open up a console (terminal) on your mac and type “ping intranet-test” you will probably get “Ping request could not find host intranet-test.”
This happens because the Mac doesn’t know how to find Windows-based machine names on the network. I would bet that your PC’s have been finding your site because they are using WINS to resolve the address (a networking service built into Windows). In order for this to resolve on your network you will need to add “intranet-test” as a record in your DNS server.
You may want to investigate this with your Network Administrator. You would want to say: “I’m not getting name resolution on my mac for this network. Can you add intranet-test to resolve to my IP address?”
You might also want to check the network settings on the windows PC (ipconfig /all) and compare them to the network settings on the mac (ifconfig /all). Make sure you are being given the same DNS server, gateway, etc.
Good luck
Forum: Plugins
In reply to: Easy CMS Auto formatter?I haven’t used supple forms, but it sounds promising. I would encourage you to devote 20% of your time on this project to learning Custom Fields combined with Templates. It gives you complete control.
So, for example, you create a new custom field in a test post and call the custom field “Test_Field” with the value of “Test_Value”. In your template, you simply call:
$test_field = get_post_meta($post->ID, 'Test_Field');
You now have the value from the custom field for that post in the
$test_field
variable.Now you need to put this code into a template and assign the post to that template so it will show what you want on the screen. You can find out what Templates you have already in your theme by going to the “Template” menu in the lower right of any post. I would start by duplicating one of the templates, hacking it up a bit, and inserting a call to a custom field so you can at least get the idea of what this does.
Once I understood how this worked, I was stunned. All the sudden, WordPress became something much more powerful than a blog. In fact, in a weekend I put together a website of our community college. Type in a room number (any room number) and the search tells you which lot to park in and gives you a map of the floor and parking lot. Simple, but effective. I used templates and custom fields for the whole job and was done in less than 48 hours. Something like 700 rooms, I can’t remember. https://www.parklandmaps.com Its definitely worth your time. Go until you get that “a-ha!”
Cheers!