Author Topic: [ADD-ON][FREE] - Payment History (Let users view their payment history)  (Read 2883 times)

KHDev

  • Global Moderator
  • Veteran Member
  • *****
  • Posts: 512
  • Karma: +45/-2
  • Etano Contributor (Skins & Mods)
:) Ok heres another little mod for you. :)

If you run a site which has paid memberships then it might be worth allowing your users to view their payment history.

Updated 04/01/2016 - New design (Responsive)





< < Download Files >>
https://www.sendspace.com/file/ncv3gt

< < How to install > >

Upload
++ payment_history.php
++ payment_history_left.php

to your root directory (the place your main etano files are)

Upload
++ payment_history.html
++ payment_history_left.html

to your skins folder (skins_site > def > here)

Upload
++ payment_history.css

to your skins style folder (skins_site > def > styles > here)


Now, simply add a link to the page to your site.

Code: [Select]
<a href="{tplvars.relative_url}payment_history.php">Payment History</a>
I recommend on the My Settings page left menu (my_settings_left.html)

NOTE! For best intergration i have configued the payment history page to use my_settings_left.php for left content.



Enjoy :)

Marble

  • Global Moderator
  • Veteran Member
  • *****
  • Posts: 1005
  • Karma: +56/-7
Re: [MOD] - Free Payment History (Let users view their payment history)
« Reply #1 on: April 14, 2015, 10:57:42 AM »
I like this mod. Thanks for sharing.  :)
If you see that I'm logged in forever... it just means I turned the page on my browser and forgot to logout.

flyer5

  • Prime Member
  • ****
  • Posts: 107
  • Karma: +4/-0
    • North East Nudists
Re: [MOD] - Free Payment History (Let users view their payment history)
« Reply #2 on: April 15, 2015, 11:42:39 AM »
Nice!
Cheers.

Marble

  • Global Moderator
  • Veteran Member
  • *****
  • Posts: 1005
  • Karma: +56/-7
Re: [MOD] - Free Payment History (Let users view their payment history)
« Reply #3 on: January 04, 2016, 01:12:21 AM »
Do you have a responsive version of this mod?
If you see that I'm logged in forever... it just means I turned the page on my browser and forgot to logout.

KHDev

  • Global Moderator
  • Veteran Member
  • *****
  • Posts: 512
  • Karma: +45/-2
  • Etano Contributor (Skins & Mods)
Re: [MOD] - Free Payment History (Let users view their payment history)
« Reply #4 on: January 04, 2016, 06:49:21 AM »
Do you have a responsive version of this mod?

I'll change it to responsive later today :)

KHDev

  • Global Moderator
  • Veteran Member
  • *****
  • Posts: 512
  • Karma: +45/-2
  • Etano Contributor (Skins & Mods)
Re: [MOD] - Free Payment History (Let users view their payment history)
« Reply #5 on: January 04, 2016, 04:11:43 PM »
UPDATED - 4/1/2016

I've updated the design so its now responsive.


Marble

  • Global Moderator
  • Veteran Member
  • *****
  • Posts: 1005
  • Karma: +56/-7
Re: [MOD] - Free Payment History (Let users view their payment history)
« Reply #6 on: January 04, 2016, 06:33:03 PM »
Thanks KHDev!  :)
If you see that I'm logged in forever... it just means I turned the page on my browser and forgot to logout.

Marble

  • Global Moderator
  • Veteran Member
  • *****
  • Posts: 1005
  • Karma: +56/-7
Re: [MOD] - Free Payment History (Let users view their payment history)
« Reply #7 on: January 04, 2016, 06:41:04 PM »
I just want to add that in payment_history.php at line 58. I think the code is better suited to change it from
Code: [Select]
if (is_file('my_settings_left.php')) {
include 'my_settings_left.php';
}

To
Code: [Select]
if (is_file('payment_history_left.php')) {
include 'payment_history_left.php';
}
If you see that I'm logged in forever... it just means I turned the page on my browser and forgot to logout.

KHDev

  • Global Moderator
  • Veteran Member
  • *****
  • Posts: 512
  • Karma: +45/-2
  • Etano Contributor (Skins & Mods)
Re: [MOD] - Free Payment History (Let users view their payment history)
« Reply #8 on: January 05, 2016, 09:43:42 AM »
I just want to add that in payment_history.php at line 58. I think the code is better suited to change it from
Code: [Select]
if (is_file('my_settings_left.php')) {
include 'my_settings_left.php';
}

To
Code: [Select]
if (is_file('payment_history_left.php')) {
include 'payment_history_left.php';
}

Hey,

The main reason the default left content uses the My Settings left content is just for easier integration. Just kinda made sense to tie it into the settings area rather than a standalone page.

The mod has payment_left files so users are free to use those if they prefer to place alternative left content when users view their payment history.

:)

Omololu

  • Active Member
  • ***
  • Posts: 45
  • Karma: +0/-0
Download file no longer available.

 Sorry, the file you requested is not available.
Possible reasons include:
- File date limit has expired.
- File was not successfully uploaded.

KHDev

  • Global Moderator
  • Veteran Member
  • *****
  • Posts: 512
  • Karma: +45/-2
  • Etano Contributor (Skins & Mods)

Download link has been updated.

Thanks.

Omololu

  • Active Member
  • ***
  • Posts: 45
  • Karma: +0/-0
Got it, Thanks KHDev