Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Locked Content Plugin H Issue & Questions
#1
First Question:
Does anyone know why "H" shows up on hidden content posts? I am not typing H & it shows on every post that contains [hide][/hide] content. I'm not sure how to remove it.

Second Question:
Is there anyway to change [hide][/hide] to <hide></hide>

Third Question:
Is there anyway to have it automatically show the hidden content when they reply? Currently, they have to refresh the page to view it after replying to the post.


Plugin Used: Lock - Sell content in hide tags for newpoints
https://community.mybb.com/mods.php?action=view&pid=591

Link to the forum thread:
https://goliathnetworks.com/showthread.php?tid=6

Posters View with hidden content unlocked & code: Random letter "H" is showing on the post however I didn't type "H".
http://prntscr.com/sfl70e
http://prntscr.com/sflakt

Members View of hidden content not unlocked: "H" is still showing.
http://prntscr.com/sfl7gi

Members View of hidden content unlocked: "H" is still showing.
http://prntscr.com/sfl7wp
Reply
#2
The H is probably hardcoded somewhere.

Quote:Is there anyway to change [hide][/hide] to <hide></hide>

I don't think so, < and > are parsed differently that brackets ([]).

You can try my version to be able to use [lock] instead of [hide] but I don't offer support (only bug fixes) and I won't be adding new features to it.
https://community.mybb.com/thread-180082...pid1348290

Quote:Is there anyway to have it automatically show the hidden content when they reply? Currently, they have to refresh the page to view it after replying to the post.

It could be possible somehow but not as easy as you might think. For instance you would need to refresh the full message content and not just the tags area. Secondly you would need to figure out if there are hidden tags being displayed to know if there is something to refresh, which is the hardest part.

Anyways, such feature isn't part of the plugin.
Reply
#3
(2020-05-12, 09:00 PM)Omar G. Wrote: The H is probably hardcoded somewhere.

Quote:Is there anyway to change [hide][/hide] to <hide></hide>

I don't think so, < and > are parsed differently that brackets ([]).

You can try my version to be able to use [lock] instead of [hide] but I don't offer support (only bug fixes) and I won't be adding new features to it.
https://community.mybb.com/thread-180082...pid1348290

Quote:Is there anyway to have it automatically show the hidden content when they reply? Currently, they have to refresh the page to view it after replying to the post.

It could be possible somehow but not as easy as you might think. For instance you would need to refresh the full message content and not just the tags area. Secondly you would need to figure out if there are hidden tags being displayed to know if there is something to refresh, which is the hardest part.

Anyways, such feature isn't part of the plugin.

Where would it be hard coded though? I'm looking everywhere and I don't see an hard coded "H". It's been like that since I installed the plugin. That's why I showed the code view.
Reply
#4
To be honest I have no idea. I was requested to update the plugin but frankly it has many flaws or I simply don't understand how it was meant to work properly.

Try looking at the source code. Paste everything that is inside the <div class="post_content"> tag here to see if we can figure something out.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)