HorrorUK
Forum Replies Created
-
Forum: Networking WordPress
In reply to: New sites URL?Yeah, my brain stopped for a minute there. The installation is sub-folders.
I was hoping to install it on the main domain, as then I could pull info from various sites into the main site, is that not possible?
Forum: Hacks
In reply to: Error in code, but I don't see where🙂 I found the solution:
<?php // Hook for adding admin menus add_action('admin_menu', 'mt_add_pages'); // action function for above hook function mt_add_pages() { // Add a new submenu under Settings: add_options_page(__('Test Settings','menu-test'), __('Test Settings','menu-test'), 'manage_options', 'testsettings', 'mt_settings_page'); } // Add this closing bracket // mt_settings_page() displays the page content for the Test settings submenu function mt_settings_page() { echo "<h2>" . __( 'Test Settings', 'menu-test' ) . "</h2>"; } ?>Forum: Plugins
In reply to: [Kindle This] Kindle This not sending pageThis is working great for me, thank you.
The only thing is that any images come up with the not found error image. is there a way around that.
If anybody wants to try sending to their Kindle from a page that is definitely working, please feel free to go along to:
Forum: Fixing WordPress
In reply to: Show different home page, depending on role?Thanks, I’ll take a look at those two pages and see if it doesn’t explode my brain 🙂
Forum: Plugins
In reply to: [Kindle This] Kindle This not sending pageI added it to my new site last night, and it worked ok.
It worked differently for two different users, the test page was stored in one user’s documents on Amazon, but not the other’s, but it did work 🙂
Forum: Plugins
In reply to: [Kindle This] Kindle This not sending pageThanks Keith, I’ll check it out when you have a new version on here.
Forum: Networking WordPress
In reply to: Users not being signed up to main site on Multisitehmm, a bit of a Doh! moment.
I should have figured that out.
Thanks
Forum: Networking WordPress
In reply to: Users not being signed up to main site on MultisiteThanks Ipstenu.
A relief to know I’ve not done something wrong.
I’m just thinking about if I want to make them an admin on the main site or change their role.
One of the things I hope to do in the near future, is to create roles for writers, publishers, reviewers & readers
Forum: Fixing WordPress
In reply to: adding echo get_option correctlyStill the same problem.
Am I supposed to do something with that page to say that it should be calling from wordpress?
Forum: Fixing WordPress
In reply to: adding echo get_option correctlyThanks, I’ll give that a go.
Just to be clear about how this is set up. This is all in a folder within the plugins folder. There is the main index.php file which holds the plugin code at the top and the code for the admin page, then this file which is within the same folder.
Forum: Fixing WordPress
In reply to: adding echo get_option correctlyThe files have been uploaded, and the error is still there:
Fatal error: Call to undefined function get_option() in /var/www/vhosts/writers-site.com/httpdocs/wp-content/plugins/facebook-tabs-for-wordpress/fbindex.php on line 6
Line 6 is:
$app_id = get_option('tabsappid');Forum: Fixing WordPress
In reply to: adding echo get_option correctlyI’m just re-uploading those files.
The options can be viewed on that URL. That’s a useful thing I didn’t know I could do – the great thing about WP.
Forum: Fixing WordPress
In reply to: adding echo get_option correctlyI think I must be missing calling wordpress in somehow, because of the part of the error message that says:
Fatal error: Call to undefined function get_option()Forum: Fixing WordPress
In reply to: adding echo get_option correctlyHi Esmi, thanks for sticking with me on this one.
I just checked the database, and it is storing the values ok.
Forum: Fixing WordPress
In reply to: adding echo get_option correctlyIn my WordPress admin I’ve set up a page to take two values which are stored as tabsappid and tabsappsecret, and then I’m trying to get those values to to show in the correct sections on this page.