koolmind
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: All my comments are sent to spam listYes, this happens even if I try to disable my plugins.
It’s a very strange behaviour, because all comments posted by another person, using the same user/password are not marked as spam.Forum: Plugins
In reply to: [qTranslate X] Can't get ACF to work with qtranslate-XQuite the same problem for me.
This is my configuration:WordPressv ver 4.1.1
Qtranslate-x ver 3.1
ACF ver 4.4.0I tried to insert the ACF id into Qtranslate X advanced settings panel. If I do this language buttons disappears from my post edit page
I’ve made some tests with simple text fields (example id “acf-titolo_box_1” ) and with complex wysiwyg fields (example id “acf-testo_col_dx”). Same results!
Nothing changes if I activate ACF-Qtranslate ver 1.4 and enable Compatibility Functions as suggested.
If I insert a wrong id, language buttons come back (but off course no custom field is translated)
I solved my problem!
That’s what I did:$myalbum = nggdb::find_album( $album_id ); $mygals = $myalbum->gallery_ids; foreach ($mygals as $G): // list photos endforeach;
I believe there’s a misunderstanding.
Looking for all variables, I found that the only file that contains something interesting for me is \products\photocrati_nextgen\modules\ngglegacy\lib\ngg-db.php
There’s a function called find_images_in_album() that somehow returns the list of the images in my album (I have to test it… not sure). It would be great if this function could list gallery name too!
I believe that all information I need must be found into a controller, not a template file.
Inside /products/photocrati_nextgen/modules/ngglegacy/view/album-compact.php there’s no $album variable. I can only read the $galleries variabile that contains what I need… but I need to know how it’s filled in.
Thanks
I will try… but I believe I’ve not been so clear.
I don’t want to use nextgent templates, I need to use my own fetch function into functions.phpI will let you know asap
Forum: Plugins
In reply to: [Custom Content Type Manager] SQL queries do not work properlyI managed to make it work.
This is my solution… hope this helps:File: fields/multiselect.php @row 255
if ( !$this->use_key_values) {..}
becomes
if ( !$this->use_key_values && !$this->is_sql) {..}
Forum: Plugins
In reply to: [Custom Content Type Manager] Object filtering seems not to workYes. Problem seems the same… but no solution is suggested ??
Forum: Plugins
In reply to: [Custom Content Type Manager] Object filtering seems not to workGood evening.
I’ll try to explain my problem in a better way.I have a custom field called “document” (field type MEDIA).
This field is attached to a wordpress PAGE content.When I create a new page I see two buttons, called SELECT and UPLOAD.
No problem with Upload button, but when I try to select an uploaded object (a pdf for example) I cannot filter my files by name, clicking on the FILTER button I see on the popup screen.
Forum: Fixing WordPress
In reply to: wp_is_post_autosave does not workHi everybody,
somebody told me to try a different way, using one of these two methods:
1. use ‘publish_post’ hook instead of ‘save_post’.
add_action ('publish_post', myfunction) or add_filter ('publish_post', myfunction)
leads to the same situation: nothing is published on facebook
2. using these threee hooks together
add_action('pending_to_publish', myfunction); add_action('draft_to_publish', myfunction); add_action('new_to_publish', myfunction);
leads again to the situation of point #1
any clever idea?