Forum Replies Created

Viewing 15 replies - 151 through 165 (of 172 total)
  • Trebly

    (@trebly)

    Hi,

    The theme is twentythirteen with only some css adaptations. You can reach the site at http://bty-blg1.trebly.net.

    I think it not concerned because I have not changed anything into the style.css before. There are quite no changes into the theme for plugins directly into the theme (only a fixed display of categories and keywords). Fot front-end others that are not involved are classical [plugin <parameters>] for several insertions and the widgets which functions.

    It remains the plugins which changes displays in back-end. On these I have not changed activation but this doesn’t means that there is no effect.

    There is too something not clear :

    Why with permalink structure /%postname% The articles are found and with
    /%year%/%postname% or which any other combinaison they are not.

    What I don’t know how to do for now is to activate-unactivate plugins with only the database. I look at.

    I will deactivate plugins beginning by which can have an action on filtering accesses. (they should have an action after rewrite ?)

    I look in Codex to rewriting process for permalinks

    Best regards

    Trebly

    Note : In my opinion, because there are permalinks with the standard old structure /archives/%postid% the functionality could be that the system accept both the two syntax to find posts. I see only advantages

    Trebly

    (@trebly)

    Hi,

    I don’t think that’s a true “access lock”, but a “no valid” rewriting with no error defined and nothing else, then the blank page. Normally a lock of wp-admin returns to site access or a “access denied”.

    I have not changed any others plugins than SEO, but for motor I changed indexes and accesses of some pages and admin pages (normally can’t be reached anyway) (this to prepare the site start).

    Another way is that the change of permalink can interact with the history (not updated) of previous url managed by a plugin ??? a difficult way.

    In my first way I tried to change the permalink_structure to /%year%/%postname% I get always 404 on the page.
    Too, a fixed path like “/contents/%postname%” lead to 404.
    They should function if /%postname% functions for reading (modify lead to /wp-admin/p=…/?edit=true blank screen too)
    But the changes of read permalink path are reversible.

    Never “wp-admin” leads to anything now… so there is somewhere a parameter used for path analysis which have changed when the first change of permalink occurred.

    I cannot test anything because I have no more admin accessible functions.

    Regardless when I tried to come back to “/archives/%post_id%” I got too 404 !!! and not get back anymore access to the admin pages ?

    The current rights of admin are OK so it is not a problem of access.

    I imagine that the url analysis which can work on “<site>/wp-admin” “<site>/<%postname%> must filter…
    Previously it was filtering <site>/archives/…
    Now the rewrite has to filter wp-admin into all valid names of %postnames%.

    May be if I had fisrt chosen %year%/%postname% I could have no problem.

    Please which is the piece of soft which analyse the url and defines rewriting rules ?
    I will look at and try to set up some “checkpoints”

    Note : on my own server it should be easy to trace, here I am on an exploitation configuration on OVH provider. Migrate for test is a serious job…

    Thanks

    Best regards

    Trebly

    Note : It is now near five am in Paris, I need to go to sleep.

    Trebly

    (@trebly)

    Hi,

    Thanks. I was probably not clear.

    It is not a theme problem. It is truly a path treatment problem.
    since my previous message :
    1- The access to the site is OK
    2- From the access page, as I have defined the option “permalink_structure” =”/%postname%” (one of the standard options) The links to view others articles are OK, but :
    – the /wp-admin lead to a blank screen

    3- a change of permalink_structure to “/%year%/%postname% lead anyway to 404 error (change done directly into database, may be another change todo to validate ?)

    I don’t understand how the change of permlink could lock the admin access.
    There is nothing evident into the database.
    How the change of permalink_structure option from “/archives/%post_id%” to
    /%postname% can lock the administrator access while nothing has changed into database for roles.

    /wp-admin/ seems to lead to a null page (with no error defined) of a forbidden page by a rewriting rule ?

    Thanks for help,
    You can imagine that I am locked

    Best regards

    Trebly

    Trebly

    (@trebly)

    Hi,

    Still but it seems some consequences identified.

    plscptf.js is the pluscaptcha js application with the ajax management particularly when there is an error.
    The possible errors are :
    – bad image alignment : redo wit another one
    – bad image and for WP soft no content returned (a key error^
    – valid captcha but empty content

    It seem that WP development has never considered the case of a bad captcha (return error) by main function (with no ajax) the consequence is that the error message (the PlusCaptcha constant) is only a string displayed in an erratic place … not usable.

    If I had no answer I will stop using this plugin and report the incident.

    Best regards

    Trebly

    Note : Between the unactivation and locking the site I got a lot of spams… first lock and find a solution…

    Trebly

    (@trebly)

    Hi,

    I use 4.1
    I myself set all parameters and access to the code on a share server running Linux by OVH on my own domain.

    I develop and participate to open source Tikiwiki.
    I had been project manager.

    note : I have sent too a message to emergency@ during night but I have not found the copy (may be sent from not the right box, temporarily lost).

    The main question is :
    – when Pluscaptcha uses the js file
    – as the js sub-directory and the plscptf.js don’t exists at all into the Pluscapcha.zip, I imagine that it is loaded at activation with implicit and automatic registration
    – is there a link between the registration and the current admin mail
    – how to change the registration ids keeping the current parameters of a site.

    These questions where into my emergency mail If I remember well (I was exhausted)

    Best regards

    Trebly

    Trebly

    (@trebly)

    Hi,

    Thanks.

    The problem is in my opinion into the WP core.
    currently the access “options” and functions which allows access, lock, count of elements for categories and keywords are not designed to hold a definition of the users rights for the front-end and for the back-end separately combined with content items status and some other options (as show categories even empty).

    I think that it is not hard but it is into the core, it is not the plugin problem.
    Many plugins uses the current library to check the access rights, select , count etc.
    This problem concerns X4 but too others plugins.
    So it is not a plugin problem, the plugin simply should use use the core functions for these requests.

    Currently an exception is the plugin “collapscatlist” which set a query and execute a query on the database

    if ($showPosts) {
        $postsInCat=array();
        $postquery= "select ID, slug, date(post_date) as date, post_status,
             post_type, post_date, post_author, post_title, post_name, name, object_id,
             t.term_id from $wpdb->term_relationships AS tr, $wpdb->posts AS p,
             $wpdb->terms AS t, $wpdb->term_taxonomy AS tt
             WHERE tt.term_id = t.term_id
             AND object_id=ID
             $olderThanQuery
             AND post_status='publish'
             AND tr.term_taxonomy_id = tt.term_taxonomy_id
             AND tt.taxonomy IN ($taxonomyQuery) $post_type_query $postSortColumn $postSortOrder";

    Such a function should be in core and use an array which for example will not select “AND post_status=’publish'”
    too if the user is “admin” or “author” or… defined by a function of a class like
    $posts= qpost->ctx_access(type,”needed data”,”complementary query”, …);

    The plugin has simply to use ctx_access.

    I could change easily this request “AND post_status=’publish'” + user considerations and add the options in plugin front-end, but they are so many other place to change for coherency that I decide to forget it.
    I should have enhanced the functionality but for one unique plugin , then with not coherent global behavior, and more I could not maintain it.

    The solution is an enhancement of the core until all plugin will use only a new developed function and, and the new to do it, then at the end, simply activate the new visibilities that I describe obviously for a future new version.

    Thanks to have answered, for now I publish quite all the articles (with some complementary status categories to show what I want), articles which are, in this way, hidden to common users until all TAX are OK.

    When I began this topic I had not this solution in my pocket and now I have formalized the need and got a solution.

    I spent time to redact this so that to keep it ready for a future usage.

    If you have nothing particular to answer, you can just answer OK and remain aware of this not solved and pending subject which concerns X4 as a part of a whole .

    Best regards

    Trebly

    Trebly

    (@trebly)

    Hi,

    The problem is solved by debugging js.

    I don’t know how exactly (no time to spend), but into a plugin I had added an echo of comment to be sent to html flow.

    This comment was trapped by a “not closed buffer of var of JQ call” the output is sent to a buffer which contains JQ “code” (data) not to html buffer.

    I never do this for my own.

    Then the JQ parser was crashing.

    I found this string (html comment) which has anyway not to be inserted into a JQ block.
    May be I had not seen this constraint that a plugin for WP cannot write directly to output.

    Sorry

    Best regards

    Trebly

    Note to moderator : I have not closed if you have to tell me something about this type of error. If not you can close it, I will remember.

    Trebly

    (@trebly)

    Note : there are a lot of typo into my answer. There is no way to preview the text here. There no more way to edit when you have red the result.

    Trebly

    (@trebly)

    Note : there are a lot of typo into my answer. There no way to preview here. There no more way to edit when you have red the result.

    Trebly

    (@trebly)

    Note : there are a lot of typo into my answer. There no way to preview here. There no more way to edit when you are read the result.

    Trebly

    (@trebly)

    Hi,

    I have opened several topics about this subject on general WP and some plugins.

    Most of basic tools and plugins displays in category tree or other taxonomy sets, only items which are published.

    This comes from the fact that the “item counts” doesn’t count the “not published items” (there are some exceptions).

    Then to display the category tree for example if the option “display even no items attached” is not chosen the category will not appear.
    Anyway when you use preview (this suppose that you are editing) your article will not appear into the category tree. It is the same for the W4 lists.
    It is the same for all “not yet published” articles.

    In one way this can be understood : they are not to be seen by anybody
    In another way it is ununderstandable for author and reviewers.

    Why it is important :
    Because you cannot test the access to articles by categories or keywords or your W4 list until articles are not publish…

    This is paradoxical, because if your categories, keywords are not well set you must not publish it, (I think that you agree).
    It is like broken links.

    If it is the author who does it, it will, in one way, imagine what it should be… and change quickly what is wrong when article have published. This is a stupid way of work.

    But if you have some “reviewer” they will not have to edit first or ever. For them there are no links (except explicits in text), they cannot fell what your site will look after publishing….

    For now I turn a little around by using the plugin “groups” with a group which hides published article to anybody else than admin, authors and reviewers.
    The consequence is that all status else than publish become not unusable…
    It is quite a non sense.

    Why I am particularly sensible to this problem :
    Because I am preparing to open a site with at beginning near thirty article to get readers on several subjects that are linked.

    So I simulate a full site which is visible by authors and reviewers and will unlock all articles by changing the rights of the group (of documents) created.

    I had a general discussion on French support site : they say “you have your very special manner to work, we have not to adapt to so special needs”. I think that this answer is stupid. The problem can be logically understood.

    I seek implementation. It is now complicated because there are too many options and procedures involved, everybody have developed partial workarounds.

    The true problem is the access have several constraints
    – “depending of the current user” and for
    – admin and authors-reviewers the capability of several views of the front-end (this can be done by the switch user plugin) and several views in back-end depending of the articles or other items status.
    For example the admin or authors will have (optionally) several “counts” of articles attached to a category : published, drafts, pending… total.

    Somebody told me : WP is done for one unique author and no reviewers : may be true in old times wrong today, it is probably the reason of the problem.

    I hope that I am clear (I have been long to be clear, that’s no obvious).

    Best regards

    Trebly

    Trebly

    (@trebly)

    Hi,

    When the image setting of theme is called it is called with “grid” option, so there is a lonely bug : crash in js probably jq when the gallery is called with grid option.

    There is no relation with NextGen.

    The crash seems to occur on an ajax request, and with a ” < ” unexpected. There are a lot of caught exception and finally stop on uncaught exception.

    I locate first many JQuery exceptions.
    Then we reach a fatal uncaught exception is on an unexpected tag “<“.

    By forcing “resume” I got all the images of the gallery and could insert into the theme.

    I should need to replace JQ-min by extended for test. But I feel that there is first a data problem. By experience to search like that if you don’t know the soft calls is an unbelievable time lost. But with help of who knows the product it is possible to execute test which make able to reproduce a particular phenomenon linked to the configuration and data.

    Help should be appreciated

    Best regards

    Trebly

    Trebly

    (@trebly)

    Hi,

    I apologize for the the combo of existing roles remains empty – 3)reset problem,
    When I reset the original values I made a copy error there was a leading ” ‘ ” which was crashing the read of the field value wp_user_roles. It is OK.

    1) Generally admin appears for users with ‘Administrator’ role only. User with any other role but access to the users list will not see user with ‘Administrator’ role. Is it right in your case?

    YES

    2) I suppose we talk about page: Users->Selected user role->Capabilities.
    Can not repeat described bug. Are there any error messages in the browser JavaScript console?

    NO it is the “detailed list of all users” your plugin adds a link like
    http://.../wp-admin/users.php?page=users-user-role-editor.php&object=user&user_id=1&_wpnonce=999e4aeab3
    Then you access to “User role editor” on the user admin page

    In this page the check boxes for core permission are not accessible, but, this can detail the bug (I have not traced the js yet) :
    1- If you select new personalised permissions
    2- Then (may be involved ?) hit “select all”
    3- then update

    The content of permissions is crashed.
    The whole area should be updated and rewritten wp_options : “wp_user_roles value”, it seems that there are only the updated values for admin.
    Then admin loses all his core permissions
    This had happen (explicit traces into data) but I have not, till now, tried to reproduce it.

    Best regards

    Trebly

    Trebly

    (@trebly)

    Hi,

    I got partially the solution.

    The problem is that while an article has not the status “published” it is not visible by any “categories” and “keywords”. This is the current built features of WordPress.

    I write several topics on the franch and english forum because :
    While an article is not yet published you cannot define the categories and keywords because you cannot test it, but when you publish it it is too late… because you readers will not find the good links.
    This option of WP is stupid.
    I turnaround using the plugin “Manage user user group” : I have defined a “group” of any user (none “type of users” checked), when an article belongs to the group it is not visible for lower access than “reviewer”. And I publish any article if I want the access to the categories and keywords. The reviewer then can check the whole categories and keywords system with the new article integrated (some times only a summary…).
    It is a pity but not other solutions are found.

    Then the selection defined into W4 functions.

    For now W4 does’nt functions and cannot for others status than publish, so it cannot be tested !!!.
    Some other puglings authors have created their own query on data base for categories to workaround. This don’t interest any WP developer.

    Best regards

    Trebly

    Hi,

    Still an empty widget.

    I have

    – changed to option “categories and tags” for “categories”
    – Filled data into the options in editing the parameters (some parameters are set to “empty” when the field has not been ever set (pointer not set into the field) “filled with anything and cleared” “checked-unchecked, select and changed for radio”. The soft should check empty values and replace by default ?

    Then I get data (categories and posts) into the debug trace, but after still empty widget. I don’t know why ? (I have search into html generated but not found any clear reason as a “display:none” should).

    If somebody answers here, I will send the elements of the trace generated by “debug option”.

    Best regards

    Trebly

Viewing 15 replies - 151 through 165 (of 172 total)