Ignore User List


Subject: Ignore User List
Hi at all!!!

I need an ignore list function on Icy, similar from phpbb3....

I try to find in the forum and the result is this...

http://www.icyphoenix.com/viewtopic.php?f=28&t=3735

Ignore User Mod

The problem... it isn´t adapted from Icy 1.3.0.53a....

Anybody helps me?


PD: Sorry for my bad english... I´m spanish... 8)

Profile PM  
Inactive User
Subject: Re: Ignore User List
Out of interest I had a look at this using the original hack from phpbbhacks and probably have it up to 90% functional for IP *53a. :(

But!

It appears to conflict with the MOD - FTR (Force To Read) as it uses some variables the same but with different functions, and in particular {$bypass} which with my limited knowledge of IP means that you can only have one or the other.

Dunno, but if any programmer wants the script to where I got up to with all the new vars, constants and the modified install instructions, I'll only be too happy to pass it on.

Subject: Re: Ignore User List
Lopalong wrote: [View Post]
Out of interest I had a look at this using the original hack from phpbbhacks and probably have it up to 90% functional for IP *53a. :(

But!

It appears to conflict with the MOD - FTR (Force To Read) as it uses some variables the same but with different functions, and in particular {$bypass} which with my limited knowledge of IP means that you can only have one or the other.

Dunno, but if any programmer wants the script to where I got up to with all the new vars, constants and the modified install instructions, I'll only be too happy to pass it on.


Thanks for your interest Lopalong!

I have a question:

The conflict is always or only if the forum use FTR MOD?

I'm very interesting in this feature ... maybe someone can help us, or MG, include it in the next IP version :wink:

Greetings

Profile PM  
Subject: Re: Ignore User List
Can you post it here please, Lopa

Gonna have a look on it. Maybe if we change the functions to another name

Inactive User
Subject: Re: Ignore User List
spydie wrote: [View Post]
Gonna have a look on it. Maybe if we change the functions to another name


Tried all that but it appears to be a global php var and not just a IP var.

jmee84 wrote: [View Post]
The conflict is always or only if the forum use FTR MOD?
I'm very interesting in this feature ... maybe someone can help us, or MG, include it in the next IP version :wink:
Greetings


The vars are both used in viewtopic.php so it makes no difference whether FTR is turned off or not. :(

Anyway, I'll re-check the install instructions to make sure it reflects what I've changed, as I had to dig out and change many more IP variables as I slowly went along getting it to the point of where it is. Then I'll post it all here either in MODS or Coding Help?
;)

OT:

@spydie - So when are you going to be made a staff member?

Subject: Re: Ignore User List
Lopalong wrote: [View Post]

OT:

@spydie - So when are you going to be made a staff member?


Forget about that man. Don´t want it.

Got enough with my users and sites

Inactive User
Subject: Re: Ignore User List
Haha!

You wouldn't have to do too much - Just be like the rest of them. :shock: :mryellow:


Anyway,

Here's both the original phpBB MOD and the IP one I've been working with. ;)

I didn't add any MG_THIS or MG_THAT constants for the paths etc, until this thing was working.

Best of luck! :P

Edit:

I suppose that one could by-pass the $bypass var used in "Click here to view post" and simply put a url (whatever/ip/ignore.php) and a small button that replaces the "ignore button, or that message to enable un-ignoring the user with ignore.php. :?:

Edit-2:

Tried the above and it works - so if the worse comes to the worse - it's one way of patching it. :mryellow:

Last edited by Guest on Sat 01 May, 2010 09:21; edited 3 times in total

Ignore-Users-IP.zip
Description:  
Download
Filename: Ignore-Users-IP.zip
Filesize: 7.94 KB
Downloaded: 82 Time(s)
Ignore-Users-phpbb.zip
Description:  
Download
Filename: Ignore-Users-phpbb.zip
Filesize: 8.25 KB
Downloaded: 65 Time(s)

Subject: Re: Ignore User List
Thanks Lopa.

Inactive User
Subject: Re: Ignore User List
Edited my previous post with a possible option - Didn't know you were here. ;)

Subject: Re: Ignore User List
Sorry, any news?

I'm not sure that works...

Profile PM  
Subject: Re: Ignore User List
jmee84 wrote: [View Post]
I'm not sure that works...

Why you don't go to test it :?: Than you can be sure :mricy:

Did you test Lopalongs attachment?

Profile PM  
Subject: Re: Ignore User List
y did.

it took me a whiler to find an error in the code.

got it running on my testsite.

if you wanna test. http://pruebas.forofos-f1.com

Subject: Re: Ignore User List
TheSteffen wrote: [View Post]

Did you test Lopalongs attachment?


Yes, but something wrong ocurred in viewtopic.php... because when the mod is instaled viewtopic does not load correctly (a white page appear...)

Spyde has solved the problem

Thanks Spyde

Profile PM  
Subject: Re: Ignore User List
spydie, can you please share your solution.

Maybe other users would also like this.

Thanks a lot

Profile PM  
Subject: Re: Ignore User List
in the install instructions off this Mod
FIND
Code: [Download] [Hide] [Select]
$message = $lang['Post_user_ignored'] . ' ' . sprintf($lang['Click_view_ignore'], '<a href="' . append_sid('viewtopic.' . PHP_EXT . '?p=' . " . $postrow[$i]['post_id'] . "&amp;bypass=" . $postrow[$i]['post_id'] . "#" . $postrow[$i]['post_id']) . '">', '</a>');

REPLACE WITH
Code: [Download] [Hide] [Select]
$message = $lang['Post_user_ignored'] . ' ' . sprintf($lang['Click_view_ignore'], '<a href="' . append_sid('viewtopic.' . PHP_EXT . '?p=' . ' ' . $postrow[$i]['post_id'] . '&amp;bypass=' . $postrow[$i]['post_id'] . '#' . $postrow[$i]['post_id']) . '">', '</a>' );


theres probably some more errors in that script, but i did´nt stumble over them


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.5011s (PHP: 5% SQL: 95%)
SQL queries: 34 - Debug Off - GZIP Enabled