Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Mod Requests => Topic started by: dilaca on April 05, 2004, 11:57:21 PM

Title: Ignore user
Post by: dilaca on April 05, 2004, 11:57:21 PM
Is there an option for people to ignore a particular poster?

Thanks.  :)
Title: Re: Ignore user
Post by: Peter Duggan on April 06, 2004, 04:32:12 AM
Not on the boards, but you can set up a PM Ignore List from Personal Message Settings in your Edit Profile screen.
Title: Re: Ignore user
Post by: sneedo on August 24, 2004, 04:14:07 AM
can we get an ignore feature that will ignore thier posts?
Title: Re: Ignore user
Post by: quake101 on November 16, 2004, 12:32:17 PM
I have a new members what would like this feature!
Title: Re: Ignore user
Post by: Zencefil on November 16, 2004, 02:28:47 PM
 
I would really like that function. It works for both the boards and the PMs on VBulletin and I gotta *love* it.

Likewise, an "ignore topic" function would be useful, but the original request is much more important IMO.
 
Title: Re: Ignore user
Post by: gri on January 26, 2005, 04:24:21 PM
IPB 2.0 Team has already developed an Ignore User Feature.
It is really very usefull.

Each user can update his Ignore List by his own hands.
And it is possible to Unignore separate messages
and to change your opinion concerning a member of a List.

This feature has opened up a Way for Mankind to declare:

~Moderator - is the enemy of a Human Being !
Go away from the Planet !~.

I think that I would prefer IPB 2.0 product line..
while SMF developers will study
what Human Being Is.
Title: Re: Ignore user
Post by: Ben_S on January 26, 2005, 05:09:15 PM
It would only fragment topics to certain people then they would start posting asking people what is going on and end up wasting everyones time.

Surely the human brain can ignore posts it doesn't like?
Title: Re: Ignore user
Post by: gri on January 26, 2005, 07:17:48 PM
It would only fragment topics to certain people then they would start posting asking people what is going on and end up wasting everyones time.

Surely the human brain can ignore posts it doesn't like?

Ben_S,
Surely Moderator's brain can not ignore posts it doesn't like?
Whether deleting of other's posts
would not fragment topics to certain people
and why nobody then start posting asking people
what is going on and end up wasting everyones time?

Ignoring - is the priority of the reader.
In case of Ignoring somebody's posts
the link to the post instead of the text of the message
is under the click of the mouse.
Unignoring of the message - is the priority of the reader
if his brain would report that it need any fragment.

Do you have an example of IPB 2.0 forum ?
Title: Re: Ignore user
Post by: carhartt on March 03, 2005, 01:16:55 AM
i really *need* this function, too!
and many users of my forum...

kind regards,

carhartt.
Title: Re: Ignore user
Post by: gri on March 03, 2005, 02:15:38 AM
i really *need* this function, too!
and many users of my forum...

kind regards,

carhartt.

carhartt,
it seems many people of your forum
are Human Beings.

Hence they have a good chance to be the first
who will include the appropriate code of Ignore feature
to the SMF programm.

In any case.. give the link to your forum please.

I know a lot of forums where Users just dream
about having an ability to Ignore..
my posts.

Instead of Locking my topics and Deleting them.
Title: Re: Ignore user
Post by: Oldiesmann on March 04, 2005, 05:42:58 PM
Ignoring posts doesn't make the problem go away... Locking and deleting them does.
Title: Trace of the forecast of the attacks
Post by: gri on March 05, 2005, 07:00:34 AM
Ignoring posts doesn't make the problem go away...
Locking and deleting them does.

Locking and deleting posts does initiate another problem
of thousands and thousands of the copies
of the deleted or locked posts
and new and new topics instead of those have been locked
and will also result in locking of the moderated forums

<< http://agreetogri.newmail.ru/subs-user.htm


It will explose a War on the Planet.. between Humans and monkeys.
I stand for Peace.

Deleting of the original post is not the same action as
the control of displaying the scene of a post
in the topic.

I suppose that the Author of the topic would select
Ignored posts or Users in his topic.
But a half of the registered readers should apply
the Author's defaults
but another half of the readers
should select their own sets of posts/posters to Ignore.

The _known fact_ of the Ignored post by the Author of the topic
is a good reason for the poster
either to modify or delete his original post
or to move the scene of the original post
to his own topic or to another topic
with all links and quotes to it being preserved.

Neither Ignoring of the scene of the post
nor the Locking of the topic with the scene inside
should prevent from modifying the original post.

In many cases Ignoring posts is a compromise
which may allow _process of making problems go away_
to be continued in a mild way.

What other problem does a reader feel
concerning the posts he had selected to be NOT read
by his own hands ?
Title: Re: Ignore user
Post by: Jazhawk on May 23, 2005, 01:33:01 PM
It is a feature some users want on my forum as well and I think it makes sense in some respects where the comments of some should not be allowed to stink up the entire post.  We all have repugnant members.

Now it won't help if that ignored poster is quoted by another poster so in that case, the quoted ignored poster should say "ignore enabled."

You are not suggesting that IPB can do something that SMF cannot?  :o

-Jazhawk
Title: Re: Ignore user
Post by: rudoka on May 23, 2005, 02:59:25 PM
As I see it, the Ignore function it's not about moderating a forum or not, or to take over the Moderator's job.
Let's suppose that on a forum there is someone who annoys me, and only me. He/she is polite, not flaming no one, cute, funny and stays on topic. Only that it's antipatic to me. Well, the moderators would have no reason to detele his/her posts, or block him/her form writing.

In these cases that ignore feature would be VERY handy for me as normal user. In a board that had this feature I even used it once ;) Hehe.
Otherwise the place was horrible to navigate and use, posting reading was awful. this was the only positive thing I could find. I droped that place when I lost interest in the content of the forum.

I'd really like this feature to be included in the standard version.  :)

Rudolf
Title: Re: Ignore user
Post by: whatevah on May 23, 2005, 04:52:21 PM
I've got a forum that could really use this feature, too.  :)

perhaps, if instead of not showing the message from the user at all, only the header of the post is shown, with a javascript/dhtml/css button to show/hide the message.   of course, you wouldn't be allowed to ignore moderators or admins, or add a checkbox to the post menu for mods/admins that reads "make this post visible, overrides ignore lists"

I guess that would have to be supported by all of the themes, so if added to the SMF base, it would have to be in SMF 1.2, since 1.1 is almost finished.   however, if it used CSS to do the show/hide, then a package could add it, and not adversely affect themes already installed, they just wouldn't be able to make use of the feature.

I'd sponsor this mod (if that's allowed)... probably shouldn't take _too_ much time for an experienced coder to write, I'm guessing an hour.  maybe $50 PayPal'ed to the coder?
Title: Re: Ignore user
Post by: Shannon on May 23, 2005, 09:54:16 PM
I would really like an ignore user function as well...

Thing is, the people who want the ignore user function -- in my case -- are both dear friends of mine. Whatever bickering they're having is in the forum for it, but it still is causing tension in my forum's community. I'd really like an ignore user feature to be available... it seems a big shame for it to not be available at all.
Title: Re: Ignore user
Post by: rudoka on May 24, 2005, 11:53:10 PM
I thought a little about this, but it seems a bit hard for my programming/SMF skills.
I just managed to do some modification for myself (not mod yet, and don't know if it will be), but that was pretty easy and involved little changing.

I have an idea on how it could be done, but how to actually implement in the code I have no idea. Now I don't even have time and energy to look in to it deeper.  :'(
It would be really cool to be in the standard version, as a "main" feature. The forum as it is now it's quite perfect and contains everything I can think of for an enjoyable "foruming experience".  ;)  This would be the cream on the cake, as it is said in our parts.  :)

Rudolf
Title: Re: Ignore user
Post by: CartDestr on May 28, 2005, 02:05:23 PM
I REALLY need this fuction on my forum. PLEASE, I NEED THIS QUICKLY. Is urgent.

Sorry my bad english.
Title: Re: Ignore user
Post by: rudoka on June 07, 2005, 11:29:43 PM
   I was thinking that maybe it could have be done using a some kind of reverse "buddy list" type of feature, to store the names we want to ignore (and ignore them!!). I just saw that in the 1.1 there is one included, so I thought maybe one could modify it.
   The problems are is that I do not have 1.1 yet, so I would have to wait until becomes public, and second, that I find it quite useless writing mods. If they are simple modifications they can make sense, but a mod that changes a default functionality, or performs complex modifications throughout the forum it makes it pointless and very annoying to keep the forum updated.
   As I expressed my views on this, I repeat. Even if the Package Manager is a powerful tool, uninstalling and re-installing mods everytime I want to do an upgrade is simply boring, and not something everyone is willing to do.
   Personally I would like to keep my forum upgraded and up-to-date, applying the releases as they come out, because I do like how SMF is now and I know the development team is doing a great job there.

   I saw some interesting ideas about mods, but none of them was tempting enough to take the trouble to write them. (Read the reasons above -^)
   This would be the only one I would be really interested in working on it. So if anyone (mod writer or not) has some ideas about how to actually write this mod, I would be more then glad to cooperate (and share my modest experience from my first mod-writing  :P) If not then I think I'll find something else to do for myself (not SMF related).
   
Rudolf
Title: Re: Ignore user
Post by: rudoka on June 15, 2005, 12:07:26 AM
  There are countless requests for this feature, and yet I see that it is being ignored since years, already.

  I read some of the other topics on the subject, and I find all the concerns about this rather silly. Ignoring a user would not break anything in the forum, since it would be a user based ignore. Meaning that if I chose to ignore someone that would only do to don't show up that post in the topic. And onyl the topic.
  Instead of the body of the post, it would appear "Currently this user is ignored by you". Or something similar.

   The software would work the same as it works now, and most of the things could be solved in the template. I really can't see how this would break anything on the forum. The other users would still see the posts as normal, and the "structure" of the posts/topics/boards/statistics would be intact.

    I was thinking about how to accomplish and it doesn't seems that hard, theoretically. Now i'm learning smome advanced php to write it.

Rudolf
Title: Re: Ignore user
Post by: rudoka on June 15, 2005, 12:22:53 AM
The basic idea is this:

  To create table in the database with two fields:
       1. user_ID     - the ID of a user
       2. ignore_list  - the list of user_ID's this user is ignoring

    In the theme, where the posts are being displayed there would be a condition if the poster is ignored by the user then it would not display the post. nstead of the post there would be written "User ignored" and maybe a link to view the post.
    If the user is not ignored then the post is displayed normally.

    Where the poster info is displayed there would be a link to "Ignore this user". This would add an entry in the table, with the ID of the user who is ignoring in the user_ID field and the id of the user who is being ignored in the ignored_list. More ignored users would be stored in one the ignored list, as a string separated with some special character. (\,/.*, whatever)

    Though it might sound complicated I don't really think it is. There are some extra things to work out, but it's doable.
Rudolf
Title: Re: Ignore user
Post by: Spamiam on July 12, 2005, 10:04:18 PM
I came here hoping for an ignore feature, too.

If anyone has one, please give me a heads-up! Thanks!
Title: Re: Ignore user
Post by: gri on July 13, 2005, 12:23:17 AM
I came here hoping for an ignore feature, too.

If anyone has one, please give me a heads-up! Thanks!

Spamiam,

We are not alone. Have your head up.
Don't forgive. We WILL replace moderation on the planet
with the Ignore feature.

Please, speak more Spamian then I do.
Title: Re: Ignore user
Post by: Spamiam on August 13, 2005, 01:47:34 AM
As an admin, I really hate babysitting the members. Their only option is to report posts, which they're not shy about doing. What am I supposed to do about that? That puts me, as an admin, in a tough place.

Our board members are very fond of discussing politics and religion, and these are what get reported. People are going to want to ignore each other in those realms. Trust me. It sucks for them to have to depend on me, and it sucks for me to be in that place.

On any board people get to know each other. That's what it's about. Regular visitors can become very familiar quickly, and often very predictable, to each other.

Most folks who would appreciate the ignore feature would use it in confidence. Considering it'd be a toggle, if the circumstance ever did arise that they'd want to "unignore", then they can. No harm done. Likewise, if they never wanted to use it at all, no harm done. 

Don't even worry about the quote function. Let it stand. Just a feature to ignore direct posts would be an upgrade.

I really see no reason not to do it, unless it somehow can't be done (and having read so much from the smf thinktankers I seriously doubt that's the case). Heck, me and many of our members would even pay for it. We REALLY want this.
Title: Re: Ignore user
Post by: gri on August 16, 2005, 05:45:14 AM
As an admin, I really hate babysitting the members.

Spamiam,
sorry, I can not visit your forums..
until they are defended by the ignore feature.

So let's continue speaking here while..
in spite of all multiple inconveniences for inconvincibles.
Title: Re: Ignore user
Post by: JeF4y on August 17, 2005, 11:10:52 AM
Another supporter of this function...  And I'd throw out $50 for it as well...

I'd rather deal with idiots saying "why are these threads broken up and not flowing correctly" than saying "Dad!  so and so is bothering me again!!!".
Title: Re: Ignore user
Post by: Rudolf on August 24, 2005, 01:22:26 AM
  Well, I just wrote this mod ... if anyone is still interested.
  I have tested it on SMF 1.0.3, 1.0.4, 1.0.5 and 1.1beta3. Note: All of them brand new, clean installations!
  Unfortunately I don't have a forum online to show it in work.

  It's extremely simple, I tried to keep it as simple as possible.
  Basically the "features" are:
    1. When the topics are displayed places an "Ignore/Unignore" link in the "Author" section. Where the poster info are. "Ignore" if it's not ignored by you, and "UnIgnore" if it is.  ;)
    2. Hides the message from your view.
    3. Hides the "Quote", "Modify", "Delete" etc. buttons for that post.
    4. Adds a "Show/Hide" link there to Show (and Hide back) said message. Temporarily, right there right then.
    5. In place of the message says: "This user is ignored." This can be changed or removed completely.   ;)

   That's all. If you "Ignore" a user everything he/she will write will not show up, for you only.
Additional notes:
Guests can't ignore!
You can't ignore yourself!
You can ignore anyone else, including administrators!  :D
If you ignore one guest, you ignore them all!


Rudolf
Title: Re: Ignore user
Post by: gri on August 24, 2005, 03:11:21 AM
Well, I just wrote this mod ... if anyone is still interested.
  I have tested it on SMF 1.0.3, 1.0.4, 1.0.5 and 1.1beta3.
Note: All of them brand new, clean installations!

  Unfortunately I don't have a forum online to show it in work.

  It's extremely simple, I tried to keep it as simple as possible.
  Basically the "features" are:
    1. When the topics are displayed
       places an "Ignore/Unignore" link in the "Author" section.
       Where the poster info are.
       "Ignore" if it's not ignored by you,
        and "UnIgnore" if it is.  ;)
    2. Hides the message from your view.
    3. Hides the "Quote", "Modify", "Delete" etc. buttons for that post.
    4. Adds a "Show/Hide" link there to Show (and Hide back) said message.
       Temporarily, right there right then.
    5. In place of the message says: "This user is ignored."
       This can be changed or removed completely.   ;)

   That's all. If you "Ignore" a user everything he/she will write
   will not show up, for you only.

Additional notes:
 Guests can't ignore!
 You can't ignore yourself!
 You can ignore anyone else, including administrators!  :D
 If you ignore one guest, you ignore them all!


 Rudolf


Rudolf,

Post it to me immediately!
I wish very much to be the First.. once more!

I will give then a global link to the download page
with the "Ignore" feature mod files.

Thank you on behalf of a Humanity!

We'll continue discussing the details while further testing.
Title: Re: Ignore user
Post by: JeF4y on August 24, 2005, 06:53:59 AM
Rudlof,

I would be delighted to assist with testing.  My forum is fairly sizable:

www.cbr600rr.com/forum

I have smaller forums and testbeds as well.
Title: Re: Ignore user
Post by: Rudolf on August 24, 2005, 12:10:40 PM
OK, here's a link for you to download.
Ignore user (http://digilander.libero.it/rudoka/stuff/Ignore_1.1.zip)

It works on any version from 1.0.3 up, including 1.1beta3public.
   Here's the usual disclaimer: This "software" is free to use but you do it at your own resposability! Specially, if you are volunteering to test it. ;)
   The modifications done in the source code itself are very minimal. They are simple additions, and *do not* change a single line of code from the original SMF. 
   This mod does not interfere with the posting mechanism, the permission system or anything else you can imagine. It creates a table in the database for it's own purposes, table which is not linked in any way to any other table.
    This being said, I think there are not many things that can go wrong, except if you heavily modified your forum the package manager could have problems installing it.

     I welcome any question, feedback on the mod. I included a fairly detailed readme, which I think answers some common questions that could arise. The readme file is still in development though ;)

    Ok, I could go on with this blabla for a long time. If you're ready, just go on and try it. And let me know how it goes. (make backups first, of course. ;))

Rudolf
Title: Re: Ignore user
Post by: Rudolf on August 24, 2005, 12:17:06 PM
I would be delighted to assist with testing.  My forum is fairly sizable:

www.cbr600rr.com/forum

I have smaller forums and testbeds as well.

Hi Jef4y,
  from a first glance at your forum, I would say that you won't have many problems with this mod. It all depends on the other mods you have installed.
  Of course I recommend installing it on your test forums first, until you are comfortable with this mod.
  I'd surely appreciate any feedback on whether it is compatible with other mods or not.
  Since this is becoming a "support" discussion rather then a "feature request" you (and anyone else using this mod) can always drop me a PM if you have questions or feedback.

Rudolf
Title: Re: Ignore user
Post by: mennou on August 24, 2005, 01:00:26 PM
work not bad at all..  but how can i take  them off the ignore list?
Title: Re: Ignore user
Post by: Rudolf on August 24, 2005, 01:09:17 PM
You click the "Unignore" link.
  Once a user is ignored instead of "Ignore" you'll see "Unignore". That'll do.
  There's no "control panel" for this, the only way to ignore/unignore is right there from the posts. I tried to keep things simple.  :-\ I think it's a small trade-off.

Rudolf
Title: Re: Ignore user
Post by: mennou on August 24, 2005, 01:17:49 PM
Thanks for this mod  u are the man.. lol    and how can i make it work in private message?  like a block user..  let my member block people they don't want to get private  from them..
Title: Re: Ignore user
Post by: Rudolf on August 24, 2005, 01:21:48 PM
Thank you.

The PM blocking is already a standard feature in SMF.
In your profile go to "Personal Messages options" and there's an ignore list.

Rudolf
Title: Re: Ignore user
Post by: mennou on August 24, 2005, 01:24:55 PM
it'snot on  mine.. i don't see that option
Title: Re: Ignore user
Post by: Rudolf on August 24, 2005, 01:41:19 PM
That's strange because I see it in any version.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fdigilander.libero.it%2Frudoka%2Fstuff%2Fpm1.jpg&hash=9ea185bbff1cdacac314a701ada552e0)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fdigilander.libero.it%2Frudoka%2Fstuff%2Fpm2.jpg&hash=d6242e1c583913e00c409a98954132d3)

Rudolf
Title: Re: Ignore user
Post by: JeF4y on August 24, 2005, 02:00:14 PM
Rudolf, I'll put it on the testbed tonight and start integrating it within the next few days.  I have no other mods installed.  I do have banner code, etc which I've worked into the themes, but no feature mods.

Look for a feedback note in the next day or two.
Title: Re: Ignore user
Post by: Rudolf on August 24, 2005, 02:05:39 PM
OK, Jeff that's even better.
 I wonder how you modified the theme. If you created a copy and modified that one (as suggested) you 'll need to add the modifications in your theme on your own. But that should be a piece of cake if you already have experience modifying themes. Read the readme and all should be fine ;)

Rudolf
Title: Re: Ignore user
Post by: mennou on August 24, 2005, 02:42:56 PM
i see what u were talking about..  not everyone will know if it's there... is there somehow  i can  show it on message  inbox  by the  reply  or send  message
Title: Re: Ignore user
Post by: Rudolf on August 29, 2005, 02:28:13 PM
I worked some more on the mod and here is the result:

Ignore User 1.1 (http://digilander.libero.it/rudoka/stuff/Ignore_1.1.zip)

This is a whole new version, added a couple of stuff, fixed some serious bugs in the first one.   :-[
I added a beta to the name, to make it clear that it wasn't tested live. To avoid misunderstandings. ;)
Don't be mischieved by the name, it's compatible with any SMF since 1.0.3.

Here is a what's changed:
  Ignore user 1.1 - august 2005
+ Settings panel added for managing the ignore list in "Profile->Ignore User options" (!)
+ Buttons added for links (+4 images) (!)
+ Language file added (!)
+ Template file added (for the "Ignore options" page)
+ Fixed bugs in the 'ignore' system
+ Fixed errors in the table creation procedure, the installer fixes the already existing tables (if there is need)
+ Optimized some code and the installation
+ Cleaned up files

If you're already using the 1.0 I recommend upgrading as soon as possible. ;)
I am trying to submit it on the SMF site too, maybe soon it will show up in the official section.  :-\

Edit: Actually now i'm experienceing some problems with 1.0.5-. Weird

Rudolf
Title: Re: Ignore user
Post by: Rudolf on August 29, 2005, 02:51:30 PM
Ok I solved it and it should work.
The problem was with the uninstallation in 1.0.5.
I installed and uninstalled tens of times on both 1.0.5 and 1.1, and even 1.0.3, everything seems ok.  :)
Title: Re: Ignore user
Post by: snork13 on August 31, 2005, 02:29:19 PM
for some reason i get "Error: Cannot install - please verify you put this in the same place as SMF's index.php." but it's in the /forum root with index.php? I'm confused.

-snork
Title: Re: Ignore user
Post by: Rudolf on August 31, 2005, 03:10:07 PM
Are you trying to install it through the Package Manager?
Title: Re: Ignore user
Post by: snork13 on August 31, 2005, 03:21:21 PM
Are you trying to install it through the Package Manager?

no, I'm heavy modded, i never use the package manager and I'm trying direct through URL...i made all the file changes just find manually, just need to add the database

thanks

snork

edited to add: so i just used phpadmin and had to change the syntax to work too, i use the default table smf_ 

Code: [Select]
CREATE TABLE  `smf_ignore` (`ID_MEMBER` MEDIUMINT( 8 ) UNSIGNED NOT NULL , UNIQUE (ID_MEMBER), `ignore_list` MEDIUMTEXT)
Title: Re: Ignore user
Post by: Rudolf on August 31, 2005, 11:10:10 PM
ok, then
The modifications in the source files are really simple. The ones in the template file that are a bit more serious.
  *Every* code added by me is or before or after an SMF comment line. That should make spotting the places where they should go easier.
   Good luck.

Rudolf
Title: Re: Ignore user
Post by: snork13 on September 01, 2005, 12:55:12 PM
@rudiksz

thanks for the mod, the members love it, works well!

-snork
Title: Re: Ignore user
Post by: zmobie on September 08, 2005, 11:20:38 PM
Thank you for the mod.  Got some happy users as a result.

I found a couple errors, figured I'd contribute back :)

I got errors from Display.template.php from the following two lines:
document.getElementById("showhide"+msgnr).alt = "', $txt['ignore_show'] ,'";
document.getElementById("showhide"+msgnr).alt = "', $txt['ignore_hide'] ,'";

$txt['ignore_show'] and $txt['ignore_hide'] weren't defined in Ignore.english.php, so I added :
$txt['ignore_show'] = 'Show Post';
$txt['ignore_hide'] = 'Hide Post';

That made that part happy.

The next issue I ran into was related to the use of stripos() in Ignore.php.  Seems that's a php5 only function.  More info on stripos at http://us2.php.net/stripos

I added the following to Ignore.php.  Not sure if that's the best way:
Code: [Select]
if(!function_exists('stripos'))
{
   function stripos($haystack,$needle,$offset = 0)
   {
     return(strpos(strtolower($haystack),strtolower($needle),$offset));
   }
}

The last buglet is something that shows up in my forum error logs.  Couldn't get past this one:
Code: [Select]
8: Undefined offset: 326
File: /home/www/htdocs/smf/Themes/default/languages/Ignore.english.php (eval?)
Line: 29

Any ideas?  My next step is to try and find an easy way to add this into other themes.

Thanks!
Title: Re: Ignore user
Post by: Rudolf on September 09, 2005, 05:10:15 AM
Thanks a lot for the feedback. (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.simplemachines.org%2Fcommunity%2FThemes%2Fdefault%2Fimages%2Fpost%2Fthumbup.gif&hash=7e340dcc7fb03ee7fe828bab3e4836ad)

  I already fixed the first error, just some values missing that were producing annoying warning messages in logs.  ;)
  Turned out that the problem with the "undefined offset" was similar. Both of them are fixed now.

  Indeed the stripos is php5 only, and I clearly remember changing it back to strpos. Maybe it was another script for an other thing.  :-\
  I'm not that good in php, but seems like your solutions is very cool, so I adopted it. Good for "forward" compatibility. ;)

  I updated the package, which is available since some time on the SMF site as well. LINK (http://mods.simplemachines.org/index.php?mod=185)


!!! I'll put here the two changed files temporarily for those who want to update their mods. It's enough if you simply copy/overwrite the new files on the old ones. No need for the package manager.
  Ignore.php (http://digilander.libero.it/rudoka/stuff/Ignore.php)   <- into /Sources dir
  Ignore.english.php (http://digilander.libero.it/rudoka/stuff/Ignore.english.php) <- into /Themes/default/languages  dir


 Adding to other themes shouldn't be so hard. Everything is between "IGNORE" comments. At least finding what you have to add shouldn't be a problem. Remains only to figure out where to add in the new themes. ;)

Rudolf
Title: Re: Ignore user
Post by: zmobie on September 10, 2005, 11:36:21 PM
Cool, thanks!  The stripos replacement came from php.net, I claim no credit for it. :)

Unfortunately, I'm unable to download the .zip from mods.simplemachines.org.  Weird.

Anyways, one last buglet.  Line 150 of Ignore.php:
Code: [Select]
      db_query("INSERT INTO {$db_prefix}ignore (ID_MEMBER, ignore_list) VALUES ($ID_MEMBER, CONCAT('{$guest}', $_POST[post_ignore_list]'))", __FILE__, __LINE__);
needs an extra quote:
Code: [Select]
      db_query("INSERT INTO {$db_prefix}ignore (ID_MEMBER, ignore_list) VALUES ($ID_MEMBER, CONCAT('{$guest}', '$_POST[post_ignore_list]'))", __FILE__, __LINE__);
Title: Re: Ignore user
Post by: Rudolf on September 11, 2005, 01:26:17 AM
Weird that you can't download. You're not the first one saying it.
I tested the link myself after I uploaded the file, and it works for me. (in FireFox  ::) )
You can still download from my links. I updated the ones in the previous posts.
Maybe the forum admins can tell what's wrong?

