Jump to content



Photo
- - - - -

Member approval 1.5_4 Problem


  • Please log in to reply
1 reply to this topic

#1   hopper91

hopper91
  • Members
  • 11 posts
  • Real Name:Andrew Lee

Posted 29 June 2012 - 12:41

im following this add-on however there is part of it that say


#### [ OPEN ] ##################################################################
admin/includes/boxes/customers.php
##################################################################
## After this: ################################

'<a href="' . tep_href_link(FILENAME_CUSTOMERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CUSTOMERS_CUSTOMERS .

'</a><br>' .

## Insert this: ################################

'<a href="' . tep_href_link(FILENAME_MEMBERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CUSTOMERS_APPROVAL .

'</a><br>' .


however when i go to the file it doesnt show any of the "after this" but the file just looks like


<?php
/*
$Id$

osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com

Copyright © 2010 osCommerce

Released under the GNU General Public License
*/

$cl_box_groups[] = array(
'heading' => BOX_HEADING_CUSTOMERS,
'apps' => array(
array(
'code' => FILENAME_CUSTOMERS,
'title' => BOX_CUSTOMERS_CUSTOMERS,
'link' => tep_href_link(FILENAME_CUSTOMERS)
),
array(
'code' => FILENAME_ORDERS,
'title' => BOX_CUSTOMERS_ORDERS,
'link' => tep_href_link(FILENAME_ORDERS)

)
)
);
?>



Please help needed asap thanks

#2   multimixer

multimixer

    Lemons or Melons ?

  • Partner
  • 4,604 posts
  • Real Name:George Zarkadas
  • Gender:Male
  • Location:Greece

Posted 29 June 2012 - 12:47

The addon you found is not for 2.3.1

Add this to the "apps" array

array(
'code' => FILENAME_MEMBERS,
'title' => BOX_CUSTOMERS_APPROVAL,
'link' => tep_href_link(FILENAME_MEMBERS)
)