[BETA] Country Flags 1.0.0

Modules for the User Control Panel
Forum rules
Image Please feel free to download any MOD's here, support for each MOD is located it's own thread.

To post your own MOD, please first read the MOD Guidelines

Re: [BETA] Country Flags 0.9.0

Postby Jaymie1989 » 13 Nov 2007, 03:02

Erised wrote:When will you do a version compatible with RC7? :D

:beg:
Jaymie1989    
Supporter
Supporter
 
Posts: 1370
Joined: 30 Sep 2007, 15:51
Location: Some where in phpbb_users table
Favorite Team: Liverpool FC
Gender: Male
phpBB Knowledge: 5




phpBB Academy at StarTrekGuide
Support STG
Using PayPal Donate

Re: [BETA] Country Flags 1.0.

Postby nedka » 28 Nov 2007, 01:09

Updated :)
User avatar
nedka
MOD Author
MOD Author
 
Posts: 47
Joined: 17 Aug 2006, 18:59
Location: Viet Nam
Gender: Male

Re: [BETA] Country Flags 1.0.0

Postby dravekx » 10 Dec 2007, 14:38

I started a temp board, copied my user database over and get this error with the flag mod. Any ideas?

Code: Select all
SQL ERROR [ mysqli ]

Incorrect integer value: 'dm' for column 'user_flag' at row 1 [1366]

SQL

UPDATE phpbb_users SET user_icq = '', user_aim = 'dravekz', user_msnm = 'dravekx@hotmail.com', user_yim = 'dravekx', user_jabber = '', user_website = 'http://www.fppl.net', user_from = 'Memphis, Tennessee', user_flag = 'dm', user_occ = 'Poker Professional', user_interests = '', user_birthday = '20- 8-1975' WHERE user_id = 2

BACKTRACE

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

FILE: includes/ucp/ucp_profile.php
LINE: 374
CALL: dbal_mysqli->sql_query()

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

FILE: ucp.php
LINE: 310
CALL: p_master->load_active()
User avatar
dravekx    
Cadet IV
Cadet IV
 
Posts: 55
Joined: 19 Nov 2007, 09:23
Location: Memphis, Tenn
Favorite Team: None
Gender: Male

Re: [BETA] Country Flags 1.0.0

Postby Scooter » 18 Dec 2007, 10:08

I am getting an error in memberlist.php for the following insert (I comment it out and the error goes away, though either way no flag shows up within the usergroup page):

Code: Select all
                                'GROUP_FLAG'        => ($flag_country && $flag_code) ? $flag_country . ' (' . $flag_code . ')' : '',
                                'FLAG_IMG'                => $flag_img,
                                'FLAG_IMG_SRC'        => $flag_img_src,


I have double checked to make sure I did not error and did not find anything that I missed or placed in the wrong location. Anybody else having this error come up when looking at a UserGroup page?

Everything else about this MOD seems to be working as it should.
Scooter
Ensign
Ensign
 
Posts: 79
Joined: 03 Nov 2007, 00:16
Gender: Male

Re: [BETA] Country Flags 1.0.0

Postby Jaymie1989 » 19 Dec 2007, 06:41

Does anyone know if this will work with GOLD?
Jaymie1989    
Supporter
Supporter
 
Posts: 1370
Joined: 30 Sep 2007, 15:51
Location: Some where in phpbb_users table
Favorite Team: Liverpool FC
Gender: Male
phpBB Knowledge: 5

Re: [BETA] Country Flags 1.0.0

Postby dravekx » 20 Dec 2007, 09:41

Jaymie1989 wrote:Does anyone know if this will work with GOLD?


Im running it with gold without problems. I had the one error, but it was due to copying and old user database over in phpmyadmin.
User avatar
dravekx    
Cadet IV
Cadet IV
 
Posts: 55
Joined: 19 Nov 2007, 09:23
Location: Memphis, Tenn
Favorite Team: None
Gender: Male

Re: [BETA] Country Flags 1.0.0

Postby Scooter » 21 Dec 2007, 22:48

So under phpBB3.0 I am the only person getting errors when viewing UserGroups?
Scooter
Ensign
Ensign
 
Posts: 79
Joined: 03 Nov 2007, 00:16
Gender: Male

Re: [BETA] Country Flags 1.0.0

Postby Eisbär » 28 Dec 2007, 16:42

Hello! An error comes when selecting the flag.


Code: Select all
SQL ERROR [ mysql4 ]

Incorrect integer value: 'ax' for column 'user_flag' at row 1 [1366]

SQL

UPDATE phpbb_users SET user_icq = '', user_aim = '', user_msnm = '', user_yim = '', user_jabber = '', user_website = 'http://www.marine-archiv.de', user_from = 'Köthen Burg Strasse', user_flag = 'ax', user_occ = '', user_interests = 'Unterseeboote der Kaiserlichen Marine', user_birthday = '17- 2-1966' WHERE user_id = 1015

BACKTRACE


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

FILE: includes/ucp/ucp_profile.php
LINE: 376
CALL: dbal_mysql->sql_query()

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

FILE: ucp.php
LINE: 310
CALL: p_master->load_active()


Can someone help?
Eisbär    
Crewman
Crewman
 
Posts: 1
Joined: 28 Dec 2007, 16:33
Gender: Male

Re: [BETA] Country Flags 1.0.0

Postby littlebags » 05 Jan 2008, 05:00

I have newbie install question.Do i run the install_php before or after the file edits etc. :cool:
User avatar
littlebags    
Crewman
Crewman
 
Posts: 5
Joined: 05 Jan 2008, 04:52
Location: Vermont
Favorite Team: 49er's
Gender: Male

Re: [BETA] Country Flags 1.0.0

Postby John Hjorth » 05 Jan 2008, 05:13

Hi littlebags,

- Welcome to STG :D

Basicly it doesn't matter. Just do things in the order as specified by nedka in the MOD instructions. ;)
Image Image ImageImage
User avatar
John Hjorth    
STG Moderator
STG Moderator
 
Posts: 1587
Joined: 27 Oct 2006, 22:23
Location: Odense, Denmark, EU
Favorite Team: Olympus DK Team
Gender: Male
phpBB Knowledge: 7

PreviousNext

Return to UCP

Who is online

Users browsing this forum: No registered users and 4 guests

cron