hey guys, im trying to make forum in array like vbulletin and others example
__forum
-sub forum
-sub forum
etc im using johncms v4.2
VARG (07.06.2011/07:37)when john cms 6 will be released
atef, would you like to make forum based on different tables? it is impossible with the current forum of 4.2 version. it is nesessary to create a new one. Probably it will be realised in the 6th versi
VARG (07.06.2011/07:37)It's possible, but after this mod you will get load on your server if you have rather big table
atef, would you like to make forum based on different tables? it is impossible with the current forum of 4.2 version. it is nesessary to create a new one. Probably it will be realised in the 6th versi
$randtopic = mysql_fetch_assoc(mysql_query("SELECT `id`, `text` FROM `forum` WHERE `type` = 't' ORDER BY RAND() LIMIT 1 "));
echo '<a href="'.$home.'forum/index.php?id='.$randtopic['id'].'">'.$randtopic['text'].'</a>';
Like this. You will get one random topic seg0ro (09.06.2011/07:38)can u share it. . If cannot its okay
It's possible, but after this mod you will get load on your server if you have rather big table
seg0ro (09.06.2011/07:52)THANK YOU VERY MUCH, I will make it now
chatgirlviet, [php]$randtopic = mysql_fetch_assoc(mysql_query("SELECT `id`, `text` FROM `forum` WHERE `type` = 't' ORDER BY RAND() LIMIT 1 "));
echo '<a href="'.