[2.0.21] Country Flags MOD

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
26
57%
Very Good
8
17%
Good
5
11%
Fair
2
4%
Poor
5
11%
 
Total votes: 46

ScorpAL
Registered User
Posts: 15
Joined: Mon Nov 20, 2006 11:15 am

Post by ScorpAL » Fri Jan 05, 2007 5:16 pm

test

User avatar
RATT
Registered User
Posts: 734
Joined: Fri Aug 19, 2005 6:27 am

Post by RATT » Mon Jan 08, 2007 7:47 am

RATT wrote: How can i get the flags to show on viewforum_body.tpl instead of the post image where it shows users name, date, time of post etc.. area?


In other words i want to replace

Code: Select all

{topicrow.LAST_POST_IMG}
With the flag image instead. Would

Code: Select all

{topicrow.FLAG_IMG}
Work?

ycl6
Translator
Posts: 5696
Joined: Sat Feb 15, 2003 10:35 am
Location: Taiwan
Contact:

Post by ycl6 » Tue Jan 09, 2007 12:50 am

The quick answer is NO (if you want to do it in viewtopic_body.tpl), becuase the PHP code is integrated to the location template variable. It doesn't have its own template variable to allow you to place flag on the place you like.

I'll see what I can do with it in the next version, but I won't be free until March.

~Mac

User avatar
RATT
Registered User
Posts: 734
Joined: Fri Aug 19, 2005 6:27 am

Post by RATT » Thu Jan 11, 2007 7:04 am

ycl6 wrote: The quick answer is NO (if you want to do it in viewtopic_body.tpl), becuase the PHP code is integrated to the location template variable. It doesn't have its own template variable to allow you to place flag on the place you like.

I'll see what I can do with it in the next version, but I won't be free until March.

~Mac


O well bummer, thanks for the time to answer me, thanks for considering this in the near future.

Alfajor
Registered User
Posts: 1
Joined: Sat Jan 13, 2007 6:16 pm
Contact:

Post by Alfajor » Sat Jan 13, 2007 6:19 pm

Help :oops:
I get this in my admin panel, when I go to Flags, under User Admin:

Code: Select all

Couldn't obtain flags data

DEBUG MODE

SQL Error : 1146 Table 'afsboard.FLAG_TABLE' doesn't exist

SELECT * FROM FLAG_TABLE ORDER BY flag_name

Line : 233
File : admin_flags.php
What I did:
Copied all the files to the corresponding directories.
Ran the update_en.php file. It said the database got updated successfully and everything looked nice.
Deleted my update_en.php file, and the install directory for it.

Luckily, the board seems to still work, so that's a relief. This is my 2nd mod ever that I try to install, so I'm not really sure what happened
:? Let me know if you need me to post the contents of any of my files.

TIA!

*EDIT
Fixed. I didn't know I actually had to do all the other stuff too :P From the install_en.txt file. I thought that the "automatic" install would take care of that, but I guess not.

This mod is pretty cool! 8)

sundgot
Registered User
Posts: 11
Joined: Mon Jan 22, 2007 1:03 am

Country flags mod

Post by sundgot » Mon Jan 22, 2007 1:08 am

.....
Last edited by sundgot on Mon Jan 22, 2007 1:23 am, edited 1 time in total.

sundgot
Registered User
Posts: 11
Joined: Mon Jan 22, 2007 1:03 am

Country flags mod

Post by sundgot » Mon Jan 22, 2007 1:09 am

.....
Last edited by sundgot on Mon Jan 22, 2007 1:23 am, edited 1 time in total.

sundgot
Registered User
Posts: 11
Joined: Mon Jan 22, 2007 1:03 am

Country flags mod

Post by sundgot » Mon Jan 22, 2007 1:09 am

.....
Last edited by sundgot on Mon Jan 22, 2007 1:22 am, edited 1 time in total.

sundgot
Registered User
Posts: 11
Joined: Mon Jan 22, 2007 1:03 am

Error

Post by sundgot » Mon Jan 22, 2007 1:15 am

Hi.
I got this error after the install of CF 2.3.2:

Parse error: syntax error, unexpected '.', expecting ')' in
/mounted-storage/home19d/sub001/sc19806-FFHE/forum/phpBB2_test/viewtopic.php on line 1348

Code: http://pastebin.com/864622

Did install it manually.

sundgot
Registered User
Posts: 11
Joined: Mon Jan 22, 2007 1:03 am

Error

Post by sundgot » Mon Jan 22, 2007 1:15 am

Sorry about the "....." posts, got a error:

Could not find email template file :: topic_notify

DEBUG MODE

Line : 111
File : /home/virtual/phpbb.com/styles/forum/includes/emailer.php
Last edited by sundgot on Mon Jan 22, 2007 1:36 am, edited 1 time in total.

sundgot
Registered User
Posts: 11
Joined: Mon Jan 22, 2007 1:03 am

Post by sundgot » Mon Jan 22, 2007 1:36 am

ycl6 wrote: In the mean time, you may download 2.3.3 from Sourceforge

~Mac


I get a error of a corrupted file then I try to unzip...

sundgot
Registered User
Posts: 11
Joined: Mon Jan 22, 2007 1:03 am

If you are installing 2.3.2, read this...!

Post by sundgot » Mon Jan 22, 2007 1:42 am

If you are installing 2.3.2, read this...!
phasar wrote: I fixed the viewtopic.php problem.
The complete line should read as
'POSTER_FROM' => $poster_from . $poster_from_flag,


Thanks, I did not see that... :x
But, it worked.

sundgot
Registered User
Posts: 11
Joined: Mon Jan 22, 2007 1:03 am

Jan Mayen

Post by sundgot » Mon Jan 22, 2007 2:14 am

ScorpAL wrote: INSERT INTO phpbb_flags(flag_id,flag_image,flag_name) VALUES('','jn.gif','Jan Mayen');


Jan Mayen is a part of Norway.
Not a own country. :roll:

http://en.wikipedia.org/wiki/Jan_mayen

Jan Mayen Island, a part of the Kingdom of Norway,
is a 55 km long (southwest-northeast) and 373 km² large
arctic volcanic island in the Arctic Ocean, partly covered by glaciers.

sundgot
Registered User
Posts: 11
Joined: Mon Jan 22, 2007 1:03 am

Post by sundgot » Mon Jan 22, 2007 2:23 am

Now what...? :roll:

In the left admin menu frame:
Parse error: syntax error, unexpected T_VARIABLE in
/mounted-storage/home19d/sub001/sc19806-FFHE/forum/phpBB2_test/admin/admin_users.php on line 1054


And after submit in the new user reg. process:

Could not insert data into groups table

DEBUG MODE
INSERT INTO phpbb_groups
(group_name, group_description, group_single_user, group_moderator)
VALUES ('', 'Personal User', 1, 0)

Line : 662
File : usercp_register.php

Arrrgh, I going nuts.
One error more and this mod will never be installed again... Ever...!

radr57
Registered User
Posts: 48
Joined: Wed Jan 17, 2007 5:21 am

Post by radr57 » Mon Jan 22, 2007 5:12 pm

Hello.
I am trying to install this wonderful mod; however I ran into some problems with the installation steps.

I've chosen method 3, as the easyMOD cannot be used on my server.
1) I've downloaded the zip file in my admin/mods directory.
2) I've unzipped it.
3) I've run the file db_update_en.txt "manually" (I opened it in web browser window).

There is no result whatsoever.
Any guidance will be greatly appreciated.

Post Reply

Return to “[2.0.x] MOD Database Releases”