Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Admin Level / Recipe Mod Question
 New Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

MaGraham
Senior Member

USA
1297 Posts

Posted - 01 June 2013 :  00:43:33  Show Profile  Reply with Quote


I have installed the "Admin Level" mod and the "Recipe" mod and I love both of them!

However; I can not figure out how to allow my administrators privileges to approve recipes that have been submitted. I am the only one who can approve a recipe.

If someone could help me with that, or, even better. . .tell me if I can somehow eliminate the need for recipes to be approved I would greatly appreciate it!



"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley

Carefree
Advanced Member

Philippines
4222 Posts

Posted - 01 June 2013 :  01:41:14  Show Profile
"Recipe.asp"

Two choices:

Line 724, change the 0 to a 1

So the surrounding code looks like this:

if mlev=4 then
strSql = strSql & ", " & "1"
else
strSql = strSql & ", " & "0"
end if
strSql = strSql & ", " & "0"

OR

Change lines 721-725 so the code looks like this:

strSql = strSql & ", " & "1"
strSql = strSql & ", " & "0"

Edited by - Carefree on 01 June 2013 01:44:23
Go to Top of Page

MaGraham
Senior Member

USA
1297 Posts

Posted - 01 June 2013 :  02:36:17  Show Profile

Carefree, this isn't working for me. I log in on one of my administrator's accounts; I click on the "Recipe" link; I click on the "Admin Recipe" link and I receive the following error message.

You are not authorized!

Your Administrative rights are not high enough to view this page.



Here are lines 721 - 726


if mlev=4 then
strSql = strSql & ", " & "1"
else
strSql = strSql & ", " & "1"
end if
strSql = strSql & ", " & "0"



I tried both of your suggestions but neither worked. Doesn't the above look correct?

Not sure if it's important for you to know, but my admins are at the Maintenance Administrator level.



"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley
Go to Top of Page

Carefree
Advanced Member

Philippines
4222 Posts

Posted - 01 June 2013 :  02:38:35  Show Profile
That message is caused by the admin levels mod. You need to add the "admin_recipe.asp" file to the page in your admin console.
Go to Top of Page

MaGraham
Senior Member

USA
1297 Posts

Posted - 01 June 2013 :  02:40:56  Show Profile

And place the admin level at 1?



"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley
Go to Top of Page

MaGraham
Senior Member

USA
1297 Posts

Posted - 01 June 2013 :  03:06:45  Show Profile

Following the same steps as above, in clicking on the "Recipe" link, the only thing that changed was to cause the admin to have to log in like we have to with the Admin Options, but then the same error was received, Carefree.


"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley
Go to Top of Page

MaGraham
Senior Member

USA
1297 Posts

Posted - 01 June 2013 :  08:21:00  Show Profile

Okay, I had the old version of the "inc_adminlevels.asp" file!

It's working fine now.

Thank you so much, Carefree!


"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley
Go to Top of Page

Carefree
Advanced Member

Philippines
4222 Posts

Posted - 01 June 2013 :  10:51:41  Show Profile
If you remove the review requirement, you should also remove the message that a recipe is pending approval. To do so, look for these lines (appx 742-746):

if mlev=4 then
Response.write frLang(strLangRecipe00520) & " " & vbNewLine
else
Response.write frLang(strLangRecipe00530) & " " & vbNewLine
end if

Change them to say:

Response.write frLang(strLangRecipe00520) & " " & vbNewLine
Go to Top of Page

MaGraham
Senior Member

USA
1297 Posts

Posted - 01 June 2013 :  11:46:32  Show Profile

Done.

This is just wonderful!

THANK YOU!!


"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 1.44 seconds. Powered By: Snitz Forums 2000 Version 3.4.07