User Tools

Site Tools


Translations of this page:



new_rotation_examples

New Rotation Examples

Regular CJ

A site with no categories or a single category. Example: http://demo.smartcj.com/simple/

How to set it up:

  • Configure rotation via New Rotation Step By Step
  • Import galleries in Rotation - Import
  • Use a single template for both index and archives—the default template. Add archive navigation:
<navigation>
<li><a href="/?page=<!--PAGE_NUM-->" title="<!--PAGE_NUM-->"><!--PAGE_NUM--></a></li>
</navigation>
  • Mark where thumbnails display:
<!--default_1-10-->

Why this is better than old rotation:

  • Auto-creates and re-links archives; navigation uses smart pagination (e.g., Page: 1 2 3 4 5 ….. 684)
  • Easily customize ads per category
  • Clean URLs
  • Built-in search (content_search template)

Multiniche site

Example: http://demo.smartcj.com/

How to set it up:

Each demo category shows a different content import and display method. Configure group and sponsor settings as needed for your use case.

Put new thumbs to - Add to “Active” if unsure. For preview-only content, add to “Preload” and review later.

Check DB for Dupes - Verify the import URL isn't already in the database.

Skip “Copy Thumbs to server?” if you don't have ready-made thumbnails.

If you don't have ready-made thumbnails - Select a crop profile matching your demo design. This profile creates rotation thumbnails.

Standard import format.

Pattern: URL only

Descriptions come from gallery titles automatically.

Sponsor provides FLV URL and thumbnail. You use your own player.

Pattern: FLV URL, FLV Preview Thumb

You can set video size, but it defaults to the preview thumbnail size. The script automatically uses the content_custom_flv template.

Sponsor provides embed code directly.

Pattern: Embed code, Thumb

The script automatically uses the content_page template.

Create your own embed galleries from sponsor content. Also includes FHG All Hosted, FHG Half Hosted, FHG Skimmed, Mov FHG.

Pattern: URL only

Create Custom Galleries - Yes

Grab Options - Choose hosting. Hotlink Everything means sponsor hosts everything (saves your bandwidth), but hotlinking may be blocked and thumbnails may not fit your design. Make Thumbs\Hotlink big creates thumbnails using Crop Profile, but links to large images/videos stay on the sponsor. DL All downloads all content to your server and creates thumbnails with Crop Profile.

FHG All Hosted - DL All FHG Half Hosted - Make Thumbs\Hotlink big FHG Hotlink - Hotlink Everything (script hotlinks gallery thumbnails without creating custom ones; ensure they fit your design)

Crop Profile - Creates thumbnails for the gallery itself (not rotation). Ignored if Hotlink Everything is selected.

Embed Template - Choose the template to display this content. Defaults are included, or the script auto-selects based on content type.

Mov FHG

Like FHG Hotlink, but for video galleries.

Grab Flash Galleries

Like FHG Hotlink, but for Flash galleries. Works with common formats (not all). Let us know if a specific gallery doesn't work.

Ext Custom From

Like FHG variants, but displays galleries externally instead of embedded. Available in paid versions only.

Multiniche Dual Content CJ

http://demo.smartcj.com/dual/ - Create a multiniche site (or divide by models) with separate image/video content and a larger homepage thumbnail per category.

How to set it up:

  • Create a crop profile for index thumbnails in Rotation - Settings - Crop Profile.
  • When importing, specify this profile in Extra Thumb.
  • Create two more crop profiles: one horizontal for videos (mov_profile), one vertical for images (pic_profile).
  • Import content in two passes per category (videos and images need different thumbnail sizes).
  • First pass: select category/sponsor, set Content Type Limit to “Movies”. Create thumbnails using mov_profile and Extra Thumb with the index profile. The script creates two thumbnails: scj/thumbs/123/456.jpg (rotation) and scj/thumbs/123/456.jpg.extra.jpg (homepage).
  • Second pass: same settings, but Content Type Limit = “Images” using pic_profile.
  • Use 2 templates for listing (different sizes need different styles), or 1 flexible template.
  • Add this to .htaccess:
RewriteRule ^cat/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/$ /scj/cgi/out.php?link=images/%{QUERY_STRING}&url=content&p=100&skip_sell=true&group_id=$1&order=$3&page=$4&force_template=$5&content_type=$6
  • In your index template, make two changes:
  • Output thumbnails with:
  <img src="<!--EXTRA_THUMB_URL-->" (the extra thumbnails created during import)
  
  • Create 2 links per category (videos and pictures):
<a href='/cat/<!--CATEGORY_ID-->/<!--CATEGORY_NAME-->/ctr/1/content_list_pic/image/?<!--THUMB_LINK-->'>Pics</a>
<a href='/cat/<!--CATEGORY_ID-->/<!--CATEGORY_NAME-->/ctr/1/content_list_mov/movie/?<!--THUMB_LINK-->'>Movs</a>
  • Links include content_list_pic/image/ and content_list_mov/movie/, where the template names specify picture and video templates.
  • Category display example:
<category order=alphabet num=1-20>

<li><h2><a href='/cat/<!--CATEGORY_ID-->/<!--CATEGORY_NAME-->/ctr/1/content_list_pic/image/?<!--THUMB_LINK-->'>Pics</a>
&nbsp;&nbsp;:::&nbsp;&nbsp;
<a href='/cat/<!--CATEGORY_ID-->/<!--CATEGORY_NAME-->/ctr/1/content_list_mov/movie/?<!--THUMB_LINK-->'>Movs</a></h2>

<a href="/cat/<!--CATEGORY_ID-->/<!--CATEGORY_NAME-->/ctr/1/content_list_pic/image/?<!--THUMB_LINK-->" title="<!--CATEGORY_NAME-->">
<img src="<!--EXTRA_THUMB_URL-->" class="t_img" alt="" /></a></li>

</category>
  • If your design is flexible, use 1 template with /cat/<!–CATEGORY_ID–>/<!–CATEGORY_NAME–>/ctr/1/content_list/image/?<!–THUMB_LINK–> (content_list is the default thumbnail list template).
  • If your design needs fixed sizes, use 2 templates (content_list_pic and content_list_mov) with different styles for image and video thumbnails.

Templates used: Rotation Dual Demo Index, Rotation Dual Demo content_list_pic, and Rotation Dual Demo content_list_mov

new_rotation_examples.txt · Last modified: 2026/03/21 10:11 by 127.0.0.1