Area51 @ 4seven.de

Mod Base and Testarea
It is currently 23 Feb 2025, 18:39

All times are UTC + 1 hour




Post new topic TOPIC_LOCKED  [ 12 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: 03 Nov 2011, 21:55 
Offline
Tiptop
Tiptop
User avatar

Joined: 11 Feb 2008, 11:49
Posts: 241
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://4seven.bplaced.net/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
Attachment:
JQ_Who_ is_where_v.0.0.1.zip [35.6 KiB]
Downloaded 575 times

Download: v.0.0.2
Attachment:
JQ_Who_ is_where_v.0.0.2.zip [343.12 KiB]
Downloaded 624 times

Download: v.0.0.3
Attachment:
JQ_Who_ is_where_v.0.0.3.zip [347.94 KiB]
Downloaded 499 times

Download: v.0.9.0
Attachment:
JQ_Who_ is_where_v.0.9.0.zip [348.48 KiB]
Downloaded 834 times

Image

Image

To-Do:
- ?

_________________
Mod-Bot / Service-Team


Top
 Profile  
 
PostPosted: 23 Apr 2012, 17:55 
Offline
Tiptop
Tiptop
User avatar

Joined: 11 Feb 2008, 11:49
Posts: 241
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:
        case 'report':
            $location = $user->lang['REPORTING_POST'];
            $location_url = append_sid("{$phpbb_root_path}index.$phpEx");
        break


after add

Code:
        // 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:
    'VIEWING_UCP'                => 'Viewing user control panel',


after add

Code:
    // 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


Top
 Profile  
 
PostPosted: 23 Apr 2012, 17:55 
Offline
Tiptop
Tiptop
User avatar

Joined: 11 Feb 2008, 11:49
Posts: 241
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:
        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:
        // 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:
    'VIEWING_UCP'                => 'Viewing user control panel'


after add

Code:
    // 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


Top
 Profile  
 
PostPosted: 28 Jul 2012, 13:45 
Offline
Tiptop
Tiptop
User avatar

Joined: 11 Feb 2008, 11:49
Posts: 241
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:
    // show guests / false or true / on big boards make it better false
    $show_guests = true;

_________________
Mod-Bot / Service-Team


Top
 Profile  
 
PostPosted: 05 Sep 2012, 21:18 
Offline
Tiptop
Tiptop
User avatar

Joined: 11 Feb 2008, 11:49
Posts: 241
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))


Quote:
  • 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
Attachment:
new_feature_country_city.png
new_feature_country_city.png [ 2.68 MiB | Viewed 19784 times ]

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'
Attachment:
new_feature_download.png
new_feature_download.png [ 2.69 MiB | Viewed 19786 times ]

Attachment:
new_feature_download2.png
new_feature_download2.png [ 2.68 MiB | Viewed 19785 times ]

Demo is updated

_________________
Mod-Bot / Service-Team


Top
 Profile  
 
PostPosted: 18 Feb 2013, 03:19 
Offline
Tiptop
Tiptop
User avatar

Joined: 11 Feb 2008, 11:49
Posts: 241
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)

Attachment:
map_link.jpg
map_link.jpg [ 388.71 KiB | Viewed 18985 times ]


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


Top
 Profile  
 
PostPosted: 19 Feb 2013, 01:37 
Offline
Tiptop
Tiptop
User avatar

Joined: 11 Feb 2008, 11:49
Posts: 241
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


Top
 Profile  
 
PostPosted: 21 Feb 2013, 04:00 
Offline
Tiptop
Tiptop
User avatar

Joined: 11 Feb 2008, 11:49
Posts: 241
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


Top
 Profile  
 
PostPosted: 24 Feb 2013, 02:12 
Offline
Tiptop
Tiptop
User avatar

Joined: 11 Feb 2008, 11:49
Posts: 241
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:
Quote:
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


Top
 Profile  
 
PostPosted: 29 Mar 2015, 21:09 
Offline
Tiptop
Tiptop
User avatar

Joined: 11 Feb 2008, 11:49
Posts: 241
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:
geoplugin.net


replace (2 times) with

Code:
geoplugin.com

_________________
Mod-Bot / Service-Team


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic TOPIC_LOCKED  [ 12 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
[ Time : 0.020s | 25 Queries | GZIP : Off ]