Country Flag Add on

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Country Flag Add on
XF_Warrior
CZ Newbie
XF_Warrior has been a member for over 20 year's 20 Year Member
usa.gif illinois.gif
Age: 43
Gender: Male
Fav. Sports Team: Cubs, Cowboys
Website:
Status: Offline
Joined: Mar 31, 2004
0.00 posts per day
Posts: 12
Points: 2,998
 Yahoo Messenger MSN Messenger 
ok i installed the country flag addon and now i cant view profiles on the fourms . the page will half load,
and i cant i update a users profile through Forum admin

everything else works fine as members list or anything else and the flag shows up in the topics


any ideas

Thanks Warrior



Back to top Reply with quote
#2   re: Country Flag Add on
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
Check the editing you made in the includes/usercp_register.php and the editing you made to the modules/Forums/admin/admin_users.php




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   
stealthusa
CZ Addict
stealthusa has been a member for over 20 year's 20 Year Member
usa.gif ohio.gif
Occupation: Self-Employed
Age: 58
Gender: Male
Fav. Sports Team: Cowboys
Website:
Status: Offline
Joined: Jan 23, 2004
0.05 posts per day
Posts: 353
Points: 14,459
 Yahoo Messenger  ICQ Number
hello don't know what is going on here but i just installed this mod to but so far i am getting this error when i click profile.

Couldn't obtain flags information.

DEBUG MODE

SQL Error : 1146 Table 'stealths_nuke.nuke_bbflags' doesn't exist

SELECT * FROM nuke_bbflags ORDER BY flag_id

Line : 934
File : /home/stealths/public_html/html/includes/usercp_register.php




_________________
Back to top Reply with quote
#4   re: Country Flag Add on
XF_Warrior
CZ Newbie
XF_Warrior has been a member for over 20 year's 20 Year Member
usa.gif illinois.gif
Age: 43
Gender: Male
Fav. Sports Team: Cubs, Cowboys
Website:
Status: Offline
Joined: Mar 31, 2004
0.00 posts per day
Posts: 12
Points: 2,998
 Yahoo Messenger MSN Messenger 
you have to edit the sql statement to make the sql database nuke_bbflags instead of nuke_flags or i had to anyway



Back to top Reply with quote
#5   
stealthusa
CZ Addict
stealthusa has been a member for over 20 year's 20 Year Member
usa.gif ohio.gif
Occupation: Self-Employed
Age: 58
Gender: Male
Fav. Sports Team: Cowboys
Website:
Status: Offline
Joined: Jan 23, 2004
0.05 posts per day
Posts: 353
Points: 14,459
 Yahoo Messenger  ICQ Number
that worked ty




_________________
Back to top Reply with quote
#6   re: Country Flag Add on
Recoil
CZ Addict
Recoil has been a member for over 20 year's 20 Year Member
usa.gif louisiana.gif
Occupation: Manager
Gender: Male
Fav. Sports Team: New Orleans
Website:
Status: Offline
Joined: Jan 17, 2004
0.06 posts per day
Posts: 427
Points: 8,650
   ICQ Number
i got the same error as Stealth. can u please tell me what statement u are talking about? i saw all kinds of .sql strings throughout the 15 files that i edited. do i need to open the .sql file and rename everything from nuke_flags to nuke_bbflags then drop that table in my db and upload the "new" .sql file, thus renaming the table nuke_bbflags?

#
# Table structure for table 'nuke_flags'
#


ALTER TABLE nuke_users ADD user_from_flag varchar(25) NULL AFTER user_from;

CREATE TABLE nuke_flags (
   flag_id int(10) NOT NULL auto_increment,
   flag_name varchar(25),
   flag_image varchar(25),
   PRIMARY KEY (flag_id)
);

INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','usa','usa.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','afghanistan','afghanistan.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','albania','albania.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','algeria','algeria.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','andorra','andorra.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','angola','angola.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','antigua and barbuda','antiguabarbuda.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','argentina','argentina.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','armenia','armenia.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','australia','australia.gif');

INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','austria','austria.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','azerbaijan','azerbaijan.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','bahamas','bahamas.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','bahrain','bahrain.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','bangladesh','bangladesh.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','barbados','barbados.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','belarus','belarus.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','belgium','belgium.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','belize','belize.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','benin','benin.gif');

INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','bhutan','bhutan.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','bolivia','bolivia.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','bosnia herzegovina','bosnia_herzegovina.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','botswana','botswana.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','brazil','brazil.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','brunei','brunei.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','bulgaria','bulgaria.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','burkinafaso','burkinafaso.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','burma','burma.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','burundi','burundi.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','cambodia','cambodia.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','cameroon','cameroon.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','canada','canada.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','central african rep','centralafricanrep.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','chad','chad.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','chile','chile.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','china','china.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','columbia','columbia.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','comoros','comoros.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','congo','congo.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','costarica','costarica.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','croatia','croatia.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','cuba','cuba.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','cyprus','cyprus.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','czech republic','czechrepublic.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','demrepcongo','demrepcongo.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','denmark','denmark.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','djibouti','djibouti.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','dominica','dominica.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','dominican rep','dominicanrep.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','ecuador','ecuador.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','egypt','egypt.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','elsalvador','elsalvador.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','eq guinea','eq_guinea.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','eritrea','eritrea.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','estonia','estonia.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','ethiopia','ethiopia.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','fiji','fiji.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','finland','finland.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','france','france.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','gabon','gabon.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','gambia','gambia.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','georgia','georgia.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','germany','germany.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','ghana','ghana.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','greece','greece.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','grenada','grenada.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','grenadines','grenadines.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','guatemala','guatemala.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','guinea','guinea.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','guineabissau','guineabissau.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','guyana','guyana.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','haiti','haiti.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','honduras','honduras.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','hong kong','hong_kong.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','hungary','hungary.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','iceland','iceland.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','india','india.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','indonesia','indonesia.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','iran','iran.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','iraq','iraq.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','ireland','ireland.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','israel','israel.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','italy','italy.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','ivory coast','ivorycoast.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','jamaica','jamaica.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','japan','japan.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','jordan','jordan.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','kazakhstan','kazakhstan.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','kenya','kenya.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','kiribati','kiribati.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','kuwait','kuwait.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','kyrgyzstan','kyrgyzstan.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','laos','laos.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','latvia','latvia.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','lebanon','lebanon.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','liberia','liberia.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','libya','libya.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','liechtenstein','liechtenstein.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','lithuania','lithuania.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','luxembourg','luxembourg.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','macadonia','macadonia.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','macau','macau.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','madagascar','madagascar.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','malawi','malawi.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','malaysia','malaysia.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','maldives','maldives.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','mali','mali.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','malta','malta.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','mauritania','mauritania.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','mauritius','mauritius.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','mexico','mexico.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','micronesia','micronesia.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','moldova','moldova.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','monaco','monaco.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','mongolia','mongolia.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','morocco','morocco.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','mozambique','mozambique.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','namibia','namibia.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','nauru','nauru.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','nepal','nepal.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','neth antilles','neth_antilles.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','netherlands','netherlands.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','new zealand','newzealand.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','nicaragua','nicaragua.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','niger','niger.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','nigeria','nigeria.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','north korea','north_korea.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','norway','norway.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','oman','oman.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','pakistan','pakistan.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','panama','panama.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','papua newguinea','papuanewguinea.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','paraguay','paraguay.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','peru','peru.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','philippines','philippines.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','poland','poland.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','portugal','portugal.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','puertorico','puertorico.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','qatar','qatar.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','rawanda','rawanda.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','romania','romania.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','russia','russia.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','sao tome','sao_tome.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','saudiarabia','saudiarabia.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','senegal','senegal.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','serbia','serbia.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','seychelles','seychelles.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','sierraleone','sierraleone.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','singapore','singapore.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','slovakia','slovakia.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','slovenia','slovenia.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','solomon islands','solomon_islands.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','somalia','somalia.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','south_korea','south_korea.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','south_korea','south_korea.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','south africa','southafrica.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','spain','spain.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','srilanka','srilanka.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','stkitts nevis','stkitts_nevis.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','stlucia','stlucia.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','sudan','sudan.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','suriname','suriname.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','sweden','sweden.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','switzerland','switzerland.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','syria','syria.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','taiwan','taiwan.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','tajikistan','tajikistan.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','tanzania','tanzania.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','thailand','thailand.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','togo','togo.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','tonga','tonga.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','trinidad and tobago','trinidadandtobago.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','tunisia','tunisia.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','turkey','turkey.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','turkmenistan','turkmenistan.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','tuvala','tuvala.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','uae','uae.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','uganda','uganda.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','uk','uk.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','ukraine','ukraine.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','uruguay','uruguay.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','ussr','ussr.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','uzbekistan','uzbekistan.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','vanuatu','vanuatu.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','venezuela','venezuela.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','vietnam','vietnam.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','western samoa','western_samoa.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','yemen','yemen.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','yugoslavia','yugoslavia.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','zaire','zaire.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','zambia','zambia.gif');
INSERT INTO nuke_flags (flag_id, flag_name, flag_image) VALUES ('','zimbabwe','zimbabwe.gif');


