![]() |
UserCP Referral ID and Count
1 Attachment(s)
While supporting my mini-mod I came across a more in depth version of what I was trying to do. Once I saw it I had to add it to my site. Since I couldn't find it here, I created something of my own.
This hack will add a collapsible box in your UserCP with a message informing the user what the referral ID is, what it is for, and how to use it. The message can be, of course, rewritten in your phrases to fit your own site and users. To install, simply install the product below in Manage Products, then of course you should click installed. :up: Update: Sorry, re-uploaded the xml. I had set the wrong product dependency on the xml. I have removed it. It works again. (first Code jitters I guess... :D) Version 1.0.2: Added a bit of code so that it will remember if you collapse it, or expand it and keep that formation so that you don't have to collapse it each time you go into the UserCP. Version 1.0.3: Corrected the query string so that it would not count users that had not been verified or passed through moderation. (user group 3 and 4 are not included in the referral counts now). re-uploaded 1.0.3, minor change on version listed in the mod. To upgrade install normally, set "Allow Overwrite" to 'yes'. |
Rocks! And even with a screenshot. ;)
This is way to go. Many ppl forget about the Why in their functions - why users should make use of it. Edit: bring back the script! :) |
Quote:
|
Quote:
|
i got this error when trying to import the product
Code:
The following dependencies were not met: |
Got the same error sadly.
|
I have it too
|
How can the user see who he has referred to the forums?
|
Installed :)
Edit - Not working ! :( Getting same error.. 3.6! |
Edit the xml and remove:
Code:
dependencytype="product" parentproductid="74201" Then it works fine. |
All times are GMT. The time now is 06:50 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|