TideLog Archive for June, 2013

I’ve been using a heavily customized version of Mandigo as TideLog’s flagship theme for a while, and it’s been perfect, bar a slight layout issue with the footer. However, I upgraded to WordPress 3.0 a while back, but when attempting to block a new page from showing in the navigation bar via the theme’s Theme Options screen I receive an error complaining about permissions. I had to check to see if I had modified anything recently that could have caused these permissions but was unable to come up with anything. I did install a plugin that allowed me to change the default username from admin, but that wasn’t the cause.

Turns out in the changelog that I keep for Kana and myself in the theme itself, the item that made the most sense was the upgrades from WordPress 2.X to WordPress 3.X. Below I describe the error in more detail followed by how to resolve the issue as it’ll likely affect others. Here’s what the error looks like:

you-do-not-have-sufficient-permissions-to-access-this-page

After visiting the internal WP site that Rikku uses for Matsuki Transport, which is still running WordPress 2.x and has the Mandigo theme installed, I noticed the difference was in the URL used to access the Theme Options page. The URL of the site running WP 2.X was “/wp-admin/themes.php?page=Theme%20Options” but in the updated WordPress 3.X the URL was attempting to access “/wp-admin/themes.php?page=ThemeOptions”. Since I knew that I had not upgraded Mandigo the problem must be with the WordPress upgrade as thought previously but instead of modifying WP it made more sense to update Mandigo to resolve the issue as noted below by modifying the theme_options.php file located at the below path.

Mandigo theme_options.php Location:

/wp-root/wp-content/themes/mandigo/backend/theme_options.php

My code snip below shows the original section that we will change in the second code snip below.

Original theme_options.php add_theme_page PHP Function:

// the functions that load the theme options page
        function add_mandigo_options_page() {
                global $dirs;
                add_theme_page(
                        'Theme Options',
                        '<img src="'. $dirs['www']['backend'] .'images/attention_catcher.png" alt="" /> Theme Options',
                        'edit_themes',
                        'Theme Options',
                        'mandigo_options_page'
                );

        }

Updated theme_options.php add_mandigo_options_page PHP Function:

// the functions that load the theme options page
        function add_mandigo_options_page() {
                global $dirs;
                add_theme_page(
                        'ThemeOptions',
                        '<img src="'. $dirs['www']['backend'] .'images/attention_catcher.png" alt="" /> ThemeOptions',
                        'edit_themes',
                        'ThemeOptions',
                        'mandigo_options_page'
                );

        }

Once you replace the original snip of code with my updated one, save the file, refresh your blog, the issue should be gone! 🙂

Comments 2 Comments »

Goes by the name Tori. This outfit was acquired from a fancy dress shop, and looks like it was self made by someone, it is pretty cool, but the logo could do with being brightened up a bit, or remade using CAD. The G (for Galactic) is backwards, so we’re not sure if we should make her the BAD Galactic Goddess, or the good one…. You might be forgiven for thinking her costume is very similar to Superwoman. It is, but Galactic Goddess’s job is to protect the outer universe from alien life, whilst Superwoman mainly focuses on life on Earth. If any baddies get past Galactic Goddess and actually get to Earth, Superwoman will deal with them.I’ve actually come up with a partial storyline for a shoot and video that’s quite unique, involving both messy wrestling, catfighting, and the appearance of my lovely friend Hannah in her Rogue outfit.

Galactic Goddess has always liked Superwoman and has fantasized about fighting her, she decides one day to see if Superwoman can be rubbed up the wrong way, and lets a load of Aliens get to Earth by deliberately oversleeping one day. Keep reading past the pics for more:

Tori-as-Galactic-Girl-1

Tori-as-Galactic-Girl-2

Superwoman starts to question Galactic Goddess’s skills, gets angry at her for slacking, and sets off outside Earth, through Space, to find her and find out what’s going on and why there’s an influx of aliens getting to Earth. Superwoman finds Galactic Goddess in her space cave, they have a discussion, which inevitably turns into a heated superheroine vs. superheroine argument. They start fighting, and Galactic Goddess lures Superwoman towards a pit in her cave, which has a special gunge substance bubbling away. It is Galactic Goddess’s special bath lotion to protect her skin from Alien rays, but it is harmful to Superwoman. Neither heroine knows this until they end up sploshing and fighting in it, still in uniform. Aliens lose their harmful rays when past the Earth’s atmosphere, so Superwoman doesn’t need to be protected from them. Superwoman suddenly starts weakening, screaming in pain while writhing in agony in the gloop. Rogue (from X-Men, Hannah plays her) is Superwoman’s friend, she hears her ultrasonic screams, and runs at lightning speed to find her.

Rogue immediately goes for Galactic Goddess, pulling her out of the gunge pit by her hair, punching and kicking her unconscious so she can help Superwoman. She kneels by the gunge pit, urging a semi-conscious Superwoman to come to her. Superwoman weakly swims through the gloop, and as Rogue is pulling her out and helping her to one side, Galactic Goddess comes round, and pushes Rogue and Superwoman back in, jumping in with them, Rogue’s sexy skintight green and yellow bodysuit and green boots are resistant to alien lotion gunge, so they both fight it out, slopping around, making a mess of each other’s heroine uniforms, and each other.

Superwoman manages to swim through the gloop to the opposite side while Rogue fights Galactic Goddess, she climbs out, and watches from the side, too weak to help, until she realizes if she takes her uniform off she’d be resistant to Galactic Goddess’s gunge bath lotion. This brings its own problems. Not only does she lose her superpowers, she becomes a normal human woman, in just her swimsuit, with only her normal human fitness to help her, which is nothing compared to her superpowers, but she needs to make sure her uniform will not get stolen, so as Rogue and Galactic Goddess fight it out distracted, she slips behind a big rock in Galactic’s space cave, takes off her Superwoman uniform and boots, and slips it under the rock, left in just her swimsuit. Now her uniform’s off she starts to recover, albeit only to human strength, but she knows she has to do something to help Rogue, her best girlfriend. Time to use human Karate skills, and hope for the best…..

You’ll have to wait for the picset and video to find out what happens, but Kana’s already accepted my script ideas. Keep in mind I’ve only just come up with it since we found the uniform, we have other shoots and videos planned first once our site is fully operational.

Comments No Comments »

Unless you’ve freshly installed Ubuntu or Linux Mint Ubuntu & Debian Editions, you’ll probably notice that each time you boot up, the GRUB bootloader menu lists a bunch of previous Linux kernels which you can boot into. While this can come in handy for disasters – if you suddenly can’t boot into the new kernel after an upgrade – those previous kernels, images and modules are mostly just wasting disk space.

While you can manually go into Synaptic Package Manager, search for all the bits and pieces of previous kernels, and mark them for removal, here is a much easier method, thanks to Kana, she’s a Linux consultant and teaches me Linux using Mint, OpenSuSE and Debian. In a terminal, simply paste the following command, and it will remove all but the current kernel (if you’ve upgraded your system, or had an update with a new kernel, please reboot your machine before running this). It will also remove old graphics driver modules for old kernels, and modules related to VirtualBox if installed:

dpkg -l ‘linux-*’ | sed ‘/^ii/!d;/'”$(uname -r | sed “s/\(.*\)-\([^0-9]\+\)/\1/”)”‘/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d’ | xargs sudo apt-get -y purge

Yeah, I know, looks like Geek hieroglyphics, doesn’t it? Kana said she studied the docs for Debian Packager and Apt to get all that! You will see some info about what is going on:

The following packages will be REMOVED:
linux-headers-2.6.35-22* linux-headers-2.6.35-22-generic*
linux-headers-2.6.35-23* linux-headers-2.6.35-23-generic*
linux-image-2.6.32-25-generic* linux-image-2.6.35-22-generic*
linux-image-2.6.35-23-generic*
0 upgraded, 0 newly installed, 7 to remove and 13 not upgraded.
After this operation, 586MB disk space will be freed.
(Reading database … 261863 files and directories currently installed.)
Removing linux-headers-2.6.35-22-generic …
Removing linux-headers-2.6.35-22 …
Removing linux-headers-2.6.35-23-generic …
Removing linux-headers-2.6.35-23 …
Removing linux-image-2.6.32-25-generic …

It will then generate a new GRUB menu, and when you reboot, you’ll see only the current kernel is listed. Kana uses this all the time, she says she’s never had any trouble with it 🙂 Aren’t geeky girlfriends cool?

Comments No Comments »

In the form of Alicia, a Supergirl fangirl! She saw Kana’s advertisement for superheroine models over on Cosplay.com, and she’s come to us with her very own Superwoman outfit, she made it all herself, and she looks an absolute angel. If Carlsberg did angelic superheroines, this is what they’d look like:

Alicia as Supergirl

Awwww, isn’t she super sexily, perfectly adorable? She’s all natural, there’s no Photoshopping involved at all, except from us putting the semi-transparent Kana Photographics logo in. If she looks perfect it’s down to Kana’s awesome makeup artist skills :). The shininess of her costume is real, and is so sensual on her. She made it all herself, it’s made of Spandex with a silk like cape. Superwoman looks best with a tight shiny Spandex costume, as it wraps around her delicate womanly curves. Her bootees are simply leg covers, she’s actually wearing high heeled shoes and not boots, with shiny tights underneath to make her cute slender legs shinier 🙂 I love the way she’s done the S diamond emblem’s background piece with gold rather than yellow, along with the gold on the fake skirt belt. The S itself is made of red leather, and looks spot on. There’s a gold S on the back of the cape which you can’t see in the pic.

To finish off, she has contact lenses in, the light from the lightbox reflected off them perfectly, her eyes look like marbles 🙂 Just hope she doesn’t switch the lasers on at you 😉 Sadly, if we do any messy fights with her, she won’t be wearing this outfit, she doesn’t want to ruin it, which we totally understand, so she’ll wear one of ours 🙂

Comments No Comments »