3.1.x SnippetsWho is where

Snippets
User avatar

Topic Author
martin
Admin
Admin
Magic user status: Offline
Posts: 4777
Joined: Apr 6th, '14, 14:12
    Windows 10 Chrome

Re: Who is where

Post by martin »

First post updated to 3.1.7 only change needed was to viewtopic.php

Phpbb 3.1.7 needs to be this in viewtopic.php

Code: Select all

//'U_DELETE'			=> ($delete_allowed) ? append_sid("{$phpbb_root_path}posting.$phpEx", 'mode=' . (($softdelete_allowed) ? 'soft_delete' : 'delete') . "&f=$forum_id&p={$row['post_id']}") : '',
		  'U_DELETE'			=> ($delete_allowed) ? append_sid("{$phpbb_root_path}posting.$phpEx", 'mode=' . (($softdelete_allowed) ? 'soft_delete' : 'delete') . "&f=$forum_id&t=$topic_id&p={$row['post_id']}") : '',[/co
Use this to install an ext on your board no more ftp or path making.
Path too install this ext is ext/boardtools/upload
Download is here Make it easy for us to solve your issues
User avatar

Anders
Donator
Donator
Magic user status: Offline
Posts: 83
Joined: Sep 15th, '15, 06:15
    Windows 10 Chrome

Re: Who is where

Post by Anders »

Will it work on 3.2 also... :question:
if not what to change then?
User avatar

Topic Author
martin
Admin
Admin
Magic user status: Offline
Posts: 4777
Joined: Apr 6th, '14, 14:12
    Windows 10 Chrome

Re: Who is where

Post by martin »

As it is no it needs a few changes for 3.2

Since phpbb 3.1.6 phpbb has an online bug until thats fixed this edit really is no use as users can be online but after a set time show offline even if they are online.
Last edited by martin on Feb 10th, '16, 12:21, edited 2 times in total.
User avatar

Anders
Donator
Donator
Magic user status: Offline
Posts: 83
Joined: Sep 15th, '15, 06:15
    Windows 10 Chrome

Re: Who is where

Post by Anders »

Ok then i wait....thx
User avatar

Peralta
Users
Users
Magic user status: Offline
Posts: 184
Joined: Dec 13th, '14, 16:04
    Windows 7 Firefox

Re: Who is where

Post by Peralta »

martin wrote: Jan 13th, '16, 12:14 First post updated to 3.1.7 only change needed was to viewtopic.php
Thank you martin :thumbup:
I speak spanish. Sorry for my bad english.
User avatar

killfrenzy
Users
Users
Magic user status: Offline
Posts: 117
Joined: Feb 6th, '16, 18:22
    Windows 10 Chrome

Re: Who is where

Post by killfrenzy »

Sir martin is this work for latest version 3.1.7pl?
Compilation of Android Roms, Recoverys, Apps, Games and Tricks
Visit my blog http://androidcribs.com
Androidcribs.com
Androidcribs
Image
User avatar

Topic Author
martin
Admin
Admin
Magic user status: Offline
Posts: 4777
Joined: Apr 6th, '14, 14:12
    Windows 10 Chrome

Re: Who is where

Post by martin »

New edits to come for 3.1.8 and a acp setting change to work as its ment too.
User avatar

zardos
Users
Users
Magic user status: Offline
Posts: 178
Joined: Feb 26th, '16, 22:20
    Windows 7 Firefox

Re: Who is where

Post by zardos »

Thanks martin, 3.1.8 or 3.2 would be great, i come from using Evo Extreme that is now very old and not backed, phpbb 3.1.8 and 3.2 are excellent forums, it makes it more so with all these great extensions.

Thanks again to all. :thumbup:
Image
User avatar

zardos
Users
Users
Magic user status: Offline
Posts: 178
Joined: Feb 26th, '16, 22:20
    Windows 7 Firefox

Re: Who is where

Post by zardos »

Put this on 3.1.8 and seems to be working ok. great extension :beers:
User avatar

Topic Author
martin
Admin
Admin
Magic user status: Offline
Posts: 4777
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Who is where

Post by martin »

Some thing new for 3.2 version
who.png
Demo on mine of this version.
You do not have the required permissions to view the files attached to this post.
User avatar

Anders
Donator
Donator
Magic user status: Offline
Posts: 83
Joined: Sep 15th, '15, 06:15
    Windows 10 Chrome

Re: Who is where

Post by Anders »

:tumbsyes: :tumbsyes: :tumbsyes: :tumbsyes: :tumbsyes:
User avatar

Topic Author
martin
Admin
Admin
Magic user status: Offline
Posts: 4777
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Who is where

Post by martin »

The flags do show but i just been flooded again so they wont show.

https://www.youtube.com/watch?v=neynHqgnzxo
User avatar

zardos
Users
Users
Magic user status: Offline
Posts: 178
Joined: Feb 26th, '16, 22:20
    Windows 10 Firefox

Re: Who is where

Post by zardos »

Hi martin, is this working for 3.2. :wink:
User avatar

Topic Author
martin
Admin
Admin
Magic user status: Offline
Posts: 4777
Joined: Apr 6th, '14, 14:12
    Windows 10 Chrome

Re: Who is where

Post by martin »

Nope 3.2 not released yet still in testing.
User avatar

zardos
Users
Users
Magic user status: Offline
Posts: 178
Joined: Feb 26th, '16, 22:20
    Windows 10 Firefox

Re: Who is where

Post by zardos »

For 3.1.9 i have changed these bit of code:

Original 3.1.9 in viewtopic.php

Code: Select all

'U_DELETE'	=> ($delete_allowed) ? append_sid("{$phpbb_root_path}posting.$phpEx", 'mode=' . (($softdelete_allowed) ? 'soft_delete' : 'delete') . "&f=$forum_id&p={$row['post_id']}") : '',
Your code:

Code: Select all

'U_DELETE'	=> ($delete_allowed) ? append_sid("{$phpbb_root_path}posting.$phpEx", 'mode=' . (($softdelete_allowed) ? 'soft_delete' : 'delete') . "&f=$forum_id&t=$topic_id&p={$row['post_id']}") : '',
Replaced with this:

Code: Select all

'U_DELETE'	=> ($delete_allowed) ? append_sid("{$phpbb_root_path}posting.$phpEx", 'mode=' . (($softdelete_allowed) ? 'soft_delete' : 'delete') . "&f=$forum_id&t=$topic_id&p={$row['post_id']}") : '',
Original 3.1.9 in viewtopic.php

Code: Select all

'U_EDIT'	=> ($edit_allowed) ? append_sid("{$phpbb_root_path}posting.$phpEx", "mode=edit&f=$forum_id&p={$row['post_id']}") : '',
Your code:

Code: Select all

'U_EDIT'	=> ($edit_allowed) ? append_sid("{$phpbb_root_path}posting.$phpEx", "mode=edit&f=$forum_id&t=$topic_id&p={$row['post_id']}") : '',
Replaced with this:

Code: Select all

'U_EDIT'	=> ($edit_allowed) ? append_sid("{$phpbb_root_path}posting.$phpEx", "mode=edit&f=$forum_id&t=$topic_id&p={$row['post_id']}") : '',
Original 3.1.9 in viewtopic.php

Code: Select all

'U_QUOTE'	=> ($quote_allowed) ? append_sid("{$phpbb_root_path}posting.$phpEx", "mode=quote&f=$forum_id&p={$row['post_id']}") : '',
Your code:

Code: Select all

'U_QUOTE'	=> ($auth->acl_get('f_reply', $forum_id)) ? append_sid("{$phpbb_root_path}posting.$phpEx", "mode=quote&f=$forum_id&t=$topic_id&p={$row['post_id']}") : '',
Replaced with this:

Code: Select all

'U_QUOTE'	=> ($quote_allowed) ? append_sid("{$phpbb_root_path}posting.$phpEx", "mode=quote&f=$forum_id&t=$topic_id&p={$row['post_id']}") : '',
Got it to looking like this, xampp, PHP Version 5.6.19
You do not have the required permissions to view the files attached to this post.