What Do You Need In The Xf2 Xengallery Version? Vote for your choices here: http://www.sonnb.com/threads/what-do-you-need-in-the-xf2-xengallery-version.1539/

Fixed Profile Page And Problems Opening Photos On New Photo List

Discussion in 'Bug Reports' started by mbenjami, Sep 20, 2013.

  1. mbenjami

    mbenjami Authorized Member Authorized

    hi sonnb. when i open a picture in the gallery (overlay) and choose set as my gallery cover, then it takes me to my gallery profil page, can i re-route that so it takes me to my xenfor profilpage instead ? and is it possible to dissable the gallery profil page since i dont wanna use it ?
     
  2. mbenjami

    mbenjami Authorized Member Authorized

    another thing..where and how do i change so under my tab Bilder as u see on the picture from shows {$user.sonnb_xengallery_photo_count} in () exampl Bilder (297). And how do i add the tabs Albums and tagged photos to xenforo profilepage. As you done with Photos. ??

    Skjermbilde 2013-09-21 kl. 18.00.46.png

    Skjermbilde 2013-09-21 kl. 18.00.39.png
     
  3. mbenjami

    mbenjami Authorized Member Authorized

    or maybe an option in admincp where u can choose if u want to see photos, albums and tagged photos on xenforo profile page
     
  4. sonnb

    sonnb Administrator Staff Member

    You must edit the code to make it redirect to profile page.

    Line: 1171
    Find:
    PHP:
    return $this->responseRedirect(
                
    XenForo_ControllerResponse_Redirect::SUCCESS,
                
    XenForo_Link::buildPublicLink('gallery/authors'XenForo_Visitor::getInstance()->toArray()),
                new 
    XenForo_Phrase('changes_saved')
            );
    Replace with:
    PHP:
    return $this->responseRedirect(
                
    XenForo_ControllerResponse_Redirect::SUCCESS,
                
    XenForo_Link::buildPublicLink('members'XenForo_Visitor::getInstance()->toArray()),
                new 
    XenForo_Phrase('changes_saved')
            );
    There is no such of option.
     
  5. mbenjami

    mbenjami Authorized Member Authorized


    in what file do i find that code ? and not possible to edit and get album and tagged photos on xenforo profile page ? like you have with photos ?
     
  6. mbenjami

    mbenjami Authorized Member Authorized

    also would be great that recent-activity stream is updated when a member sets/change gallery cover photo :)
     
  7. sonnb

    sonnb Administrator Staff Member

    Sorry, I forgot to mention: sonnb_XenGallery_ControllerPublic_XenGallery_Photo
    You can with template edit: member_view

    Add before:
    <xen:hook name="member_view_tabs_heading" params="{xen:array 'user={$user}'}" />
    and
    <xen:hook name="member_view_tabs_content" params="{xen:array 'user={$user}'}" />
     
  8. mbenjami

    mbenjami Authorized Member Authorized

    24.09.png 23.09.png {$user.sonnb_xengallery_album_list}
     
  9. mbenjami

    mbenjami Authorized Member Authorized

    upper picture the arrow is supposed to be pointed to Album tab :) not Bilder
     
  10. sonnb

    sonnb Administrator Staff Member

    I think you should make another thread for [Help]. This forum is for bug report only. Since you are using custom edit then it should not be here.
     

Share This Page