[ABD] Country Flags 1.0.0

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
<|TGC|BOSTON>
Registered User
Posts: 11
Joined: Tue Jan 22, 2008 9:40 pm
Location: France

Re: [RC] Country Flags 1.0.0

Post by <|TGC|BOSTON> » Thu Jun 12, 2008 12:44 pm

Here the answer : http://www.phpbb.com/community/viewtopi ... 5#p3754605

Ty very much for your help !

Best regardS.

Sascha Mueller
Registered User
Posts: 95
Joined: Tue Mar 28, 2006 8:11 pm
Contact:

Re: [RC] Country Flags 1.0.0

Post by Sascha Mueller » Thu Jun 12, 2008 6:09 pm

We have some problems when some user have edited his/her profile. Then the following error message will be shown:

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 1225: array_shift() [function.array-shift]: The argument should be an array
[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 1226: array_unshift() [function.array-unshift]: The first argument should be an array
[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 1228: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'validate_' was given

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php:2956) in /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php on line 3619

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php:2956) in /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php on line 3621

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php:2956) in /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php on line 3622

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php:2956) in /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php on line 3623
Alle changes where saved, all is o.k., but this error messages are not so nice. ;)

Can somebody help? :oops:
Please excuse my bad English, I'm German!

LaylaChaos
Registered User
Posts: 25
Joined: Wed May 23, 2007 7:46 am

Re: [RC] Country Flags 1.0.0

Post by LaylaChaos » Tue Jun 17, 2008 3:05 am

I really love your country flags mod! Will it be finished soon...?

shantoo
Registered User
Posts: 91
Joined: Sat Apr 12, 2008 12:10 am

Re: [RC] Country Flags 1.0.0

Post by shantoo » Tue Jun 17, 2008 2:53 pm

Sascha Mueller wrote:We have some problems when some user have edited his/her profile. Then the following error message will be shown:

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 1225: array_shift() [function.array-shift]: The argument should be an array
[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 1226: array_unshift() [function.array-unshift]: The first argument should be an array
[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 1228: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'validate_' was given

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php:2956) in /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php on line 3619

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php:2956) in /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php on line 3621

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php:2956) in /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php on line 3622

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php:2956) in /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php on line 3623
Alle changes where saved, all is o.k., but this error messages are not so nice. ;)

Can somebody help? :oops:

This is already reported in this topic, Check the previous page's please for help.

Sascha Mueller
Registered User
Posts: 95
Joined: Tue Mar 28, 2006 8:11 pm
Contact:

Re: [RC] Country Flags 1.0.0

Post by Sascha Mueller » Tue Jun 17, 2008 5:06 pm

shantoo wrote:
Sascha Mueller wrote:We have some problems when some user have edited his/her profile. Then the following error message will be shown:

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 1225: array_shift() [function.array-shift]: The argument should be an array
[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 1226: array_unshift() [function.array-unshift]: The first argument should be an array
[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 1228: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'validate_' was given

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php:2956) in /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php on line 3619

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php:2956) in /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php on line 3621

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php:2956) in /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php on line 3622

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php:2956) in /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php on line 3623
Alle changes where saved, all is o.k., but this error messages are not so nice. ;)

Can somebody help? :oops:

This is already reported in this topic, Check the previous page's please for help.
I've done this code-changes:
Gremlinn wrote:OPEN:
includes/functions_user.php
FIND:

Code: Select all

			if ((strpos($attribute, 'group_avatar') === 0 || strpos($attribute, 'group_rank') === 0 || strpos($attribute, 'group_flag') === '') && !$group_attributes[$attribute])
REPLACE WITH:

Code: Select all

			if ((strpos($attribute, 'group_avatar') === 0 || strpos($attribute, 'group_rank') === 0 || strpos($attribute, 'group_flag') == '') && !$group_attributes[$attribute])
justhink wrote:OPEN includes/functions_user.php

FIND

Code: Select all

remove_default_flag($group_id, $sql_where_ary[$gid]);

and comment it out :

Code: Select all

// remove_default_flag($group_id, $sql_where_ary[$gid]);
but it dosn't work. :(

I've got the same error. :oops:
Please excuse my bad English, I'm German!

electricx
Registered User
Posts: 46
Joined: Mon Oct 15, 2007 2:01 pm

Re: [RC] Country Flags 1.0.0

Post by electricx » Mon Jun 23, 2008 11:48 am

hi, after install the mod, all are ok but if i try turn a group to default group user, i get this error:

Code: Select all

SQL ERROR [ mysql4 ]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND user_id = 66' at line 6 [1064]

SQL

UPDATE phpbb_users SET user_flag = '' WHERE group_id = 7 AND user_flag <> '' AND user_flag = AND user_id = 66

BACKTRACE

FILE: includes/db/mysql.php
LINE: 158
CALL: dbal->sql_error()

FILE: includes/functions_user.php
LINE: 2906
CALL: dbal_mysql->sql_query()

FILE: includes/functions_user.php
LINE: 3054
CALL: remove_default_flag()

FILE: includes/acp/acp_users.php
LINE: 1861
CALL: group_user_attributes()

FILE: includes/functions_module.php
LINE: 471
CALL: acp_users->main()

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()

How i fixe this ?

ReGz
Registered User
Posts: 12
Joined: Thu Jun 12, 2008 1:42 pm

Re: [RC] Country Flags 1.0.0

Post by ReGz » Tue Jun 24, 2008 6:11 pm

WIll it work with 3.01 ??

Undead46
Registered User
Posts: 95
Joined: Wed Jun 18, 2008 4:49 pm

Re: [RC] Country Flags 1.0.0

