Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 3 1 2 3
Joined: Feb 2001
Posts: 55
Member
Member
Offline
Joined: Feb 2001
Posts: 55
Thanks for the update.

Sponsored Links
Joined: Mar 2001
Posts: 15
DD Offline
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 15
Thanks Jigga-Master,
Well, usually when I fill out a form on a website that has a country field; they always place the most commonly selected fields together at the top for convenience. This was just a thought.

Joined: Oct 2000
Posts: 807
Member
Member
Offline
Joined: Oct 2000
Posts: 807
true!

JUST UPDATED ZIP AGAIN PLEASE JUST RE-UPLOAD flag_list.pl AS THERE WAS A FIELD BUG IN IT! IT WOULD MAKE IT SO IF YOU CHOOSE NONE IT CHOOSES A blank.gif IMAGE! FIXED NOE THOUGH!

Joined: Nov 2000
Posts: 51
Member
Member
Offline
Joined: Nov 2000
Posts: 51
Jigga,

Excellent hack! Question though, is it possible to make a State/Province option also or would this be too much? It might be nice also that when you move your mouse over the flag, it comes up with the country's name. Just a thought anyway smile.

AgentX

Joined: Dec 2000
Posts: 54
Member
Member
Offline
Joined: Dec 2000
Posts: 54
I've already added state flags on my site--I haven't found a good site with free gifs of Canadian provinces yet but will keep looking.

It's pretty easy to add your own state gifs--either through the cp panel or just by uploading your new gifs yourself.

Sponsored Links
Joined: Oct 2000
Posts: 807
Member
Member
Offline
Joined: Oct 2000
Posts: 807
twin keep us posted!

Joined: Feb 2001
Posts: 30
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 30
Jigga master,
Thanks for this hack. Also thanks for the Welsh flag. Someone already mentioned a Dutch flag. Now we have the Welsh i suppose someone is going to ask where is the English, Scotish etc.
Cheers. Great work.
Viking.

Joined: Feb 2001
Posts: 55
Member
Member
Offline
Joined: Feb 2001
Posts: 55
I've also been asked for an English Flag as well viking30.

smile

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
BUGFIX: Flag Hack

Problem: Upon returning to profile, the Flag Icon defaults to "None" if the field used in the UBB for flag hack was not profile number 17.

Fix:

In flags_list.pl

FIND:

$Flags .= qq( );

ADD BELOW:

my $check;
if ($vars_flags{flagsfield} eq "1") {
$check = qq($user_profile[16]);
}
elsif ($vars_flags{flagsfield} eq "2") {
$check = qq($user_profile[17]);
}
elsif ($vars_flags{flagsfield} eq "3") {
$check = qq($user_profile[18]);
}
elsif ($vars_flags{flagsfield} eq "4") {
$check = qq($user_profile[19]);
}

FIND:

