I think we can have :)
#4

How are you saving the data?
If you save them using DINI, or any other file-based system you need to have a plugin that can retrieve all file names from a directory/count them. For example kurta999's version of YSF (and other forks) or maybe this directory plugin.

If you use MySQL, MrViolence gave you the answer already.

If you use files and do not want to use a plugin just for this, check the amount of users currently registered and create a counter. The starting value is the current amount, increasing every time someone registers. But this is a very simple solution and does not consider deletion of accounts and similar. But it works too.
Reply


Messages In This Thread
I think we can have :) - by Stop - 10.11.2016, 14:40
Re: I think we can have :) - by MrViolence101 - 10.11.2016, 14:48
Re: I think we can have :) - by Alex Magaсa - 10.11.2016, 14:50
Re: I think we can have :) - by NaS - 10.11.2016, 15:40
Re: I think we can have :) - by SickAttack - 10.11.2016, 15:43

Forum Jump:


Users browsing this thread: 2 Guest(s)