 | Re: [Solved] Help with installing Country Flags MOD |  |
Posted: 04/11/2007 6:28 AM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 3:47 AM
Location: Birmingham, UK.
|

|
|
|
|
 |
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  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Help with installing Country Flags MOD |  |
Posted: 04/11/2007 7:24 AM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 3:47 AM
Location: Birmingham, UK.
|

|
|
|
|
 |
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  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Help with installing Country Flags MOD |  |
Posted: 04/11/2007 1:46 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 10:47 PM
Location: St Pete, FL
|

|
|
|
|
 |
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 />" : "";
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Help with installing Country Flags MOD |  |
Posted: 04/11/2007 4:36 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 3:47 AM
Location: Birmingham, UK.
|

|
|
|
|
 |
I've gone with 32x32, cheers for that Nightrider  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Help with installing Country Flags MOD |  |
Posted: 04/11/2007 4:43 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 10:47 PM
Location: St Pete, FL
|

|
|
|
|
 |
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...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Help with installing Country Flags MOD |  |
Posted: 04/11/2007 4:59 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 3:47 AM
Location: Birmingham, UK.
|

|
|
|
|
 |
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  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Help with installing Country Flags MOD |  |
Posted: 04/11/2007 11:10 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 10:47 PM
Location: St Pete, FL
|

|
|
|
|
 |
I just went to that HTML link you provided above and now I see that your flags are no longer animated. What happened???
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Help with installing Country Flags MOD |  |
Posted: 04/12/2007 10:16 AM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 3:47 AM
Location: Birmingham, UK.
|

|
|
|
|
 |
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 |
|
|
 | Re: Help with installing Country Flags MOD |  |
Posted: 04/12/2007 11:55 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 10:47 PM
Location: St Pete, FL
|

|
|
|
|
 |
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...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Help with installing Country Flags MOD |  |
Posted: 04/12/2007 1:09 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 3:47 AM
Location: Birmingham, UK.
|

|
|
|
|
 |
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
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...  |
|
|
 |
 |
| Back to Top |
|
|
 |
 | Information |  |
|