Well,I try to make a site squiby-like.I don't know if this will work,but i'll post it there.even if it's not working,i thought it was a nice idea.In reality you just need to remove the "only admin can edit" like that every user will be able to add their own pet-breeds
Go to admin.php(in your php editor/database,etc...)
Remove :
if($canedit == "yes"){
and paste:
if($canedit == "no"){
Change every canedit=yes to no.Now people ,even if they are'nt admin,can add,edit or remove pets.Now we need to make people not able to edit users,pages etc...
Don't change the yes into no in this part.let it like that,as these others texts:
BUT
you need now to modify some things in admpost.php
search:
change the yes into no.
There you go!your site is squibyish.now you just need to put a link to the adoptables admin panel!Enjoy
I DON'T KNOW IF THIS WILL WORK OUT,SO SAVE THE ADMIN/ADMPOST FILE BEFORE MODIFY IT.
Go to admin.php(in your php editor/database,etc...)
Remove :
if($canedit == "yes"){
and paste:
if($canedit == "no"){
Change every canedit=yes to no.Now people ,even if they are'nt admin,can add,edit or remove pets.Now we need to make people not able to edit users,pages etc...
// Check if we have permissions to access here...
$canedit = cando($group, "canmanageadopts");
if($canedit == "yes"){
// We can edit pages!
if($do == ""){
//Not working on a specific page...
$article_title = "Page and Content Editor";
Don't change the yes into no in this part.let it like that,as these others texts:
} // End the set=content block ... start a new setting here...
else if($set == "users"){
$canedit = cando($group, "canmanageusers");
if($canedit == "yes"){
// We are managing users...
if($do == "edit"){
$canedit = cando($group, "canmanagesettings");
if($canedit == "yes"){
if($do == ""){
// No setting was specified, so show the user their choices...
$article_title = "Site Settings";
// We are managing the ads for the site...
$canedit = cando($group, "canmanageads");
if($canedit == "yes"){
///////////////////////////////////////////////////////////////////////////////////////////////////////
BUT
you need now to modify some things in admpost.php
search:
$canmanageadopts = $_POST["canmanageadopts"];
if($canmanageadopts != "yes"){
$canmanageadopts = "no";
change the yes into no.
There you go!your site is squibyish.now you just need to put a link to the adoptables admin panel!Enjoy
I DON'T KNOW IF THIS WILL WORK OUT,SO SAVE THE ADMIN/ADMPOST FILE BEFORE MODIFY IT.