Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted March 19, 201015 yr File Name: (SOS30) Forums Moderators in Board Index v1.1.0File Submitter: Adriano FariaFile Submitted: 19 Mar 2010File Updated: 20 Mar 2010File Category: Modifications This MOD will show the forums moderators on board index.Click here to download this file
March 23, 201015 yr When I make the edits in the admin/applications/forums/sources/classes/forums/class_forums.php step I get errors and cant go any farther. Anyone else having issues? Says there are errors in certain lines. Can anyone help?
March 23, 201015 yr Post the error that shows on your board. This was the error I was getting:Parse error: syntax error, unexpected T_ELSE in /home/sphlforu/public_html/admin/applications/forums/sources/classes/forums/class_forums.php on line 666 Line 666 and line 700 are the two lines in my class_forums file where the modifications are to be made. Line 665 is: 'gid' => $r['group_id'], which in the instructions it states to put below that (which is line 666) 'mgroup' => $r['member_group_id'], Well on that line directly below that the line is empty except for this ; ) (there is no space between the two I had to use one to not make a emoticon) I have been putting the 'mgroup' to the right of the ; ) directly under the 'gid' as stated in the instructions. Is there something I need to do different?
March 23, 201015 yr Author No, the edits are exacly as asked on Readme.html. Take a look carefully 'cause PARSE ERROR is bad edit on file.
March 23, 201015 yr No, the edits are exacly as asked on Readme.html. Take a look carefully 'cause PARSE ERROR is bad edit on file. Well, when i put things where the instructions say I get the error and it makes my board inaccessible. Is there any way you could copy and paste the two edits in your Class_forums file so i can see what it looks like? I am obviously doing something wrong and can't figure it out.
March 23, 201015 yr This is both the edits I make and this is what makes me receive the error. Did I do something wrong?
March 23, 201015 yr Author Tested again: The edits are exacly that on Readme.html. Nothing more; nothing less... As I told you, PARSE ERROR is wrong edit on PHP file. Be carefull with } and { on script.
March 23, 201015 yr So do I not include } and { at the end of both edits as it's shown in the readme.html? I am merely copying and pasting what is in the readme.html and it's not working. The error I'm getting is coming from this edit 'mgroup' => $r['member_group_id'], I am merely copying and pasting it where the file says so if you can't offer any more help then I guess I can't use this hook.
March 23, 201015 yr Author Buddy, I simply copy and paste here and works for me! Just PM me and I'll give you my e-mail. Then you send me your files... I'll edit this for you! EDIT: it's up to you use this or not.
March 24, 201015 yr Buddy, I simply copy and paste here and works for me! Just PM me and I'll give you my e-mail. Then you send me your files... I'll edit this for you! EDIT: it's up to you use this or not. PM sent...
March 24, 201015 yr I see what I was doing wrong now by looking at your edit that you did for me. I have it completely installed now and it looks great! Thank you very much for all your help and for developing such a useful hook!
April 10, 201014 yr i do all the changes in the files and templates and i cant get it to work..... EDIT: Fixed the problem
April 20, 201014 yr Hi, How can I set the group moderators in order? For example, Global moderators first, then the moderators, then users.
June 3, 201014 yr Author Is this mod working for 3.1? Anyone know? Doesn't work for 3.1. Would love an update though! Waiting to be approved: http://community.invisionpower.com/files/file/3193-sos31-forums-moderators-in-board-index-v100/
June 4, 201014 yr Waiting to be approved: http://community.invisionpower.com/files/file/3193-sos31-forums-moderators-in-board-index-v100/ So we are waiting for 1.0.1? I see 1.0.0...is it still up for approval?
Archived
This topic is now archived and is closed to further replies.