|
You last visited: Today at 11:53
Advertisement
[Release] SapphireFlyff Website
Discussion on [Release] SapphireFlyff Website within the Flyff PServer Guides & Releases forum part of the Flyff Private Server category.
08/24/2013, 18:48
|
#496
|
elite*gold: 0
Join Date: Jan 2013
Posts: 22,407
Received Thanks: 8,226
|
Wie sieht es mit dem Pingback von Wallapi aus? Das hast du ja bestimmt eingebaut, oder?
Wie konfiguriert man das?
|
|
|
08/25/2013, 15:41
|
#497
|
elite*gold: 0
Join Date: Oct 2007
Posts: 491
Received Thanks: 732
|
Quote:
Originally Posted by тнe eɴd
Viele haben folgendes Problem:
Das habe ich auch x..x
|
Deswegen liegen die einzelnen *.sqls dabei. Dann kann man die Dummy.bak ignorieren. Das hätte ich vielleicht in der Readme erwähnen sollen, gar müssen. Ein Versäumnis meinerseits.
Also zusammengefasst:
Entweder bindet man die *.bak ein und hat die gesamte Websitedatenbank importiert. Geht das nicht, dann man muss die Websitetabellen einzeln mithilfe der ganzen *.sqls erstellen.
Quote:
Originally Posted by Afrochiller
Wie sieht es mit dem Pingback von Wallapi aus? Das hast du ja bestimmt eingebaut, oder?
Wie konfiguriert man das?
|
Einfach in er Config die entsprechenden Keys einfügen und Paym[e]ntwall aktivieren. Pingback dann auf die ... mein Gott, bin ich deppert. Ich habe vergessen, die Datei einzubinden. Ich erneuere nachher direkt den Downloadlink, hier die Datei als Rohmaterial: [xinc_paym[e]ntwall.php, einfügen in den includes-Ordner] (danke für den Hinweis @ Sedrika).
Jedenfalls: Diese Datei dann als Pingback seitens Paym[e]ntwall einrichten und einmal durchtesten - eventuell die IPs auf der weißen Liste nochmal gegenüberprüfen.
#Hauptdownloadlinks sind nun ebenfalls angepasst, die fehlende Datei ist enthalten.
|
|
|
08/25/2013, 15:45
|
#498
|
elite*gold: 18
Join Date: Sep 2009
Posts: 20,177
Received Thanks: 14,471
|
Du kannst PHP dateien nicht bei Puush hochladen
|
|
|
09/01/2013, 08:25
|
#499
|
elite*gold: 0
Join Date: Jul 2012
Posts: 78
Received Thanks: 8
|
Ich habe auf mein Donate Seite das *********** System Aktiviert und eingestellt nun habe ich Die Donation Info Doppelt und die Tabelle brauche ich auch nicht mehr wie kann man diese entfernen?
<?php if (!defined('access')) {die("Die gesuchte Ressource wurde entfernt oder umbenannt, oder sie steht vorübergehend nicht zur Verfügung.");} ?>
<p class="page_title">
<?php echo $_LANG['donate_siteTitle']?>
</p>
<?php
if($_CONFIG['donate_enable'] OR in_array($_SESSION['user'], $_CONFIG['allg_svr_admins'])) {
if($_CONFIG['donate_***********_enabled'] AND !empty($_CONFIG['donate_***********_applicationkey']) AND !empty($_CONFIG['donate_***********_securitykey']) AND $_CONFIG['donate_***********_securitykey'] != 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') {
if(empty($_SESSION['user'])) {
echo createMessage($_LANG['error_not_logged'], 'hint');
}
else {
echo '
<h2>' . $_LANG['general_plu'] . ' ' . $_LANG['information_plu'] . '</h2>
<p><br>
' . $_LANG['donate_information_text'] . '
</p>
<br />
<iframe src="https://wallapi.com/api/ps/?key=' . $_CONFIG['donate_***********_applicationkey'] . '&uid=' . $_SESSION['user'] . '&widget='.$_CONFIG['donate_***********_widgetid'].'" width="619" height="600" frameborder="0"></iframe>';
}
}
else {
}
if(!empty($_SESSION['user'])) {
$input = odbc_fetch_array(odbc_exec($odbc_connect, 'SELECT TOP 1 [account], [email] FROM [' . $_CONFIG['db_databases']['acc'] . '].[dbo].[ACCOUNT_TBL_DETAIL] WHERE [account] = \'' . cleanSqlInput($_SESSION['user']) . '\''));
$inputAccountName = $input['account'];
$inputEmail = $input['email'];
}
else {
$inputAccountName = '';
$inputEmail = '';
}
$strOutputErrorArray = array();
if(isset($_POST['uKashSubmit']) AND ($_CONFIG['donate_ukash_enabled'] OR in_array($_SESSION['user'],$_CONFIG['allg_svr_admins']))) {
$_POST['uKashCode'] = str_replace('.', '', $_POST['uKashCode']);
if(isSpamming($_POST['uKashInputCheckTimestamp'], $_POST['uKashInputCheckKey'], $_SESSION['inputCheckKey'])) {
$strOutputErrorArray[] = $_LANG['error_spam'];
}
if(empty($_POST['uKashAccount']) OR empty($_POST['uKashMail']) OR empty($_POST['uKashGuthaben']) OR empty($_POST['uKashCode']) or !isset($_POST['uKashCheckbox'])) {
$strOutputErrorArray[] = $_LANG['error_fill_in_all_fields'];
}
if(odbc_num_rows(odbc_exec($odbc_connect, 'SELECT [account] FROM [' . $_CONFIG['db_databases']['acc'] . '].[dbo].[ACCOUNT_TBL] WHERE [account] = \'' . cleanSqlInput($_POST['uKashAccount']) . '\'')) < 1) {
$strOutputErrorArray[] = $_LANG['error_no_account_with_that_name'];
}
if(!is_numeric($_POST['uKashCode']) OR substr($_POST['uKashCode'],0,7) != $_CONFIG['donate_ukash_code_start'] OR !in_array(substr($_POST['uKashCode'],7,2), $_CONFIG['donate_ukash_code_countries'])) {
$strOutputErrorArray[] = $_LANG['error_donate_code_is_wrong'];
}
if(count($strOutputErrorArray) > 0) {
$outputNotify = createMessage($strOutputErrorArray, 'fail');
}
else {
$account = cleanSqlInput($_POST['uKashAccount']);
$mail = cleanSqlInput($_POST['uKashMail']);
$guthaben = cleanSqlInput($_POST['uKashGuthaben']);
$dps = $_CONFIG['donate_ukash_values'][$guthaben];
$key = random_string();
$code = cleanSqlInput($_POST['uKashCode']);
if($_CONFIG['web_mailserver_enabled']) {
if(@odbc_exec($odbc_connect, '
INSERT INTO [' . $_CONFIG['db_databases']['web'] . '].[dbo].[LOG_DONATIONS] (
[key],
[type],
[state],
[account],
[worth],
[points],
[timestamp]
) VALUES (
\'' . $key. '\',
2,
0,
\'' . $account. '\',
' . $guthaben. ',
' . $dps. ',
' . time() . '
)
')) {
mailDonationUserNotification($account,$mail,$gutha ben,$dps,time(),$key);
mailDonationAdminNotification($account,$mail,$guth aben,$dps,$code,time(),$key,$_LANG['donate_ukash']);
$outputNotify = createMessage($_LANG['success_donation'], 'success', NULL, $_LANG['success_donation_title']);
}
else {
$outputNotify = createMessage($_LANG['error_donation_not_in_db'], 'fail');
}
}
else {
if(@odbc_exec($odbc_connect, '
INSERT INTO [' . $_CONFIG['db_databases']['web'] . '].[dbo].[LOG_DONATIONS] (
[key],
[type],
[state],
[account],
[worth],
[points],
[timestamp],
[fieldAlfa]
) VALUES (
\'' . $key. '\',
2,
0,
\'' . $account. '\',
' . $guthaben. ',
' . $dps. ',
' . time() . ',
\'' . $code . '\'
)
')) {
$outputNotify = createMessage($_LANG['success_donation'], 'success', NULL, $_LANG['success_donation_title']);
}
else {
$outputNotify = createMessage($_LANG['error_donation_not_in_db'], 'fail');
}
}
}
}
if(isset($_POST['paysafeSubmit']) AND ($_CONFIG['donate_paysafe_enabled'] OR in_array($_SESSION['user'],$_CONFIG['allg_svr_admins']))) {
if(isSpamming($_POST['paysafeInputCheckTimestamp'], $_POST['paysafeInputCheckKey'], $_SESSION['inputCheckKey'])) {
$strOutputErrorArray[] = $_LANG['error_spam'];
}
if(empty($_POST['paysafeAccount']) OR empty($_POST['paysafeMail']) OR empty($_POST['paysafeGuthaben']) or !isset($_POST['paysafeCheckbox'])) {
$strOutputErrorArray[] = $_LANG['error_fill_in_all_fields'];
}
if(@odbc_num_rows(@odbc_exec($odbc_connect, 'SELECT [account] FROM [' . $_CONFIG['db_databases']['acc'] . '].[dbo].[ACCOUNT_TBL] WHERE account = \'' . cleanSqlInput($_POST['paysafeAccount']) . '\'')) < 1) {
$strOutputErrorArray[] = $_LANG['error_no_account_with_that_name'];
}
if($_POST['paysafeCode1'] >= 1000 OR strlen($_POST['paysafeCode1']) <> 4 OR strlen($_POST['paysafeCode2']) <> 4 OR strlen($_POST['paysafeCode3']) <> 4 OR strlen($_POST['paysafeCode4']) <> 4 OR !is_numeric($_POST['paysafeCode1'].$_POST['paysafeCode2'].$_POST['paysafeCode3'].$_POST['paysafeCode4']) OR $_POST['paysafeCode1'].$_POST['paysafeCode2'].$_POST['paysafeCode3'].$_POST['paysafeCode4'] == 1234567812345678 OR $_POST['paysafeCode1'].$_POST['paysafeCode2'].$_POST['paysafeCode3'].$_POST['paysafeCode4'] == '0123456789012345') {
$strOutputErrorArray[] = $_LANG['error_donate_code_is_wrong'];
}
if(count($strOutputErrorArray) > 0) {
$outputNotify = createMessage($strOutputErrorArray, 'fail');
}
else {
$account = cleanSqlInput($_POST['paysafeAccount']);
$email = cleanSqlInput($_POST['paysafeMail']);
$wert = cleanSqlInput($_POST['paysafeGuthaben']);
$dps = $_CONFIG['donate_paysafe_values'][$wert];
$pscCode = cleanSqlInput($_POST['paysafeCode1']) . '-' . cleanSqlInput($_POST['paysafeCode2']) . '-' . cleanSqlInput($_POST['paysafeCode3']) . '-' . cleanSqlInput($_POST['paysafeCode4']);
$key = random_string();
$time = time();
if($_CONFIG['web_mailserver_enabled']) {
if(@odbc_exec($odbc_connect, '
INSERT INTO [' . $_CONFIG['db_databases']['web'] . '].[dbo].[LOG_DONATIONS] (
[key],
[type],
[state],
[account],
[worth],
[points],
[timestamp]
) VALUES (
\'' . $key. '\',
0,
0,
\'' . $account. '\',
' . $wert. ',
' . $dps. ',
' . $time . '
)
')) {
mailDonationUserNotification($account,$email,$wert ,$dps,$time,$key);
mailDonationAdminNotification($account,$email,$wer t,$dps,$pscCode,time(),$key,$_LANG['donate_paysafe']);
$outputNotify = createMessage($_LANG['success_donation'], 'success', NULL, $_LANG['success_donation_title']);
}
else {
$outputNotify = createMessage($_LANG['error_donation_not_in_db'], 'fail');
}
}
else {
if(@odbc_exec($odbc_connect, '
INSERT INTO [' . $_CONFIG['db_databases']['web'] . '].[dbo].[LOG_DONATIONS] (
[key],
[type],
[state],
[account],
[worth],
[points],
[timestamp],
[fieldAlfa]
) VALUES (
\'' . $key. '\',
0,
0,
\'' . $account. '\',
' . $wert. ',
' . $dps. ',
' . $time . ',
\'' . $pscCode . '\'
)
')) {
$outputNotify = createMessage($_LANG['success_donation'], 'success', NULL, $_LANG['success_donation_title']);
}
else {
$outputNotify = createMessage($_LANG['error_donation_not_in_db'], 'fail');
}
}
}
}
if(isset($_POST['paypalSubmit']) AND ($_CONFIG['donate_paypal_enabled'] OR in_array($_SESSION['user'],$_CONFIG['allg_svr_admins']))) {
if(isSpamming($_POST['paypalInputCheckTimestamp'], $_POST['paypalInputCheckKey'], $_SESSION['inputCheckKey'])) {
$strOutputErrorArray[] = $_LANG['error_spam'];
}
if(empty($_POST['paypalAccount']) OR empty($_POST['paypalMail']) OR empty($_POST['paypalGuthaben']) OR empty($_POST['paypalRealName']) OR empty($_POST['paypalRealMail']) or !isset($_POST['paypalCheckbox'])) {
$strOutputErrorArray[] = $_LANG['error_fill_in_all_fields'];
}
if(@odbc_num_rows(@odbc_exec($odbc_connect, 'SELECT [account] FROM [' . $_CONFIG['db_databases']['acc'] . '].[dbo].[ACCOUNT_TBL] WHERE account = \'' . cleanSqlInput($_POST['paypalAccount']) . '\'')) < 1) {
$strOutputErrorArray[] = $_LANG['error_no_account_with_that_name'];
}
if(count($strOutputErrorArray) > 0) {
$outputNotify = createMessage($strOutputErrorArray, 'fail');
}
else {
$key = random_string();
$account = cleanSqlInput($_POST['paypalAccount']);
$mail = cleanSqlInput($_POST['paypalMail']);
$wert = cleanSqlInput($_POST['paypalGuthaben']);
$dps = $_CONFIG['donate_paypal_values'][$wert];
$name = cleanSqlInput($_POST['paypalRealName']);
$email = cleanSqlInput($_POST['paypalRealMail']);
if(@odbc_exec($odbc_connect, '
INSERT INTO [' . $_CONFIG['db_databases']['web'] . '].[dbo].[LOG_DONATIONS] (
[key],
[type],
[state],
[account],
[worth],
[points],
[timestamp],
[fieldAlfa],
[fieldBravo]
) VALUES (
\'' . $key. '\',
1,
0,
\'' . $account. '\',
' . $wert. ',
' . $dps. ',
' . time() . ',
\'' . $name . '\',
\'' . $email . '\'
)
')) {
mailDonationUserNotification($account,$mail,$wert, $dps,time(),$key);
mailDonationAdminNotification($account,$mail,$wert ,$dps,'-',time(),$key,$_LANG['donate_paypal'],$name,$email);
$outputNotify = createMessage($_LANG['success_donation'], 'success', NULL, $_LANG['success_donation_title']);
}
else {
$outputNotify = createMessage($_LANG['error_donation_not_in_db'], 'fail');
}
}
}
echo '<h2>' . $_LANG['general_plu'] . ' ' . $_LANG['information_plu'] . '</h2>
<p><br>
' . $_LANG['donate_information_text'] . '
</p>
<br />
<h2>' . $_LANG['donate_table'] . '</h2>
<div class="table">
<div class="thead">
<div class="tr">
<div class="p10 center"> </div>
<div class="p30 center">UKash</div>
<div class="p30 center">Paysafe</div>
<div class="p30 center">Paypal</div>
</div>
</div>
<div class="tbody">';
$arrayKeys = getAllDonateValues();
for($iterator = 0; $iterator < count($arrayKeys); $iterator++) {
$currencyValue = $arrayKeys[$iterator];
echo '
<div class="tr">
<div class="p10 center">' . $currencyValue . ' ' . $_CONFIG['web_currencies']['real']['symbol'] . '</div>
<div class="p30 center">' . getDonateValueOutput($_CONFIG['donate_ukash_values'], $currencyValue) . '</div>
<div class="p30 center">' . getDonateValueOutput($_CONFIG['donate_paysafe_values'], $currencyValue) . '</div>
<div class="p30 center">' . getDonateValueOutput($_CONFIG['donate_paypal_values'], $currencyValue) . '</div>
</div>
';
}
echo '
<div class="tr">
<div class="p10 center"> </div>
<div class="p30 center">' . checkBooleanState($_CONFIG['donate_ukash_enabled']) . '</div>
<div class="p30 center">' . checkBooleanState($_CONFIG['donate_paysafe_enabled']) . '</div>
<div class="p30 center">' . checkBooleanState($_CONFIG['donate_paypal_enabled']) . '</div>
</div>
</div>
</div>
<br />
' . $outputNotify . '';
if($_CONFIG['donate_ukash_enabled']) {
echo '
<hr class="clear" />
<h3>' . $_LANG['donate_ukash'] . '</h3>
<a onclick="javascript:switching(\'uKash\');" class="weiterleitung nound">' . $_LANG['donate_open_form'] . '</a>
<p>
' . $_LANG['donate_ukash_information'] . '
</p>
<form method="post" id="uKash" class="formDonation">
<input type="hidden" name="uKashInputCheckTimestamp" value="' . time() . '" />
<input type="hidden" name="uKashInputCheckKey" value="' . random_string() . '" />
<input type="text" id="uKashAccount"name="uKashAccount" class="account" value="' . $inputAccountName . '" required="required" placeholder="' . $_LANG['account'] . '"/> <label class="w170" for="uKashAccount">' . $_LANG['account'] . '</label><br style="clear:both;" />
<input type="email" id="uKashMail" name="uKashMail" class="email" value="' . $inputEmail . '" required="required" placeholder="' . $_LANG['mail'] . '"/> <label class="w170" for="uKashMail">' . $_LANG['mail'] . '</label><br style="clear:both;" />
<select name="uKashGuthaben" class="small" required="required">
<option value=""></option>';
foreach($_CONFIG['donate_ukash_values'] as $betrag => $dps) {echo '<option value="'.$betrag.'">'.$betrag.' ' . $_CONFIG['web_currencies']['real']['name'] . ' / '.$dps.' ' . $_CONFIG['web_currencies']['donate']['name'] . '</option>';}
echo '
</select><label class="w170" for="uKashGuthaben">' . $_LANG['value'] . '</label><br style="clear:both;" />
<input type="number" id="uKashCode" name="uKashCode" class="donate" required="required"/> <label class="w170" for="uKashCode">' . $_LANG['donate_ukash'] . ' ' . $_LANG['code'] . '</label><br style="clear:both;" />
<input type="checkbox" id="uKashCheckbox" name="uKashCheckbox" style="float:left; margin:15px 10px;" required="required"/> <label style="width:350px;" for="uKashCheckbox">' . $_LANG['donate_promise'] . '.</label><br style="clear:both;" /><br />
<input type="submit" name="uKashSubmit" value="' . $_LANG['donate_using'] . ' ' . $_LANG['donate_ukash'] . '" class="button_235" style="margin:5px 25%;"/>
</form>';
}
if($_CONFIG['donate_paysafe_enabled']) {
echo '
<hr class="clear" />
<h3>' . $_LANG['donate_paysafe'] . '</h3>
<a onclick="javascript:switching(\'Paysafe\');" class="weiterleitung nound">' . $_LANG['donate_open_form'] . '</a>
<p>
' . $_LANG['donate_paysafe_information'] . '
</p>
<form method="post" id="Paysafe" class="formDonation">
<p class="hint nomar nopad">' . $_LANG['donate_paysafe_hint'] . '</p>
<input type="hidden" name="paysafeInputCheckTimestamp" value="' . time() . '" />
<input type="hidden" name="paysafeInputCheckKey" value="' . random_string() . '" />
<input type="text" id="paysafeAccount" name="paysafeAccount" class="account" value="' . $inputAccountName . '" placeholder="' . $_LANG['account'] . '" required="required"/> <label class="w170" for="paysafeAccount">' . $_LANG['account'] . '</label><br class="clear" />
<input type="email" id="paysafeMail" name="paysafeMail" class="email" value="' . $inputEmail . '" placeholder="' . $_LANG['mail'] . '" required="required"/> <label class="w170" for="paysafeMail">' . $_LANG['mail'] . '</label><br class="clear" />
<select id="paysafeGuthaben" name="paysafeGuthaben" class="small" required="required">
<option value=""></option>';
foreach($_CONFIG['donate_paysafe_values'] as $betrag => $dps) {echo '<option value="'.$betrag.'">'.$betrag.' ' . $_CONFIG['web_currencies']['real']['name'] . ' / '.$dps.' ' . $_CONFIG['web_currencies']['donate']['name'] . '</option>';}
echo '
</select><label class="w170" for="paysafeGuthaben">' . $_LANG['value'] . '</label><br class="clear" />
<input name="paysafeCode1" type="number" maxlength="4" class="w030" placeholder="1234" required="required" id="paysafeCode1"/>
<input name="paysafeCode2" type="number" maxlength="4" class="w030" placeholder="5678" required="required"/>
<input name="paysafeCode3" type="number" maxlength="4" class="w030" placeholder="1234" required="required"/>
<input name="paysafeCode4" type="number" maxlength="4" class="w030" placeholder="5678" required="required"/>
<label class="w170" for="paysafeCode1">' . $_LANG['donate_paysafe'] . ' ' . $_LANG['code'] . '</label><br class="clear" />
<input type="checkbox" id="paysafeCheckbox" name="paysafeCheckbox" style="float:left; margin:15px 10px;" required="required"/> <label for="paysafeCheckbox" style="width:360px;">' . $_LANG['donate_promise'] . '.</label><br class="clear" />
<input type="submit" name="paysafeSubmit" value="' . $_LANG['donate_using'] . ' ' . $_LANG['donate_paysafe'] . '" class="button_235" style="margin:5px 25%;"/>
</form>';
}
if($_CONFIG['donate_paypal_enabled']) {
echo '
<hr class="clear" />
<h3>' . $_LANG['donate_paypal'] . '</h3>
<a onclick="javascript:switching(\'Paypal2\');" class="weiterleitung nound">' . $_LANG['donate_open_form'] . '</a>
<p>
' . $_LANG['donate_paysafe_information'] . '
</p>';
echo '
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" id="Paypal2" class="formDonation" style="text-align:center;" target="_blank">
<p class="hint nomar nopad">' . $_LANG['donate_paypal_hint'] . '</p>
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="TTG4ZNX3KNMZW">
<input type="image" src="https://www.paypalobjects.com/de_DE/DE/i/btn/btn_donate_LG.gif" name="submit" alt="Jetzt einfach, schnell und sicher online bezahlen – mit PayPal." onclick="javascript:switching(\'Paypal1\');">
<img alt="" src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif" width="1" height="1">
</form>
<form method="post" id="Paypal1" class="formDonation">
<input type="hidden" name="paypalInputCheckTimestamp" value="' . time() . '" />
<input type="hidden" name="paypalInputCheckKey" value="' . random_string() . '" />
<input type="text" id="paypalAccount" name="paypalAccount" class="account" value="' . $inputAccountName . '" placeholder="' . $_LANG['account'] . '" required="required"/> <label class="w170" for="paypalAccount">' . $_LANG['account'] . ' :</label><br style="clear:both;" />
<input type="email" id="paypalMail" name="paypalMail" class="email" value="' . $inputEmail . '" placeholder="' . $_LANG['mail'] . '" required="required"/> <label class="w170" for="paypalMail">' . $_LANG['mail'] . ' :</label><br style="clear:both;" />
<select id="paypalGuthaben" name="paypalGuthaben" class="small" required="required">
<option value=""></option>';
foreach($_CONFIG['donate_paypal_values'] as $betrag => $dps) {echo '<option value="'.$betrag.'">'.$betrag.' ' . $_CONFIG['web_currencies']['real']['name'] . ' / '.$dps.' ' . $_CONFIG['web_currencies']['donate']['name'] . '</option>';}
echo '
</select><label class="w170" for="paypalGuthaben">' . $_LANG['value'] . '</label><br style="clear:both;" />
<input type="text" id="paypalRealName" name="paypalRealName" class="account" placeholder="' . $_LANG['donate_paypal'] . ' ' . $_LANG['name'] . '" required="required"/> <label class="w170" for="paypalRealName">' . $_LANG['donate_paypal'] . ' ' . $_LANG['name'] . '</label><br style="clear:both;" />
<input type="email" id="paypalRealMail" name="paypalRealMail" class="email" placeholder="' . $_LANG['donate_paypal'] . ' ' . $_LANG['mail'] . '" required="required"/> <label class="w170" for="paypalRealMail">' . $_LANG['donate_paypal'] . ' ' . $_LANG['mail'] . '</label><br style="clear:both;" /><br />
<input type="checkbox" id="paypalCheckbox" name="paypalCheckbox" style="float:left; margin:15px 10px;" required="required"/> <label style="width:360px;" for="paypalCheckbox">' . $_LANG['donate_promise'] . ' ' . $_LANG['donate_promise_paypaladdition'] . '</label><br style="clear:both;" /><br />
<input type="submit" name="paypalSubmit" value="' . $_LANG['donate_using'] . ' ' . $_LANG['donate_paypal'] . '" class="button_235" style="margin:5px 25%;"/>
</form>';
}
}
else {
echo createMessage($_LANG['notify_donate_deactivated'], 'hint');
}
|
|
|
09/01/2013, 11:05
|
#500
|
elite*gold: 0
Join Date: Oct 2007
Posts: 491
Received Thanks: 732
|
Quote:
Originally Posted by Brauny349
Ich habe auf mein Donate Seite das *********** System Aktiviert und eingestellt nun habe ich Die Donation Info Doppelt und die Tabelle brauche ich auch nicht mehr wie kann man diese entfernen?
PHP Code:
<?php if (!defined('access')) {die("Die gesuchte Ressource wurde entfernt oder umbenannt, oder sie steht vorübergehend nicht zur Verfügung.");} ?> <p class="page_title"> <?php echo $_LANG['donate_siteTitle']?> </p> <?php if($_CONFIG['donate_enable'] OR in_array($_SESSION['user'], $_CONFIG['allg_svr_admins'])) { if($_CONFIG['donate_***********_enabled'] AND !empty($_CONFIG['donate_***********_applicationkey']) AND !empty($_CONFIG['donate_***********_securitykey']) AND $_CONFIG['donate_***********_securitykey'] != 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') { if(empty($_SESSION['user'])) { echo createMessage($_LANG['error_not_logged'], 'hint'); } else { echo ' <h2>' . $_LANG['general_plu'] . ' ' . $_LANG['information_plu'] . '</h2> <p><br> ' . $_LANG['donate_information_text'] . ' </p> <br /> <iframe src="https://wallapi.com/api/ps/?key=' . $_CONFIG['donate_***********_applicationkey'] . '&uid=' . $_SESSION['user'] . '&widget='.$_CONFIG['donate_***********_widgetid'].'" width="619" height="600" frameborder="0"></iframe>'; } } else { } if(!empty($_SESSION['user'])) { $input = odbc_fetch_array(odbc_exec($odbc_connect, 'SELECT TOP 1 [account], [email] FROM [' . $_CONFIG['db_databases']['acc'] . '].[dbo].[ACCOUNT_TBL_DETAIL] WHERE [account] = \'' . cleanSqlInput($_SESSION['user']) . '\'')); $inputAccountName = $input['account']; $inputEmail = $input['email']; } else { $inputAccountName = ''; $inputEmail = ''; } $strOutputErrorArray = array(); if(isset($_POST['uKashSubmit']) AND ($_CONFIG['donate_ukash_enabled'] OR in_array($_SESSION['user'],$_CONFIG['allg_svr_admins']))) { $_POST['uKashCode'] = str_replace('.', '', $_POST['uKashCode']); if(isSpamming($_POST['uKashInputCheckTimestamp'], $_POST['uKashInputCheckKey'], $_SESSION['inputCheckKey'])) { $strOutputErrorArray[] = $_LANG['error_spam']; } if(empty($_POST['uKashAccount']) OR empty($_POST['uKashMail']) OR empty($_POST['uKashGuthaben']) OR empty($_POST['uKashCode']) or !isset($_POST['uKashCheckbox'])) { $strOutputErrorArray[] = $_LANG['error_fill_in_all_fields']; } if(odbc_num_rows(odbc_exec($odbc_connect, 'SELECT [account] FROM [' . $_CONFIG['db_databases']['acc'] . '].[dbo].[ACCOUNT_TBL] WHERE [account] = \'' . cleanSqlInput($_POST['uKashAccount']) . '\'')) < 1) { $strOutputErrorArray[] = $_LANG['error_no_account_with_that_name']; } if(!is_numeric($_POST['uKashCode']) OR substr($_POST['uKashCode'],0,7) != $_CONFIG['donate_ukash_code_start'] OR !in_array(substr($_POST['uKashCode'],7,2), $_CONFIG['donate_ukash_code_countries'])) { $strOutputErrorArray[] = $_LANG['error_donate_code_is_wrong']; } if(count($strOutputErrorArray) > 0) { $outputNotify = createMessage($strOutputErrorArray, 'fail'); } else { $account = cleanSqlInput($_POST['uKashAccount']); $mail = cleanSqlInput($_POST['uKashMail']); $guthaben = cleanSqlInput($_POST['uKashGuthaben']); $dps = $_CONFIG['donate_ukash_values'][$guthaben]; $key = random_string(); $code = cleanSqlInput($_POST['uKashCode']); if($_CONFIG['web_mailserver_enabled']) { if(@odbc_exec($odbc_connect, ' INSERT INTO [' . $_CONFIG['db_databases']['web'] . '].[dbo].[LOG_DONATIONS] ( [key], [type], [state], [account], [worth], [points], [timestamp] ) VALUES ( \'' . $key. '\', 2, 0, \'' . $account. '\', ' . $guthaben. ', ' . $dps. ', ' . time() . ' ) ')) { mailDonationUserNotification($account,$mail,$guthaben,$dps,time(),$key); mailDonationAdminNotification($account,$mail,$guthaben,$dps,$code,time(),$key,$_LANG['donate_ukash']); $outputNotify = createMessage($_LANG['success_donation'], 'success', NULL, $_LANG['success_donation_title']); } else { $outputNotify = createMessage($_LANG['error_donation_not_in_db'], 'fail'); } } else { if(@odbc_exec($odbc_connect, ' INSERT INTO [' . $_CONFIG['db_databases']['web'] . '].[dbo].[LOG_DONATIONS] ( [key], [type], [state], [account], [worth], [points], [timestamp], [fieldAlfa] ) VALUES ( \'' . $key. '\', 2, 0, \'' . $account. '\', ' . $guthaben. ', ' . $dps. ', ' . time() . ', \'' . $code . '\' ) ')) { $outputNotify = createMessage($_LANG['success_donation'], 'success', NULL, $_LANG['success_donation_title']); } else { $outputNotify = createMessage($_LANG['error_donation_not_in_db'], 'fail'); } } } } if(isset($_POST['paysafeSubmit']) AND ($_CONFIG['donate_paysafe_enabled'] OR in_array($_SESSION['user'],$_CONFIG['allg_svr_admins']))) { if(isSpamming($_POST['paysafeInputCheckTimestamp'], $_POST['paysafeInputCheckKey'], $_SESSION['inputCheckKey'])) { $strOutputErrorArray[] = $_LANG['error_spam']; } if(empty($_POST['paysafeAccount']) OR empty($_POST['paysafeMail']) OR empty($_POST['paysafeGuthaben']) or !isset($_POST['paysafeCheckbox'])) { $strOutputErrorArray[] = $_LANG['error_fill_in_all_fields']; } if(@odbc_num_rows(@odbc_exec($odbc_connect, 'SELECT [account] FROM [' . $_CONFIG['db_databases']['acc'] . '].[dbo].[ACCOUNT_TBL] WHERE account = \'' . cleanSqlInput($_POST['paysafeAccount']) . '\'')) < 1) { $strOutputErrorArray[] = $_LANG['error_no_account_with_that_name']; } if($_POST['paysafeCode1'] >= 1000 OR strlen($_POST['paysafeCode1']) <> 4 OR strlen($_POST['paysafeCode2']) <> 4 OR strlen($_POST['paysafeCode3']) <> 4 OR strlen($_POST['paysafeCode4']) <> 4 OR !is_numeric($_POST['paysafeCode1'].$_POST['paysafeCode2'].$_POST['paysafeCode3'].$_POST['paysafeCode4']) OR $_POST['paysafeCode1'].$_POST['paysafeCode2'].$_POST['paysafeCode3'].$_POST['paysafeCode4'] == 1234567812345678 OR $_POST['paysafeCode1'].$_POST['paysafeCode2'].$_POST['paysafeCode3'].$_POST['paysafeCode4'] == '0123456789012345') { $strOutputErrorArray[] = $_LANG['error_donate_code_is_wrong']; } if(count($strOutputErrorArray) > 0) { $outputNotify = createMessage($strOutputErrorArray, 'fail'); } else { $account = cleanSqlInput($_POST['paysafeAccount']); $email = cleanSqlInput($_POST['paysafeMail']); $wert = cleanSqlInput($_POST['paysafeGuthaben']); $dps = $_CONFIG['donate_paysafe_values'][$wert]; $pscCode = cleanSqlInput($_POST['paysafeCode1']) . '-' . cleanSqlInput($_POST['paysafeCode2']) . '-' . cleanSqlInput($_POST['paysafeCode3']) . '-' . cleanSqlInput($_POST['paysafeCode4']); $key = random_string(); $time = time(); if($_CONFIG['web_mailserver_enabled']) { if(@odbc_exec($odbc_connect, ' INSERT INTO [' . $_CONFIG['db_databases']['web'] . '].[dbo].[LOG_DONATIONS] ( [key], [type], [state], [account], [worth], [points], [timestamp] ) VALUES ( \'' . $key. '\', 0, 0, \'' . $account. '\', ' . $wert. ', ' . $dps. ', ' . $time . ' ) ')) { mailDonationUserNotification($account,$email,$wert,$dps,$time,$key); mailDonationAdminNotification($account,$email,$wert,$dps,$pscCode,time(),$key,$_LANG['donate_paysafe']); $outputNotify = createMessage($_LANG['success_donation'], 'success', NULL, $_LANG['success_donation_title']); } else { $outputNotify = createMessage($_LANG['error_donation_not_in_db'], 'fail'); } } else { if(@odbc_exec($odbc_connect, ' INSERT INTO [' . $_CONFIG['db_databases']['web'] . '].[dbo].[LOG_DONATIONS] ( [key], [type], [state], [account], [worth], [points], [timestamp], [fieldAlfa] ) VALUES ( \'' . $key. '\', 0, 0, \'' . $account. '\', ' . $wert. ', ' . $dps. ', ' . $time . ', \'' . $pscCode . '\' ) ')) { $outputNotify = createMessage($_LANG['success_donation'], 'success', NULL, $_LANG['success_donation_title']); } else { $outputNotify = createMessage($_LANG['error_donation_not_in_db'], 'fail'); } } } } if(isset($_POST['paypalSubmit']) AND ($_CONFIG['donate_paypal_enabled'] OR in_array($_SESSION['user'],$_CONFIG['allg_svr_admins']))) { if(isSpamming($_POST['paypalInputCheckTimestamp'], $_POST['paypalInputCheckKey'], $_SESSION['inputCheckKey'])) { $strOutputErrorArray[] = $_LANG['error_spam']; } if(empty($_POST['paypalAccount']) OR empty($_POST['paypalMail']) OR empty($_POST['paypalGuthaben']) OR empty($_POST['paypalRealName']) OR empty($_POST['paypalRealMail']) or !isset($_POST['paypalCheckbox'])) { $strOutputErrorArray[] = $_LANG['error_fill_in_all_fields']; } if(@odbc_num_rows(@odbc_exec($odbc_connect, 'SELECT [account] FROM [' . $_CONFIG['db_databases']['acc'] . '].[dbo].[ACCOUNT_TBL] WHERE account = \'' . cleanSqlInput($_POST['paypalAccount']) . '\'')) < 1) { $strOutputErrorArray[] = $_LANG['error_no_account_with_that_name']; } if(count($strOutputErrorArray) > 0) { $outputNotify = createMessage($strOutputErrorArray, 'fail'); } else { $key = random_string(); $account = cleanSqlInput($_POST['paypalAccount']); $mail = cleanSqlInput($_POST['paypalMail']); $wert = cleanSqlInput($_POST['paypalGuthaben']); $dps = $_CONFIG['donate_paypal_values'][$wert]; $name = cleanSqlInput($_POST['paypalRealName']); $email = cleanSqlInput($_POST['paypalRealMail']); if(@odbc_exec($odbc_connect, ' INSERT INTO [' . $_CONFIG['db_databases']['web'] . '].[dbo].[LOG_DONATIONS] ( [key], [type], [state], [account], [worth], [points], [timestamp], [fieldAlfa], [fieldBravo] ) VALUES ( \'' . $key. '\', 1, 0, \'' . $account. '\', ' . $wert. ', ' . $dps. ', ' . time() . ', \'' . $name . '\', \'' . $email . '\' ) ')) { mailDonationUserNotification($account,$mail,$wert,$dps,time(),$key); mailDonationAdminNotification($account,$mail,$wert,$dps,'-',time(),$key,$_LANG['donate_paypal'],$name,$email); $outputNotify = createMessage($_LANG['success_donation'], 'success', NULL, $_LANG['success_donation_title']); } else { $outputNotify = createMessage($_LANG['error_donation_not_in_db'], 'fail'); } } } echo '<h2>' . $_LANG['general_plu'] . ' ' . $_LANG['information_plu'] . '</h2> <p><br> ' . $_LANG['donate_information_text'] . ' </p> <br /> <h2>' . $_LANG['donate_table'] . '</h2> <div class="table"> <div class="thead"> <div class="tr"> <div class="p10 center"> </div> <div class="p30 center">UKash</div> <div class="p30 center">Paysafe</div> <div class="p30 center">Paypal</div> </div> </div> <div class="tbody">'; $arrayKeys = getAllDonateValues(); for($iterator = 0; $iterator < count($arrayKeys); $iterator++) { $currencyValue = $arrayKeys[$iterator]; echo ' <div class="tr"> <div class="p10 center">' . $currencyValue . ' ' . $_CONFIG['web_currencies']['real']['symbol'] . '</div> <div class="p30 center">' . getDonateValueOutput($_CONFIG['donate_ukash_values'], $currencyValue) . '</div> <div class="p30 center">' . getDonateValueOutput($_CONFIG['donate_paysafe_values'], $currencyValue) . '</div> <div class="p30 center">' . getDonateValueOutput($_CONFIG['donate_paypal_values'], $currencyValue) . '</div> </div> '; } echo ' <div class="tr"> <div class="p10 center"> </div> <div class="p30 center">' . checkBooleanState($_CONFIG['donate_ukash_enabled']) . '</div> <div class="p30 center">' . checkBooleanState($_CONFIG['donate_paysafe_enabled']) . '</div> <div class="p30 center">' . checkBooleanState($_CONFIG['donate_paypal_enabled']) . '</div> </div> </div> </div> <br /> ' . $outputNotify . ''; if($_CONFIG['donate_ukash_enabled']) { echo ' <hr class="clear" /> <h3>' . $_LANG['donate_ukash'] . '</h3> <a onclick="javascript:switching(\'uKash\');" class="weiterleitung nound">' . $_LANG['donate_open_form'] . '</a> <p> ' . $_LANG['donate_ukash_information'] . ' </p> <form method="post" id="uKash" class="formDonation"> <input type="hidden" name="uKashInputCheckTimestamp" value="' . time() . '" /> <input type="hidden" name="uKashInputCheckKey" value="' . random_string() . '" /> <input type="text" id="uKashAccount"name="uKashAccount" class="account" value="' . $inputAccountName . '" required="required" placeholder="' . $_LANG['account'] . '"/> <label class="w170" for="uKashAccount">' . $_LANG['account'] . '</label><br style="clear:both;" /> <input type="email" id="uKashMail" name="uKashMail" class="email" value="' . $inputEmail . '" required="required" placeholder="' . $_LANG['mail'] . '"/> <label class="w170" for="uKashMail">' . $_LANG['mail'] . '</label><br style="clear:both;" /> <select name="uKashGuthaben" class="small" required="required"> <option value=""></option>'; foreach($_CONFIG['donate_ukash_values'] as $betrag => $dps) {echo '<option value="'.$betrag.'">'.$betrag.' ' . $_CONFIG['web_currencies']['real']['name'] . ' / '.$dps.' ' . $_CONFIG['web_currencies']['donate']['name'] . '</option>';} echo ' </select><label class="w170" for="uKashGuthaben">' . $_LANG['value'] . '</label><br style="clear:both;" /> <input type="number" id="uKashCode" name="uKashCode" class="donate" required="required"/> <label class="w170" for="uKashCode">' . $_LANG['donate_ukash'] . ' ' . $_LANG['code'] . '</label><br style="clear:both;" /> <input type="checkbox" id="uKashCheckbox" name="uKashCheckbox" style="float:left; margin:15px 10px;" required="required"/> <label style="width:350px;" for="uKashCheckbox">' . $_LANG['donate_promise'] . '.</label><br style="clear:both;" /><br /> <input type="submit" name="uKashSubmit" value="' . $_LANG['donate_using'] . ' ' . $_LANG['donate_ukash'] . '" class="button_235" style="margin:5px 25%;"/> </form>'; } if($_CONFIG['donate_paysafe_enabled']) { echo ' <hr class="clear" /> <h3>' . $_LANG['donate_paysafe'] . '</h3> <a onclick="javascript:switching(\'Paysafe\');" class="weiterleitung nound">' . $_LANG['donate_open_form'] . '</a> <p> ' . $_LANG['donate_paysafe_information'] . ' </p> <form method="post" id="Paysafe" class="formDonation"> <p class="hint nomar nopad">' . $_LANG['donate_paysafe_hint'] . '</p> <input type="hidden" name="paysafeInputCheckTimestamp" value="' . time() . '" /> <input type="hidden" name="paysafeInputCheckKey" value="' . random_string() . '" /> <input type="text" id="paysafeAccount" name="paysafeAccount" class="account" value="' . $inputAccountName . '" placeholder="' . $_LANG['account'] . '" required="required"/> <label class="w170" for="paysafeAccount">' . $_LANG['account'] . '</label><br class="clear" /> <input type="email" id="paysafeMail" name="paysafeMail" class="email" value="' . $inputEmail . '" placeholder="' . $_LANG['mail'] . '" required="required"/> <label class="w170" for="paysafeMail">' . $_LANG['mail'] . '</label><br class="clear" /> <select id="paysafeGuthaben" name="paysafeGuthaben" class="small" required="required"> <option value=""></option>'; foreach($_CONFIG['donate_paysafe_values'] as $betrag => $dps) {echo '<option value="'.$betrag.'">'.$betrag.' ' . $_CONFIG['web_currencies']['real']['name'] . ' / '.$dps.' ' . $_CONFIG['web_currencies']['donate']['name'] . '</option>';} echo ' </select><label class="w170" for="paysafeGuthaben">' . $_LANG['value'] . '</label><br class="clear" /> <input name="paysafeCode1" type="number" maxlength="4" class="w030" placeholder="1234" required="required" id="paysafeCode1"/> <input name="paysafeCode2" type="number" maxlength="4" class="w030" placeholder="5678" required="required"/> <input name="paysafeCode3" type="number" maxlength="4" class="w030" placeholder="1234" required="required"/> <input name="paysafeCode4" type="number" maxlength="4" class="w030" placeholder="5678" required="required"/> <label class="w170" for="paysafeCode1">' . $_LANG['donate_paysafe'] . ' ' . $_LANG['code'] . '</label><br class="clear" /> <input type="checkbox" id="paysafeCheckbox" name="paysafeCheckbox" style="float:left; margin:15px 10px;" required="required"/> <label for="paysafeCheckbox" style="width:360px;">' . $_LANG['donate_promise'] . '.</label><br class="clear" /> <input type="submit" name="paysafeSubmit" value="' . $_LANG['donate_using'] . ' ' . $_LANG['donate_paysafe'] . '" class="button_235" style="margin:5px 25%;"/> </form>'; } if($_CONFIG['donate_paypal_enabled']) { echo ' <hr class="clear" /> <h3>' . $_LANG['donate_paypal'] . '</h3> <a onclick="javascript:switching(\'Paypal2\');" class="weiterleitung nound">' . $_LANG['donate_open_form'] . '</a> <p> ' . $_LANG['donate_paysafe_information'] . ' </p>'; echo ' <form action="https://www.paypal.com/cgi-bin/webscr" method="post" id="Paypal2" class="formDonation" style="text-align:center;" target="_blank"> <p class="hint nomar nopad">' . $_LANG['donate_paypal_hint'] . '</p> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="hosted_button_id" value="TTG4ZNX3KNMZW"> <input type="image" src="https://www.paypalobjects.com/de_DE/DE/i/btn/btn_donate_LG.gif" name="submit" alt="Jetzt einfach, schnell und sicher online bezahlen – mit PayPal." onclick="javascript:switching(\'Paypal1\');"> <img alt="" src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif" width="1" height="1"> </form> <form method="post" id="Paypal1" class="formDonation"> <input type="hidden" name="paypalInputCheckTimestamp" value="' . time() . '" /> <input type="hidden" name="paypalInputCheckKey" value="' . random_string() . '" /> <input type="text" id="paypalAccount" name="paypalAccount" class="account" value="' . $inputAccountName . '" placeholder="' . $_LANG['account'] . '" required="required"/> <label class="w170" for="paypalAccount">' . $_LANG['account'] . ' :</label><br style="clear:both;" /> <input type="email" id="paypalMail" name="paypalMail" class="email" value="' . $inputEmail . '" placeholder="' . $_LANG['mail'] . '" required="required"/> <label class="w170" for="paypalMail">' . $_LANG['mail'] . ' :</label><br style="clear:both;" /> <select id="paypalGuthaben" name="paypalGuthaben" class="small" required="required"> <option value=""></option>'; foreach($_CONFIG['donate_paypal_values'] as $betrag => $dps) {echo '<option value="'.$betrag.'">'.$betrag.' ' . $_CONFIG['web_currencies']['real']['name'] . ' / '.$dps.' ' . $_CONFIG['web_currencies']['donate']['name'] . '</option>';} echo ' </select><label class="w170" for="paypalGuthaben">' . $_LANG['value'] . '</label><br style="clear:both;" /> <input type="text" id="paypalRealName" name="paypalRealName" class="account" placeholder="' . $_LANG['donate_paypal'] . ' ' . $_LANG['name'] . '" required="required"/> <label class="w170" for="paypalRealName">' . $_LANG['donate_paypal'] . ' ' . $_LANG['name'] . '</label><br style="clear:both;" /> <input type="email" id="paypalRealMail" name="paypalRealMail" class="email" placeholder="' . $_LANG['donate_paypal'] . ' ' . $_LANG['mail'] . '" required="required"/> <label class="w170" for="paypalRealMail">' . $_LANG['donate_paypal'] . ' ' . $_LANG['mail'] . '</label><br style="clear:both;" /><br /> <input type="checkbox" id="paypalCheckbox" name="paypalCheckbox" style="float:left; margin:15px 10px;" required="required"/> <label style="width:360px;" for="paypalCheckbox">' . $_LANG['donate_promise'] . ' ' . $_LANG['donate_promise_paypaladdition'] . '</label><br style="clear:both;" /><br /> <input type="submit" name="paypalSubmit" value="' . $_LANG['donate_using'] . ' ' . $_LANG['donate_paypal'] . '" class="button_235" style="margin:5px 25%;"/> </form>'; } } else { echo createMessage($_LANG['notify_donate_deactivated'], 'hint'); }
|
Da habe ich ein wenig daneben gelegen, ganz offenbar. Hier der Fix dafür:
|
|
|
09/01/2013, 12:18
|
#501
|
elite*gold: 51
Join Date: Sep 2012
Posts: 1,141
Received Thanks: 575
|
Timmy. Bei mir wird bei *********** spenden der Betrag 0 gezeigt. Kann man irgendwie das Geld wieder anzeigen lassen. Ich vermute die Fukntion lautet 'amount' und ist mit Komma zahlen!
|
|
|
09/01/2013, 12:28
|
#502
|
elite*gold: 0
Join Date: Oct 2007
Posts: 491
Received Thanks: 732
|
Quote:
Originally Posted by Bloodyrain'
Timmy. Bei mir wird bei *********** spenden der Betrag 0 gezeigt. Kann man irgendwie das Geld wieder anzeigen lassen. Ich vermute die Fukntion lautet 'amount' und ist mit Komma zahlen!
|
Naja: Das Poblem ist, dass ich keinen Weg fand, dass *********** den gezahlten Betrag über den Callback übermittelt. Du könntest einen geschätzten Wert eintragen (sprich: 100 Dontepunkte entsprechen 1 Euro oder Dergleichen) und den dann mit dem übermittelten Spendenpunktenwert multiplizieren lassen - ist dann aber ungenau, wenn es Boni/mehr Punkte für höhere Spendenwerte gibt, wie es üblich ist.
|
|
|
09/01/2013, 14:04
|
#503
|
elite*gold: 0
Join Date: Jul 2012
Posts: 78
Received Thanks: 8
|
Jo danke für den schnellen Fix momentan kann man eh noch nichts spenden da der server gerade mal die alpha angekratzt hat
|
|
|
09/01/2013, 14:38
|
#504
|
elite*gold: 51
Join Date: Sep 2012
Posts: 1,141
Received Thanks: 575
|
Quote:
Originally Posted by Xxl3lubbs
Naja: Das Poblem ist, dass ich keinen Weg fand, dass *********** den gezahlten Betrag über den Callback übermittelt. Du könntest einen geschätzten Wert eintragen (sprich: 100 Dontepunkte entsprechen 1 Euro oder Dergleichen) und den dann mit dem übermittelten Spendenpunktenwert multiplizieren lassen - ist dann aber ungenau, wenn es Boni/mehr Punkte für höhere Spendenwerte gibt, wie es üblich ist.
|
Ich weiß. Heute bekommt der Spender des Monats seine Items. Nur ist es so, dass es nach dem worth falsch wäre und nach cash wären die Leute gepushed die mehr Dp's bekommen durch Event/Bonus
|
|
|
09/04/2013, 21:23
|
#505
|
elite*gold: 20
Join Date: Sep 2012
Posts: 176
Received Thanks: 212
|
Ich weiß nicht wie es bei der neuen Version ist aber bei der alten gibts beim Newssystem ziemlich Probleme wenn im Text SQL Syntax wie Update oder Drop enthalten ist.
|
|
|
09/04/2013, 22:18
|
#506
|
elite*gold: 0
Join Date: Oct 2007
Posts: 491
Received Thanks: 732
|
Quote:
Originally Posted by Apozen.
Ich weiß nicht wie es bei der neuen Version ist aber bei der alten gibts beim Newssystem ziemlich Probleme wenn im Text SQL Syntax wie Update oder Drop enthalten ist.
|
Wo du es sagst, fällt es mir wieder ein: Das liegt an der includes/xinc_detection.php, dort filtert er böse Namen heraus. Eigentlich reicht es, wenn die Datenbanknamen dort rausgefiltert werden. Oder wenn man es aus dem Admin-Backend das include rausnimmt.
|
|
|
09/09/2013, 03:32
|
#507
|
elite*gold: 7
Join Date: Sep 2012
Posts: 4,462
Received Thanks: 3,213
|
Es ist schon ein wenig her,dass du diese hier eingefügt hattest:
PHP Code:
$_CONFIG['web_default_lang'] = 'de';
Kannst du das nochmal genauer Erklären, bzw wie man das direkt alles ändern kann?
Oder du baust oben Rechts in der Ecke ein kleines Kästchen ein wo die User selbst wählen können in welcher Sprache, dass wäre echt top
|
|
|
09/09/2013, 04:56
|
#508
|
elite*gold: 18
Join Date: Sep 2009
Posts: 20,177
Received Thanks: 14,471
|
Die Definition ist nicht zu missverstehen.
web_default_lang -> Website default language -> Standart Web sprache.
"de" ist hier sein codepage. Für standart englischer sprache könnte er "en" genommen haben.
|
|
|
09/09/2013, 11:29
|
#509
|
elite*gold: 0
Join Date: Oct 2007
Posts: 491
Received Thanks: 732
|
Quote:
Originally Posted by тнe eɴd
Es ist schon ein wenig her,dass du diese hier eingefügt hattest:
PHP Code:
$_CONFIG['web_default_lang'] = 'de';
Kannst du das nochmal genauer Erklären, bzw wie man das direkt alles ändern kann?
|
Was man damit ändern kann: Die ganzen statischen Texte auf der Website, beispielsweise die Navigationsschlagworte, die einzelnen Überschriften der Seite oder die ganzen Fehlermeldungen. Es wird dann die Datei inkludiert, die entsprechend der Angabe im lang-Ordner liegt. Setzt du in die Variable ein "fr", so musst du eine fr.php im Ordner lang haben.
Quote:
Originally Posted by тнe eɴd
Oder du baust oben Rechts in der Ecke ein kleines Kästchen ein wo die User selbst wählen können in welcher Sprache, dass wäre echt top
|
Das ist bereits so schon in der Theorie fertig und erfolgreich getestet und abgesichert. Allerdings fehlt es an dem Sinn, es in ein Update einzuspielen, denn: Newseinträge / Regeln / FAQs usw. bleiben alle in der Sprache, in der sie eben sind. Inwiefern man den Googleübersetzer da drüberlaufen lassen könnte oder ob es andere mögliche Lösungsansätze gibt, kann ich nicht beurteilen, weil noch nicht mit beschäftigt.
Außerdem ist die einzige englische Sprachdatei, die ich derzeit habe, die von Flux und die kann ich nicht herausgeben.
Quote:
Originally Posted by Sedrika
Die Definition ist nicht zu missverstehen.
web_default_lang -> Website default language -> Standart Web sprache.
"de" ist hier sein codepage. Für standart englischer sprache könnte er "en" genommen haben.
|
Danke für die schnelle Antwort, die den Kern der Sache trifft - meine Berufsschulzeit ist nun für die kommenden vier Wochen vorbei, sodass ich allgemein wieder weniger Zeit habe. ^^
|
|
|
Similar Threads
|
Auf website e-mail support einbauen
10/31/2010 - General Coding - 3 Replies
Heey
ich habe meine eigene Website gescriptet, nun will ich auch einen e-mail support einbauen der inetwa so aussehn soll:
http://img841.imageshack.us/img841/4714/privatnac hricht.jpg
Name:
E-mail:
Betreff:
Text:
wie ist das in php zu verwirklichen?
|
Website Support
06/21/2010 - Technical Support - 3 Replies
Hey guys,
I wanna know If someone of you knows how to get such a chatroom:
The Colorless: Chat (Dollars/Durarara!!)
I really want it like this .... like in Durarara but dunno how ......
|
All times are GMT +1. The time now is 11:53.
|
|