ik zoek een paar mods
Forumregels
Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.

ik zoek een paar mods
ik zoek deze mods casino, loterij, en de wedkantoor
ik zag op een site de rechtbank is daar ook een mod voor
ik zag op een site de rechtbank is daar ook een mod voor
Zoek eens in de moddatabase van onze grote broer http://www.phpbb.com/mods of via de andere bekende sites naar deze mods met de volgende benamingen en dan vind je ze wel 
Jury Mod 0.0.3
Bookies Mod 3.0.0
Lottery Hack 2.0.4
Casino Hack 1.0.0
De zoekterm in google met phpbb erachter wil ook altijd wel goede resultaten op leveren

Jury Mod 0.0.3
Bookies Mod 3.0.0
Lottery Hack 2.0.4
Casino Hack 1.0.0
De zoekterm in google met phpbb erachter wil ook altijd wel goede resultaten op leveren

Daarvoor hebben we dus dit ( http://www.phpbb.com/phpBB/mod_search.php ) en dit ( http://www.phpbbhacks.com/ )
Typ in:
Lottery
Jury
Bookmakers
Casino
En afhankelijk waar en wat je zoekt komt er een download uit.
Typ in:
Lottery
Jury
Bookmakers
Casino
En afhankelijk waar en wat je zoekt komt er een download uit.
... Maar ik modereer (nog) niet.
De laatse kun je hier vinden: http://www.majormod.com/viewtopic.php?t=4
Succes.
Succes.
Raimon - phpBB.com Styles Team Leader
phpBBservice.nl - Nederlands phpBB Support Forum || Nederlandse phpBB3 Downloads
phpBBservice.nl - Nederlands phpBB Support Forum || Nederlandse phpBB3 Downloads
ik heb de lottery geinstaleerd en nu krijg ik dit als het afgelopen is ik kan niet zien wie de winaar is
Code: Selecteer alles
Error getting information from users table!
DEBUG MODE
SQL Error : 1054 Unknown column 'user_items' in 'field list'
SELECT `username`, `user_items` FROM phpbb_users WHERE user_id='5'
Line : 174
File : lottery.php
-
- Berichten: 1518
- Lid geworden op: 29 jun 2003, 10:57
- Locatie: Home Sweet Home
- Contacteer:
ja want als ik het nog een keer doe krijg ik
Code: Selecteer alles
Running :: CREATE TABLE `phpbb_lottery` (`id` INT UNSIGNED NOT NULL AUTO_INCREMENT, `user_id` INT (20) NOT NULL, PRIMARY KEY(`id`), INDEX(`user_id`)) -> FAILED ---> Table 'phpbb_lottery' already exists
Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_cost', '1') -> FAILED ---> Duplicate entry 'lottery_cost' for key 1
Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_ticktype', 'single') -> FAILED ---> Duplicate entry 'lottery_ticktype' for key 1
Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_length', '500000') -> FAILED ---> Duplicate entry 'lottery_length' for key 1
Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_name', 'Lottery') -> FAILED ---> Duplicate entry 'lottery_name' for key 1
Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_base', '50') -> FAILED ---> Duplicate entry 'lottery_base' for key 1
Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_start', '0') -> FAILED ---> Duplicate entry 'lottery_start' for key 1
Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_reset', '0') -> FAILED ---> Duplicate entry 'lottery_reset' for key 1
Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_status', '0') -> FAILED ---> Duplicate entry 'lottery_status' for key 1
Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_items', '0') -> FAILED ---> Duplicate entry 'lottery_items' for key 1
Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_win_items', '') -> FAILED ---> Duplicate entry 'lottery_win_items' for key 1
Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_show_entries', '0') -> FAILED ---> Duplicate entry 'lottery_show_entries' for key 1
Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_mb', '0') -> FAILED ---> Duplicate entry 'lottery_mb' for key 1
Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_mb_amount', '1') -> FAILED ---> Duplicate entry 'lottery_mb_amount' for key 1
Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_history', '1') -> FAILED ---> Duplicate entry 'lottery_history' for key 1
Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_currency', '') -> FAILED ---> Duplicate entry 'lottery_currency' for key 1
Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_item_mcost', '1') -> FAILED ---> Duplicate entry 'lottery_item_mcost' for key 1
Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_item_xcost', '500') -> FAILED ---> Duplicate entry 'lottery_item_xcost' for key 1
Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_random_shop', '') -> FAILED ---> Duplicate entry 'lottery_random_shop' for key 1
Running :: CREATE TABLE `phpbb_lottery_history` ( `id` INT UNSIGNED NOT NULL AUTO_INCREMENT, `user_id` INT (20) NOT NULL, `amount` INT (20) NOT NULL, `currency` CHAR (32) NOT NULL, `time` INT (20) NOT NULL, PRIMARY KEY(`id`), INDEX(`user_id`) ) -> FAILED ---> Table 'phpbb_lottery_history' already exists
Finished!
Some of the querys have failed, contact me so I can fix the errors.
-
- Berichten: 1518
- Lid geworden op: 29 jun 2003, 10:57
- Locatie: Home Sweet Home
- Contacteer:
-
- Berichten: 1518
- Lid geworden op: 29 jun 2003, 10:57
- Locatie: Home Sweet Home
- Contacteer:
In de foutmelding staat dat er gezocht wordt naar phpbb_. Dit betekent dus dat het gewoon phpbb_ is. Anders had er wel iets anders gestaan. De prefix staat namelijk in config.php en vervolgens wordt deze overal op het forum gebruikt. Aangezien phpbb_ de standaardprefix is hoef je ook aan de sql-query niks te veranderen.arjan2 schreef:Nou nee niet altijd als ik die mod zou installeren zou het bij mij moeten zijn:cartoontje schreef:SELECT `username`, `user_items` FROM phpbb_users WHERE user_id='5', dus de prefix is goed.
Welke mods heb je nog meer op je forum staan?
forum_users
Het punt is dat de bewuste sql-code er niet bij zit of dat het nog van een andere hack is.
Eigenlijk wel ja, heeft er dan waarschijnlijk ook bij gestaan!calimero schreef:dus ik moet de shop mod instaleren

FInd:replace
find and delete:
Code: Selecteer alles
$sql = "SELECT `username`, `user_items`
Code: Selecteer alles
$sql = "SELECT `username`
Code: Selecteer alles
#
# Explode items array, loop over items array to make sure all item exist
# Replace all RANDOM (lowercase) items with items from price to price [in store]
#
$item_array = explode(';', $board_config['lottery_win_items']);
$add_items = array();
for ($i = 0; $i < count($item_array); $i++)
{
$item_array[$i] = trim($item_array[$i]);
if ( strtolower($item_array[$i]) == 'random' )
{
$shop_sql = ( !empty($board_config['lottery_random_shop']) ) ? "AND shop = '" . addslashes($board_config['lottery_random_shop']) . "'" : '';
$sql = "SELECT name
FROM " . SHOP_ITEM_TABLE . "
WHERE cost > '" . $board_config['lottery_item_mcost'] . "'
AND cost < '" . $board_config['lottery_item_xcost'] . "'
" . $shop_sql . "
ORDER BY RAND()
LIMIT 0, 1";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, sprintf($lang['lottery_error_selecting'], 'shop items'), '', __LINE__, __FILE__, $sql);
}
$sql_count = $db->sql_numrows($result);
if ( $sql_count > 0 )
{
if (!( $item_row = $db->sql_fetchrow($result) ))
{
message_die(GENERAL_ERROR, sprintf($lang['lottery_error_selecting'], 'shop items'), '', __LINE__, __FILE__, $sql);
}
$add_items[] = $item_row['name'];
}
}
elseif ( !empty($item_array[$i]) )
{
$sql = "SELECT *
FROM " . SHOP_ITEM_TABLE . "
WHERE name = '" . addslashes($item_array[$i]) . "'";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, sprintf($lang['lottery_error_selecting'], 'shop items'), '', __LINE__, __FILE__, $sql);
}
$sql_count = $db->sql_numrows($result);
if ( $sql_count > 0 )
{
$add_items[] = $item_array[$i];
}
}
}
if ( count($add_items) > 0 )
{
$new_items = addslashes($row2['user_items'] . 'ß' . implode('Þß', $add_items) . 'Þ');
#
# Add up new total & insert into database
#
$sql = "UPDATE " . USERS_TABLE . "
SET user_items = '$new_items'
WHERE user_id='{$row['user_id']}'";
if ( !($db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, sprintf($lang['lottery_error_updating'], 'users'), '', __LINE__, __FILE__, $sql);
}
}