Results 1 to 5 of 5

Thread: Editing Profile Actions Column

  1. #1

    Join Date
    May 2010
    Posts
    4

    Default Editing Profile Actions Column

    Hello all, figured I'd ask here because Boonex doesn't give any support unless you want to cough up money. I figured out how to edit my Actions section in the Profile View so I don't have certain items there, now I can't find the file I need to make the double column a single one. Basically I want to narrow down the box to a single column so it's not bulky and two columns wide as shown below.



    I assume it has to do with the table and
    Code:
    <td><tr>
    settings at 50% width somewhere, but can't find it for the life of me.

    Any help would be appreciated! Thanks!
    Last edited by Smoge; 05-10-2010 at 09:38 PM.

  2. #2
    bigbird324's Avatar
    Join Date
    Jul 2009
    Posts
    82

    Default

    Have you figured out how to add things...cause i was looking to add maybe the facebook like button there in certain areas or the share button

  3. #3

    Join Date
    May 2010
    Posts
    4

    Default

    Quote Originally Posted by bigbird324 View Post
    Have you figured out how to add things...cause i was looking to add maybe the facebook like button there in certain areas or the share button
    I don't think I added anything yet (but I will be doing the like button also eventually), just removed the "get email" and another button. The files I had to go into were templates/base/scripts/BxBaseProfileView.php and fine the line //--- Check for member/non-member ---// then right below, remove or block out what you don't want, or in your case add it. There was one other file you have to edit but I can't remember it currently, I"ll look a bit later.

    When you make the new button I assume you'll have to add a value for the new button also, for example "_like", in langs/lang-en.php. Additionally you'll have to add it in the other file I can't remember, and it'll take some custom code. I'll try and take a look later.

    In the meantime, I still haven't found how to make the actions a single column, so if anyone finds it please let me know. Thanks!

  4. #4

    Join Date
    Sep 2006
    Posts
    191

    Default

    well I havent figured out how to add anything but, I have figured how to remove buttons

    open up bxbaseprofileview.php in templates/base
    find
    Code:
    //--- Check for member/non-member ---//
            if(isMember()) {
            	$p_arr['cpt_edit'] = _t('_EditProfile');
                $p_arr['cpt_send_letter'] = _t('_SendLetter');
                $p_arr['cpt_fave'] = _t('_Fave');
                $p_arr['cpt_befriend'] = _t('_Befriend');
                $p_arr['cpt_greet'] = _t('_Greet');
                $p_arr['cpt_get_mail'] = _t('Get Mail'); 
                $p_arr['cpt_share'] = _t('_Share');
                $p_arr['cpt_report'] = _t('_Report Spam');
                $p_arr['cpt_block'] = _t('_Block');
            }
    and just find which one you dont want to show up . for example you dont want the get email button
    change
    $p_arr['cpt_get_mail'] = _t('Get Mail');

    to

    $p_arr['cpt_get_mail'] = '';

    Now I will have to figure out how to add a button.
    ------------------------------------
    Have a MMORPG character you are proud
    of - Toon in your Character at
    http://www.charnation.com

  5. #5

    Join Date
    May 2011
    Posts
    1

    Default cant see text?

    Hello guys, i am not sure why but my code seems to be different, i too want to remove the 'get mail' button but can not find. I also want to remove the subscribe button. i am running 7.0.6



    //--- Check for member/non-member ---//
    if(isMember()) {
    $p_arr['cpt_edit'] = _t('_EditProfile');
    $p_arr['cpt_send_letter'] = _t('_SendLetter');
    $p_arr['cpt_fave'] = _t('_Fave');
    $p_arr['cpt_befriend'] = _t('_Befriend');
    $p_arr['cpt_remove_friend'] = _t('_Remove friend');
    $p_arr['cpt_greet'] = _t('_Greet');
    $p_arr['cpt_share'] = _t('_Share');
    $p_arr['cpt_report'] = _t('_Report Spam');
    $p_arr['cpt_block'] = _t('_Block');
    $p_arr['cpt_unblock'] = _t('_Unblock');
    }
    else {
    $p_arr['cpt_edit'] = '';
    $p_arr['cpt_send_letter'] = '';
    $p_arr['cpt_fave'] = '';
    $p_arr['cpt_befriend'] = '';
    $p_arr['cpt_remove_friend'] = '';
    $p_arr['cpt_greet'] = '';
    $p_arr['cpt_get_mail'] = '';
    $p_arr['cpt_share'] = '';
    $p_arr['cpt_report'] = '';
    $p_arr['cpt_block'] = '';
    $p_arr['cpt_unblock'] = '';
    }

    i would be grateful for any help

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Editing Profile Type
    By veranoduck in forum Dolphin General Discussion v6.00 and above
    Replies: 0
    Last Post: 06-29-2008, 06:06 PM
  2. Actions block empty for one profile
    By sunnsky in forum Dolphin General Discussion v6.00 and above
    Replies: 1
    Last Post: 05-29-2008, 01:24 PM
  3. Make profile comments bottom 1 column box
    By napolivip in forum General Issues, Comments, Questions
    Replies: 0
    Last Post: 03-08-2008, 05:34 AM
  4. Editing profile view
    By Burger in forum General Issues, Comments, Questions
    Replies: 3
    Last Post: 07-24-2007, 08:19 AM
  5. Problem with Profile Editing
    By ErisPhobos in forum Bugs Dolphin 5.6.4
    Replies: 5
    Last Post: 05-11-2007, 09:22 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •