This is a discussion on User Print Invoice within the v3.1 Questions & Support forums, part of the v3.1 Legacy Help & Support category; Hi, When logged in as admin, we can print an invoice for a listing. I'd like to add a link ...
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
When logged in as admin, we can print an invoice for a listing. I'd like to add a link to the user's userbrowselistings.tpl.php so they can print one for themselves. However, when I try to call 'invoice.php' (which is in the administration directory), it redirects to the admin login page. Invoice.php calls /administration/init.php, which is encoded. Eric, is it possible to provide a different init.php that could be used to run only the invoice function, or is there another way to provide the invoicing display feature for users? Thanks P.S. I'm aware of privacy issues related to using invoice.php when not logged in as administrator. I plan to use mod_rewrite to obvuscate the invoice number, which must be passed on to invoice.php, by hiding the invoice number within a very long string of numbers and letters. I'll also rename invoice.php to something else so it isn't recognized by someone familiar with 68c.
__________________
V3.1.10 Developer - live V4.1.0 Beta 2 - sandbox Last edited by HotAir; 10-02-2008 at 12:32 PM. |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Disabling the User name when Print this Ad | LittleRascal | v3.1 Questions & Support | 2 | 03-08-2008 12:38 PM |
| Suspending a user | racingjon | v4 Questions & Support | 1 | 02-19-2008 04:55 PM |
| User checkout and verification of cat/subcat.. | margaretm | v3.1 Questions & Support | 1 | 08-30-2007 04:16 PM |
| phpbb user share | angler | Pre Sales Questions | 0 | 03-23-2007 11:42 AM |
| Direct link to user listing in contact email | SkGold | v3.1 Questions & Support | 2 | 07-10-2006 03:42 PM |