27th September 2006
In Internet Explorer for Windows (tested with version 6 SP2), if you write CSS code similar to this:
#floatbox
{
float: left;
width: 150px;
height: 150px;
margin-left: 100px;
}
and put your “floatbox” inside a container (such as DIV), you will actually see 200px of the left margin instead of the expected 100px. This problem is known as “IE margin-doubling bug”.
In this post I collected solutions you can use to avoid this problem. The solution I’d recommend is at the end.
Read the rest of this entry »
Posted in Notepad, Programming, Web, XHTML/CSS | 2 Comments »
16th September 2006
I stumbled upon a good tiny widget which allows to “rotate” chunks of HTML code in your sidebar (using wordpress widgets plugin).
You may set up a couple of this rotators for different content types (e.g., text links, banners, google ads), and within each block put a number of alternatives, separated with a standard < --!more-- > tag (with no spaces, of course). Now each time when your page is shown, each instance of AdRotator will show one of the alternatives you put into it. Pretty simple and useful!
Posted in Notepad, WP PlugIns | No Comments »
15th September 2006
Probably you already know and use it – but I started using it just today.
As expected, this plugin is amazing!
It’s main concept is to allow WordPress administrator to use GUI in the admin panel to place new plugins in the arbitrary locations in sidebars (and not only sidebars, but that requires a bit more work), so you don’t have to modify your sidebar.php with each new plugin installed.
The actual power of Sidebar Widgets (aka WordPress widgets) is not restrained by the sidebar – the “readme” file of the plugin distribution archive provides hints and ideas on how this plugin could be used. I suspect that Widgets might become the base for the further development of many other plugins and WordPress core as well.
So hurry to the WordPress Widgets homepage, grab one, and install as usual. You might need to modify your theme, if it doesn’t support Widgets, but this process is well documented in the “readme” and should be fast and easy to complete.
You will surely enjoy this new experience, if you hadn’t yet!
Posted in Notepad, WP PlugIns | 1 Comment »
13th September 2006
Sitting late in the night in front of my PC, and doing something boring, I stumbled upon the albinoblacksheep website. The two things I read were Cyber Sex (with a kind of follow-up) and probably old but anyway funny Automation: A Way of the Past – I liked that, so here’re the links .
And if you’re Star Wars fan – you MUST watch ASCII Star Wars, for the Force to stay with you
I didn’t read anything else there, but looks like a funny resource.
Hope you will enjoy
Posted in Notepad, Web | No Comments »
8th September 2006
Post last updated: April 18, 2010.
Now there is a Drupal 6.x module available. It is in no way related to the migrate script(s) below.
The newest script version migrates from PHP-Nuke 6.5 to Drupal 5.x.
Download the latest version of the migration script.
In 2002 I set up a PHPNuke-6.0 – based portal. Eventually it died due to the lack of time investments and support from collaborators. Now, when time came to revive the project, I made a search and decided to use Drupal as a base CMS for the portal.
In order to migrate userbase from an old portal to the new Drupal-powered one, and following the topic at drupal.org, I found a script and its modification.
I used it to migrate only users, and made some cosmetic changes:
- added options for custom phpnuke table prefixes
- default user name is now = uname (login), not ‘temp_name’, as before
- I replaced hard-coded links to ‘migrate.php’ with links to $_SERVER['PHP_SELF'], so that if you rename the script you don’t have any problems with that
- now forum topics should not be promoted to the main page (changed 1 to 0 as hinted by Alexis)
Finally, I would like to thank both Karthik Kumar for the original script and Alexis Bellido for the 6.0_to_4.7 modification.
Read the rest of this entry »
Posted in CMS, Drupal, how-to, PHP, Programming, Web | 77 Comments »
4th September 2006
This plugin is expected to increase the coverage of your blog by Google. You will have to register for the google sitemaps tool (which is free), that will be easy if you gmail account. In short, sitemaps let google know which pages your blog/website has, so that it can crawl everything (read more).
This plugin automatically generates blog sitemap each time you create/update a post or a page. This is a must-have plugin, especially if you’re crazy about SEO
Posted in Notepad, WP PlugIns | No Comments »
26th August 2006
Citing RyanConnect: “WP-ContactForm is a simple drop in way for users to get in touch with
you. Its easy for any WordPress user to add this functionality to their
site. Just upload two files and change a few options in your admin
panel and you’re set.”
I can only prove the citation. So now you can contact me, too :).
Posted in WP PlugIns | No Comments »