Results 1 to 10 of 10

Thread: Show/Hide profile blocks

  1. #1
    Kleetus
    Guest

    Default Show/Hide profile blocks

    Hi at all !

    I want the show/hide blocks in the members profile ( which are always showing the content ) like "friends" or "profile polls" to be generally closed/hidden !

    Any ideas ?

  2. #2
    Kleetus
    Guest

    Default

    No ideas ???

  3. #3
    Prometheus
    Guest

    Default

    I do know about dolphin but this is in the design.inc.php for ae look for

    $div_hide = "none";
    $div_show = "inline"
    <div id="hide" style="display:none">$s02</div>


    Or see this thread and reverse the directions.

    Default IM to Show

  4. #4
    CodyT's Avatar
    Join Date
    Feb 2007
    Posts
    288

    Default

    It cant be That hard to implement this for Dolphin 5.6. Anyone?
    SocialEngine 2.81 Nulled

  5. #5
    Kleetus
    Guest

    Default

    This is the code for show/hide in 5.6.0005
    PHP Code:
    $menu '<div class="block_menu"
            onclick="javascript: if ( \'none\' == document.getElementById(\'container_friend_list\').style.display ) { document.getElementById(\'container_friend_list\').style.display=\'block\'; this.innerHTML=\''
    $langHide .'\'; } else { document.getElementById(\'container_friend_list\').style.display=\'none\'; this.innerHTML=\''$langShow .'\'; }" >'$langHide .'</div>';
        
    $ret '<div class="clear_both"></div>';
        
    $ret .= '<div id="container_friend_list">' ShowFriendList($profileID) . '</div>';
        
    $ret .= '<div class="clear_both"></div>'
    I tried a little bit modding but could not solve the "problem" ?!

    Any ideas how to hide the block by default ?

  6. #6
    Kleetus
    Guest

    Default

    Anybody who has a good knowledge about javascript ?

  7. #7

    Join Date
    Mar 2007
    Posts
    154

    Default Re:

    Ive did some Investigation on that Kleetus.

    I figured out when you remove in Profile.php the following between Line 876 and 879:

    PHP Code:
    case '0'// divider
            
    $ret .= print_row_delim$first_row$arrpd"panel");
                
    $not_first_row 1;
                
    $first_row 1
    it lets for example vanish all Headline Blocks on the Profile Descriptions left Side.

    I guess like that you can do it also with other Codeparts for the Right Side and the Polls/Friends and so on.

    Hope ive been of Help.

    Regards, Fax

  8. #8
    Kleetus
    Guest

    Default

    Quote Originally Posted by Faxel View Post
    Ive did some Investigation on that Kleetus.

    I figured out when you remove in Profile.php the following between Line 876 and 879:

    PHP Code:
    case '0'// divider
            
    $ret .= print_row_delim$first_row$arrpd"panel");
                
    $not_first_row 1;
                
    $first_row 1
    it lets for example vanish all Headline Blocks on the Profile Descriptions left Side.

    I guess like that you can do it also with other Codeparts for the Right Side and the Polls/Friends and so on.

    Hope ive been of Help.

    Regards, Fax

    ???? I just want to have the friends and polls block closed by default ! If somebody clicks on 'show/hide' it should appear !

  9. #9

    Join Date
    Mar 2007
    Posts
    154

    Default

    Sry, seems i got ya wrong.

  10. #10
    Kleetus
    Guest

    Default


Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to show 2 blocks in 1 row in profile page ?
    By toncrub in forum Dolphin General Discussion v6.00 and above
    Replies: 0
    Last Post: 02-10-2008, 01:28 AM
  2. Hide/Show
    By LG in forum General Issues, Comments, Questions
    Replies: 2
    Last Post: 01-13-2008, 06:48 AM
  3. Hide/Show
    By LG in forum Bugs Dolphin 6.01
    Replies: 0
    Last Post: 12-26-2007, 06:29 AM
  4. 5.3 Show/Hide Translation
    By lololo in forum Chat / ShoutBox / Instant Messenger (non-Ray)
    Replies: 1
    Last Post: 10-26-2006, 08:28 AM
  5. News show/hide style
    By lodlock in forum Free Mod Exchange
    Replies: 4
    Last Post: 10-10-2006, 10:26 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
  •