Will there be the ability to like customise and add things to it? Cause its a framework like this that could help many of us, including myself improve their skillsAll the best.. looking forward to it!! =D

Will there be the ability to like customise and add things to it? Cause its a framework like this that could help many of us, including myself improve their skillsAll the best.. looking forward to it!! =D
Back for a while![]()
Yes, it should be relatively simple for someone to add a feature to it.
Here would be the process:
1. Create a page inside of /pages/ (ex: my_custom_feature.php).
2. Under "Permission Administration", click "Add Feature" and create a feature. (ex: my_custom_feature);
3. At the top of the "my_custom_feature.php" page, add the security code:
4. Add the feature checking code on the same page..PHP Code:<?php if(!defined("SECURITY")) { trigger_error("Security Violation", E_USER_ERROR); } ?>
Then add all your code under that.PHP Code:<?php if(!$user->has_feature("my_custom_feature")) { $core->redirect("main.php?page=403"); } ?>
Once you're done, just go to the permission set of your choice, and check the checkbox next to your newly created feature and they will be able to access it (after you add it to the nav of course)
Sounds really good!Cant wait to try it out!
Back for a while![]()
Finished DJ says. It's in the "radio class", so to access.. all that is required is:
PHP Code:$radio = $core->factory("radio");
$says = $radio->get_says();
echo "{$says->username} says {$says->message} - {$core->relative_time($says->time)}";
![]()
Looks amazing, can't wait for the release.
Habbo Name: Dye
Thank you![]()
Hi, names James. I am a web developer.
How did you do the permissions? Did you have a usergroup table and add a field for each perm ? OR what?
TIS BLUE.
I have a perm_set table. In that table, is: id, features, pages, title.
So it would be setup:
id - 1
features: login_while_offline;manage_users;some_other_featur es;
pages:
title: Administrator
Pages is the field for CMS pages.. so if you had a DJ you could have..
id - 2
features: cat_radio;dj_says;requests;
pages: radio_rules;dj_guide;other_stuff;
title: DJ
id - 3
features: edit_server_info;manage_other_stuff;login_while_of fline;
pages: radio_rules;dj_guide;head_dj_guide;
title: Senior DJ
Want to hide these adverts? Register an account for free!