Sailfindragon

+Clients
  • Content count

    56
  • Joined

  • Last visited


About Sailfindragon

  • Rank
    IPB Member
  • Birthday 09/20/1973

Contact Methods

Profile Information

  • Gender Female
  • Location Scotland, UK
  • Interests Art, Graphics, 3D modeling, Web-design, Computers, Gadgets, Xbox, PC Gaming,

Sailfindragon's Activity

  1. Sailfindragon added a comment on a file: Database Forms   

    Is this mod still supported?
  2. Sailfindragon added a post in a topic: Database Forms   

    Bump. :)
  3. Sailfindragon added a post in a topic: Database Forms   

    Seem to be having issues with this per category. I have a default form set in the database. However when I use the a second form for selected categories, it continues to use the default form, when adding new items. It seems to work perfectly when editing the item though.
    Hope that makes sense. :)
    Any assistance would be much appreciated.
  4. Sailfindragon added a post in a topic: IP content - Attachment file sizes (php.ini)   

    I forgot to ensure the max_post_size was a higher value than the  upload_max_filesize.  Once I changed that, attachments in IP content reflected the same values as forum attachments.
  5. Sailfindragon added a post in a topic: IP content - Attachment file sizes (php.ini)   

    Global per post limit is not the issue. As I said in my first post, the post attachments in the forums are changed to reflect the my new php.ini settings. These however changes have not taken effect within attachments in IP Content.
     
    EDIT: I have managed to sort the issues myself.
     
    Many thanks.
  6. Sailfindragon added a post in a topic: IP content - Attachment file sizes (php.ini)   

    I didn't - Only in the board folder.
     
    However my php.ini file only overwrites the default php.ini settings set my the server company. (I have a managed dedicated server)
  7. Sailfindragon added a post in a topic: IP content - Attachment file sizes (php.ini)   

    I have uploaded the php.ini to the board folder with the adjustments I made to post_size and file_size. The changes are reflected in the php.info and also for attachments within the forum. However the attachment values have not been changed for attachments fields within the databases. 
    Is there a particular IP content folder that the php.ini also needs to be in?
     
    Any assistance would be greatly appreciated.
  8. Sailfindragon added a post in a topic: Image Container   

    Using a single file upload field.

    In your display template add:


    Replace x with your field_id and adjust the width to the thumbnail size you want. e.g 25px. When you click the image it will open up to its full size.
    <if test="$data['record']['field_x_value']"><a href="{$data['record']['field_x_value']}" rel="lightbox[screen]" ><img src="{$data['record']['field_x_value']}" width="150" /></a></if>
  9. Sailfindragon added a post in a topic: Don't want a sidebar on database display page   

    If you use the above code directly in your category & listing template (instead of the page), the sidebar will not show on the display template.

    and in your page just add {parse database="game_database"}

    If you would like more information on this, please let me know.
  10. Sailfindragon added a post in a topic: Database Listing - Show images?   

    This is the code i use for single file upload images.


    Replace X with your field_id
    <if test="$data['record']['field_x_value']"><img src="{$data['record']['field_x_value']}" width="your image width" /></a></if> If you want lightbox to open a larger image. <if test="$data['record']['field_x_value']"><a href="{$data['record']['field_x_value']}" rel="lightbox[screen]" ><img src="{$data['record']['field_x_value']}" width="150" /></a></if>
  11. Sailfindragon added a post in a topic: Created a Listing Page of Sorts, now pagination?   

    You guessed right (using custom database) and knew exactly what I wanted to achieve. Much appreciated. Working perfectly. :)
  12. Sailfindragon added a post in a topic: Created a Listing Page of Sorts, now pagination?   

    Works perfectly, thank you so much for this and for tidying up the code. :smile: Your a star.

    EDIT: Just needed to sort the base url as page was heading to the main download area instead of the next page. :smile: But sorted and all good.
  13. Sailfindragon added a post in a topic: Display image, if data base record = .....   

    Your welcome.
  14. Sailfindragon added a post in a topic: Display image, if data base record = .....   

    You could do it like this. Set up with a checkbox with Yes/No options.

    Then;



    Your images would need to be named yes.png and no.png. (or jpg, but you need to change. png to jpg)
    <if test="$data['record']['field_X_value']"><img src="your/url/{$data['record']['field_X_value']}.png" title="imagetitle"></if>
  15. Sailfindragon added a post in a topic: Created a Listing Page of Sorts, now pagination?   

    I have created a page in ip content for each of my creators. I have it pulling what I want from the DB. However I need to find a way to pagination the results.

    This is the code I am using. It basically pulls records from the database from a specific member and displays them (similar to a listing display)



    Unfortunately most of my creators have over hundred records each and I need to find a way to paginate the results.

    Any help would be much appreciated. :smile:

    This is what is displayed.

    <php> $this->_downloads = array(); $this->DB->build( array( 'select' => '*', 'from' => 'ccs_custom_database_3', 'where' => 'member_id = 1 ', 'order' => 'record_saved DESC') ); $down = $this->DB->execute(); while ( $downloads = $this->DB->fetch($down) ) { $this->_downloads[$downloads['primary_id_field']] = $downloads; } </php> <div class='ipsLayout_largeright ipsLayout ipsLayout_withright'> <div class='ipsLayout_right'> </div> <div class='ipsLayout_content'> <foreach loop="$this->_downloads as $k => $record"> <php> $this_category = $this->DB->buildAndFetch( array( 'select' => 'category_name, category_database_id', 'from' => 'ccs_database_categories', 'where' => "category_id='{$record['category_id']}'" ) ); </php> <div class="gridbox"> <div class="modbox"> <table width="100%" border="0" cellspacing="3"> <tr> <td width="150" rowspan="3"><img src='/board/uploads/{$record['field_23']}' class='photo1' width="150" alt='' height="120" /> </td> <td><h3 class="modtitle"><img src="http://www.sailfinsims.com/board/images/caticons/Sims 2.png" width="25" height="25" title="Sims 2"> <a href="{$data['database']['base_link']}/sims2downloads.html?record={$record['primary_id_field']}">{$record['field_15']}</a></h3></td> </tr> <tr> <td>{parse template="userHoverCard" group="global" params="IPSMember::load($record['member_id'])"} on {parse date="$record['record_saved']" format="date"} in <a href='{$this->registry->ccsFunctions->returnDatabaseUrl( $this_category['category_database_id'], $record['category_id'] )}' title='{$this_category['category_name']}'>{$this_category['category_name']}</a><br/><span class='desctext'>{IPSText::truncate( strip_tags($record['field_16']), 250 )}</span></td> </tr> <tr> <td> <a class="button-more" href="{$data['database']['base_link']}/sims2downloads.html?record={$record['primary_id_field']}">Get Download</a> &nbsp;&nbsp; <a class="button-more" href="{$data['database']['base_link']}/sims2downloads.html?record={$record['primary_id_field']}#commentsStart">Comments({$record['record_comments']})</a> &nbsp;&nbsp; <id class="button-more">Views&nbsp;({$record['record_views']})</id> </td> </tr> </table> <br style='clear: both' /> </div> </div> </foreach> </div> </div>