if ("$vars_flags{flagsurl}/$flagsitem" eq "$user_profile[17]") {

REPLACE THAT LINE WITH:

if ("$vars_flags{flagsurl}/$flagsitem" eq $check) {

Save and Re-Upload.

Bug fixed!

q

Joined: Mar 2001
Posts: 8
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 8
Hey qasic..

Cool man.. You ansered a question I had concerning the Moods Mod as well I think. The moods mod does the same thing (goes back to none upon re-entering profile)..

Would the code be similar? I don't know too much about this, but it just seems like it is checking which profile 'slot' of sorts the flag info is kept when opening the flag_lists.pl file.

Can you figure out why my forums show the location on rollover as well or is this normal?

Sponsored Links
Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
I've never used the MM's Mood hack or the iMood hack so I wouldn't know. Sorry.

q

Joined: Mar 2001
Posts: 335
Member
Member
Offline
Joined: Mar 2001
Posts: 335
it looks awsome, i must say good work!

Joined: Mar 2000
Posts: 344
Member
Member
Offline
Joined: Mar 2000
Posts: 344
Heya...

I attempted to look for the code below, and it was not found within flags_list.pl...

Are the files you're working on the fix for, the same that's inside of the current flag hack zip? I get the error you were trying to bugfix, and would really appreciate getting this worked out. laugh

Thanks!


Quote
quote:


Administrator / WTF.com / IWantMy80s.com
http://www.wtf.com
http://www.iwantmy80s.com
Joined: Oct 2000
Posts: 807
Member
Member
Offline
Joined: Oct 2000
Posts: 807
$Flags .= qq( );

Joined: Mar 2000
Posts: 344
Member
Member
Offline
Joined: Mar 2000
Posts: 344
I was just coming back to post the fix to the fix. wink

lol

Yup, the line above by J-M is the correct line to search for!

Now update the zip!


Administrator / WTF.com / IWantMy80s.com
http://www.wtf.com
http://www.iwantmy80s.com
Joined: Mar 2001
Posts: 75
Member
Member
Offline
Joined: Mar 2001
Posts: 75
it conficts with my stars hack, i think in puplic topic page.pl

Does anyone know a wor arround?

I get blank squares with crosses through

Joined: Nov 2000
Posts: 652
Member
Member
Offline
Joined: Nov 2000
Posts: 652
Do you have a url, so we may look at the problem?

Joined: Feb 2001
Posts: 55
Member
Member
Offline
Joined: Feb 2001
Posts: 55
Any news on the English flag? smile smile

Joined: Oct 2000
Posts: 807
Member
Member
Offline
Joined: Oct 2000
Posts: 807
Quote
quote:
ill look today!

Joined: Feb 2001
Posts: 55
Member
Member
Offline
Joined: Feb 2001
Posts: 55
Thanks Jigga...

Joined: Mar 2001
Posts: 32
Member
Member
Offline
Joined: Mar 2001
Posts: 32
Great hack - I finally got around to adding it to my forum. Been busy trouble shooting who's online. Thanks.


Jim
Joined: Oct 2000
Posts: 807
Member
Member
Offline
Joined: Oct 2000
Posts: 807
wink
thanx!

Joined: Aug 2000
Posts: 26
Junior Member
Junior Member
Offline
Joined: Aug 2000
Posts: 26
works great.

I always look forward to a Jigga hack!

Joined: Oct 2000
Posts: 807
Member
Member
Offline
Joined: Oct 2000
Posts: 807
thanx sifu!

Joined: Jan 2001
Posts: 48
Member
Member
Offline
Joined: Jan 2001
Posts: 48
JM, can you reupload the hack? the link is no longer there...as a matter of fact, 411hype.com is gone for now

Joined: Nov 2000
Posts: 652
Member
Member
Offline
Joined: Nov 2000
Posts: 652
Here is a working download, while Jigga's DNS is down. DOWNLOAD HERE

Joined: Mar 2001
Posts: 32
Member
Member
Offline
Joined: Mar 2001
Posts: 32
Jigga-Master,

I like this hack so much that I would like to make selecting your country's flag a required field. Can you think about that for the next version. Thanks again.

Jim


Jim
Joined: Mar 2001
Posts: 13
a2k Offline
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 13
Ok I am having a problem in my control panel where the Manage Flags is. See when I want to upload flags it trys to upload them to d:/ubb/ubb/flags (Flag Directory) and I have them upload to /web/ubb/flags for my server. /web/ubb/ is my noncgi dir so i figured /flags would eb the place to put them but yet they dont show up.... Does anyone know how I can fix this? My UBB URL is www.animeinstinct.com/cgi-bin/ubb/ultimatebb.cgi

Joined: Mar 2000
Posts: 344
Member
Member
Offline
Joined: Mar 2000
Posts: 344
Those who requested state flags, I now have them uploaded (same size as the countries).

This set includes Washington D.C., as well as Puerto Rico for a total of 52.

Be aware that flags, especially STATE flags suffer alot of detail loss when using at 21x14 pixels. You've been warned! laugh
http://www.eternia.com/State_Flags.zip


Administrator / WTF.com / IWantMy80s.com
http://www.wtf.com
http://www.iwantmy80s.com
Joined: Mar 2001
Posts: 13
a2k Offline
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 13
hey just wanted to let you know that you accidently added Puerto Rico in with the State Flags... Puerto Rico is a country, just letting ya know and to take it out...

Joined: Feb 2001
Posts: 30
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 30
I have now worked up to 240 flags including English so if anyone wants any please e-mail me.
Viking.
viking30@austarnet.com.au

Joined: Aug 2000
Posts: 1,609
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,609
Quote
quote:
If you read his post that's above yours, it wasn't an accident.

Puerto Rico is not a country. It is a commonwealth of the United States, and has been since 1952. They have even voted on becoming a State in '98, but narrowly lost with 53% of the population voting against statehood.


But anyway, coOL hack! I'm gonna look at installing it now using the State flags.

Joined: Aug 2000
Posts: 1,609
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,609
Not a bug, but something that would be handy and make the hack more complete.

When you go into CP, and into edit your members' profiles, flag choice doesn't show up in there.

Joined: Apr 2001
Posts: 1
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 1
For some reason, i followed all the directions correctlly. editied like it should be done, but for some odd reason, i get no errors at all, but nothing shows up in the CP and when I goto edit my profile, there is no flag option. I'm using V6.01.. any ideas on whats wrong?

Joined: Mar 2001
Posts: 9
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 9
cool hack.. I had included in my Forum laugh

Joined: Feb 2001
Posts: 13
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 13
Am I the only one not to get this hack working ???

I did everything to the letter and in CP I set everything up right .

I went to my profile and I could choose a flag ! So far so good !

When I post no flag appears ?

Other hacks I have running are Stars and Who is online , Both work perfect !

Please help or offer advice!

John

Joined: Feb 2001
Posts: 13
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 13
I have just registered on my board again !

Anyway

Once again I get to choose the flag ..

When the disclaimer comes up now though the ACCEPT or LEAVE buttons are just blank !

Glad I backed everything up now !

Joined: Apr 2001
Posts: 11
LWC Offline
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 11
Quote
quote:
Nope Just found this hack, and installed it.

Same problem. You can go in, and select a flag in your profile, but it is not visable when you post in the forum.

No worky

confused

Joined: Oct 2000
Posts: 49
Member
Member
Offline
Joined: Oct 2000
Posts: 49
This seems like a great hack and everything went as it should of done during the installation.

But if i goto the my profile page in v6.4 it brings up 2 script errors, (with browser debugging enabled).

[Linked Image]

Is anyone else getting this, or better still anyopne know why?

Joined: Oct 2000
Posts: 49
Member
Member
Offline
Joined: Oct 2000
Posts: 49
Sorted it, It was caused by my header having a form in it so the forms[0] had to be forms[1]. You may wanna reference them by name

Page 2 of 3 1 2 3

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)