[RC13] IP Country Flag 2.9.6b full (2008-03-20)

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Locked
User avatar
3Di
Former Team Member
Posts: 15867
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Post by 3Di »

hanebu wrote:
3Di wrote: I have an old version for CH 2.1.1 RC5. :roll:


Hm. The index.php of this CH version should be not too different with the index.php from the CH 214 ....,

I think its (maybe) possible to install it, or not?


I don't know and also I'm not supporting such requests into the wrong topic.
Thanks for understanding.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
Looking for a specific feature or alternative option? We will rock you! 🚀
hanebu
Registered User
Posts: 61
Joined: Tue Feb 20, 2007 10:16 pm

Post by hanebu »

3Di wrote:
hanebu wrote:
3Di wrote: I have an old version for CH 2.1.1 RC5. :roll:


Hm. The index.php of this CH version should be not too different with the index.php from the CH 214 ....,

I think its (maybe) possible to install it, or not?


I don't know and also I'm not supporting such requests into the wrong topic.
Thanks for understanding.


Okay, which is the right topic? Can i get your old version to try it plz?

Thanks,
Tommy
User avatar
3Di
Former Team Member
Posts: 15867
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Post by 3Di »

hanebu wrote:
3Di wrote:
hanebu wrote:
3Di wrote: I have an old version for CH 2.1.1 RC5. :roll:


Hm. The index.php of this CH version should be not too different with the index.php from the CH 214 ....,

I think its (maybe) possible to install it, or not?


I don't know and also I'm not supporting such requests into the wrong topic.
Thanks for understanding.


Okay, which is the right topic? Can i get your old version to try it plz?

Thanks,
Tommy


I'll PM you the links tomorrow because I have to put the files on-line again but my tiredness stops me right now, you know. :?

In case I'll forgot to do that feel free to give me a ring via PM.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
Looking for a specific feature or alternative option? We will rock you! 🚀
hanebu
Registered User
Posts: 61
Joined: Tue Feb 20, 2007 10:16 pm

Post by hanebu »

3Di wrote: I'll PM you the links tomorrow because I have to put the files on-line again but my tiredness stops me right now, you know. :?

In case I'll forgot to do that feel free to give me a ring via PM.


Yes, lets do so. Thank you very much, have a good night.... :D
User avatar
3Di
Former Team Member
Posts: 15867
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re:

Post by 3Di »

cavallino wrote: the guest flags function in latest 24 hours is not working properly, it shows just 1 flag in the index... the other flags are all blank. I tought it was an error I made in the installation but I just noticed that you have the same issue also in the index of your support forum.
hope you can solve this sometime


Here we go.. let me know how it goes for you:
FIX for the Past 24hrs Guest Flags http://pastebin.osuosl.org/1030
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
Looking for a specific feature or alternative option? We will rock you! 🚀
User avatar
3Di
Former Team Member
Posts: 15867
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [RC12] IP Country Flag 2.9.4 (25 Mar 2007)

Post by 3Di »

MOD Package updated to 2.9.4 (includes all the above fixes).
See first post also.

:arrow: Download here the RC12 2.9.4 Full Package for phpBB 2.0.22
##
## 2007-03-25 - Version 2.9.4
## - BUG fixed - past 24hrs guests flags are blank in some cases (thanks Dicky).
## - BUG fixed - secondary user flag of choice is blank if not seleceted while registering.
## - typo in language file fixed (double 'last' on index)
## - added compatibility for mySql >5 into the DB Populator (thx Mitron)
## - tested with EM 0.3.0 on a fresh phpBB 2.0.22 install in localhost (both mySql4 & 5).
##
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
Looking for a specific feature or alternative option? We will rock you! 🚀
cavallino
Registered User
Posts: 317
Joined: Thu Aug 04, 2005 7:06 am

Re: [RC12] IP Country Flag 2.9.4 (25 Mar 2007)

Post by cavallino »

Thanks 3Di!
but I cannot download the file... :roll:
User avatar
3Di
Former Team Member
Posts: 15867
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [RC12] IP Country Flag 2.9.4 (25 Mar 2007)

Post by 3Di »

cavallino wrote: Thanks 3Di!
but I cannot download the file... :roll:


with pastebin you need to use the 'file/save as' thinghy of your browser ;-)
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
Looking for a specific feature or alternative option? We will rock you! 🚀
cavallino
Registered User
Posts: 317
Joined: Thu Aug 04, 2005 7:06 am

Re: [RC12] IP Country Flag 2.9.4 (25 Mar 2007)

Post by cavallino »

I dont know if it works just for you...
but it seems that there's no file on that link.
User avatar
3Di
Former Team Member
Posts: 15867
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [RC12] IP Country Flag 2.9.4 (25 Mar 2007)

Post by 3Di »

cavallino wrote: I dont know if it works just for you...
but it seems that there's no file on that link.

It works for me, anyway.

Code: Select all

##############################################################
## MOD Title:          IP Country Flag 2.9.2
## MOD Author:         3Di < three3di@users.sourceforge.net > (Marco) http://threed.5gbfree.com/ipcf/
## MOD Description:    FIX no. 2 for IP CF 2.9.2 (past guests flags are sometime blanks)
## MOD Version:        1.0.0
##
## Installation Level: (Easy) 
## Installation Time:  3 Minutes
## Files To Edit:
##      includes/sessions.php
## Included Files:
##      N/A
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
##############################################################
## MOD History:
##
##   2007-04-25 - Version 1.0.0
##      - thanks to Dicky for the help
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------------
#
includes/sessions.php
#
#-----[ FIND ]------------------------------------------------
#
	$userdata['session_key'] = $sessiondata['autologinid'];
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : IP Country Flag II ----------------------------------------------
	$userdata['session_cf_iso3661_1'] = $iso3661_1;
//-- end mod : IP Country Flag II ------------------------------------------
#
#-----[ FIND ]------------------------------------------------
#
//-- mod : IP Country Flag II ----------------------------------------------
//-- this is markus_petrux's : Update Session on Page Change MOD 1.0.0
// replaced:
/*				//
				// Only update session DB a minute or so after last update
				//
				if ( $current_time - $userdata['session_time'] > 60 )
				{
*/
				//
				// Only update session DB a minute or so after last update OR...
				// ...when user changes to another page (so we get up to date info for viewonline)
				//
				if ( $current_time - $userdata['session_time'] > 60 || $thispage_id != $userdata['session_page'] )
				{
					$userdata['session_page'] = $thispage_id;
//-- end mod : IP Country Flag II ----------------------------------------------
#
#-----[ REPLACE WITH ]----------------------------------------
# NOTICE the last bracket!
#
				//
				// Only update session DB a minute or so after last update
				//
				if ( $current_time - $userdata['session_time'] > 60 )
				{

#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
Looking for a specific feature or alternative option? We will rock you! 🚀
cavallino
Registered User
Posts: 317
Joined: Thu Aug 04, 2005 7:06 am

Re: [RC12] IP Country Flag 2.9.4 (25 Mar 2007)

Post by cavallino »

Thanks,
what that should fix? The past 24h guest flags? I applied the fix but I still see some missing flags (white spaces) but it's looking better than the past anyway...
User avatar
3Di
Former Team Member
Posts: 15867
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [RC12] IP Country Flag 2.9.4 (25 Mar 2007)

Post by 3Di »

cavallino wrote: Thanks,
what that should fix? The past 24h guest flags? I applied the fix but I still see some missing flags (white spaces) but it's looking better than the past anyway...


You need the old past guest flags (prior to this fix) to expire (session time = 86400 (24hrs)) in order them to be removed, else you could force to empty the past guests table via phpmyadmin or similar.

Past guests Flags are removed one (or more) at time depending on their the connection timestamp, the First guest it will be the First out (FIFO)..

Here in my test board you could see there are no blank guests flags..
http://threed.5gbfree.com/ipcf/
Last edited by 3Di on Sun Mar 25, 2007 8:25 pm, edited 1 time in total.
Reason: fixed typos
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
Looking for a specific feature or alternative option? We will rock you! 🚀
hanebu
Registered User
Posts: 61
Joined: Tue Feb 20, 2007 10:16 pm

Re: [RC12] IP Country Flag 2.9.4 (25 Mar 2007)

Post by hanebu »

Got it installed. But all IP-Flags are blue, also with a new session and after DB-update.

Whats to do?
User avatar
3Di
Former Team Member
Posts: 15867
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [RC12] IP Country Flag 2.9.4 (25 Mar 2007)

Post by 3Di »

hanebu wrote: Got it installed. But all IP-Flags are blue, also with a new session and after DB-update.

Whats to do?


Give me a link to your board please (feel free to PM me the link).
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
Looking for a specific feature or alternative option? We will rock you! 🚀
hanebu
Registered User
Posts: 61
Joined: Tue Feb 20, 2007 10:16 pm

Re: [RC12] IP Country Flag 2.9.4 (25 Mar 2007)

Post by hanebu »

Thank you. PMed you.

8)
Locked

Return to “[2.0.x] MODs in Development”