Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
[Solved] Help with installing Country Flags MOD
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: Previous  1, 2, 3, 4, 5  Next
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
Re: [Solved] Help with installing Country Flags MOD
PostPosted: 04/11/2007 6:28 AM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 8:10 AM
Location: Birmingham, UK.
greatbrE.gif
I was seeing what the phpbb3 portal looked like. Because the modrewrite is on for the phpbb2 installation some links for the forums don't work when you change the script_path from the /root domain location

http://www.djpassions.com/forum/

The phpbb3 portal/forum software doesn't look too bad but I’ll wait until they're both complete before I go live with them 8)

Cheers for the links. I'll try 2.3.2 later  headbang
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: [Solved] Help with installing Country Flags MOD
PostPosted: 04/11/2007 7:24 AM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 8:10 AM
Location: Birmingham, UK.
greatbrE.gif
NR how did you get the flags ^ that small. Mine look massive on my forum. I've just tried the UK one.

Do you have all the animated flags I sent you resized...?

Edit: see here http://www.djpassions.com/hello-t4.html  Shocked
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: Help with installing Country Flags MOD
PostPosted: 04/11/2007 1:46 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 3:10 AM
Location: St Pete, FL
peace.gif
In the viewtopic.php file, the flag dimensions are set to 32x20.  Here is the code from RCF's viewtopic.php file:

Code:
$poster_from_flag = ( $postrow[$i]['user_from_flag'] && $postrow[$i]['user_id'] != ANONYMOUS ) ? "<img src=\"images/flags/" . $postrow[$i]['user_from_flag'] . "\" alt=\"" . $postrow[$i]['user_from_flag'] . "\" border=\"0\" width=\"32\" height=\"20\" /><br />" : "";

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Help with installing Country Flags MOD
PostPosted: 04/11/2007 4:36 PM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 8:10 AM
Location: Birmingham, UK.
greatbrE.gif
I've gone with 32x32, cheers for that Nightrider  headbang
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: Help with installing Country Flags MOD
PostPosted: 04/11/2007 4:43 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 3:10 AM
Location: St Pete, FL
peace.gif
Yep, that works.  To maintain the correct aspect ratio, the actual dimensions should actually be 32x24.  I had the height set too low here which I have just corrected...

Applause
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Help with installing Country Flags MOD
PostPosted: 04/11/2007 4:59 PM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 8:10 AM
Location: Birmingham, UK.
greatbrE.gif
I've changed the dimensions to 32x24 which looks better actually with my board being a little thinner than the standard phpBB boards. Thanks again headbang
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: Help with installing Country Flags MOD
PostPosted: 04/11/2007 11:10 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 3:10 AM
Location: St Pete, FL
peace.gif
I just went to that HTML link you provided above and now I see that your flags are no longer animated.  What happened???

dontknow
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Help with installing Country Flags MOD
PostPosted: 04/12/2007 10:16 AM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 8:10 AM
Location: Birmingham, UK.
greatbrE.gif
I couldn't get the animated flags to work on the forum. I think it's because I have to do some sql query manually or something I'm not sure...

What I want to do is just remove all the non-animated ones and just use the animated ones and if someone ask for there own flag to be added then I’ll just add it...
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: Help with installing Country Flags MOD
PostPosted: 04/12/2007 11:55 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 3:10 AM
Location: St Pete, FL
peace.gif
You need to go through and assign the animated flag name to the flag in your ACP.  Right now, all the flags are pointing to the non-animated flags.  Then if you have already chosen a flag, you will have to modify the assignment in your phpbb_users record.  Since I use MySql-Front to manage and maintain my databases, it makes it a lot easier to adjust all of these settings...

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Help with installing Country Flags MOD
PostPosted: 04/12/2007 1:09 PM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 8:10 AM
Location: Birmingham, UK.
greatbrE.gif
Well I just renamed all the animated flags to the same name as the ones already in the flags folder on the host so I really shouldn’t have had to change anything database wise (I would have thought anyway). For some reason I did see 3 that were animating though, why 3 worked and the others didn’t I don’t know... maybe I didn’t got through it properly... ill try again, failing that I’ll look into modifying the users records

I see the MYSql-Front's main website is down but I managed to download the program from downloads.com, I just wanted to try it as you recommended it but I couldn't even connect to the djpassions.com database. I think it's because it has to be done through the host’s panel only... I’m not sure, might be something to do with it can't connect to localhost or something dontknow

I know the program would work with the christopher-powell.co.uk database though because I know the exact host DNS name etc. so I will try the program out soon...  headbang
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

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
All times are GMT - 5 Hours
Goto page: Previous  1, 2, 3, 4, 5  Next
Page 4 of 5


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.074s (PHP: 60% - SQL: 40%) - SQL queries: 57 - GZIP disabled - Debug on