Bug squashed ... erm, I mean ... fixed. ;)

Rudolf
Title: Re: Ignore user
Post by: gri on September 11, 2005, 05:24:22 AM
Quote from: rudiksz
2. Create copy of the online forum on your local computer.
An *exact* copy, as it is online with mods you might have installed.

Rudolf,
explain please the appointment
of the file "/attachments/.htaccess"
in the original installation archive
(it has really no name, extention only).

It is not being uploaded to the server.
What to do with it ?
Title: Re: Ignore user
Post by: Rudolf on September 11, 2005, 11:37:09 PM
   All I know about that file is that it's the configuration file for Apache. Don't know much about the syntax and what the things mean inside. Well, they are pretty self explanatory anyway.
   If your host it's not using Apache as web server you won't need that file.

   If you continue to have problems with the folder permissions it's better you contact you host.  ::)
Rudolf
Title: Re: Ignore user
Post by: gri on September 12, 2005, 04:45:07 AM
If you continue to have problems with the folder permissions
it's better you contact your host.  ::)

Rudolf,
the hoster has agreed with the discovered error
 of permission management restrictions on the host..
and promissed to fix it.

Unfortunately this hoster is located
on the territory of Russian Federation..
Title: Re: Ignore user
Post by: gri on September 12, 2005, 04:45:35 AM
Quote from: [url=http://geteven.vi-host.ru/index.php?topic=56.msg162#msg162][size=2][u]rudiksz in ~(Ignore User posts)~,
geteven.vi-host.ru/msg162[/u][/size][/url]
That should do the trick.

@Copyright2005 { G.A.Antchugov &
Rudolf,

thank you for your assistances.
I have requested the formal owner of the forums
for the permission.. to pass words with passwords to your name.
Let be patient waiting for his opacity calls
from the office.

Many problems result from the fact
that the Russian Federation
has the slavery state tending
forms..
in every-every thing.

Let be patient in withstanding..
although our lives have become so short, frail and thin
during the last 20 years long increasing terror act.

How we are tired from these dances..
of the Death Spirit
hardly having the Humanity mission
as an aim.

In spite of all obstacles
which oppress people down the ground surface -
I am against moderation !

Having faced it face to face
I will rather spear it
twice..
voting with both hands for the "Ignore"
and will not forgive
neither for ".txt" nor ".php" nor ".htaccess" files nor..
for ".gif" !

Let these lines be observed publicly and not vice
versa,
let all people know why Earth Grivitation was a..
Human'S Pace.

}
Title: Re: Ignore user
Post by: Rudolf on September 12, 2005, 04:54:53 AM
 ???
Title: Re: Ignore user
Post by: gri on September 12, 2005, 07:28:26 AM
I updated the package, which is available since some time on the SMF site as well. LINK (http://mods.simplemachines.org/index.php?mod=185)

rudiksz,
the download of the mod you have last LINKed on September 9,
http://mods.simplemachines.org/index.php?mod=185
still does not work.

Add below that LINK
 your alternative link to the original Ignore_1-1.zip
  with the same updated package
   to download it from..
on case SMF_mod_download_page_inoperability will prolong.
Title: Re: Ignore user
Post by: Rudolf on September 12, 2005, 11:04:55 PM
  I see the mod is approved now, if the links still doesn't work for some reason you can d/l from the links in this topic(previous messages). They are updated to the very latest version.
  Anyway, now it should work, there are 6 downloads so far.  :-\
Rudolf
Title: Re: Ignore user
Post by: gri on September 13, 2005, 06:01:36 AM
  I see the mod is approved now,

rudiksz,

1. now the mod have downloaded.

2. What does "[1][1]" mean in the file name ?

3. In readme.html file modify version number from 1.0 to 1.1.
 
4. On the download page there is a correct link
   to the topic "Ignore User"
   http://www.simplemachines.org/community/index.php?topic=49149.0
   which has the Author of the topic
   equal to the Author of the Mod.
   The download page and the Head topic should be titled differently.
   For example "Mod: Ignore User" for the download page.

4. As far as I can imagine
   the correct scheme of work management around the mod..

    the ~Upper Head~ topic of the Author of the Mod
     should be Locked from others' posts
     and simultaneously it should be transparent
      for the Author's new posts and modifications
       without the necessity of Unlocking it
        each time the Author actualise his locked topic.
   ( I have already requested such a feature
     http://agreetogri.newmail.ru/return-back.htm .)
   
   The upper topic is for the actual declarations and guides
    from the Author only (or from a set of predefined co-authors)
    and is not intended for general discussions.

   Inside your Upper Locked topic there should be included
   a list of links to other discussion topics
    on various aspects of the Mod implementation
   having been distributed over the planet.

   Surely the list of links to the bounded topics
    can be increased or modified in time
     at the discretion of the Author (or his follower),
   but in any case independently from the
    aspects of discussion having been already suggested..
   the Author should have the linked topic
    for any public incoming notices for free _public_ feedback.

   Free incoming notices are the motives for the Author
    for creating new links to discussions
     on still not suggested aspects
    and for the improvement of the Head topic.

   Posting recommending links to the Users -
    that is the management
     which allow Users not to abuse the Ignore Mod possibilities.
Title: Re: Ignore user
Post by: mohoganybrwn on September 13, 2005, 11:28:15 AM
I was wondering how I can change the coding manually?  Because I tried to install this mod via the Package manager, but I get the following:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2F6colourclique.com%2Fpix%2Fignore.gif&hash=e24767088779fb50b8ebf9b309f97b16)
Title: Re: Ignore user
Post by: Rudolf on September 13, 2005, 02:53:46 PM
You can find the answers here:
http://www.simplemachines.org/community/index.php?topic=49149.0