Guten Abend
Ich habe mir das image-browser Plugin runtergelden & nach Readme installiert.
Nun soll dieser Hack einen Botton im Post screen erzeugen,dieser erscheint aber nicht.
Nun hat die WP version 1.2.2 wohl ein limit für solche Bottons & so editierte ich dies :
* Open wp-admin/edit-form-advanced.php with your preferred editor.
Search for 'editcomment'. It should look like:
...
</script>
<?php
if ($action != 'editcomment') {
...
Add a new line between '</script>' and '<?php' to make it look like:
...
</script>
<?php do_action('edit_form_advanced_buttons', ''); ?></p>
<?php
if ($action != 'editcomment') {
Alles anzeigen
das sieht dann bei mir so aus :
</script>
<?php do_action('edit_form_advanced_buttons', ''); ?></p>
<?php
if ($action != 'editcomment') {
if (get_settings('use_geo_positions')) {
if (empty($edited_lat)) {
if (get_settings('use_default_geourl')) {
$edited_lat = get_settings('default_geourl_lat');
$edited_lon = get_settings('default_geourl_lon');
Alles anzeigen
anschliesend machte ich in der wp-content/plugins/image-browser-plugin.php dies :
This will add a new hook to the plugin API. Save the file.
* Open wp-content/plugins/image-browser-plugin.php and set
$ib_use_hack = TRUE; (don't forget the semicolon).
* The button will now appear just below the content area
<?php
// ====( configuration options )================================================
$ib_use_hack = TRUE; // If you don't want to do the hack, set this to FALSE
// For better placement of the button please set this to
// TRUE and read the instructions in the README.txt
// ====( STOP EDITING HERE )====================================================
Und nu is aber der Botton nich da & und ich weiss nich mehr weiter
Ausserdem hätt ich gern noch gewusst wie man die rechte vergibt (CHMOD)
"777" is glaub schlecht :)
vielen dank für eure hilfe
gruss D.P.