ok heres a quick and dirty fix
Your talking races which means your prolly using lockdown
Assuming you are using the lockdown from here,
Follow these steps:
in admincp/forum.php
Find:
You must first be a
registered member to view any code.
change to:
You must first be a
registered member to view any code.
Find:
You must first be a
registered member to view any code.
Below add:
You must first be a
registered member to view any code.
SAVE & CLOSE
in includes/init.php
Find:
You must first be a
registered member to view any code.
Change To
You must first be a
registered member to view any code.
Save And Close
I havent looked over this code much yet so cant tell you every instance but
In pax's lockdown you would need to change
You must first be a
registered member to view any code.
for:
You must first be a
registered member to view any code.
Repeat almost all this process
adding an admin cp option for race,
Lets say the option is:
Is this a race option? yes/no
The code above needs to be slightly edited to suit your needs:
Now the last bit of this code where you change paxtrax code is the bit you dont repeat
you need to add more
first alter your lockdown table and new field
raceforum smallint(1) default 0
in functions_newpost
ADD:
[/php]
if ($foruminfo['race'])
// assuming you have used race as your admin set option
{
$raceforum = 1;
}
[/php]
in the lockdown code same file find:
You must first be a
registered member to view any code.
replace with
You must first be a
registered member to view any code.
Ok thats the first bit overwith
now you want to retreive only your last 5 races in your index.php
somewhere near the end of the file
add the following:
You must first be a
registered member to view any code.
in forumhome you would call $last5race
in last5race template you would call $last5racebits
last5racebits would look simmilar to below:
You must first be a
registered member to view any code.
damn diddnt realise it was that big lol
Enjoy! hack pretty much written for you lol