[ABD] TULIP: Tiny User Locator by IP

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
User avatar
dpaanlka
Registered User
Posts: 286
Joined: Wed May 10, 2006 6:48 pm
Location: Chicago, USA
Contact:

Re: [DEV] TULIP: Tiny User Locator by IP

Post by dpaanlka »

katib wrote:
dpaanlka wrote:Is that part of phpBB? I can't find that anywhere.
No, but a list of online guests along with theire IPs is availabe for Moderators and admins at:
yoursite.com/viewonline.php?sg=1
Ah yes, thanks for reminding me of that. I'll get to work on this to find a simpler and elegant solution.

I've setup a dev board by the way, at http://www.danpalka.com/phpbb

I'll be trying out edits and stuff there before posting them here.
I am a Chicago trance DJ and in my humble opinion I play the best trance music in Chicago :D
User avatar
Marcus Wendel
Registered User
Posts: 534
Joined: Sun Mar 10, 2002 5:58 pm
Location: Sweden
Contact:

Re: [DEV] TULIP: Tiny User Locator by IP

Post by Marcus Wendel »

mtrs wrote:
Marcus Wendel wrote:Thanks but what does need to be changed in it to work within this mod instead of in the memberslist?
Of course, you should prefer only a one time code run and update all users data. Having said that, the code, I gave a link of, is a simple example. It updates an unset IP number once the profile of a user is clicked. Database query is run only once.
I solved it by copying memberlist.php to a new file called ip-fix.php, in that file I added your code and changed the number of results to a suitably large numbers to handle a large number of users at a time.

/Marcus
User avatar
katib
Registered User
Posts: 562
Joined: Thu Jun 26, 2008 12:27 pm

Re: [DEV] TULIP: Tiny User Locator by IP

Post by katib »

Marcus Wendel wrote:I solved it by copying memberlist.php to a new file called ip-fix.php, in that file I added your code and changed the number of results to a suitably large numbers to handle a large number of users at a time.
/Marcus
Please, could you share your edits ?
How to make changes to php and html files?
User avatar
Marcus Wendel
Registered User
Posts: 534
Joined: Sun Mar 10, 2002 5:58 pm
Location: Sweden
Contact:

Re: [DEV] TULIP: Tiny User Locator by IP

Post by Marcus Wendel »

katib wrote:
Marcus Wendel wrote:I solved it by copying memberlist.php to a new file called ip-fix.php, in that file I added your code and changed the number of results to a suitably large numbers to handle a large number of users at a time.
Please, could you share your edits ?
How to make changes to php and html files?
First I added the code posted by mtrs at http://www.phpbb.com/community/viewtopi ... 5#p9474635 and then I changed

Code: Select all

$result = $db->sql_query_limit($sql, $config['topics_per_page'], $start);
to the below, this mean 1000 members will be handled at one time.

Code: Select all

$result = $db->sql_query_limit($sql, '1000', $start);
I use the free Notepad++ as editor, you can download it at http://notepad-plus.sourceforge.net

/Marcus
Last edited by Marcus Wendel on Mon Dec 28, 2009 6:38 pm, edited 1 time in total.
User avatar
Marcus Wendel
Registered User
Posts: 534
Joined: Sun Mar 10, 2002 5:58 pm
Location: Sweden
Contact:

Re: [DEV] TULIP: Tiny User Locator by IP

Post by Marcus Wendel »

Serbian addresses are correctly recognized but no Serbian flag is included.

/Marcus
User avatar
dpaanlka
Registered User
Posts: 286
Joined: Wed May 10, 2006 6:48 pm
Location: Chicago, USA
Contact:

Re: [DEV] TULIP: Tiny User Locator by IP

Post by dpaanlka »

Marcus Wendel wrote:Serbian addresses are correctly recognized but no Serbian flag is included.

/Marcus
Hey sorry about that!

The flags I included with the package were made by someone else. I personally didn't like how they looked, and made my own set for my website. It does include a Serbian flag.

You can download it here: http://www.info-mac.org/flags/SI.gif

I'll make a new package with the better flags right now.
I am a Chicago trance DJ and in my humble opinion I play the best trance music in Chicago :D
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: [DEV] TULIP: Tiny User Locator by IP

Post by 3Di »

