SimplePortal
Customization => Custom Coding => Topic started by: teos on January 14, 2013, 10:18:52 AM
-
smf 2.0.3 default theme curve simple portal 2.3.5
I installed this mod.
http://custom.simplemachines.org/mods/index.php?mod=2273
function is :
ssi_randomPosts($num_recent, $exclude_boards, $include_boards, $output_method')
Can any soul guy help me to use this function in a php block ?
No knowledge of php in my case.
-
You could just create a Custom PHP block and add:
ssi_randomPosts();
This should get it displaying for you.
-
Thanks alot, it works :applause:
Basicly I want to exclude some topics from some categories, and indicate number of topics ...
can you help on that ?
-
I'm not sure if you can exclude topics with that mod, but you should be able to exclude boards from categories if that is what you meant instead.
ssi_randomPosts(5, array(1,2,3));
Just edit as needed. Where 5 is the number to display and 1, 2 and 3 are the board numbers to exclude.
-
sorry for misquoting, that is what I want, thanks alot ...
-
your welcome. :)
-
I have no idea about your topic.. But i try to get information about it.