http://www.icyphoenix.com/viewtopic.php?f=35&t=7098
-----------------------------------
jmee84
Wed 14 Apr, 2010 16:35

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)


-----------------------------------
Lopalong
Fri 30 Apr, 2010 13:34

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. :(

[b]But![/b]

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.


-----------------------------------
jmee84
Fri 30 Apr, 2010 16:11

Re: Ignore User List
-----------------------------------
[quote user="Lopalong" post="48837"]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. :(

[b]But![/b]

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.[/quote]

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


-----------------------------------
spydie
Fri 30 Apr, 2010 16:16

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


-----------------------------------
Lopalong
Fri 30 Apr, 2010 22:51

Re: Ignore User List
-----------------------------------
[quote user="spydie" post="48840"]Gonna have a look on it. Maybe if we change the functions to another name[/quote]

Tried all that but it appears to be a global php var and not just a IP var.

[quote user="jmee84" post="48839"]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[/quote]

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?


-----------------------------------
spydie
Fri 30 Apr, 2010 23:32

Re: Ignore User List
-----------------------------------
[quote user="Lopalong" post="48841"]
OT:

@spydie - So when are you going to be made a staff member?[/quote]

Forget about that man. Don´t want it.

Got enough with my users and sites


-----------------------------------
Lopalong
Sat 01 May, 2010 00:27

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

[b]Edit:[/b]

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, [b][i]or that message to enable un-ignoring the user with ignore.php.[/i][/b]  :?:

[b]Edit-2:[/b]

Tried the above and it works - so if the worse comes to the worse - it's one way of patching it.  :mryellow:


-----------------------------------
spydie
Sat 01 May, 2010 01:18

Re: Ignore User List
-----------------------------------
Thanks Lopa.


-----------------------------------
Lopalong
Sat 01 May, 2010 01:23

Re: Ignore User List
-----------------------------------
Edited my previous post with a possible option - Didn't know you were here. ;)


-----------------------------------
jmee84
Tue 25 May, 2010 22:20

Re: Ignore User List
-----------------------------------
Sorry, any news?

I'm not sure that works...


-----------------------------------
TheSteffen
Thu 03 Jun, 2010 10:13

Re: Ignore User List
-----------------------------------
[quote user="jmee84" post="49084"]I'm not sure that works...[/quote]
Why you don't go to test it :?: Than you can be sure  :mricy: 

Did you test Lopalongs attachment?


-----------------------------------
spydie
Thu 03 Jun, 2010 10:18

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


-----------------------------------
jmee84
Thu 03 Jun, 2010 12:53

Re: Ignore User List
-----------------------------------
[quote user="TheSteffen" post="49124"]
Did you test Lopalongs attachment?[/quote]

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


-----------------------------------
TheSteffen
Fri 04 Jun, 2010 10:01

Re: Ignore User List
-----------------------------------
[b]spydie[/b], can you please share your solution.

Maybe other users would also like this.

Thanks a lot


-----------------------------------
spydie
Fri 04 Jun, 2010 11:07

Re: Ignore User List
-----------------------------------
[b]in the install instructions off this Mod[/b]
FIND
[codeblock]$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>');
[/codeblock]
REPLACE WITH
[codeblock]$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>' ); [/codeblock]

theres probably some more errors in that script, but i did´nt stumble over them


