php forum
php mysql forum
php mysql smarty
 
Page 3 of 6 < 1 2 3 4 5 6 >
Topic Options
#132736 - 03/25/01 09:49 PM Re: [6.0x] Country Flag Hack 1.0
diettalk Offline
Member

Registered: 02/11/01
Posts: 50
Loc: Maryland, USA
Thanks for the update.
_________________________
John
Desire, Dedication, Determination & Discipline = Diet Success
diettalk.com

Top
#132737 - 03/25/01 09:52 PM Re: [6.0x] Country Flag Hack 1.0
DD Offline
Junior Member

Registered: 03/12/01
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.

Top
#132738 - 03/25/01 10:00 PM Re: [6.0x] Country Flag Hack 1.0
Jigga-Master Offline
Member

Registered: 10/08/00
Posts: 985
Loc: Toronto
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!
_________________________

Top
#132739 - 03/26/01 12:31 AM Re: [6.0x] Country Flag Hack 1.0
AgentX Offline
Member

Registered: 11/17/00
Posts: 83
Loc: Vancouver, BC, Canada
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

Top
#132740 - 03/26/01 05:57 AM Re: [6.0x] Country Flag Hack 1.0
twinspin Offline
Member

Registered: 12/08/00
Posts: 54
Loc: Houston, TX
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.
_________________________
Moderator of the web's largest site for twins and multiples at http://www.twinstuff.com

Top
#132741 - 03/26/01 06:37 AM Re: [6.0x] Country Flag Hack 1.0
Jigga-Master Offline
Member

Registered: 10/08/00
Posts: 985
Loc: Toronto
twin keep us posted!
_________________________

Top
#132742 - 03/26/01 06:39 AM Re: [6.0x] Country Flag Hack 1.0
viking30 Offline
Junior Member

Registered: 02/08/01
Posts: 30
Loc: Australia
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.

Top
#132743 - 03/26/01 05:41 PM Re: [6.0x] Country Flag Hack 1.0
diettalk Offline
Member

Registered: 02/11/01
Posts: 50
Loc: Maryland, USA
I've also been asked for an English Flag as well viking30.

smile
_________________________
John
Desire, Dedication, Determination & Discipline = Diet Success
diettalk.com

Top
#132744 - 03/26/01 10:52 PM Re: [6.0x] Country Flag Hack 1.0
qasic Offline
Developer

Registered: 01/01/01
Posts: 1930
Loc: Surrey, BC, Canada
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(<option value="$vars_flags{flagsurl}/blank.gif">-----------------------------------</option> );

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
_________________________

Top
#132745 - 03/26/01 11:15 PM Re: [6.0x] Country Flag Hack 1.0
AtaRi Offline
Junior Member

Registered: 03/22/01
Posts: 8
Loc: Dallas, TX
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?
_________________________
-AtaRi.
* http://iam.smelly.org *

Top
#132746 - 03/26/01 11:59 PM Re: [6.0x] Country Flag Hack 1.0
qasic Offline
Developer

Registered: 01/01/01
Posts: 1930
Loc: Surrey, BC, Canada
I've never used the MM's Mood hack or the iMood hack so I wouldn't know. Sorry.

q
_________________________

Top
#132747 - 03/27/01 04:32 AM Re: [6.0x] Country Flag Hack 1.0
CNCR Offline
Member

Registered: 03/23/01
Posts: 337
Loc: UK
it looks awsome, i must say good work!
_________________________

do NOT request graphics via my email, either PM me, or Make a request on the forums.

Top
#132748 - 03/27/01 03:03 PM Re: [6.0x] Country Flag Hack 1.0
Alien Offline
Member

Registered: 03/15/00
Posts: 373
Loc: Zeta 2 Reticuli
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 / AlienSoup.com / WTF.com
http://www.aliensoup.com
http://www.wtf.com

Top
#132749 - 03/27/01 03:04 PM Re: [6.0x] Country Flag Hack 1.0
Jigga-Master Offline
Member

Registered: 10/08/00
Posts: 985
Loc: Toronto
$Flags .= qq(<option value="">-----------------------------------</option> );
_________________________

Top
#132750 - 03/27/01 03:11 PM Re: [6.0x] Country Flag Hack 1.0
Alien Offline
Member

Registered: 03/15/00
Posts: 373
Loc: Zeta 2 Reticuli
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 / AlienSoup.com / WTF.com
http://www.aliensoup.com
http://www.wtf.com

Top
#132751 - 03/27/01 03:38 PM Re: [6.0x] Country Flag Hack 1.0
sagat Offline
Member

Registered: 03/22/01
Posts: 77
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

Top
#132752 - 03/27/01 04:15 PM Re: [6.0x] Country Flag Hack 1.0
Fuzion Offline
Member

Registered: 11/22/00
Posts: 717
Loc: Arkansas
Do you have a url, so we may look at the problem?

Top
#132753 - 03/28/01 06:30 AM Re: [6.0x] Country Flag Hack 1.0
diettalk Offline
Member

Registered: 02/11/01
Posts: 50
Loc: Maryland, USA
Any news on the English flag? smile smile
_________________________
John
Desire, Dedication, Determination & Discipline = Diet Success
diettalk.com

Top
#132754 - 03/28/01 06:33 AM Re: [6.0x] Country Flag Hack 1.0
Jigga-Master Offline
Member

Registered: 10/08/00
Posts: 985
Loc: Toronto
Quote:
quote:


ill look today!
_________________________

Top
#132755 - 03/28/01 04:55 PM Re: [6.0x] Country Flag Hack 1.0
diettalk Offline
Member

Registered: 02/11/01
Posts: 50
Loc: Maryland, USA
Thanks Jigga...
_________________________
John
Desire, Dedication, Determination & Discipline = Diet Success
diettalk.com

Top
Page 3 of 6 < 1 2 3 4 5 6 >


Who's Online
1 registered (Gizmo), 37 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Forum 'Trader Ratings'.
by McLemore
Yesterday at 02:14 PM
Problems reading a lot of old posts here
by Ruben Rocha
11/18/08 04:33 PM
PhotoPost BB Code Popup
by Iann128
11/15/08 01:24 PM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
Looking for a simple upload script
by AllenAyres
11/11/08 02:12 PM
New Mods
Forum 'Trader Ratings'.
by McLemore
Yesterday at 02:14 PM
[7.4] Keep log of custom title changes
by blaaskaak
10/27/08 07:51 AM
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Newest Members
cenk, MATTO, DougMMcts, tim Anderson, phoebe
13360 Registered Users
Top Posters
AllenAyres 25448
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks