Hello all,

I was thinking of making use of the badges module to implement a little module that creates automatically badges and assigns it to users when they win a contest in the site. The first idea was creating a "Contest 1st classified" badge but seems that one badge can be assigned to a user only once, so the solution I thought is that if the user wins 10 contests I should create 10 different Badges:
- "Contest 1st classified in A"
- "Contest 1st classified in B"
- "Contest 1st classified in C"
- ....

My idea was to create also a "Content of the week award" badge. A user could accumulate more than one of this badge, thus I would have to create a new (different) badge for each week.

Now my question is simple: Should there be any performance problem creating thousands of badges in the database? I don't know if the module has a good response for this kind of practice.

Comments

savioret’s picture

Any advise on this , please ?

nancydru’s picture

Status: Active » Closed (duplicate)

Clearly, the more rows a table has, the slower it's going to be. There is an issue open to allow something like "Content of the week x 2." That should take care of this problem. #982988: One user, single badge multiple time