Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • davoron

    (@davoron)

    Hi,

    which version of the Plugin are you using?

    I have the same problem on the search page and it took my hours to figure out what the problem is.

    I have broke it down to the “the_posts” Filter and the “showPost” Callback.

    The Problem is that the Plugin, in Version 1.1.4 which I use. removes the posts AFTER doing the database query.

    And with pagination, the query limits the amount of posts returned from the database. So if we ask for 10 posts per page, but the plugin removes all of them because we do not have the right to see them, we get a plank Page.

    What the plugin SHOULD do is to check your access-groups and exclude all Posts from the Database query the current user has no rights to see before they are delivered.

    By doing that, we get ONLY the posts that are meant to be showed and the pagination and all should work fine.

    There are hooks for that AND the Plugin actually has a hook and a Filter in place to do something like that.

    The “showPostSql” Method of the UserAccessManager does check for Posts that should be excluded BUT the method it’s depending on to do it ‘getExcludedPosts’ does return nothing.

    tried it without other plugins active.
    So I think its a problem with the upgraded jQuery in WordPress the Plugin.

    Same here

    I have the same Problem.
    I also want to break the association but want to let the Attachment intact in the Media Library.

    Plugins or suggestions for programming it myself are very welcome!

    Hi GM_ALEX.

    I tried to get the access Group of a specific pages but I don’t get proper responses from your uamAccessHandler.
    I read you plugin code and tried to debug by myself but cant get a step forward.

    I am on a Page and try to find out if the subpages are restricted or not.
    All I got back is a empty array.

    As far as I found out, my page_id is no in the subarray of objectUserGroups[$objectType][$filterAttr] by these time.

    To make thinks short:
    It would be cool if I could get a complete array of all Pages and Users and their group-ids without asking the Database by myself.
    To do so by myself is no problem for me but I think it could be unnecessary if you class have the Data already in it.
    Or does it not have?

    By the way you plugin runs like a charm and expect of the lack of comments your sourcecode is very good to read and I learned some thinks by do so! Thank you for the good work! Donations will follow! ??

    Davoron

    Hi, its also only a workaround but you can resize the player with the css settings for width and height.

    But its realy a bug that also appears in my installation.

    WordPress 2.9.1 and wordtube 2.2.2.

    davoron

    (@davoron)

    Ok its not rely a bug of the plugin except of not printing a error…

    In our case, www-data has no write permissions for the php-tmp dir specified and the open_base_dir hase also not included it for that virtual host in the apache config.
    Because of that, php, WordPress or the NextGEN Plugin fall back to the php-tmp dir specified in the php.ini. But because of the restrictions of safe_mod the function getimagesize has no permissions to access that file.

    We have included our php-tmp dir in the open_base_dir configuration of the virtual host and set the write permissions.

    And than all works fine ^^

    it sound complicated and that I think is the result of my bad English skills but I hope my explanations can help.

    Greetings from Germany!

    davoron

    (@davoron)

    Hey I am close to the trigger.

    Its in the file nextgen-gallery/admin/functions.php
    In version 1.4.3 in line 853 and following.
    The Main problem is line 867.
    The function getimagesize triggers the error.

    Why?

    It looks like a missconfiguration or a bug.
    In my case the temp dir for uploads is set to /tmp/ !
    But in my case WordPress and its plugins is not allowed to write there!
    (And thats a right security behavior!)

    I cant find anything that changes the temp path buts its not easy for me to understand all the code of the plugin.
    Our php.ini is configured right so I think it could be a bug in NextGEN.

    Help is appreciated! thank you

    davoron

    (@davoron)

    Hi,

    i ran in a similar problem, also by getting the “is no valid image file”.
    I run a WordPress 1.9.1 and NextGEN 1.4.3 where I get that Problem.
    And its not important what filetype is given because .png also did not work.

    Its also seams to be a problem with versions of the NextGEN Plugin minimum above 1.1.0 because in that version everything works fine.
    (So all permissions seams to be right)

    The same blog, same server, same anything except of the NextGEN Plugin version of 1.4.3 and the error appears.

    Maybe someone can look into that.
    Thank you guys!

    davoron

    (@davoron)

    Please read the Documentation of the plugin and FAQ and all the Stuff.
    thousands of people have done it before you without asking how to.

    Look at https://alexrabe.de/wordpress-plugins/nextgen-gallery/ and the related Websites

    Its also short described in https://www.ads-software.com/extend/plugins/nextgen-gallery/installation/

    davoron

    (@davoron)

    First of all its never a good idea to disable safe_mode!!
    You provider is doing right!

    Check that the ngg-config refer to wp-content/gallery and not for example wp-content/uploads/gallery.
    Check that the “gallery” directory have the 777 permissions, if you cant create a gallery in WordPress, create the directories by hand, set the 777 permissions and try it again.
    Sounds stupid but most of the problems are little overlooked things.

    Davoron

    its a shit problem ?? search also for solutions

    this new WYSIWYG Editor is a problem.
    It cant be that the code I typed changet over time I saved!
    I have a Page, whith a table, in some <td> i have content like

    Firstname Name
    Position in company

    Tel. E-Mail-adress

    i wrote and saved it… all right

    i edit but do not change it and save… result:

    Firstname Name
    Position in company
    Tel. E-Mail-adress

    i edit but don`t change and save it secont time
    result:

    Firstname Name
    Position in companyTel.
    E-Mail-adress

    and so on!! that can not be!!

    maybe some one have a oppinion, what i can do… I have to use a WYSIWYG editor.. not for me but for the people who use it…

    very thanks for all oppinon
    (sorry for spelling my english-writingskills are not soo good…^^’)

Viewing 13 replies - 1 through 13 (of 13 total)