Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
[Request] Discovery Recovery
Trey
New
I've been fiddling around trying to make this into some sort of extension for a few hours now and couldnt get it to work properly. What I'm trying to do is add another box on the users account page, in the same manner that the role history is displayed, and for it to display how the person discovered the forum / why they would like to become a member. It would be nice if only certain people with higher powers (maybe those of who thats able to hide discussions) could see it just so it wouldnt be out in the open for everyone.
I was playing around with the account_profile.php file and found that I could echo out $this->User->Discovery and it would show what the user put in for that field, but that was the closest I've gotten to getting this to work.
Hopefully this wouldnt be to hard to implimend into an extension, and I thought I could do it but as of right now I cant get it to work right. Maybe even a few steps toward the right direction would be good for me to complete the task.
I was playing around with the account_profile.php file and found that I could echo out $this->User->Discovery and it would show what the user put in for that field, but that was the closest I've gotten to getting this to work.
Hopefully this wouldnt be to hard to implimend into an extension, and I thought I could do it but as of right now I cant get it to work right. Maybe even a few steps toward the right direction would be good for me to complete the task.
0
This discussion has been closed.
Comments
like I said though, If I would go to the account_profile.php file within the themes directory and add the following..
<li> <h3>Discovery Recovered</h3> <p>'.$this->User->Discovery.'</p> </li>
to it, it would show what the person put in for that feild, but I would rather have it as an extension versus modifying that file
One thing I should note is that the "discovery" db field doesn't come with Vanilla's default installation. It is added by the discovery extensions, so you should also either note that (a) your new extension relies on the original one being installed or (b) make sure that the field exists when the extension is enabled.