Post by Undead46 » Tue Jun 24, 2008 6:37 pm

I'm getting the same error as Electricx

Code: Select all

SQL ERROR [ mysql4 ]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND user_id = 55' at line 6 [1064]

SQL

UPDATE phpbb_users SET user_flag = '' WHERE group_id = 5 AND user_flag <> '' AND user_flag = AND user_id = 55

BACKTRACE

FILE: includes/db/mysql.php
LINE: 158
CALL: dbal_mysql->sql_error()

FILE: includes/functions_user.php
LINE: 2922
CALL: dbal_mysql->sql_query()

FILE: includes/functions_user.php
LINE: 3068
CALL: remove_default_flag()

FILE: includes/acp/acp_users.php
LINE: 1880
CALL: group_user_attributes()

FILE: includes/functions_module.php
LINE: 471
CALL: acp_users->main()

FILE: adm/index.php
LINE: 75
CALL: p_master->load_active()
-------

FOUND THE FIX!! : http://www.phpbb.com/community/viewtopi ... 5#p4660235
Last edited by Undead46 on Tue Jun 24, 2008 6:59 pm, edited 1 time in total.

User avatar
Gremlinn
Registered User
Posts: 2133
Joined: Mon Aug 04, 2003 12:13 am
Location: Rochester, NY
Name: Nathan

Re: [RC] Country Flags 1.0.0

Post by Gremlinn » Tue Jun 24, 2008 6:59 pm

Read further back in this topic. The Group Flag does not work. There are a couple edits to use to turn it off.

User avatar
Jackanape
Registered User
Posts: 1076
Joined: Wed Oct 13, 2004 6:01 am
Location: Capitol of the Great State of New York
Name: Jack Drury
Contact:

Re: [RC] Country Flags 1.0.0

Post by Jackanape » Thu Jun 26, 2008 2:20 pm

Jackanape wrote:The sort option doesn't seem to work in my memberlist. Is this an error on my part, or is this a larger problem?
I'm gettiong ready for a complete overhaul under the hood of my boards, and taking her up to 3.0.1, but I wanted to check in with this mod, and verify this situation.

Can anyone sort by flag in their memberlists?

I've pored over the code, and can find no reason it SHOULDN'T work, but it doesn't.

Also, has Nedka released 1.0.1 yet? I do not see it on his download page, as per this post:
http://www.phpbb.com/community/viewtopi ... 5#p4866135
~Extending the rule of meticulous exactitude to exaspirating punctillio...still.~
Treat your phpBB like a member of the family--Update and MOD her by hand, with HTML-Kit
: : Wanna Talk Poker? : : Image : :

moh.elmadany
Registered User
Posts: 441
Joined: Fri Nov 23, 2007 1:25 pm

Re: [RC] Country Flags 1.0.0

Post by moh.elmadany » Thu Jun 26, 2008 3:10 pm

i have installed this mod

and i installed it from ACP -> SYSTEM -> Module management

i can't find : manage country flags like this ..

Image

but i see this option like this pic :

Image

after i tried to choose the country for test member .. i can't find any falgs in his profile box

it 's very important mod to us .. how can i fixed this problem ?

User avatar
BizimPencere
Registered User
Posts: 396
Joined: Sat Aug 25, 2007 8:31 pm

Re: [RC] Country Flags 1.0.0

Post by BizimPencere » Sat Jun 28, 2008 6:50 am

Error.

If user not flag and user loggen in my forum.

Auto redirect to ucp.php

AND ERROR CODE

Code: Select all

phpBB Debug] PHP Notice: in file /includes/ucp/ucp_profile.php on line 360: Undefined index: FLAG_ERROR
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3663: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2961)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3665: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2961)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3666: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2961)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3667: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2961)
my debug is on. :(
www.phpbbturkiye.net | Turkish phpBB3 support and development

shantoo
Registered User
Posts: 91
Joined: Sat Apr 12, 2008 12:10 am

Re: [RC] Country Flags 1.0.0

Post by shantoo » Mon Jun 30, 2008 2:18 pm

yo guys, who can help me with this issue, When I want to make a user "Make group default for member" I get this error;

Code: Select all

General Error
SQL ERROR [ mysqli ]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND user_id = 6541' at line 6 [1064]

SQL

UPDATE phpbb_users SET user_flag = '' WHERE group_id = 6466 AND user_flag <> '' AND user_flag = AND user_id = 6541

BACKTRACE

FILE: includes/db/mysqli.php
LINE: 143
CALL: dbal->sql_error()

FILE: includes/functions_user.php
LINE: 2905
CALL: dbal_mysqli->sql_query()

FILE: includes/functions_user.php
LINE: 3050
CALL: remove_default_flag()

FILE: includes/acp/acp_users.php
LINE: 1887
CALL: group_user_attributes()

FILE: includes/functions_module.php
LINE: 471
CALL: acp_users->main()

FILE: adm/index.php
LINE: 76
CALL: p_master->load_active()

User avatar
Gremlinn
Registered User
Posts: 2133
Joined: Mon Aug 04, 2003 12:13 am
Location: Rochester, NY
Name: Nathan

Re: [RC] Country Flags 1.0.0

Post by Gremlinn » Mon Jun 30, 2008 2:33 pm

Please read back in the posts. The group flag does not work properly. There are posts that explain commenting it out.

shantoo
Registered User
Posts: 91
Joined: Sat Apr 12, 2008 12:10 am

Re: [RC] Country Flags 1.0.0

Post by shantoo » Mon Jun 30, 2008 2:36 pm

the issue is fixed.

Locked

Return to “[3.0.x] Abandoned MODs”