Can you enable the realname-module to remove (not verified) after the names of the anonymus users?

Comments

nancydru’s picture

Assigned: Unassigned » nancydru
Status: Active » Fixed

I committed a fix that adds a new setting to turn this off. Unfortunately, my test sites are not set up to test this, so please let me know if it takes care of your request.

lomz’s picture

Category: feature » bug
Status: Fixed » Active

I get this error when trying to remove the mark to not disply "not verified":

    * warning: include_once(sites/all/modules/realname/token_realname.inc) [function.include-once]: failed to open stream: No such file or directory in /home/cl-k/web/multi/sites/all/modules/realname/realname.module on line 14.
    * warning: include_once() [function.include]: Failed opening 'sites/all/modules/realname/token_realname.inc' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/cl-k/web/multi/sites/all/modules/realname/realname.module on line 14.
    * warning: include_once(sites/all/modules/realname/token_realname.inc) [function.include-once]: failed to open stream: No such file or directory in /home/cl-k/web/multi/sites/all/modules/realname/realname.module on line 14.
    * warning: include_once() [function.include]: Failed opening 'sites/all/modules/realname/token_realname.inc' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/cl-k/web/multi/sites/all/modules/realname/realname.module on line 14.

When just opening /admin/user/realname it displays:

    * warning: include_once(sites/all/modules/realname/token_realname.inc) [function.include-once]: failed to open stream: No such file or directory in /home/cl-k/web/multi/sites/all/modules/realname/realname.module on line 14.
    * warning: include_once() [function.include]: Failed opening 'sites/all/modules/realname/token_realname.inc' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/cl-k/web/multi/sites/all/modules/realname/realname.module on line 14.
lomz’s picture

I commented out the part that makes trouble:

 if (module_exists('token')) {
    include_once(drupal_get_path('module', 'realname') .'/token_realname.inc');
  }

Now it doesnt show errors anymore and it tells me that configuration is saved when I try to remove the marking on the box for "Show "Not verified" for anonymous users", but still will not let me remove the marking, it returns when I try to save.

nancydru’s picture

Status: Active » Postponed (maintainer needs more info)

I corrected the settings saving problem.

For the token problem, please make sure your cache is cleared and then (since this looks like a test site) logout and back in again to reset the "_once".

lomz’s picture

Actually its my live-site.
Could I ask what makes you think it is a test-server?

lomz’s picture

It works, but the error message still shows up.
But I cant find any file that is named sites/all/modules/realname/token_realname.inc, not in CSV either, is that correct?

nancydru’s picture

Yes, my apologies, I just discovered that I had not added it to CVS; I have now and it will be in the next -dev release.

nancydru’s picture

Status: Postponed (maintainer needs more info) » Fixed
lomz’s picture

Thanks, this is so great

jcwatson11’s picture

Not sure how releases go. When is the next dev release?

lomz’s picture

Noon and midnigth GMT

nancydru’s picture

Status: Fixed » Closed (fixed)