Classic Style WoL - 06/19/2007 6:27 AM
(AKA, Content Islands 101)
To move the contents of your WOL to "just above" or "just under" your category listing you can just use the "external use" option from the content islands setting in your control panel.
I myself built this as a proof of concept of how to do just this (with the WoL).
First, you'll want to go to your portal layout, and select "external use" and copy the paths, you'll need them to make this work.
Now, open your cfrm.tpl file in your templates/default folder; now you have a choice...
To add this to the TOP of your category list, insert this as the line after the "{if $introtitle}"; To add this to the BOTTOM of your category list, insert this at the end of the file.
Now, those paths you copied earlier, you'll want to replace from the above coding (as I'm sure your paths aren't exactly like mine).
You can see this in action on:
http://www.elitewebgamers.com/forum/ubbthreads.php
If you want to do this for say, newest members, you'd do the steps to grab the paths, and insert those paths for the newest members section; such as:
Please note that you would want to turn the "always build" option in the portal settings on for any islands you're going to be utilizing outside of your forum.
To move the contents of your WOL to "just above" or "just under" your category listing you can just use the "external use" option from the content islands setting in your control panel.
I myself built this as a proof of concept of how to do just this (with the WoL).
First, you'll want to go to your portal layout, and select "external use" and copy the paths, you'll need them to make this work.
Now, open your cfrm.tpl file in your templates/default folder; now you have a choice...
To add this to the TOP of your category list, insert this as the line after the "{if $introtitle}"; To add this to the BOTTOM of your category list, insert this at the end of the file.
Code
{php}
if (!defined('UBB_MAIN_PROGRAM')) define('UBB_MAIN_PROGRAM',1);
$style_side="";
$tbopen="<table width=\"100%\" class=\"t_outer\" cellpadding=\"0\" cellspacing=\"0\">\n<tr>\n<td>\n<table width=\"100%\" class=\"t_inner\" cellpadding=\"0\" cellspacing=\"1\">\n<thead>";
$tbclose="</thead>\n</table>\n</td>\n</tr>\n</table>";
include("/home/ewg/public_html/forum/languages/english/portal_islands.php");
include("/home/ewg/public_html/forum/languages/english/generic.php");
include("/home/ewg/public_html/forum/cache/online_now.php");
{/php}
Now, those paths you copied earlier, you'll want to replace from the above coding (as I'm sure your paths aren't exactly like mine).
You can see this in action on:
http:/
If you want to do this for say, newest members, you'd do the steps to grab the paths, and insert those paths for the newest members section; such as:
Code
{php}
if (!defined('UBB_MAIN_PROGRAM')) define('UBB_MAIN_PROGRAM',1);
$style_side="";
$tbopen="<table width=\"100%\" class=\"t_outer\" cellpadding=\"0\" cellspacing=\"0\">\n<tr>\n<td>\n<table width=\"100%\" class=\"t_inner\" cellpadding=\"0\" cellspacing=\"1\">\n<thead>";
$tbclose="</thead>\n</table>\n</td>\n</tr>\n</table>";
include("/home/ewg/public_html/forum/languages/english/portal_islands.php");
include("/home/ewg/public_html/forum/languages/english/generic.php");
include("/home/ewg/public_html/forum/cache/new_users.php");
{/php}
Please note that you would want to turn the "always build" option in the portal settings on for any islands you're going to be utilizing outside of your forum.