View Single Post
  #1  
Old 03-05-2007, 01:23 PM
 
skipmartin skipmartin is offline
 

Advanced Member
  
Join Date: Oct 2003
Posts: 30
 

Default Give Fulfillment Access to Users

Thought this might be helpful. If your fulfillment staff should also be able to manage user profiles, here is what you need to do:

1. Edit /includes/security.php

Find:
Code:
if ($user_account["flag"] == "FS") { $_fulfillment_scripts = array( "orders.php", "order.php", "generator.php", "statistics.php", .....

and add these to the array:
Code:
"users.php", "user_modify.php", "user_profiles.php"

Be sure you add a comma to the last entry before you add the three lines above, and leave off the comma on the very last item.

2. Open /skin1/fulfillment/home.tpl

Add:
Code:
{elseif $main eq "users"} {include file="admin/main/users.tpl"} {elseif $main eq "user_profile"} {include file="admin/main/register.tpl"}

before this line:
Code:
{else} {include file="common_templates.tpl"} {/if}

That should do it.

Happy modding!!
Andy
__________________
Andy Melichar, Tech Director - REBEL INTERACTIVE -
andy@rebel-interactive.com - X-Cart version 4.1.3
Reply With Quote