None of my mods, wherever you find them, are abandoned.
All of them are in developement, even if i am not active on phpbb.com.

[DEV] jQ Who is where v.0.9.0 (update)

[DEV] 3.0.* Mod Base

[DEV] jQ Who is where v.0.9.0 (update)

Postby Sekuro » 03 Nov 2011, 21:55

jQ Who is where

MOD-Title: jQ Who is where
MOD-Version: 0.9.0
MOD-Author: 4seven

phpBB-Version: phpBB 3.0.*
phpBB-Languages: multilingual
phpBB-Styles: prosilver

MOD-Description: This Mod adds a "who is where" and "who is online" feature without site-reload

Features:
- Ajaxed list of reg user movements in near realtime
- Ajaxed "In total there are" and "Registered users:" list
- Country flags api with cookie based "provider load prevent"
- Reg with viewonline rights see country, city in title on flag img hover
- Admins/mods have also the current IP in title tag on flag img hover
- Reg with viewonline rights can use google map link on flag img click
- Blacklist array for citys, which never be shown:
· Those citys have also no google map link
- Lightweight browser detect script (major browsers:
· FF, IE, Opera, Chrome, Safari and much bots)
- Optional guest display (take care of site / provider load)
- More detailed information as in "who is online"
- Various modes:
· Topic mode
· Forum/Topic mode
· Post Mode
- Various additions and expands:
· Addition # 1 / phpBB Annuaire / ErnadoO / 2011
· Addition # 2 / Profile Views List / lefty74 / 2009
· Real user page 1.1.0 / Senky / 2009*
· *Shows all UCP Modes
· jQ [img] upload
· Unfrequently User Manager
- Slim "which profile is watching" script
- Fileinfo with link instead of just 'Downloading File'
- Show all search modes (egosearch, unanswered, unreadposts, newposts, active_topics)
- Show all post modes (reply, quote, edit, delete) with topic-name and -link
- For a more detailed view of features visit main topic:
· viewtopic.php?f=3&t=86
- Engine is slim as possible to have minimum site load
- Reasonable refresh values: 20000-40000 msec.
- xhtml 1.0 strict

Screens:
viewtopic.php?f=3&t=86#p621
viewtopic.php?f=3&t=86#p923

Video: http://www.4seven.de/w_i_w/1.htm (v.0.0.1)

MOD-Demo: index.php
- un: test / pw: testuser / ~ 20 sec. refresh
to check it out, you have to use two browser. one to surf with user test within forum/topics/posting/profile etc. and one, who is monitoring forum index.

Download: v.0.0.1
JQ_Who_ is_where_v.0.0.1.zip
(35.6 KiB) Downloaded 195 times

Download: v.0.0.2
JQ_Who_ is_where_v.0.0.2.zip
(343.12 KiB) Downloaded 246 times

Download: v.0.0.3
JQ_Who_ is_where_v.0.0.3.zip
(347.94 KiB) Downloaded 112 times

Download: v.0.9.0
JQ_Who_ is_where_v.0.9.0.zip
(348.48 KiB) Downloaded 422 times

Image

Image

To-Do:
- ?
Mod-Bot / Service-Team
User avatar
Sekuro

Tiptop

Tiptop
 
Posts: 236
Joined: 11 Feb 2008, 11:49
 
Resolution: 1440x900



Re: [DEV] jQ Who is where v.0.0.1

Postby Sekuro » 23 Apr 2012, 17:55

Addition # 1

phpBB Annuaire Addition

Mod:
http://www.modsphpbb3.fr/viewtopic.php?f=60&t=89
https://www.phpbb.de/community/viewtopi ... 8&t=200017

Instruction

open

who_is_where.php

find

Code: Select all
        case 'report':
            $location = $user->lang['REPORTING_POST'];
            $location_url = append_sid("{$phpbb_root_path}index.$phpEx");
        break


after add

Code: Select all
        // JQ WIW Addition #1 / phpBB Annuaire / 4seven / 2012
        case 'annuaire':
            $location = $user->lang['VIEWING_ANNUAIRE'];

            // Grab some common modules
            $url_params = array(
                'mode=cat&id=1'        => 'VIEWING_ANNUAIRE_CAT_1',
                'mode=cat&id=2'        => 'VIEWING_ANNUAIRE_CAT_2',
                'mode=cat&id=3'        => 'VIEWING_ANNUAIRE_CAT_3',        
            
);
            
                foreach 
($url_params as $param => $lang)
            {
                if (strpos($row['session_page'], $param) !== false)
                {
                    $location = $user->lang[$lang];
                    break;
                }
            }
            
            $location_url 
= append_sid("{$phpbb_root_path}annuaire.$phpEx");
        break;     
        
// JQ WIW Addition #1 / phpBB Annuaire / 4seven / 2012  


open

language/en/common.php

find

