danixland
Forum Replies Created
-
Forum: Localhost Installs
In reply to: LAMP automated WordPress local environment. Suggestions?Sorry for the late reply,
it depends on how the server is set up. basically if you have the right permissions, aka you can alter the Apache configuration, it should work everywhere.??
Forum: Localhost Installs
In reply to: LAMP automated WordPress local environment. Suggestions?Hello everyone,
I’ve updated the script again, you’ll find the latest code on the branch iss2 and you’ll be able now to execute a complete backup of a VirtualHost created with wp_manager.
I hope this turns out to be useful to someone.. ??
Forum: Localhost Installs
In reply to: LAMP automated WordPress local environment. Suggestions?Just a little update everyone,
The basic functionalities for the script are all working, which means that you’re able to create a cache directory and keep it up to date and of course add, update and delete a VirtualHost.
I’ve updated it so that it’s now possible to use either a single file to keep all the VHost entries for apache, or use a separate directory and add a single configuration file for every site.
If you have a LAMP server where you want to test it, grab a copy from github and give it a go, and let me know if you have any questions or concerns.
I’ll keep you updated on this thread. cheers.
Forum: Localhost Installs
In reply to: LAMP automated WordPress local environment. Suggestions?it depends on how the system is setup, if your system allows you to enqueue a shell script to the user creation routine, my script could be easily modified to setup WordPress for your system.
I have no idea what is running on your server, so I can’t tell if it’ll work right away or maybe you’ll need to make some adjustments to make it work.
Forum: Localhost Installs
In reply to: LAMP automated WordPress local environment. Suggestions?Hello everyone, just a quick update..
The script I’m writing keeps growing and now supports installing and maintaining up to date a local cache with WordPress code pulled from svn as well as a few plugins (those recommended by the developer plugin). The script has also the ability to install and upgrade Virtual Hosts easily.If anyone is interested the script is located on github, give it a look and let me know..
Forum: Localhost Installs
In reply to: LAMP automated WordPress local environment. Suggestions?this all looks like sql stuff to me, if you want to do it on install your best bet is to write a small mysql script and run it after the 5 min setup, this way the database will be populated and you’ll just have to edit those settings that you want to modify.
This is one of the various methods that you have to run a mysql script
mysql -hhostname -uuser database < path/to/test.sql
but you could also run it through phpmyadmin if it is available.
Forum: Localhost Installs
In reply to: LAMP automated WordPress local environment. Suggestions?Just a little update for those interested, I’ve written a bit of code in the past days and I’ve published everything on github, give it a look, it’s almost useless right now, the basic structure for the script is there, but there’s almost no functionality.
Also fool-proofing it is a lot harder than I initially thought it was, there’s a lot of room for mistakes now and I’m trying to take care of all of the possibilities.
Thanks, and as usual, if you have any ideas, I’m listening.
Forum: Localhost Installs
In reply to: LAMP automated WordPress local environment. Suggestions?Thanks for your answer, using virtual hosts is ideal when you have multiple themes to develop/test, of course you could just create different directories inside apache’s docroot and it’s basically the same thing, again you could just setup one WordPress install and load every theme you want to develop or test in it, and just switch between them, but if I could do it so that it’s transparent to the user it’d be much better with vhosts, having everything set up automagically and just having to go to that specific host and start the WordPress 5 min setup.
The link you gave me it’s interesting but relies on CPanel which I’m not going to use, what I’m trying to accomplish is to use bash only to setup everything since it’s something that is installed in every linux box.
I was also thinking about cgi to be able to create a web gui but it’s something that implies a lot of security issues if not done properly and it’s something that can be done later on anyway.
Forum: Themes and Templates
In reply to: theme options validation using the settings api doesn't workHi esmi, yes I’ve read both tutorials and also ozh’s one, actually I started writing my settings page looking at chip bennet’s article as a reference.
I think I’ve done everything correctly, but I know there’s something wrong or it should be working well, the fact is that I can’t find what is wrong..
I probably need to look at it tomorrow with fresh eyes.. ??
Forum: Plugins
In reply to: php mail() vs wp_mail()I’ve solved substituting the standard wp_mail() with the one shipped with the Enhanced Emails plugin by wojtek szkutnik..
I found out this code will be included in core starting from early 3.4 development (as per Ticket #18493), so I thought it was more easy and secure than simply relying on the mail() function by itself..
I think I can mark this as solved now.. ??
Forum: Fixing WordPress
In reply to: Thumbnails@koffer:
look at the link I posted in my previous reply, it’s really easy to add support for post thumbnails.. however, you should upgrade your WordPress install, 2.8.3 it’s a bit outdated ??Forum: Plugins
In reply to: iterating through arraythanks for your reply apljdi, I have to apologize, it was my mistake since I wasn’t passing the correct ids of my sidebars, so
is_active_sidebar()
was obviously returning false..The function works well, so thanks again and sorry for all the noise.. ??
Forum: Fixing WordPress
In reply to: what's the best way to showcase WordPress templates?One thing I was trying to do is add a frame on top of a secondary site, something like what you see at woothemes or at theme foundry…
Is there a plugin that does such things or I’ll have to find a way to do this??
Thanks a lot again ??
Forum: Everything else WordPress
In reply to: upgrade without automated procedureThanks for replying Ipstenu.. may I ask you what kind of approach did you follow for your script?? I’m still planning how to do things and maybe a different point of view can help me sort things differently..
thanks a lot again ??
Forum: Alpha/Beta/RC
In reply to: 3.1-RC2-17330 doesn't adds extra classes to commentsHi Andrew, sorry for my late reply, I’m now testing using the theme unit test, so every comment has been imported from the xml file.
I’m doing this test on a new different server running apache (the previous test was under lighttpd) and using twentyten with the latest svn checkout and comment classes are still missing..
the whole user_id column is 0, so your assumption is correct, but now I don’t understand if that’s the correct behaviour or some kind of bug..
In my previous test (using my custom theme) comments were also imported from an xml file, so this is clearly what makes things break..
How am I supposed to fix this issue??