About Me

www.twitter.com/SailfinSims
www.twitter.com/Sailfindragon

Status Feed

  1. Sailfindragon

    Thank goodness its Friday Tomorrow!

    1. The Heff

      I'll drink to that!

  2. Sailfindragon

    Thank goodness its Friday Tomorrow!

  3. Sailfindragon

    Just want to say a big thank you to AndyMillne, you have saved me a lot of hair pulling!

  4. Sailfindragon

    Internet finally back up. Been down since last night.

  5. Sailfindragon

    Working on download database and enjoying lovely sunny weather.

  6. Sailfindragon

    Went a little block happy on my test IP content homepage. lol.

    1. Sailfindragon

      Test site -http://www.sailfinsims.co.uk

  7. Sailfindragon

    Loving IPB, but frustrated with certain aspects of IP Downloads

    1. Wolfie

      Such as...?
      You should make a topic in the IPD feedback forum. :)

    2. Charles

      Yes, please do as we are planning the next version so now is a good time.

    3. Wolfie

      IPD forum:
      http://community.invisionpower.com/forum/317-ipdownloads/

      I posted a suggestion there just now. :)

    4. Sailfindragon

      Will do. Thanks.

  8. Sailfindragon

    Just installed IP Content. Looks a wonderful product.....just need to figure out how to use it! lol

  9. Sailfindragon

    Waiting for my IPB order to be approved. Really looking forward to switching.

    1. Andrej

      Welcome to IPB! :)

    2. Fleamarts

      Have fun :)

    3. Sailfindragon

      Thank you.

    4. Digory

      Welcome to IPB. Hope your switch is smooth and your members are happy!

    5. AndyF

      Welcome :)

    6. Wolfie

      Where's your site at?

    7. Blind Bandit

      lucky I would love to start a new site with IPB.

    8. Sailfindragon

      IPB installation went well. Just customizing it to match old vb site before going live. Loving it so far.

  10. Sailfindragon » TheMorrigan

    Hey there. I have joined you over here on IPB, just waiting for my order to be confirmed. YAY.