Adriano Faria Posted February 1, 2011 Author Posted February 1, 2011 Hope that is clear. You must do a "group by" at some point in your queries or have people setup moderators once for any times of forums moderated in their board. Understood. But this is not a problem of this hook. I just a lib from IPS:$this->registry->getClass('class_forums')->forumsGetModerators( $fid ); where $fid is the forum id! So I guess if there's something not right, is in that method forumsGetModerators.
Drewfus Posted February 2, 2011 Posted February 2, 2011 i have an issue...i installed this today and got this.....
Adriano Faria Posted February 2, 2011 Author Posted February 2, 2011 Your problem is the same of same users before you.
Drewfus Posted February 2, 2011 Posted February 2, 2011 please forgive me...I am not understanding what exactly the solution is, this is all a little confusing to me.
colleen16 Posted February 3, 2011 Posted February 3, 2011 Understood. But this is not a problem of this hook. I just a lib from IPS:$this->registry->getClass('class_forums')->forumsGetModerators( $fid ); where $fid is the forum id! So I guess if there's something not right, is in that method forumsGetModerators. I don't understand?? Couldn't I just pay you to fix it?? :unsure:
Adriano Faria Posted February 3, 2011 Author Posted February 3, 2011 This hook uses the same script of moderators in forums... but will be redone from the scratch. I'll try something in this weekend. You don't need to pay for it, it's free.
colleen16 Posted February 3, 2011 Posted February 3, 2011 This hook uses the same script of moderators in forums... but will be redone from the scratch. I'll try something in this weekend. You don't need to pay for it, it's free. Ok many thank you's Adriano. :D I am so lazy I would rather just pay to have it fixed than do it myself, sometimes. :rolleyes:
Adriano Faria Posted February 21, 2011 Author Posted February 21, 2011 What I have found, although I don't use the hook in my forums, just installed for testing and saw the problem, is that if you assign a moderator multiple times and not once. You have to do it with one assignment else you get this problem. Let me explain a bit better: you go to ACP-> Forums ->Shoe moderators. If you have one moderator (we're talking for the same one) in many forums you must have put him with one ADD MODERATOR. You select the forums, then Add a moderator to all checked forum (at the bottom of the screen) and then at the next screen "Add a moderator" - Select Forums, you must select ALL forums, ONE TIME. If you follow this procedure again for THE SAME moderator you get the problem. If you add the same moderator multiple times at different forums this hook ends up showing as many times as the moderator has been added, thus multiple times as shown in the screen shot above. Hope that is clear. You must do a "group by" at some point in your queries or have people setup moderators once for any times of forums moderated in their board. (I know it's a bit confusing. If you don't get it as I explained it tell me so and I will try again :) ) Tks, this happened... but the real problem is: it will only happen if you don't use DESCRIPTIONS in your forums. If you use, no problem is detected... that's why it never happened in my live board. I'll try to fix it.
Adriano Faria Posted February 21, 2011 Author Posted February 21, 2011 Hook updated!What's New in Version 2.1.0:Fixed the bug when you didn't use forum description. It was causing misalignments in moderators links and repeting moderators names.
Gavrisimo Posted February 21, 2011 Posted February 21, 2011 Hook updated! What's New in Version 2.1.0:Fixed the bug when you didn't use forum description. It was causing misalignments in moderators links and repeting moderators names. Its working... Thanks! :)
Adriano Faria Posted February 21, 2011 Author Posted February 21, 2011 Its working... Thanks! Tks for the feedback! :thumbsup:
jefftribou Posted March 3, 2011 Posted March 3, 2011 Hi Adriano, I'm getting this error on the boardindex when installing your hook: Can you help me to fix it? :ermm:
Rheddy Posted March 3, 2011 Posted March 3, 2011 I can confirm Valerio's error. I'm getting the same error.
Adriano Faria Posted March 4, 2011 Author Posted March 4, 2011 Can't see the error. That's what I see in your post:
Adriano Faria Posted March 4, 2011 Author Posted March 4, 2011 This and any hook I made it is tested and made to work with IP.Board skin... try the hook in that skin. This hook searchs for specifics strings in HTML; maybe the skinner made it different in that skin.
jefftribou Posted March 4, 2011 Posted March 4, 2011 Yes it's a different skin..Don't you have any idea of what should be changed to make it work? Maybe could you post some manual changes :ermm:
iWeb Posted March 29, 2011 Posted March 29, 2011 Hi again (wow, you sure had created a lot of mods) After installing on a 3.1.4 using a slightly edited default theme, I see no changes in the forum. I already turned it on in the ACP, but see no changes. Is there a certain code that is required in the board index or something?
Adriano Faria Posted March 29, 2011 Author Posted March 29, 2011 Yes, it searchs for specific texts in templates and add the moderator line. If it doesn't find, there's no way to add the text... that's the problem in using slightly edited skin.
arabougAdmin Posted April 25, 2011 Posted April 25, 2011 Nice hook, Is it possible to hide moderators of specific forums from board index?
Adriano Faria Posted April 25, 2011 Author Posted April 25, 2011 Is it possible to hide moderators of specific forums from board index? No since you can't do it in forums as well.
alexp999 Posted June 13, 2011 Posted June 13, 2011 Great hook, not sure if it has been mentioned before, but you have set an id, which does not change for each forum. So every place you have a "Forum Led by" on the board index, it is using the same id.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.