• I have wp website supplied by authorscribe a few months ago – above version 3.3.1 with NewStatpress in dashboard (or rather it was!) Very new to website formatting and not knowledgeable with databases etc., Thought stats not working at one point and managed to go into Options in Statpress and limited my capability to view full stats! Then got an error message when I went into Overview, to the effect I did not have permission to view that page. Obviously could not see see geographical locations, graphs etc., which are so useful to me. Was then left with limited stats which I customised and implemented on my main page via a widget in widget area. I really need someone who can explain in the simplest of terms how to get permission to view full stats back. A step by step guide, which I could follow. Would be so grateful. I have spent hours and days looking through forums but cannot find the explicit answer I need. (I am the only user – admin)

Viewing 15 replies - 1 through 15 (of 15 total)
  • Capabilities is a form of permission that in WordPress one can use to performe some tasks. In NewStatPress you can set one of this capabilities to allow ueser to see statistics only if they have that permission.

    Choose one capabilities in Option of NewStatPress from the list and then see if it changes the permission foy you.

    Thread Starter Sheila Palmer

    (@sheila-palmer)

    Thanks for your help in trying to solve this problem. Unfortunately I lost NewStatpress from the dashboard when I altered the options (by mistake) and therefore cannot access Options (or see Options) to set further capabilities and regain permission to view full stats. Sorry I didn’t explain this too well. All I can view now is very limited stats, via a widget. I cannot see any way to access the Option when it has disappeared! There is nothing else I can access regarding capabilities. I just wish there was an easy way to regain permission.

    goes to the plugin editor of WordPress and choose the file newstatpress.php

    search for this point:

    # add submenu
      $mincap=get_option('newstatpress_mincap');
      if($mincap == '') {
        $mincap="level_8";
      }

    and add this line after it:

    $mincap="level_8";

    This should bypass of capabilities you have selected

    Thread Starter Sheila Palmer

    (@sheila-palmer)

    Thanks so much. I will try this.

    Thread Starter Sheila Palmer

    (@sheila-palmer)

    I looked up how to access The Plug in Editor and this is probably a standard feature on most Wp websites, where it states Plug ins on the Dashboard. Unfortunately as I have an authorscribe website, there was no Plug In feature on the dashboard,or anywhere else on the site, so I cannot access the Editor. Otherwise it sounds an ideal solution. Is there any other way I could implement the line you have suggested?

    Try to navigate in this locagtion of your site:

    /wp-admin/plugin-editor.php

    example:
    https://www.mysite.com/wp-admin/plugin-editor.php

    this is where WP let you modify plugin.

    Thread Starter Sheila Palmer

    (@sheila-palmer)

    Just got back from hol and tried this several times, modifying the example you gsve to my own authorscribe location. Page cannot be found. Difficulty here is that it is an authorscribe website and has a different template, therefore prob won’t allow same access as standard wp sites. I also tried to put in a Motigo stats counter but two lines of code re javascript got eliminated. The counters appeared but did not function. Motigo support stated they did not know authorscribe template so could not help. Authorscribe do not appear to be contactable re this problem. I would love to have the location of the visitors (countries, towns etc.,)back at the very least but any plug in would not work as no section for plug-ins on my site. Thanks for giving the answers in a way I can understand and I’m sure they would help if only I didn’t have an authorscribe website!

    Thread Starter Sheila Palmer

    (@sheila-palmer)

    Tried a Feedjit basic widget (without Javascript) which does live tracking – it did not eliminate the code and seemed to work but looking for something that does more (again without javascript as this seems to be the problem)

    Thread Starter Sheila Palmer

    (@sheila-palmer)

    Update – Feedjit did eliminate some code – did not work.

    Thread Starter Sheila Palmer

    (@sheila-palmer)

    Update – Feedjit did eliminate some code – did not work after all.
    To recap- when I altered capabilities in error and only allowed to view limited version of stats – this is the page (as below) I am not allowed permission on
    /wp-admin/admin.php?page=newstatpress/newstatpress.php&newstatpress_action=options
    error message states I not not have sufficient permission to view page – I just cannot think of any way round this now

    Have you ftp access to your site?

    if so, you can edit newstatpress.php from there.

    Thread Starter Sheila Palmer

    (@sheila-palmer)

    I haven’t got FTP access. My last ditch attempt is that I found an old e mail from authorscribe when they first enabled my website and e mailed them explaining all difficulties. It seems theres no way I can edit. I have spent hours today trying other ways. Authorscribe do not seem to offer a troubleshooting service as such but I am hoping they will reply to the email and be able to suggest some way to rectify the situation. The limitations are frustrating. I appreciate your help a lot.

    Where do you install a plugin is still available for you?

    If so you can download the last version of plugin:
    https://newstatpress.altervista.org/?p=224

    Open the zip file and edit newstatpress.php with:

    <?php
    /*
    Plugin Name: NewStatPress
    Plugin URI: https://newstatpress.altervista.org
    Description: Real time stats for your WordPress blog
    Version: 0.4.2
    Author: Stefano Tognon (from Daniele Lippi works)
    Author URI: https://newstatpress.altervista.org
    */
    
    $_NEWSTATPRESS['version']='0.4.2';
    $_NEWSTATPRESS['feedtype']='';

    modify the version in 0.4.2.1

    then add the $mincap=”level_8″; as of the previous post.
    Update the zip with this file, then try to add this plugin as a new plugin to install. If all goes good this version will overwrite the previous.

    Thread Starter Sheila Palmer

    (@sheila-palmer)

    Thank you once again. If only I had a plug in section. When I obtained the authorscribe website it did not have a plug in section on the dashboard which I believe is possibly standard on most wp websites. Also as per your previous suggestion Authorscribe possibly limit one’s abilities in certain ways. I have tried so many ways but editing is limited to within my posts,pages and various basics,which now do not include newstatpress. I can only put code in, it seems within the html section on the posts and pages but even then, (as with the Feedjit non javascript widget) some of the code is eliminated so I can’t even get stats that way. Going into /wp-admin/plugin-editor.php does not work either. I am completely stumped now. Still waiting to see if Authorscribe get back to me as I cannot see any other way. The website gives access to these Wp forums and support for help yet as their website is set up very differently, it means that if queries relate to editing plug ins,nothing will work.

    Thread Starter Sheila Palmer

    (@sheila-palmer)

    I have got Newstatpress back! I went to my site today and it was back – I now have Wp 3.4.1. instead of 3.3.1. Authorscribe must have done this for me I guess.
    Many thanks to Ice for all input. I’m sure it would have worked if I had access to various editing facilities. This time I will not alter Options or anything else!

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Need permission to view full stats’ is closed to new replies.