> Forums > Active Social > Integration and API > Feature &/or how to - Create Gallery
Last Post 08 Feb 2012 07:11 AM by Andrew Walker. 2 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Not Resolved
Andrew Walker
Customers
Andrew Walker
Post Count:42

--
27 Jul 2011 11:09 AM
    I'm building a custom module where users are able to upload images in their Groups. I've already implemented the AS API to upload the file to the group - but they unfortunately go into the default photo album for the group (or profile).

    I would like to be able to create the gallery - and choose it to add the images too.  Then - when I want to view that gallery - I can simply rely on AS and use all it's functionality for implementing views & comments and all since it's already there.

    Example:
    Let's say Groups are Cities.  And users are adding locations (A bar or pub) to these Cities.  So they can add photos from that bar/pub.  I want to be able to show the images for each individual Bar/Pub - and since it's not in the API nor in it's own gallery - I have to rely on my own code making the right calls.

    I've created a view that inner joins the Bar/Pub's ImageId's that I store w/ the ActiveSocial_Files table - but that's not implementing the counts, permissions, UI of AS.  I'm re-creating the wheel that's already part of AS.

    Any tips?  Or Vote's for implementation in the API? :)
    Our Sites that use ActiveSocial:
    BigGameLogic.com - for the serious deer hunter (track deer movement/patterns).
    ForemostBrewing.com - for the homebrewer and winemaker
    ForemostHunting.com - for the avid hunting sportsman
    GameBirdHunts.com - for the upland game bird hunter
    Mark Vivanco
    Customers
    Mark Vivanco
    Post Count:6

    --
    07 Feb 2012 04:20 PM
    Did you ever get a response on this? I am looking to integrate my own Gallery module within AS but cannot really find out where I can hook into the API for the options.
    Andrew Walker
    Customers
    Andrew Walker
    Post Count:42

    --
    08 Feb 2012 07:11 AM
    Hey Mark,

    I don't think we're attacking the same problem. It sounds like you already have your own gallery module. I was simply looking to use the AS Gallery - but wanted to create my own folders (galleries) within the AS Gallery. I haven't checked since version 1.9.3 and it wasn't there - but I see there is a new version (1.9.6) out

    I think what you're looking to do is simply integrate a 3rd party module - here's a link from the KB (which is always hard to find again) that outlines showing a new tab on the profile page (same idea w/ groups page):
    http://www.activemodules.com/active...ofile-tab/

    If that's what you're trying to do - you'll want to be able to search your gallery module by the Active Social UserId (which is likely the same as the DNN user Id) from the query string

    If you're looking to integrate more by posting to the journal (wall) - have a look at dnnosphere - he helped me get in the right direction mentally:
    http://www.activemodules.com/active...al-tester/

    Hope this helps
    Our Sites that use ActiveSocial:
    BigGameLogic.com - for the serious deer hunter (track deer movement/patterns).
    ForemostBrewing.com - for the homebrewer and winemaker
    ForemostHunting.com - for the avid hunting sportsman
    GameBirdHunts.com - for the upland game bird hunter
    You are not authorized to post a reply.
    > Forums > Active Social > Integration and API > Feature &/or how to - Create Gallery
    test
    Copyright 2012 by DotNetNuke Corporation / Terms of Use / Privacy