|
|
phpBB2 by Przemo
Support forów phpBB2 modified by Przemo
|
|
[Modification] Cash Mod |
Autor |
Wiadomość |
sevraj
Posty: 45
|
Wysłany: 18-07-2011, 15:17 [Modification] Cash Mod
|
|
|
http://www.przemo.org/php...pic.php?t=57483 ! Someone english language for settings in admin panel ? I install cash mod but is in polish language and i don`t now how to setting mod to appear in profile ! Please help me |
|
|
|
|
Gadatliwa Kasia
|
|
|
|
xlesiu
Pomógł: 5274 razy Posty: 10382
|
Wysłany: 18-07-2011, 16:55
|
|
|
You try. Where are you from?
lang_cash.rar
|
Pobierz Plik ściągnięto 928 raz(y) 4,17 KB |
|
_________________ Jak tłumaczysz mi coś z php to mów do mnie jak do labradora. / krwiodawcy.org |
|
|
|
|
sevraj
Posty: 45
|
Wysłany: 18-07-2011, 17:06
|
|
|
I`am from Romania but i make my forum in english
[ Added: 18-07-2011, 18:24 ]
can you help me with settings !
Number of decimals for currency
Default value for currency
Cash mod is installed but in profile but nothing appears in post or profiles
http://i53.tinypic.com/wswop2.png ! In admin setting cash mod is
Enable Currency YES
Display the currency as an image YES ! What can i do ? |
|
|
|
|
Matteo
Pomógł: 1932 razy Posty: 5713
|
Wysłany: 18-07-2011, 17:45
|
|
|
You forgot edit templates/CSBfree/viewtopic_body.tpl.
Open it, find: Kod: | {postrow.POSTER_FROM} | after add: Kod: | <br />{postrow.CASH} |
|
_________________
Fora, strony, sklepy internetowe i wiele więcej...
matteo.fcb(at)gmail.com |
|
|
|
|
xlesiu
Pomógł: 5274 razy Posty: 10382
|
Wysłany: 18-07-2011, 18:07
|
|
|
Number of decimals for currency
1 - 1000,0
2 - 1000,00
3 - 1000,000
...
Default value for currency - how much money have user on start |
_________________ Jak tłumaczysz mi coś z php to mów do mnie jak do labradora. / krwiodawcy.org |
|
|
|
|
sevraj
Posty: 45
|
Wysłany: 18-07-2011, 18:18
|
|
|
when i trie to do currency i receive this
Kod: | UPDATE phpbb_cash SET cash_perpost = cash_perpost * INF, cash_postbonus = cash_postbonus * INF, cash_perreply = cash_perreply * INF, cash_maxearn = cash_maxearn * INF, cash_perpm = cash_perpm * INF, cash_perchar = cash_perchar * INF, cash_allowanceamount = cash_allowanceamount * INF WHERE cash_dbfield = 'user_cash' |
Line : 390
File : cash_currencies.php
And now i click on topic and i receive this
Cytat: | Could not obtain post/user information.
DEBUG MODE
SQL Error : 1054 Unknown column 'u.user_cash' in 'field list'
SELECT p.post_id, p.post_time, p.enable_sig, p.enable_html, p.enable_smilies, p.post_edit_count, p.post_edit_time, p.post_username, p.post_approve, p.poster_delete, p.post_edit_by, p.post_parent, p.post_icon, p.user_agent, p.post_attachment, p.post_expire, u.user_sig_image, u.user_birthday, u.user_from, u.user_regdate, u.user_gender, u.user_icq, u.user_aim, u.user_viewaim, u.user_yim, u.user_avatar_width, u.user_avatar_height, u.user_cash, u.user_id, u.username, u.user_level, u.user_jr, u.user_allowhtml, u.user_posts, u.user_allowsig, u.user_sig, u.user_sig_bbcode_uid, u.user_allowsmile, u.user_avatar_type, u.user_allowavatar, u.user_avatar, u.user_rank, u.user_viewemail, u.user_website, u.user_email, u.can_custom_ranks, u.user_custom_rank, u.user_session_time, u.user_allow_viewonline, pt.post_text, pt.bbcode_uid, pt.post_subject , ph.th_post_id FROM phpbb_posts p LEFT JOIN phpbb_posts_text_history ph ON (ph.th_post_id = p.post_id) LEFT JOIN phpbb_posts_text pt ON (pt.post_id = p.post_id) LEFT JOIN phpbb_users u ON (u.user_id = p.poster_id) WHERE p.topic_id = 34 GROUP by p.post_id ORDER BY p.post_order, p.post_time ASC LIMIT 0, 15
Line : 846
File : viewtopic.php
If you can not fix this problem,
you can find help, or ask question at: http://www.przemo.org/phpBB2/
|
|
|
|
|
|
xlesiu
Pomógł: 5274 razy Posty: 10382
|
|
|
|
|
sevraj
Posty: 45
|
Wysłany: 18-07-2011, 18:28
|
|
|
i did that when cash mod was installed if i do now sql instal i recevie INSERT INTO phpbb_config (config_name, config_value) VALUES ('cash_disable',0);
+++ Error: Duplicate entry 'cash_disable' for key 'PRIMARY'
INSERT INTO phpbb_config (config_name, config_value) VALUES ('cash_display_after_posts',1);
+++ Error: Duplicate entry 'cash_display_after_posts' for key 'PRIMARY'
INSERT INTO phpbb_config (config_name, config_value) VALUES ('cash_post_message','You earned %s for that post');
+++ Error: Duplicate entry 'cash_post_message' for key 'PRIMARY'
INSERT INTO phpbb_config (config_name, config_value) VALUES ('cash_disable_spam_num',10);
+++ Error: Duplicate entry 'cash_disable_spam_num' for key 'PRIMARY'
INSERT INTO phpbb_config (config_name, config_value) VALUES ('cash_disable_spam_time',24);
+++ Error: Duplicate entry 'cash_disable_spam_time' for key 'PRIMARY'
INSERT INTO phpbb_config (config_name, config_value) VALUES ('cash_disable_spam_message','You have exceeded the alloted amount of posts and will not earn anything for your post');
+++ Error: Duplicate entry 'cash_disable_spam_message' for key 'PRIMARY'
INSERT INTO phpbb_config (config_name, config_value) VALUES ('cash_installed','yes');
+++ Error: Duplicate entry 'cash_installed' for key 'PRIMARY'
INSERT INTO phpbb_config (config_name, config_value) VALUES ('cash_version','2.2.3');
+++ Error: Duplicate entry 'cash_version' for key 'PRIMARY'
INSERT INTO phpbb_config (config_name, config_value) VALUES ('points_name','Points');
+++ Error: Duplicate entry 'points_name' for key 'PRIMARY'
INSERT INTO phpbb_config (config_name, config_value) VALUES ('cash_adminnavbar','1');
+++ Error: Duplicate entry 'cash_adminnavbar' for key 'PRIMARY'
INSERT INTO phpbb_config (config_name, config_value) VALUES ('cash_adminbig','0');
+++ Error: Duplicate entry 'cash_adminbig' for key 'PRIMARY'
CREATE TABLE phpbb_cash (
cash_id smallint(6) NOT NULL auto_increment,
cash_order smallint(6) NOT NULL default '0',
cash_settings smallint(4) NOT NULL default '3313',
cash_dbfield varchar(64) NOT NULL default 'user_cash',
cash_name varchar(64) NOT NULL default 'cash',
cash_default int(11) NOT NULL default '0',
cash_decimals tinyint(2) NOT NULL default '0',
cash_imageurl varchar(255) NOT NULL default ' ',
cash_exchange int(11) NOT NULL default '1',
cash_perpost int(11) NOT NULL default '25',
cash_postbonus int(11) NOT NULL default '2',
cash_perreply int(11) NOT NULL default '25',
cash_maxearn int(11) NOT NULL default '75',
cash_perpm int(11) NOT NULL default '0',
cash_perchar int(11) NOT NULL default '20',
cash_allowance tinyint(1) NOT NULL default '0',
cash_allowanceamount int(11) NOT NULL default '0',
cash_allowancetime tinyint(2) NOT NULL default '2',
cash_allowancenext int(11) NOT NULL default '0',
cash_forumlist varchar(255) NOT NULL default ' ',
PRIMARY KEY (cash_id)
);
+++ Error: Table 'phpbb_cash' already exists
CREATE TABLE phpbb_cash_events (
event_name varchar(32) NOT NULL default ' ',
event_data varchar(255) NOT NULL default ' ',
PRIMARY KEY (event_name)
);
+++ Error: Table 'phpbb_cash_events' already exists
CREATE TABLE phpbb_cash_exchange (
ex_cash_id1 int(11) NOT NULL default '0',
ex_cash_id2 int(11) NOT NULL default '0',
ex_cash_enabled int(1) NOT NULL default '0',
PRIMARY KEY (ex_cash_id1,ex_cash_id2)
);
+++ Error: Table 'phpbb_cash_exchange' already exists
CREATE TABLE phpbb_cash_groups (
group_id mediumint(6) NOT NULL default '0',
group_type tinyint(2) NOT NULL default '0',
cash_id smallint(6) NOT NULL default '0',
cash_perpost int(11) NOT NULL default '0',
cash_postbonus int(11) NOT NULL default '0',
cash_perreply int(11) NOT NULL default '0',
cash_perchar int(11) NOT NULL default '0',
cash_maxearn int(11) NOT NULL default '0',
cash_perpm int(11) NOT NULL default '0',
cash_allowance tinyint(1) NOT NULL default '0',
cash_allowanceamount int(11) NOT NULL default '0',
cash_allowancetime tinyint(2) NOT NULL default '2',
cash_allowancenext int(11) NOT NULL default '0',
PRIMARY KEY (group_id,group_type,cash_id)
);
+++ Error: Table 'phpbb_cash_groups' already exists
CREATE TABLE phpbb_cash_log (
log_id int(11) NOT NULL auto_increment,
log_time int(11) NOT NULL default '0',
log_type smallint(6) NOT NULL default '0',
log_action varchar(255) NOT NULL default ' ',
log_text varchar(255) NOT NULL default ' ',
PRIMARY KEY (log_id)
);
+++ Error: Table 'phpbb_cash_log' already exists |
|
|
|
|
xlesiu
Pomógł: 5274 razy Posty: 10382
|
Wysłany: 18-07-2011, 18:29
|
|
|
I want your viewtopic.php and posting.php |
_________________ Jak tłumaczysz mi coś z php to mów do mnie jak do labradora. / krwiodawcy.org |
|
|
|
|
Gadatliwa Kasia
|
|
|
|
sevraj
Posty: 45
|
Wysłany: 18-07-2011, 18:35
|
|
|
I trie to reinstall again i put old backup i will make everyting you lern me and
Kod: | You forgot edit templates/CSBfree/viewtopic_body.tpl.
Open it, find:
Code:
{postrow.POSTER_FROM}
after add:
Code:
<br />{postrow.CASH} |
[ Added: 18-07-2011, 19:48 ]
Nothing i install mod i put your lang_cash i put
Name of Currency EURO
Database field for currency user_euro
Number of decimals for currency 1000,0
Default value for currency 10
Nothing is change Look this is files http://www.megaupload.com/?d=USJTD1UO !
viewtopic_body.tpl , viewtopic.php and posting.php |
|
|
|
|
|
Nie możesz pisać nowych tematów Nie możesz odpowiadać w tematach Nie możesz zmieniać swoich postów Nie możesz usuwać swoich postów Nie możesz głosować w ankietach Możesz załączać pliki na tym forum Możesz ściągać załączniki na tym forum
|
Dodaj temat do Ulubionych Wersja do druku
|
Kopiowanie wszelkich treści zawartych na forum, modyfikacji oraz instrukcji bez zgody administracji i autorów tematów/postów zabronione!
Powered by phpBB modified by Przemo © 2003 phpBB
| Strona wygenerowana w 0,18 sekundy. Zapytań do SQL: 13 | |
|
|