^-----where it says "Insert Into" and where it names the table??

I am also getting this parse error in my 4um admin page:

Parse error: parse error, unexpected ';' in /home2/lightgi/public_html/modules/Forums/admin/admin_users.php on line 1040

what do I replace this ';' with? this is the area of code in question:

   // query to get the list of flags
   $sql = "SELECT *
      FROM " . FLAG_TABLE . "
      ORDER BY flag_id";
   if(!$flags_result = $db->sql_query($sql))
   {
      message_die(GENERAL_ERROR, "Couldn't obtain flags information.", "", __LINE__, __FILE__, $sql);
   }
   $flag_row = $db->sql_fetchrowset($ranksresult);
   $num_flags = $db->sql_numrows($ranksresult) ;

The string that says ORDER BY flag_id is line 1040. Thanks in advance for any help offered!


Back to top Reply with quote
#7   re: Country Flag Add on
Recoil
CZ Addict
Recoil has been a member for over 20 year's 20 Year Member
usa.gif louisiana.gif
Occupation: Manager
Gender: Male
Fav. Sports Team: New Orleans
Website:
Status: Offline
Joined: Jan 17, 2004
0.06 posts per day
Posts: 427
Points: 8,650
   ICQ Number
bump



Back to top Reply with quote
#8   Re: re: Country Flag Add on
Dauthus
CZ Addict
 Codezwiz Site Donator
Dauthus has been a member for over 20 year's 20 Year Member
usa.gif illinois.gif
Age: 61
Gender: Male
Website:
Status: Offline
Joined: Mar 17, 2004
0.06 posts per day
Posts: 426
Points: 15,917
   
Just change the table name from nuke_flags to nuke_bbflags using phpmyadmin if you have already ran the sql file.

If you haven't ran the file change:

CREATE TABLE nuke_flags (
   flag_id int(10) NOT NULL auto_increment,
   flag_name varchar(25),
   flag_image varchar(25),
   PRIMARY KEY (flag_id)
);


TO

CREATE TABLE nuke_bbflags (
   flag_id int(10) NOT NULL auto_increment,
   flag_name varchar(25),
   flag_image varchar(25),
   PRIMARY KEY (flag_id)
);


For the

Parse error: parse error, unexpected ';' in /home2/lightgi/public_html/modules/Forums/admin/admin_users.php on line 1040

what do I replace this ';' with? this is the area of code in question:


try just removing the ";" and see what happens.



_________________
[ Register or login to view links on this board.]
Vivere disce, cogita mori
Back to top Reply with quote
#9   re: Country Flag Add on
Recoil
CZ Addict
Recoil has been a member for over 20 year's 20 Year Member
usa.gif louisiana.gif
Occupation: Manager
Gender: Male
Fav. Sports Team: New Orleans
Website:
Status: Offline
Joined: Jan 17, 2004
0.06 posts per day
Posts: 427
Points: 8,650
   ICQ Number
That fixed it thanks D! icon_biggrin.gif Now on to the state flags.



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum