Ignore User List »  Show posts from    to     

Icy Phoenix


Old Support Topics - Ignore User List



jmee84 [ Wed 14 Apr, 2010 16:35 ]
Post 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...


Lopalong [ Fri 30 Apr, 2010 13:34 ]
Post 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.


jmee84 [ Fri 30 Apr, 2010 16:11 ]
Post 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

Greetings


spydie [ Fri 30 Apr, 2010 16:16 ]
Post 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


Lopalong [ Fri 30 Apr, 2010 22:51 ]
Post 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
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?


spydie [ Fri 30 Apr, 2010 23:32 ]
Post 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


Lopalong [ Sat 01 May, 2010 00:27 ]
Post subject: Re: Ignore User List
Haha!

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


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!

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.


spydie [ Sat 01 May, 2010 01:18 ]
Post subject: Re: Ignore User List
Thanks Lopa.


Lopalong [ Sat 01 May, 2010 01:23 ]
Post subject: 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 ]
Post subject: Re: Ignore User List
Sorry, any news?

I'm not sure that works...


TheSteffen [ Thu 03 Jun, 2010 10:13 ]
Post 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

Did you test Lopalongs attachment?


spydie [ Thu 03 Jun, 2010 10:18 ]
Post 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


jmee84 [ Thu 03 Jun, 2010 12:53 ]
Post 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


TheSteffen [ Fri 04 Jun, 2010 10:01 ]
Post subject: Re: Ignore User List
spydie, can you please share your solution.

Maybe other users would also like this.

Thanks a lot


spydie [ Fri 04 Jun, 2010 11:07 ]
Post subject: Re: Ignore User List
in the install instructions off this Mod
FIND
Code: [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: [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




Powered by Icy Phoenix