Multiniche sites for old rotation

Quick guide to configuring the script for a multiniche site:

  1. Create groups (Trade → Groups). All traders must belong to at least one group.
  2. Create group pages (the process varies by rotator; in Smart version it's Rotation Pages) and add the include code:
for PHP: <?php include_once('./scj/cgi/include.php'); ?>
for SHTML: <!--#include virtual="/scj/cgi/include.php"-->
  1. When configuring out out.php parameters, remember to add &group=.
  2. In the rotator, set urlencode to replace & with %26 in gallery URLs.
  3. The Special Group Urls option is very useful—see Edit Traders.

New Rotation Multiniche trade

For supporting multiniche sites with new rotation, beyond basic categories, the script offers:

Incoming redirect to niche page - The script can redirect trader traffic to the appropriate niche on your site. See redirects.

Sending clicks to the trader's niche page - If traders can't automatically redirect your hits to the right page, you can set this up manually. It's more involved than just enabling an option. First, the script must identify which group is active during clicks by adding &group=… to the out parameters. You have two options:

  1. Edit templates to create links like /gallery/asd/index.html?12x12x1234&group=GROUP_NAME (substituting the tag in each template)
  2. Or enable the option (trade_by_groups) to determine the group by referrer

Then configure Special Urls for each trader per group. For example, if trader 1 has URL http://trader/a/ for group A, and the out parameters identify group A, the trader receives hits at http://trader/a/ instead of http://trader/.

Common confusion:

“Trader 1 is in group A, but my referrers show traffic from category B—trader isn't trading by groups!” Usually, the top traders list is compiled globally (not by group) and displayed across all site pages. So page B shows all traders in the top, even those only in group A. See Toplist.

Additionally, if group A has only 2 traders and a visitor has clicked both, subsequent clicks go to all traders. If no unvisited active traders exist in the group, the system sends to all traders.