Jump to content

ruinernix

Clients
  • Posts

    85
  • Joined

  • Last visited

Reputation Activity

  1. Like
    ruinernix got a reaction from Ajouz ♞ in Download: IP.Content 1.1.1 Database Feed   
    File Name: IP.Content 1.1.1 Database Feed
    File Submitter: wixerle
    File Submitted: 10 Nov 2009
    File Category: CCS Modifications

    This is the very first 'alpha' version of this tool. It is currently working and lightly tested. Unfortunately I don't have a demo site since my site is not live yet and still in development.

    This has only been tested with IP.Content 1.1.1. Current version of file: 1.

    The following features are implemented. More features to come if more features are requested, but that is all I needed at the moment:

    Select database Sort by comments, rating, submission date, updated date or any field of your database, ascending or descending. Limit number of records and skip number of records Attachment parsing BB-code parsing
    The fields are specified just like in the database templates.

    This is an example block code:

    <div class='general_box'> <h3>{$title}</h3> <ul class='hfeed'> <if test="is_array( $records ) && count( $records )"> {parse striping="feed_striping" classes="row1,row2 altrow"} <foreach loop="$records as $r"> <li class='hentry {parse striping="feed_striping"}'> <a href='{parse block="board_url"}/index.php/?/page/database?record={$r['primary_id_field']}' rel='bookmark' title='{$r['field_1_value']}'>{$r['field_1_value']}</a> <span class='date'><abbr class="published" title="{parse expression="date( 'c', $r['date'] )"}">{parse date="$r['field_2']" format="short"}</abbr></span> <span class='desctext'>{IPSText::truncate( strip_tags($r['field_3_value']), 100 )}</span> </li> </foreach> </if> </ul> </div>

    replace the /page/"database" with your actual database name for this feed.

    Installation:

    Step 1: Drop in admin/application_addons/ips/ccs/sources/blocks/feed/data_sources

    Step 2: Nothing. Thanks to IPB's plugin systems, it is that easy to install!



    Click here to download this file
  2. Like
    ruinernix got a reaction from TackleUnderground in Download: IP.Content 1.1.1 Database Feed   
    File Name: IP.Content 1.1.1 Database Feed
    File Submitter: wixerle
    File Submitted: 10 Nov 2009
    File Category: CCS Modifications

    This is the very first 'alpha' version of this tool. It is currently working and lightly tested. Unfortunately I don't have a demo site since my site is not live yet and still in development.

    This has only been tested with IP.Content 1.1.1. Current version of file: 1.

    The following features are implemented. More features to come if more features are requested, but that is all I needed at the moment:

    Select database Sort by comments, rating, submission date, updated date or any field of your database, ascending or descending. Limit number of records and skip number of records Attachment parsing BB-code parsing
    The fields are specified just like in the database templates.

    This is an example block code:

    <div class='general_box'> <h3>{$title}</h3> <ul class='hfeed'> <if test="is_array( $records ) && count( $records )"> {parse striping="feed_striping" classes="row1,row2 altrow"} <foreach loop="$records as $r"> <li class='hentry {parse striping="feed_striping"}'> <a href='{parse block="board_url"}/index.php/?/page/database?record={$r['primary_id_field']}' rel='bookmark' title='{$r['field_1_value']}'>{$r['field_1_value']}</a> <span class='date'><abbr class="published" title="{parse expression="date( 'c', $r['date'] )"}">{parse date="$r['field_2']" format="short"}</abbr></span> <span class='desctext'>{IPSText::truncate( strip_tags($r['field_3_value']), 100 )}</span> </li> </foreach> </if> </ul> </div>

    replace the /page/"database" with your actual database name for this feed.

    Installation:

    Step 1: Drop in admin/application_addons/ips/ccs/sources/blocks/feed/data_sources

    Step 2: Nothing. Thanks to IPB's plugin systems, it is that easy to install!



    Click here to download this file
×
×
  • Create New...