dpaanlka wrote:
3Di wrote:
dpaanlka wrote:Is that part of phpBB? I can't find that anywhere.
It is a part of my MOD: http://gold.io3di.com/index.php ;)
I'm assuming phpBB maintains a list of the last IPs to have visited the board in the past however many minutes? If so this shouldn't be that hard to implement.
Nope, wrong assumption. :)
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: [DEV] TULIP: Tiny User Locator by IP

Post by 3Di »

katib wrote:
3Di wrote: It is a part of my MOD: http://gold.io3di.com/index.php ;)
Yes you are right
However you did say here:
http://gold.io3di.com/viewtopic.php?p=684#p684
This version has been tested and runs only on phpBB 3.0.4 though.
So I wonder, is there any one still using 3.0.4 ?
By the way, Your board looks very nice ;)
the IPCF for phpBB 3.0.6 RC3 version has been fixed right of today. Isn't public till phpBB 3.0.6 will be released though. ;)

Anyway: @ the Author of this MOD that belongs of this topic... keep up the good work and sorry for the intrusions. And a suggestion: what about if the server it is down? Will your MOD stand on that delay or?

Regards.
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
Neuropass
Registered User
Posts: 1162
Joined: Fri Apr 17, 2009 2:02 pm
Location: SciTE4AutoIt3

Re: [DEV] TULIP: Tiny User Locator by IP

Post by Neuropass »

any screen shot? i'm not sure i understood this mod.... :oops:
User avatar
dpaanlka
Registered User
Posts: 286
Joined: Wed May 10, 2006 6:48 pm
Location: Chicago, USA
Contact:

Re: [DEV] TULIP: Tiny User Locator by IP

Post by dpaanlka »

3Di wrote:Nope, wrong assumption. :)
Then how do you explain all the guest IP addresses in viewtopic.php?
3Di wrote:And a suggestion: what about if the server it is down? Will your MOD stand on that delay or?
This mod doesn't rely on any remote server.
Neuropass wrote:any screen shot? i'm not sure i understood this mod.... :oops:
Image
I am a Chicago trance DJ and in my humble opinion I play the best trance music in Chicago :D
User avatar
Marcus Wendel
Registered User
Posts: 534
Joined: Sun Mar 10, 2002 5:58 pm
Location: Sweden
Contact:

Re: [DEV] TULIP: Tiny User Locator by IP

Post by Marcus Wendel »

The Guernsey flag is also missing.

/Marcus
User avatar
dpaanlka
Registered User
Posts: 286
Joined: Wed May 10, 2006 6:48 pm
Location: Chicago, USA
Contact:

Re: [DEV] TULIP: Tiny User Locator by IP

Post by dpaanlka »

Updated the zip file to include 22 new missing flags.

http://www.danpalka.com/phpbb/download/file.php?id=8
I am a Chicago trance DJ and in my humble opinion I play the best trance music in Chicago :D
User avatar
Marcus Wendel
Registered User
Posts: 534
Joined: Sun Mar 10, 2002 5:58 pm
Location: Sweden
Contact:

Re: [DEV] TULIP: Tiny User Locator by IP

Post by Marcus Wendel »

dpaanlka wrote:Updated the zip file to include 22 new missing flags.

http://www.danpalka.com/phpbb/download/file.php?id=8
You might want to check the size of the Nauru flag :-)

I also recommend that you remove the Mac-related files that have no part in the actual mod.

/Marcus
User avatar
Marcus Wendel
Registered User
Posts: 534
Joined: Sun Mar 10, 2002 5:58 pm
Location: Sweden
Contact:

Re: [DEV] TULIP: Tiny User Locator by IP

Post by Marcus Wendel »

So far this mod has been running fine in my forums, both in the small ones with low traffic and the biggest one with a lot of traffic, I'm very pleased with it.

/Marcus
User avatar
dpaanlka
Registered User
Posts: 286
Joined: Wed May 10, 2006 6:48 pm
Location: Chicago, USA
Contact:

Re: [DEV] TULIP: Tiny User Locator by IP

Post by dpaanlka »

Marcus Wendel wrote:
You might want to check the size of the Nauru flag :-)
Thanks... fixed.
I am a Chicago trance DJ and in my humble opinion I play the best trance music in Chicago :D
Locked

Return to “[3.0.x] Abandoned MODs”