Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Help] Hide Content From Members
Author Message
Internecine
Junior Member


Posts: 12
Joined: Oct 2010
Reputation: 0
Post: #1
 [Help] Hide Content From Members
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:
Spoiler

(This post was last modified: 10-05-2010, 05:27 AM by Internecine)
10-04-2010, 02:59 PM
Ansem
Member


Posts: 198
Joined: Sep 2009
Reputation: 3
Post: #2
RE: [Help] Hide Content From Members
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.

[Image: dedeno_fullheader1.png] - 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
Internecine
Junior Member


Posts: 12
Joined: Oct 2010
Reputation: 0
Post: #3
RE: [Help] Hide Content From Members
(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.

Thanks.
10-05-2010, 05:29 AM
Ansem
Member


Posts: 198
Joined: Sep 2009
Reputation: 3
Post: #4
RE: [Help] Hide Content From Members
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 ?

[Image: dedeno_fullheader1.png] - 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
Internecine
Junior Member


Posts: 12
Joined: Oct 2010
Reputation: 0
Post: #5
RE: [Help] Hide Content From Members
(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.
10-07-2010, 01:55 PM
Ansem
Member


Posts: 198
Joined: Sep 2009
Reputation: 3
Post: #6
RE: [Help] Hide Content From Members
Wait for the experts, they'll help you out.

[Image: dedeno_fullheader1.png] - 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-07-2010, 04:06 PM
Internecine
Junior Member


Posts: 12
Joined: Oct 2010
Reputation: 0
Post: #7
RE: [Help] Hide Content From Members
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.

Admin, please close this thread.
10-24-2010, 07:43 PM
flamehosts
Member


Posts: 152
Joined: Oct 2010
Reputation: 1
Post: #8
RE: [Help] Hide Content From Members
Very nice i might use this to hide the new Plans page
12-06-2010, 02:40 AM
MaRZoCHi
Junior Member


Posts: 2
Joined: Feb 2012
Reputation: 0
Post: #9
RE: [Help] Hide Content From Members
Hello, did you mean ?

[Image: 1329296816_settings.png]

Thread
Download Hidden Content
02-15-2012, 07:24 PM
tweetwap
Junior Member


Posts: 12
Joined: Feb 2012
Reputation: 0
Post: #10
RE: [Help] Hide Content From Members
i also want this how i do this ?
02-19-2012, 10:35 PM
 




User(s) browsing this thread: