humaneasy
Forum Replies Created
-
Forum: Plugins
In reply to: [New Plugin] Extreme Video PluginDid you take a look at instructions for inclusion of WMV files at ?
Is this included in 2.3, or in a next version or are they simply wrong? It is not the desired solution but…Best
Forum: Installing WordPress
In reply to: The CODEX themeIs there the MediaWiki theme used here, or something similar in organization of information, available for other FOSS projects?
Forum: Plugins
In reply to: TinyMCE editor, where can I download it?@ sevendotro
TinyMCE is part of WordPress since 2.0 but as it can be higly configured the guys at WP decided to slim it down.
I too miss a few things like un/ordered lists and a few others always visible in the menu but…
Point your browser URL to
yourdomain/wpdir/wp-includes/js/tinymce/wp-mce-help.php
and you will get more help on using the hidden WordPress’s TinyMCE options.
I advise you to ask that friend of yours to give you an hand in costumizing TinyMCE in your WP installation if you really need so.
Samples at https://tinymce.moxiecode.com/example_full.php?example=true
Info on that, since it is just a TinyMCE thing, can be read at https://tinymce.moxiecode.com/tinymce/docs/
Hope it helps.
Forum: Plugins
In reply to: 2 domains 2 layouts 1 databaseBetter explaining Phunky’s ideia as I understood it.
- Two fully hosted domains in the same server
- Two diferent template designs
- One MySQL database
This will mean that, for instance, you will have two full WordPress installations:
#1 at
/home/domainone/www/
#2 at/home/domaintwo/www/
And, for instance, the MySQL database at
localhost
You then create two diferent themes and put:
#1 at
/home/domainone/www/wp-content/themes/yourtheme/
#2 at/home/domaintwo/www/wp-content/themes/yourtheme/
Altough those themes could be completely different they MUST have exactly the same name and the same directory name as you can see above. Else the system won’t work at all.
Set up both domain config files to point to the same database and just run install on one of them and configure it to use
yourtheme
Remember that if you install a plugin in one of the domains you must copy the files also to the other domain.
Remember that users access both domains.
With this you will waste some space but will have two independent websites using the same domain.
Hope that all this options solve your problem without too much problems. Free support from me on this issue ends here. Others may help…
Forum: Plugins
In reply to: 2 domains 2 layouts 1 database- Same webspace
- Different domains (hosted and parked)
- Same Database
It is rather easy. Just required a little “thinking”.
#1 Open your theme’s “index.php”
#2 Replace…
getheader();
by
$whatDomain = $HTTP_SERVER_VARS["HTTP_HOST"];if (eregi("your-HOSTED-domain.com",$whatDomain))
$headerStyle = '/hosted-header.php';
else
$headerFile = '/parked-header.php';if ( file_exists( TEMPLATEPATH . $headerFile ) )
load_template( TEMPLATEPATH . $headerFile );
else
load_template( ABSPATH . 'wp-content/themes/default/header.php');It is usually the first thing on your theme’s file.
Then in each domain-related header file you MUST hardcode everything related to where is the stylesheet since you cannot rely on Bloginfo() function to do that.
This suggestion allows you to future upgrade WP without big effort.
There are surely other ways, of course, but I pointed here some directions. It is always hard and implies coding. Ok!
You have here already a few ideias. Poke around and you surely get something nice for your case.
Forum: Plugins
In reply to: 2 domains 2 layouts 1 databaseAnother option would be to modify slightly the wp-config.php.
I suppose that you have both domains pointing to the same server directory, i.e. one is fully hosted and the other is just parked on top of the first one. I’ll call then Primary Domain and Secondary Domain, respectively.
A small step-by-step for my idea:
- Copy WordPress to your server web directory
- Open wp-config.php and seek for
$table_prefix = 'wp_':
and replace it by
$whatDomain = $HTTP_SERVER_VARS["HTTP_HOST"];if (eregi("your-hosted-domain.com",$whatDomain)) {
$table_prefix = 'yourhosteddomain_';
} elseif (eregi("your-parked-domain.com",$whatDomain)) {
$table_prefix = 'yourparkeddomain_';
} else {
die('This shouldn't never happen!');
} - On Primary Domain you run install WP as usuall
- On Secondary Domain you also run install WP
Altough it is the same application and the same database the modification above will do the trick to seperate installations - On Secondary you install FeedWordpress and properly set it up or you can also use Friends RSS too
- Tweak as much as you need the system to comply with what you want.
- Then you can start posting on Primary Domain.
When FeedWordpress at Secondary Domain pulls the RSS from Primary Domain you’ll have what you wanted, right?
The other option to have only one database and table for both domains but using diferent layouts will required much more coding.
Hope this will help you.