Code: Select all
    'VIEWING_UCP'                => 'Viewing user control panel',


after add

Code: Select all
    // JQ WIW Addition #1 / phpBB Annuaire / 4seven / 2012
    'VIEWING_ANNUAIRE'            => 'Viewing Annuaire',    
    
'VIEWING_ANNUAIRE_CAT_1'    => 'Viewing Annuaire Cat 1',
    'VIEWING_ANNUAIRE_CAT_2'    => 'Viewing Annuaire Cat 2',
    'VIEWING_ANNUAIRE_CAT_3'    => 'Viewing Annuaire Cat 3',
    // JQ WIW Addition #1 / phpBB Annuaire / 4seven / 2012        
Mod-Bot / Service-Team
User avatar
Sekuro

Tiptop

Tiptop
 
Posts: 236
Joined: 11 Feb 2008, 11:49
 
Resolution: 1440x900



Re: [DEV] jQ Who is where v.0.0.1

Postby Sekuro » 23 Apr 2012, 17:55

Addition # 2

Profile Views List Addition

Mod: http://www.phpbb.com/customise/db/mod/p ... iews_list/

Instruction

open

who_is_where.php

find

Code: Select all
        case 'memberlist':
            $location = (strpos($row['session_page'], 'mode=viewprofile') !== false) ? $user->lang['VIEWING_MEMBER_PROFILE'] : $user->lang['VIEWING_MEMBERS'];
            $location_url = append_sid("{$phpbb_root_path}memberlist.$phpEx", $on_apps);
        break


replace with

Code: Select all
        // JQ WIW Addition #2 / Profile Views List / 4seven / 2012
        case 'memberlist':
            $location = $user->lang['VIEWING_MEMBERS'];

            // Grab some common modules
            $url_params = array(
                'mode=viewprofile'        => 'VIEWING_MEMBER_PROFILE',
                'mode=profile_views'    => 'VIEWING_PROFILE_VIEWS',    
            
);
            
                foreach 
($url_params as $param => $lang)
            {
                if (strpos($row['session_page'], $param) !== false)
                {
                    $location = $user->lang[$lang];
                    break;
                }
            }
            
            $location_url 
= append_sid("{$phpbb_root_path}memberlist.$phpEx", $on_apps);
        break; 
        
// JQ WIW Addition #2 / Profile Views List / 4seven / 2012  


open

language/en/common.php

find

Code: Select all
    'VIEWING_UCP'                => 'Viewing user control panel'


after add

Code: Select all
    // JQ WIW Addition #2 / Profile Views List / 4seven / 2012
    'VIEWING_PROFILE_VIEWS'        => 'Viewing Profile Views',    
    
// JQ WIW Addition #2 / Profile Views List / 4seven / 2012          
Mod-Bot / Service-Team
User avatar
Sekuro

Tiptop

Tiptop
 
Posts: 236
Joined: 11 Feb 2008, 11:49
 
Resolution: 1440x900



Re: [DEV] jQ Who is where v.0.0.2

Postby Sekuro » 28 Jul 2012, 13:45

v.0.0.2 released

see first post for further details

    features in v.0.0.2 (see demo/last dev version)

  • Brandnew country flags api with cookie based "provider load prevent"
  • Reg user see country in title tag on flag img hover
  • Admins see additional ip in title tag on flag img hover
  • Lightweight browser detect script (major browsers** and some bots)
    **(FF, IE, Opera, Chrome, Safari)
  • - Optional guest display (take care of site / provider load)

Update Instruction

- Reverse the template edit for styles/prosilver/template/index_body.html from v.0.0.1
- Install v.0.0.2

Note: open root/who_is_where.php and edit this to false (default)

Code: Select all
    // show guests / false or true / on big boards make it better false
    $show_guests = true;
Mod-Bot / Service-Team
User avatar
Sekuro

Tiptop

Tiptop
 
Posts: 236
Joined: 11 Feb 2008, 11:49
 
Resolution: 1440x900



Re: [DEV] jQ Who is where v.0.0.2 (update)

Postby Sekuro » 05 Sep 2012, 21:18

v.0.0.3 Preview

This version is on demo now (Active Mode: Topic mode mixed with Post Mode)

Screen: http://www.loaditup.de/files/724953_tc8d6vcnqz.png

    Finally with three new modes

  1. Topic mode (can combined with Post mode): Showing topic title + link of current topic (link syntax: viewtopic.php?f=70&t=2158758)
  2. Forum/Topic mode (can not combined with Post Mode): Showing forum name + topic title + link of current topic (link syntax: viewtopic.php?f=70&t=2158758)
  3. Post Mode: Showing post_title, when you watching a post (can combined with Topic Mode, but not with Forum/Topic mode) (link syntax: viewtopic.php?f=70&t=2158758 or viewtopic.php?f=70&t=2158758&p=13168877#p13168877 (this syntax you can see in the screen at last position (combined with Topic mode))


  • Brandnew country flags api with cookie based "provider load prevent"

is rewritten and have a new provider with additional data pool:

  • Country, city and ip in flag mouseover, each for admin/mods/user
new_feature_country_city.png

The load is more less, stable and the cache-function is optimized.
Better protection against blacklisting.

    Another new feature

  • Fileinfo with download link instead of just 'Downloading File'
new_feature_download.png

new_feature_download2.png

Demo is updated
Mod-Bot / Service-Team
User avatar
Sekuro

Tiptop

Tiptop
 
Posts: 236
Joined: 11 Feb 2008, 11:49
 
Resolution: 1440x900



Re: [DEV] jQ Who is where v.0.0.2 (update)

Postby Sekuro » 18 Feb 2013, 03:19

Updated v.0.0.3 Feature List

@first all features from this post: viewtopic.php?f=3&t=86#p621

Additional: (current status: 18.02.2013)

Integrated Addons in v.0.0.3


Integrated Mod- and Site-Detection in v.0.0.3

  • Real user page 1.1.0 / Senky / 2009
    (Shows all UCP Modes)
  • "phpBB Annuaire"
  • jQ [img] upload
  • Unfrequently User Manager (releases after this v.0.0.3 update)

New Site Modes in v.0.0.3

  • Show all search modes
    (reply, quote, edit)

New Geo Modes in v.0.0.3

  • Click on user flag opens google map link in a new tab (if available)

map_link.jpg


New Switches in v.0.0.3

  • "First come first serve" Mode in Topic mode/Post mode Mix
  • Blacklist array for citys, which never be shown (those citys have also no google map link)

All the named feature are in current demo. Feel free to check it out.

Release Info/State:
- Main file is cleaned now. All languge entrys are set (instead of hardcoded)
- Again cleaning and checking a bit, than building modx and release post.
Mod-Bot / Service-Team
User avatar
Sekuro

Tiptop

Tiptop
 
Posts: 236
Joined: 11 Feb 2008, 11:49
 
Resolution: 1440x900



Re: [DEV] jQ Who is where v.0.0.2 (update)

Postby Sekuro » 19 Feb 2013, 01:37

Thanks for testings. Ive corrected the italic style for hidden users and made some fine tuning/adjusting.
Now all is feature frozen and ready for building a new install. For me the most boring work compared with creating/programming. My luck that the mod have less edits, but all the more i must take care of 'forget' an edit part. It will be released in a few days.
Mod-Bot / Service-Team
User avatar
Sekuro

Tiptop

Tiptop
 
Posts: 236
Joined: 11 Feb 2008, 11:49
 
Resolution: 1440x900



Re: [DEV] jQ Who is where v.0.0.3 (update)

Postby Sekuro » 21 Feb 2013, 04:00

v.0.0.3 released
see first post for further details

update instruction
load up all files again
check all edits again
Mod-Bot / Service-Team
User avatar
Sekuro

Tiptop

Tiptop
 
Posts: 236
Joined: 11 Feb 2008, 11:49
 
Resolution: 1440x900



Re: [DEV] jQ Who is where v.0.9.0 (update)

Postby Sekuro » 24 Feb 2013, 02:12

v.0.9.0 released
see first post for further details and updated features

- some fixes, optimizings and modes

update instruction
load up root/who_is_where.php again
check new edits for viewtopic.php (2)
check additional/changing edits for language/en/common.php (2)

Remember:
Edit
//--- CONFIG AREA --
in who_is_where.php and read comments before you ask anything.


The new modes works in Topic Mode, Post Mode and combined**

** wrote: # show topic name
//set false or true
$show_topics = true;

** wrote: # show post name
# cant be mixed with $show_forums = true; (check results)
# you can mix it with $show_topics = true;*
#*(results are in "first come, first serve" mode)
//set false or true
$show_posts = true;


Dont forget to clear anything on board and browser and clear all sessions.
Mod-Bot / Service-Team
User avatar
Sekuro

Tiptop

Tiptop
 
Posts: 236
Joined: 11 Feb 2008, 11:49
 
Resolution: 1440x900



Re: [DEV] jQ Who is where v.0.9.0 (update)

Postby Sekuro » 29 Mar 2015, 21:09

Code Change - Important Update

geoplugin.net is changed to geoplugin.com,
so the location-detection (and flags) dont work anymore.

The Solution is simple:

open

who_is_where.php

find (2 times)

Code: Select all
geoplugin.net


replace (2 times) with

Code: Select all
geoplugin.com
Mod-Bot / Service-Team
User avatar
Sekuro

Tiptop

Tiptop
 
Posts: 236
Joined: 11 Feb 2008, 11:49
 
Resolution: 1440x900


Next

Return to phpbb 3.0.* St@ff

Who is online

Users browsing this forum: No registered users and 1 guest

cron