Jump to content
Holiday Closure, Nov 26 & 27 ×

Community

[IF] Number of Users per Skin


Recommended Posts

I have a question about this.

My default theme only lists "29" users, which I guess means 29 people specifically use this skin by choice, however, I have almost 3300 members on my forums and it doesn't pick up all of the people that just left it at the default skin.

Link to post
Share on other sites

My default theme only lists "29" users, which I guess means 29 people specifically use this skin by choice, however, I have almost 3300 members on my forums and it doesn't pick up all of the people that just left it at the default skin.


I don't have too many data to show 'cause I didn't updated my live board yet. But here is the numbers used on screenshot of this hook:

%7Boption%7D

32 members. Only 1, and that's me, are using the skin (with correct ID). Other user is using ID = 0 and 23 users are showing NULL on members table.

See the next screenshot:

%7Boption%7D

Those 23 + those 2 with correct id and id = 0 are listed as using default skin (23+1+1=25, just like in screenshot from this hook).

It works properly for me... at least with those number of users.
Link to post
Share on other sites

I have a question about this.



My default theme only lists "29" users, which I guess means 29 people specifically use this skin by choice, however, I have almost 3300 members on my forums and it doesn't pick up all of the people that just left it at the default skin.




I"m having the same issue too
Link to post
Share on other sites
  • 4 months later...

I'm having the same problem, we have 7126 registered users but only 18 listed as using a skin.

I know its not an issue with this mod (persay) as it reports the information from the database, however is there a db query we can run to re-assign all users to the default skin, or a specific skin number?

Link to post
Share on other sites
  • 8 months later...
  • 2 months later...
  • 4 weeks later...
  • 3 months later...

Not working for me either, I have 583 members and only 2 people use the IP Board skin yet it says only 32 are using the default skin.

I've recached, reinstalled etc. after upgrading to 3.4.4 but still shows the same info as it did before upgrade which is what I said above. :/

Link to post
Share on other sites

I have found the culprit of this issue with not counting people that use the default without having changed to it. In the xml file on line 58 you'll see this:

if ( $data['set_is_default'] == 1 AND $data['set_output_format'] == 'html' and $data['set_key'] == 'default' )

it's the last one "$data['set_key'] == 'default'" because the default skin set key is not changed by IPB when you set a different skin as default. What is changed then is "$data['set_is_default']" which get changed to "1". The key will always remain the same and the IP Board skin will always have that key set as default.

So all you have to do is remove the last one and make line 58 look like this:

if ( $data['set_is_default'] == 1 AND $data['set_output_format'] == 'html' )

save the xml file and re-import it and your skin counter will now work as intended!

Link to post
Share on other sites

I have found the culprit of this issue with not counting people that use the default without having changed to it. In the xml file on line 58 you'll see this:

if ( $data['set_is_default'] == 1 AND $data['set_output_format'] == 'html' and $data['set_key'] == 'default' )

it's the last one "$data['set_key'] == 'default'" because the default skin set key is not changed by IPB when you set a different skin as default. What is changed then is "$data['set_is_default']" which get changed to "1". The key will always remain the same and the IP Board skin will always have that key set as default.

So all you have to do is remove the last one and make line 58 look like this:

if ( $data['set_is_default'] == 1 AND $data['set_output_format'] == 'html' )

save the xml file and re-import it and your skin counter will now work as intended!

Thanks, this worked. :)

Link to post
Share on other sites
  • 7 years later...
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy