Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

Who's Online 11

CurtisOdenSpencerMcjohansonlocker +8 guests

How can i remove Relationship status and change "College" text

This discussion is related to the AboutMe addon.
Nice plugin Thank you very much!

Two questions 1. How can i remove Relationship status future?
2. How can i change "College" i'd like to make it like "College/University"

Thank you,
Tagged:

Comments

  • Posts: 3 Accepted Answer
    You have total control over the About Me plugin. just follow these steps
    1, open the About me folder under plugins in your web directory: .../Plugin/AboutMe
    2, Open the default.php file and remove the " ->Column('RelStat', array('s','m','i','d','w'), FALSE)" line from the code. and save
    3, Open the Views folder inside AboutMe
    4, Open aboutme_edit and remove both the relationship define code and the relationship status code lines.
    5, Go to the college line and replace it with the desired name and save
    6, open avoutme_view
    7, rename the college in "$College = $this->AboutMe->Col;" but do not change the "col" unless you want to rename the table, which has to be done in default.php too.
    save the changes and re-enable the plugin to effect the changes.

    i did many stuffs like that on my forum: http://forum.ynet-ng.com.
  • Posts: 31
    @Mr_White Thanks! that works :)
  • im trying to delete the "real name" option. but im having trouble...
  • This didn't seem to work for me. Although I've followed the steps, when I fill out the form, I get an error telling me that RelStat is a required field. I'd like to strip down most of the fields in this plugin (and be left with about 5) but the BD and the RelStat seem to linger even after I delete them in the two spaces mentioned above.

  • Posts: 157

    try disabling the plugin and then re-enabling. Try deleting the appropriate table in the datatbase as well. I got it working, but I don't remember what I did.

  • @achu I dont know

  • Posts: 164

    Sorry, I've been extremely busy, and since the community had answered the question before I could, I did not bother adding my two sense.

    I will be releasing a newer version in the near future that allows administrators to disable / enable all of the fields, as well as privacy settings for the user.

    In this version I will be sure to make more of the display text utilize the translation feature, then changing the name as mentioned above would be as easy as adding the translation to the proper file.

  • Posts: 29

    @zodiacdm: Yes, that would be great to be able to enable/disable fields in the admin-settings. For people who do not understand PHP it is quite hard to edit such details.

    Also easier translation would be greatly appreciated.

    Thanks in advance, Robert

  • x00x00
    Posts: 1,546

    This give you more flexibility to do what you want: http://vanillaforums.org/addon/myprofile-plugin

    grep is your friend.

Sign In or Register to comment.