My custom css/layout and a question

Discussion in 'Templates customization' started by minx, Dec 20, 2013.

  1. minx

    minx New Member

    Joined:
    Aug 1, 2013
    Messages:
    26
    Tell you what, aMember is fantastic isn't it? - Anyway enough of the adulation, I've been using it now about two weeks and I'm very happy with everything including how I was able to integrate aMember into my existing site which used vBulletin as it's members base (with two photopost galleries attached) and aMember slotted in well and so after I wired up everything round the back I went on to theme aMember to match my current sites style, I just followed the instructions and example files and created my own theme with also draws on some custom php code to display some of my gallery images at random and pump them into the layout of aMember to get a protential members blood up so to speak... needed a hook there besides the signup page, so I've included some site statistics and such like, I've also completely changed the fonts and colors to match my site which uses web-font, they work in IE etc, looks nice... now my question :)

    I've been inserting custom php code to pull some images from my photopost gallery and i'm doing this via my layout.phtml with <?php?> tags and it works... for the life of me I couldn't get it to work in my site.php, dunno why but I resorted to using layout instead, which is fine... but it makes a few calls on another database and in retrospect I'm sure there's a more memory efficient way of doing things... which I'm sure i'll work out, but it all works, signups are ok... nothing gets interfered with unduly and I was quite pleased with how it turned out, so here's a few screen shots of the various pages I have, I used to design a few themes a while back... many years ago :) I actually made one of the first for 'coppermine' and they still bundle the theme with it to this day... which is nice, so yeah its a very nice system aMember and I should of had this yeeeeeeears ago really... but I hope to help out here & there as way of thanks and Karma back kudos to you chaps for making it so well... and if I can i'll post up some addons and bits & bobs once I get into it... if I can....with my time, anyway hopefully using layout.phtml is the way on... I may try that site.php file, it just wasn't firing my php code off... i dunno, anyway check the screenies...

    edit.png

    history.png

    member.png

    signup.png
  2. minx

    minx New Member

    Joined:
    Aug 1, 2013
    Messages:
    26
    session_start(); some kind of array there using data from my galleries... got it, then I can squirt the data back out within aMember... i'll try that later
  3. hhubbers01

    hhubbers01 aMember Pro Customer

    Joined:
    Feb 22, 2012
    Messages:
    25
    What is the font you are using... I like it
  4. thehpmc

    thehpmc aMember Pro Customer

    Joined:
    Aug 24, 2006
    Messages:
    901
    Custom css should go into site.css otherwise it may get over written during an upgrade.
  5. minx

    minx New Member

    Joined:
    Aug 1, 2013
    Messages:
    26
    Font is called : SegoePrintBold
    Here's the style code I used, place in your 'site.css'

    Code:
    @font-face {
        font-family: 'gallerycustomcategoryfont';
        src: url('http://www.mysite.com/fonts/gallerycustomcategoryfont-webfont.eot');
        src: url('http://www.mysite.com/fonts/gallerycustomcategoryfont-webfont.eot?#iefix') format('embedded-opentype'),
            url('http://www.mysite.com/fonts/gallerycustomcategoryfont-webfont.woff') format('woff'),
            url('http://www.mysite.com/fonts/gallerycustomcategoryfont-webfont.ttf') format('truetype'),
            url('http://www.mysite.com/fonts/gallerycustomcategoryfont-webfont.svg#gallerycustomcategoryfont') format('svg');
        font-weight: normal;
        font-style: normal;
    }
    Example to show output

    Code:
    .example_css {
    font: bold 13px gallerycustomcategoryfont;
    color:#FFFFFF;
    }

Share This Page