Using Only Reciprocal and Sponsored Types
By Paul
0/5 based on 0 votes. The median rating is 0.
By Paul
1) At Admin Panel -> Settings -> Links, type recip,sponsored in the link types official names box and reciprocal,sponsored in the display names box.
This will get things working. If you want to customize the look of the different types, go to Admin Panel -> Templates -> Manage Templates -> "Link Bit" and use conditionals to add type-specific HTML:
If you want sponsored links to appear above reciprocal links, follow these additional steps:
1) Set "mix link types?" to "no" at Admin Panel -> Settings -> Links.
2) At Admin Panel -> Templates -> Manage Templates -> "Show Links in Category", place
3) At Admin Panel -> Templates -> Manage Templates -> "Search Links", place
4) At Admin Panel -> Templates -> Manage Templates -> "Search All", place
Advanced Tip:
If using conditionals in the listing bit doesn't cut it, you can copy the whole link bit into the regular template between the BEGIN and END markers for the type and customize that in there.
This will get things working. If you want to customize the look of the different types, go to Admin Panel -> Templates -> Manage Templates -> "Link Bit" and use conditionals to add type-specific HTML:
<IF {IMAGETYPE} is recip>this is html for reciprocal links</IF>
<IF {IMAGETYPE} is sponsored>this is html for sponsored links</IF>
<IF {IMAGETYPE} is sponsored>this is html for sponsored links</IF>
If you want sponsored links to appear above reciprocal links, follow these additional steps:
1) Set "mix link types?" to "no" at Admin Panel -> Settings -> Links.
2) At Admin Panel -> Templates -> Manage Templates -> "Show Links in Category", place
<IF {SHOWSPONSORED}>
<table {STANDARDTABLE}>
<!-- BEGIN SPONSORED LINKS -->
[INSERTFILE=linkbit]
<!-- END SPONSORED LINKS -->
</table>
</IF>
just above <table {STANDARDTABLE}>
<!-- BEGIN SPONSORED LINKS -->
[INSERTFILE=linkbit]
<!-- END SPONSORED LINKS -->
</table>
</IF>
<IF {SHOWRECIP}>
3) At Admin Panel -> Templates -> Manage Templates -> "Search Links", place
<!-- BEGIN SPONSORED -->
[INSERTFILE=linkbit]
<!-- END SPONSORED -->
just above [INSERTFILE=linkbit]
<!-- END SPONSORED -->
<!-- BEGIN RECIP -->
4) At Admin Panel -> Templates -> Manage Templates -> "Search All", place
<!-- BEGIN SPONSORED -->
<div>
<IF {SWITCH_THUMBSHOTS}><div class="thumbshot">{IMAGETHUMBSHOT}</div></IF>
<span class="title"><a href="{TRACKLINKURL}" class="reciplink">{IMAGETITLE}</a></span> {IMAGENEW} {IMAGEUPDATED} {IMAGEADMIN}<br />
<IF {IMAGEDESCRIPTIONBOOL}><span class="labels">{LANG_GENERAL_DESCRIPTION}:</span> {IMAGEDESCRIPTION} <br /></IF>
<IF {SWITCH_RATINGS} and {IMAGEVOTES}><span class="labels">{PALL_LANG_GENERAL_RATING}:</span> {IMAGESTARS} ({IMAGERATING}/{MAXVOTE}, {IMAGEVOTES} {LANG_GENERAL_VOTES})<br /></IF>
<IF {SWITCH_HITS}><span class="labels">{PALL_LANG_GENERAL_HITSOUT}:</span> {IMAGEHITS} <IF {SWITCH_HITSIN}>| <span class="labels">{PALL_LANG_GENERAL_HITSIN}:</span> {IMAGEHITSIN}</IF><br /></IF>
<IF {SWITCH_COMMENTS}><span class="labels">{PALL_LANG_GENERAL_COMMENTS}:</span> <a href="{IMAGETHREADURL}">{IMAGENUMCOMMENTS}</a><br /></IF>
<span class="labels">{LANG_GENERAL_CATEGORY}:</span> {IMAGENAV[trim]}
<div class="clear"></div>
</div>
<!-- END SPONSORED -->
just before <div>
<IF {SWITCH_THUMBSHOTS}><div class="thumbshot">{IMAGETHUMBSHOT}</div></IF>
<span class="title"><a href="{TRACKLINKURL}" class="reciplink">{IMAGETITLE}</a></span> {IMAGENEW} {IMAGEUPDATED} {IMAGEADMIN}<br />
<IF {IMAGEDESCRIPTIONBOOL}><span class="labels">{LANG_GENERAL_DESCRIPTION}:</span> {IMAGEDESCRIPTION} <br /></IF>
<IF {SWITCH_RATINGS} and {IMAGEVOTES}><span class="labels">{PALL_LANG_GENERAL_RATING}:</span> {IMAGESTARS} ({IMAGERATING}/{MAXVOTE}, {IMAGEVOTES} {LANG_GENERAL_VOTES})<br /></IF>
<IF {SWITCH_HITS}><span class="labels">{PALL_LANG_GENERAL_HITSOUT}:</span> {IMAGEHITS} <IF {SWITCH_HITSIN}>| <span class="labels">{PALL_LANG_GENERAL_HITSIN}:</span> {IMAGEHITSIN}</IF><br /></IF>
<IF {SWITCH_COMMENTS}><span class="labels">{PALL_LANG_GENERAL_COMMENTS}:</span> <a href="{IMAGETHREADURL}">{IMAGENUMCOMMENTS}</a><br /></IF>
<span class="labels">{LANG_GENERAL_CATEGORY}:</span> {IMAGENAV[trim]}
<div class="clear"></div>
</div>
<!-- END SPONSORED -->
<!-- BEGIN RECIP -->
Advanced Tip:
If using conditionals in the listing bit doesn't cut it, you can copy the whole link bit into the regular template between the BEGIN and END markers for the type and customize that in there.
Rating:
0/5 based on 0 votes. The median rating is 0.
Submitted: 06/17/09 (Edited 06/18/09)
Description: How to set up your site to use only a reciprocal listing type and a sponsored listing type, with no regular listings.
Views:
94 views. Averaging 0 views per day.
In the most recent 30 day period, there've been 0 views.

Print
E-Mail