68 Classifieds Forums

User Print Invoice

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 ...


Go Back   68 Classifieds Forums > v3.1 Legacy Help & Support > v3.1 Questions & Support

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 10-02-2008, 12:25 PM
Senior Member
 
Join Date: Jan 2007
Posts: 123
Rep Power: 11
HotAir is on a distinguished road
Default User Print Invoice

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.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT -4. The time now is 01:56 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22