Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: Bug Fixed upload photo - the photo not set to primary automatically

  1. #11
    AndyII
    Guest

    Default

    Quote Originally Posted by rscott4581 View Post
    I have 6.01b3 Clean and 6.01b4 clean, both with this added to them and yet mine is not being made a primary photo.. what have I missed??

    Nah I was right, this doesn't even work right on http://clean601.devmysite.com/index.php Here.. I just made a profile to test it and it is running 6.01B4 too...

    Help someone Please...
    I just signed up and it works for me, the pic was auto selected as primary, I didnt have to "Make Primary"

  2. #12

    Join Date
    Oct 2006
    Posts
    130

    Default

    I am Rscott on http://clean601.devmysite.com/index.php and I have Lovers-Meet.com as well, and a 3rd test site that is running on 601b4 clean, this does not work, not in IE nor in Mozilla, I mean it puts my picture there, but not on the Main photo under Members, what am I missing here?

    It even says in my SQL under Profiles --->PrimPhoto 0 For both names I have tried this with but I have 3 photos on each and they are standard jpg photos..

    Heres another thing.. when I go to Photo Gallery it says
    Sorry Nothing Found, but under photos I have 3 pictures Now.
    On DevMySite the photogallery does have my pic but it is still not main..

    And under Profile Photos in the Admin Panel, there is the 3 pics to approve, but can not approve them, what's going on here Lol Is this dolphin just as full of bugs as the 5.3 version was when I left it before? OK that is just content I suppose and the photos are approved, but still no main photo.. This is kind of frustrating for something as simple as this not to work yet other people says it works
    Last edited by rscott4581; 09-29-2007 at 02:33 PM.

  3. #13
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    its not photo gallery - its profile photos - that gets made primary....

    Yes - this is confusing - and should be made clearer to the users what is what on the site.
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  4. #14

    Join Date
    Sep 2007
    Posts
    4

    Default Not working

    I tried this mod, and it still did not set the first photo as the primary upon first photo. I am using Dolphin 6.01

    if( 0 < $iResult )
    {
    // START bug fixed -- first photo upload make primary
    if ( $this -> aMedia['0']['PrimPhoto'] == 0 )
    {
    $iLastID = mysql_insert_id();
    $this -> oMediaQuery -> setPrimaryPhoto( $this -> iProfileID, $iLastID );
    $this -> aMedia['0']['PrimPhoto'] = $iLastID;
    }
    // END bug fixed -- first photo upload make primary
    if (getParam("autoApproval_ifPhoto") != 'on' )
    {
    $sqlQuery = "UPDATE `Profiles` set `Status`='Approval' WHERE `ID`={$this -> iProfileID}";
    db_res($sqlQuery);
    createUserDataFile( $this -> iProfileID );
    reparseObjTags( 'profile', $this -> iProfileID );
    }

  5. #15
    mark
    Guest

    Post

    Quote Originally Posted by ispons View Post
    I tried this mod, and it still did not set the first photo as the primary upon first photo. I am using Dolphin 6.01
    check from here :
    Bug Fixed upload photo - the photo not set to primary automatically

  6. #16

    Join Date
    Sep 2007
    Posts
    4

    Default Added line of code

    Thank you. That worked great.

  7. #17

    Join Date
    Oct 2007
    Posts
    2

  8. #18

    Join Date
    Oct 2007
    Posts
    2

    Default fix

    Posted twice. Sorry.
    Last edited by praveenkv1988; 09-11-2009 at 03:25 PM. Reason: posted twice.

Page 2 of 2 FirstFirst 12

LinkBacks (?)

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Photo Upload Failed (Photo Error) - Photo Module
    By Page7 in forum Boonex Dolphin 7
    Replies: 4
    Last Post: 03-24-2010, 09:28 PM
  2. Primary Photo goes bye-bye
    By bigal0228 in forum Dolphin General Discussion v6.00 and above
    Replies: 2
    Last Post: 10-14-2009, 06:28 AM
  3. Photo Image will not upload
    By emailgirls in forum General Troubleshooting
    Replies: 23
    Last Post: 09-25-2007, 08:25 AM
  4. Primary Photo not showing?
    By quantumkangaroo in forum General Troubleshooting
    Replies: 7
    Last Post: 07-05-2007, 10:28 AM
  5. Upload Photo
    By BodyMen in forum Bugs Dolphin 5.6.1 / 5.6.2
    Replies: 25
    Last Post: 03-09-2007, 02:46 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
  •