sushienet
Forum Replies Created
-
in multisite
User-agent: Googlebot-Image
Allow: wp-content/blogs.dir/%BLOG_ID%/files/ ?will not work because the variable
%BLOG_ID%
will not be translated in robots.txt…try just
User-agent: Googlebot-Image
Allow: wp-content/blogs.dir/so the bot is allowd to index all subfolders of
/blogs.dir/
*s
yep, this is a little tricky, because u cannot change this value in the nng-settings (readonly)…
you need:
– basic knowledge of database-structures
– access to a database-admin-tool (usually “phpmyadmin” for mysql-databases)you do (in the db-admin):
- TAKE CARE NOT TO DESTROY YOUR WHOLE WORDPRESS INSTALLATION !
- look for the “wp_options”-table
- edit the row “ngg_options”
- in field “option_value” look for something like
"gallerypath";s:31:"wp-content/blogs.dir/%BLOG_ID%/files/"
and change it to
"gallerypath";s:31:"wp-content/blogs.dir/galleries/"
(or whatever you like your galleries-folder to be) - look for more tables like “wp_**_options” (where ** is the number of your blog, may be several depending of the amount of blog u set up), repeat step 2 + 3 for every wp_option table u find
*goodluck
Forum: Networking WordPress
In reply to: Image Title disappears if not network-admini am having the same problem on WP 3.3.1 with multisites enabled and some plugins installed…
i tried to fix it with “role scoper” to allow “unfiltered_html” for aothrs… but this dindt help ??
since i dont have the time to debug now, i applied “the hack” what works well (till next core update)
*cheers
hi
i’m trying the same… did u find a solution?right now i’m doing a dirty hack:
1. change in “nggallery.php”, line 229:
function define_tables() { global $wpdb; // add database pointer $wpdb->nggpictures = $wpdb->prefix . 'ngg_pictures'; $wpdb->nggallery = $wpdb->prefix . 'ngg_gallery'; $wpdb->nggalbum = $wpdb->prefix . 'ngg_album'; }
to
function define_tables() { global $wpdb; // add database pointer $wpdb->nggpictures = 'wp_ngg_pictures'; $wpdb->nggallery = 'wp_ngg_gallery'; $wpdb->nggalbum = 'wp_ngg_album'; }
so the plugin uses the same datebase-tables for all blogs
2. then manually change the “path” settings in the db for every blog from “wp-content/blogs.dir/%BLOG_ID%/files/” to “wp-content/blogs.dir/galleries/” or so…
*cheers
Forum: Plugins
In reply to: [Plugin: The Events Calendar] All day event vs normal event timesfollowup:
i discovered that in my modified “resources/events.css” i removed the line “.tec_hide {display:none;}” so the jquery-toggle-action started in the wrong state (visible)
after adding the line (resp. switching back to the original css wich comes with the extension) everything works just great
*cheers
Forum: Plugins
In reply to: [Plugin: The Events Calendar] All day event vs normal event timeshi there
i’m having the same bug:
– when i check the option “all day event” the inputs for time are visible
– when i uncheck the option “all day event” the inputs for time gets hiddenseems like the js-action is doing the hide/show just the wrong way?
i testet it on various browsers / os: everywhere the same… is there any fix for this?
jeah, ihad something similar:
somehow the plugin “The Events Calendar” was messing up my category-views and selects, because i had the same category names in different structures (but not the same slug)
something like:
- topcat1
- subcat1
- subcat2
- topcat2
- subcat1
- subcat2
as soon as i changed the categorynames to something unique, the problems were gone…