How do I add an edit box for members variable (...
Added: 05/31/2016 | Updated: 3 Years Ago
Question How do I add an edit box for members variable (for members to put their own value) to a resource page?
You can add input fields for members to add a value on the resource page. For example, if you are promoting a program you can easily add ~~ code below text or a video you make and then the ~~ is replaced with a form for a member to put their username for the program being promoted.
Tilde Codes to Use
Complete form with save button
An individual form field. Used when adding multiple inputs. You need to add a button with type="submit" to save the changes.
To do this go to member variables page (/admin/membervariables) and add a member variable for the about me section
Add it to a Page
Inside of an editable WYSIWYG section of a page add the code ~var#~ where you want the content to appear. Be sure to get the correct code where # is replaced with the number of the member variable. You can get the correct code either from the member variables page or from "View/Info" -> "Dynamic Info (~~)" in the page editor.
Test it Out
Go to the members page (/admin/members) and login as a member. Go to their profile (/admin/profile) and enter a value for their about me section. Then view the member's page where you added the member variable ~~ code and you will see the content there.
A. Yes, you can edit the contents of any page in your members area through the file manager.
From the file manager go to the uploads/adminpages folder (there is a quick link in the top right). There you will see html versions of all the php pages in your system's members area which you can edit to change the appearance of the php pages in your software members area.
A. The best way is to setup member variables for each of the buttons, so members can put their own values for them on the my personal info page. After that, you can put the buttons on a landing page or in the resources page for the members to visit and join at. Please read our member variables training guide to learn more about how to do this.
A. The best way is to go to Manager Resources and setup resource pages. You can specify which membership is allowed to view a resource page, blocking other memberships from seeing it. You can also apply a access level only allowing memberships with that access level or higher to see the page.