Not Solved Hide Tags modification/plugin!
#1
Not Solved
Why another? Because most of the others didn't work for multi-quotes, posts overview (on post reply) etc.

Features

When the [hide] tag is used in posts, only admins, the post owner, super moderators, and those who have replied to the topic are able to see the hidden content (the one that's between [hide] and [/hide]).
  • Adds [hide] tags to quotes (while replying), when the user can view the post.
  • Works its magic on quick multi-quote posts.
  • Removes hidden content from searched posts.
  • Does the required replacement on post overview (when replying)

Installation instruction and download: http://spicefuse.com/hide-tags-pluginmod...-t-87.html

Enjoy ..
Reply
#2
Not Solved
it's working good here, but the hiden contnent it's showing in quick qoute!
Official Arabic Translator.
Reply
#3
Not Solved
Have you edited the file xmlhttp.php correctly?
Reply
#4
Not Solved
Yes I did, I Just replaced "echo $message;" with "echo ht_xmlhttp_quote($message);"

is that right?
Official Arabic Translator.
Reply
#5
Not Solved
Yes, well can you give me an example topic and I will create an account to test it.

Because if you're using MyBB 1.2.3 and have made the modification in correct place of xmlhttp.php, the only error could be that you are using a user that is either an admin (can access cp), a super mod, topic starter, or has replied to the topic.
Reply
#6
Not Solved
here you go
http://www.mybb4arab.uni.cc/-t-393.html
Official Arabic Translator.
Reply
#7
Not Solved
I have just tested it using a new account "asadkn", clicked on the quote button, and clicked "load quoted posts", and it showed me this:

[ quote=Pepo ]
This is a hide contnent test

[ /quote ]

so it's probably working alright. Create a new account and test it for yourself.
Reply
#8
Not Solved
oppsssssssss, yes I was wrong...... ther is 2 lines have the same "echo $message;"
I replaced it with the wrong one,
thnx dude....
Official Arabic Translator.
Reply
#9
Not Solved
ohh and just found a bug that I fixed it. Only "Quick Edit", it was showing the [hide] tags to moderators too or anyone with edit permissions. Not really that it matters to everyone, but it matters to me, so I have updated the zip file and instructions.

and Glad to know it worked for you, pepotiger, and thanks for testing.
Reply
#10
Not Solved
thnx dude, I Have a little question..

If I want to replace the "Hidden Content:" word with a picture.. I can just replace that line
$replacement = "<span id='hidden-text'><strong>Hidden Content:</strong></span><br />
with
$replacement = "<img src='images/hidden2.jpg' alt='UnHidden Content (reply to view)' /><br />

is that wight?
Official Arabic Translator.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)