Free Adult Tube-Video Script Forum
Categories - Printable Version

+- Free Adult Tube-Video Script Forum (http://freeadultscript.com/forum)
+-- Forum: My Category (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Categories (/showthread.php?tid=16)



Categories - kajj9 - 17-04-2010 07:06 AM

when adding Categories
how do we get them in alphabetical order

we put them in alphabetical order but they did not list in alphabetical order

is there any way to fix this

thanks


RE: Categories - admin - 17-04-2010 09:05 AM

hi
you are right there is category name ordering bug
i m not avaible to fix it now but you can fix it in your script
in include/functions.php

for videos :
find
$result = mysql_query("select * from category");
and chage it to
$result = mysql_query("select * from category order by category");

for games :
find
$result = mysql_query("select * from category_game");
and change to
$result = mysql_query("select * from category_game order by category");


RE: Categories - admin - 19-04-2010 08:44 AM

i fix the problem at new installation file

you can download it
find include/functions.php

and replace with new one