Welcome to PayPalNuke
  Create an account Accueil  Info PayPal Nuke  Sister Sites  Your Account  Help Forum  

  Buy AlloPayPal Module

  Verified
PayPal VERIFIED March 2001

Over 500 Verified Transactions
Confidence is in
the NUMBERS !

  Premium Visible

  Blocked Idiots
This is the list of Sentinel banned IP addresses.


· 217.115.154.55  - Harvest
· 140.125.155.1  - Harvest
· 89.111.176.136  - Harvest
· 88.217.172.130  - Harvest
· 67.15.58.12  - Filter
· 84.16.106.140  - Filter
· 122.252.12.34  - Harvest
· 72.47.211.55  - Harvest
· 89.108.87.248  - Filter
· 87.106.79.24  - Harvest
· 207.58.128.37  - Harvest
· 66.34.133.35  - Harvest
· 85.25.145.12  - Harvest
· 217.79.176.142  - Harvest
· 85.18.1.11  - Harvest
· 204.13.168.208  - Harvest
· 66.98.162.36  - Harvest
· 70.38.12.25  - Harvest
· 89.255.8.104  - Harvest
· 85.214.51.146  - Filter
· 87.230.21.133  - Harvest
· 80.253.245.69  - Harvest
· 66.179.175.12  - Harvest
· 216.65.1.208  - Filter
· 121.54.29.23  - Filter
· 76.12.55.52  - Harvest
· 84.54.137.9  - Harvest
· 161.58.192.22  - Filter
· 217.195.185.194  - Filter
· 209.160.73.54  - Harvest


NukeSentinel(tm) 2.5.13

PayPal Nuke :: Voir le sujet - Silver 30 days, GOLD AND SILVER 1 year
  FAQFAQ   RechercherRechercher   Groupes d'utilisateursGroupes d'utilisateurs   ProfilProfil  

Silver 30 days, GOLD AND SILVER 1 year

 
Poster un nouveau sujet   Répondre au sujet    PayPal Nuke Index du Forum -> Who Uses it ? How do they use it ?
Voir le sujet précédent :: Voir le sujet suivant  
Auteur Message

Maurice

Site Admin
Site Admin




Inscrit le: Jul 01, 2004
Messages: 532

MessagePosté le: Mon Oct 18, 2004 10:28 pm    Sujet du message: Silver 30 days, GOLD AND SILVER 1 year Répondre en citant

Here is a very interesting case. An owner wanted to offer 30 days for ONLY silver access for 10 dollars. And a Gold account, One year, with BOTH Silver and Gold module access for 70 dollars.

For the silver access, he uses the alloipn.php file. And a Subscription Days Value of 30. The gold access, alloipn-double.php and a Subscription Days Value of 365. That is where the trouble is.....

The IPN double, for the Gold account, activates BOTH the accounts. And uses the value from the Silver and Gold accounts to activate... As Silver is 30 days and Gold 365, that is what is activated.....
The Gold user, who has paid a Gold account, only gets 30 days for his silver account......

But, we can fix that !

Open the file alloipn-double.php. Find the following, line 328 :

Code:
$expire = $row[numdays]*86400;


Change it to :

Code:
$expire = $row[dnumdays]*86400;


Do the same, to line 391.

The fix takes the value from the admin config for the Gold subscription, and adds it to the database when a user pays.

Instead of numdays (silver) it uses dnumdays (Gold)

Ok ? ;-p

Fix code line numbers valid for the version 4.0 AlloPayPal module.
Revenir en haut
Voir le profil de l'utilisateur Envoyer un message privé Visiter le site web du posteur
Montrer les messages depuis:   
Poster un nouveau sujet   Répondre au sujet    PayPal Nuke Index du Forum -> Who Uses it ? How do they use it ? Toutes les heures sont au format GMT + 1 Heure
Page 1 sur 1


 
Sauter vers:  
Vous ne pouvez pas poster de nouveaux sujets dans ce forum
Vous ne pouvez pas répondre aux sujets dans ce forum
Vous ne pouvez pas éditer vos messages dans ce forum
Vous ne pouvez pas supprimer vos messages dans ce forum
Vous ne pouvez pas voter dans les sondages de ce forum



PayPalNuke Style © 2002 Smartor
Powered by phpBB © 2001, 2002 phpBB Group
 
Forums ©
Le site PayPalNuke est © CyberCafé.fr et design © Elodesign - 2004 - Tous droits réservés.

Tous les Logos et Marques de ce site sont la propriété de leurs propriétaires respectifs. Les commentaires sont la propriété de leurs auteurs.
Le Système PayPal est © 1999-2004 PayPal. All rights reserved.
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.74 Seconds