1. To chat with the GameOgre community, you need to have at least 100 posts. Once you have the 100 posts, post at Become A New Ogre
    Dismiss Notice

Preview Feature

Discussion in 'Living Avatars' started by Insydius, Oct 9, 2011.

  1. Insydius

    Insydius Little Spike New Ogre

    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    0
    Credit:
    1,616.00
    So I'm looking at the file and I see the function but how does it work and where is it displayed at?

    PHP:
    // ###############################################################################
    // PREVIEW ITEM
    // ###############################################################################

    function PreviewItem()
    {
    ...
    }
    While viewing it online is it in the purchase Items Pages or Edit Avatar pages?

    Also, the LA installed here on this site is it using 1.2.2 with this new feature available for us to try? If not then are there any screenshots?
     
  2. confuser

    confuser Big Brute The Pit

    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    16
    Credit:
    50.00
    Code:
      case 'previewitem':
      	PreviewItem();
      break;
    It is effectively the same as EditAvatar with a few minor differences. The iframe has checks in it to see if its in preview mode or not. Basically it goes via action=previewitem&item_id=w/e&group_id=w/e the item is then checked to see if it exists, if it does, it adds it to the table where the items you've purchased are shown in the avatar editor (includes/editavatar.php roughly line 515 on the free version)

    LA here is still using 1.2.0 I believe, hopefully ogreman will update it soon
     
    Last edited by a moderator: Oct 10, 2011
  3. robtbs

    robtbs Little Spike

    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    0
    Credit:
    4.00
    how you use this function??
     
  4. Admin Post
    ogreman

    ogreman Ogre In Charge Staff Member GameOgre Admin

    Messages:
    52,581
    Likes Received:
    8,872
    Trophy Points:
    113
    Credit:
    196,732.38
    Yes, still using the first version we installed here. Hmmm, what would be the latest version that could be installed on this version of Vbulletin?
     

Share This Page