Hello!

I just have some questions:
1. "Post count rank" module setting permission of posting some nodes "per day" or...?
2. What page(note) will see user when he`ll exceed the limit of node posting?
3. Must admin or user with "super-permissions" have limitations by number of posts?
4. If admin choose nothing in profile hidden field for somebody with "node add" permissions what will happens with post_count limitations of this user?

Comments

pyromanfo’s picture

This is not a permissions module, just display purposes only. Simply cosmetic, it won't control any user's ability to do anything. I think there are other modules around that do what you want.

Drupy-1’s picture

Hi Pyromanfo, I like the idea of your module very much, thank you!

I am the Administrator with all permissions to my Drupal website, and I have successfully patched the profile.module with your patch, and also have set up the hidden fields for three ranks called "Newbie", "Junior", and "Senior", and set them up for 10, 25 and 50 posts. And I have members who have posted up to 10, 25 and 50 posts, so I expect them to obtain their ranks.

What I don't understand is I cannot see this module doing anything, also after doing the cron, so I must be missing something I don't know what. I also have "Node Privacy by Role" module installed, and I have two roles, called "Moderator" and "Author" and some people are either just Authorized users, moderators, or authors. Now, do these two modules in conflict with each other? Is "Rank" the same as "Role"? Do I have to make the names of the "Ranks" the same with the the names in my "Roles"? I have done so, but still I see nothing on both the Post Count page, nor under the Ranks category in each user's Profile page. So I really don't know what this module do. What am I supposed to see with this module, and where?

Please help, and once again thank you so much!

pyromanfo’s picture

You can't see anything because the field isn't being shown in your theme. You have to edit your theme to show the profile field. It's in the database, but the module doesn't provide a display mechanism.

I was just planning on putting it in my theme.

Drupy-1’s picture

Thank you.

I have looked around in the database, under profile_fields, profile_values, and users, and clicking on "browse" (I'm using Windows and MySQL PhpMyAdmin) but I just saw the list of Countries under profile_values. Could you please tell me exactly where in the data base?

Also I will be very thankful if you tell us what to add to our theme so that it will be showing up, you mean we must add something (a few lines or codes) in our style.css, right? I just don't know how to do it.

Thank you again.

pyromanfo’s picture

I was planning on putting it in my PHPTemplate theme, which is basically getting it directly from the database.

So it's nothing to do with CSS.

As for where in the database, it should be in profile_values, find the fid of your profile field that you're storing the rank in and that should be the fid in your profile_values table. In mine, it has the user's rank in there with their uid and that fid.

Drupy-1’s picture

Thank you, Pyromanfo. I still have not seen it under profile_values and under uid or fid or anywhere, I just see list of countries, the registration number of member under uid, and number "1" under fid.
But maybe I make a mistake somehere with the patching (I did it manually), or maybe because I use the cvs version of the module and patch, while my Drupal is 2.5.2.
Thank you for your prompt replies.

pyromanfo’s picture

It won't bet set until your users post something, so you might want to try posting something with a user.

Drupy-1’s picture

Oh I mean Drupal 4.5.2, sorry.

Drupy-1’s picture

Wow you are so fast!! *shocked*
Okay, I will do that, thanks!!!