Comments |
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.
|
Inactive User [ 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.
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
|
jmee84 [ Fri 30 Apr, 2010 16:11 ]
|
|
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
|
spydie [ Fri 30 Apr, 2010 16:16 ]
|
|
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?
|
Inactive User [ Fri 30 Apr, 2010 22:51 ]
|
|
Re: Ignore User List
|
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
|
spydie [ Fri 30 Apr, 2010 23:32 ]
|
|
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.
Description: |
|
Download |
Filename: |
Ignore-Users-IP.zip |
Filesize: |
7.94 KB |
Downloaded: |
80 Time(s) |
Description: |
|
Download |
Filename: |
Ignore-Users-phpbb.zip |
Filesize: |
8.25 KB |
Downloaded: |
64 Time(s) |
Last edited by Guest on Sat 01 May, 2010 09:21; edited 3 times in total |
Inactive User [ Sat 01 May, 2010 00:27 ]
|
|
Re: Ignore User List
|
Thanks Lopa.
|
spydie [ Sat 01 May, 2010 01:18 ]
|
|
Re: Ignore User List
|
Edited my previous post with a possible option - Didn't know you were here.
|
Inactive User [ Sat 01 May, 2010 01:23 ]
|
|
Re: Ignore User List
|
Sorry, any news?
I'm not sure that works...
|
jmee84 [ Tue 25 May, 2010 22:20 ]
|
|
Re: Ignore User List
|
I'm not sure that works...
Why you don't go to test it Than you can be sure
Did you test Lopalongs attachment?
|
TheSteffen [ Thu 03 Jun, 2010 10:13 ]
|
|
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
|
spydie [ Thu 03 Jun, 2010 10:18 ]
|
|
Re: Ignore User List
|
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
|
jmee84 [ Thu 03 Jun, 2010 12:53 ]
|
|
Re: Ignore User List
|
spydie, can you please share your solution.
Maybe other users would also like this.
Thanks a lot
|
TheSteffen [ Fri 04 Jun, 2010 10:01 ]
|
|
Re: Ignore User List
|
in the install instructions off this Mod
FIND
$message = $lang['Post_user_ignored'] . ' ' . sprintf($lang['Click_view_ignore'], '<a href="' . append_sid('viewtopic.' . PHP_EXT . '?p=' . " . $postrow[$i]['post_id'] . "&bypass=" . $postrow[$i]['post_id'] . "#" . $postrow[$i]['post_id']) . '">', '</a>');
REPLACE WITH
$message = $lang['Post_user_ignored'] . ' ' . sprintf($lang['Click_view_ignore'], '<a href="' . append_sid('viewtopic.' . PHP_EXT . '?p=' . ' ' . $postrow[$i]['post_id'] . '&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
|
spydie [ Fri 04 Jun, 2010 11:07 ]
|
|
|