I'm trying to develop a plugin that hides content from members with below the specified posts or rep using MyCode (eg: [hide=posts=10][/hide] would hide the content from members with less than 10 posts). I think I've pretty much sorted that out but after uploading the plugin to my forums, the MyBB Plugins page won't show any plugins what-so-ever. I would post this at the MyBB forums but from what I can tell it's a problem with my plugin specifically, not MyBB itself. If anyone has come across this problem themselves and has an idea on how to fix it, any help would be greatly appreciated.
Thanks in advance.
Source:
(This post was last modified: 10-05-2010, 05:27 AM by Internecine)
Well if you can't give us any example we can't help you whatsoever.
1 Did you upload the plugin files to /inc/plugins/ ?
2 Perhaps sharing the code might help the people here to fix the issue.
No one can get there hands dirty on something they don't have.
- My website to learn Japanese and about Anime&Manga
Quote:So many are still waiting for their new beginning, their birth by sleep. Even me and even you,
(10-05-2010 03:09 AM)laeresh Wrote: Well if you can't give us any example we can't help you whatsoever.
1 Did you upload the plugin files to /inc/plugins/ ?
2 Perhaps sharing the code might help the people here to fix the issue.
No one can get there hands dirty on something they don't have.
Edited the original post to include the source. And yes, I did upload it to the right place.
Well, i'm no expert, but i'll still try and help out.
What i can't seem to find is the part where it checks for the MyCode.
Secondly, i nowhere see a part where it checks for the users posts ?
Am i looking over them ?
- My website to learn Japanese and about Anime&Manga
Quote:So many are still waiting for their new beginning, their birth by sleep. Even me and even you,
(10-06-2010 11:28 PM)laeresh Wrote: Well, i'm no expert, but i'll still try and help out.
What i can't seem to find is the part where it checks for the MyCode.
Secondly, i nowhere see a part where it checks for the users posts ?
Am i looking over them ?
Thanks for your response. As for your questions, no you're not over looking them as they're not included in the source. I didn't include them because I know they're not part of the problem as I tested the plugin with just the hook functions and it worked fine.
Ok I've worked it out. The problem was with the way I was inserting the settings, they were conflicting with another mod I had installed. Thanks for your help everyone.