|Printable Version of Topic
Click here to view this topic in its original format
|Jcink.com Forums > General Support > Self delete and hide tag [SOLVED]|
|Posted by: angelicbab Jun 11 2018, 04:43 AM|
I'm very new here and to this whole forum creating thing and also english isn't my native language, so I apologize if I do something wrong or misunderstood what you say.
My first question is - how to I enable self delete option for our members, so they can delete both their replies and topics? Just their own, not anyone's else. I'm creating RP forum so that's why. Also if it's possible for me to see when someone delete their reply/topic somewhere. I know there is option, at least I saw post from 2011 where it was enabled, I just can't find where it is.
My second question is about hide tag. Better said, if there's something that enable ONLY CERTAIN USERS (for example those who you tag) to see your replies, not everyone who reply. It's because my future RP partners want "private games" so no one else than tagged users can see. Is this somehow possible?
Thank you for your help.
|Posted by: jess the hufflepuff Jun 11 2018, 06:13 AM|
For Question #1: yes. go into the acp > users & groups and for each user press the edit button. If you scroll a bit, there's a option that says "delete own replies" and then another "delete own topics".
You could probably see if they have been deleted in the MODCP in the moderation logs!
#2 though, I have no idea about that. Maybe someone else knows?
|Posted by: angelicbab Jun 11 2018, 07:10 AM|
|Thank you very much for your help, works perfeclty! Can I see who deleted their topics/replies though? Just in case the private games thingy won't get solved, so no one stalks someone else's game (so they won't add reply to see what they play and then delete it so one can punish them for it).|
|Posted by: mrslucky Jun 11 2018, 07:12 AM|
| for #2, I have one idea: setting it into a new bbcode with 2 params, param 1 for the username and param 2 for the content.
so it's like
<div class="member-name">(PARAM1)</div><div class="rp-content" style="display: none">(PARAM2)</div>
its idea is similar like a spoiler (hence the display:none on the rp-content class).
|Posted by: angelicbab Jun 11 2018, 07:30 AM|
| This sounds really cool, MrsLucky! I'm really sorry for being annoying, I'm just still very new to this so I'm kind of confused. How should I use what you wrote, please?
Oh, small problem - just noticed that if I delete post through non-admin (just member) account, it still stays there. Clicked on delete three times and it won't delete itself. EDIT: Nevermind, just found out how to fix this problem with deleting replies!
|Posted by: mrslucky Jun 12 2018, 12:43 AM|
| well, duh! I forgot to list the instructions sorry, my bad. no, that's not right, you're not annoying at all.
ok, so navigate to acp > custom bbcodes > add new bbcode. fill the name (like 'hiderp' for example, you can choose another name of course!), on the "bbcode param type" choose "2 param", and on the html conversion part paste the html code I've provided earlier. display on form is up to you, but you might want to set it as "yes".
then navigate to skins & templates > board wrappers. choose a board wrapper, and ctrl+f <% COPYRIGHT %>. below the <% COPYRIGHT %>, paste this:
if you have any questions just let me know
|Posted by: angelicbab Jun 12 2018, 05:45 AM|
| Hello and thank you for this! I did it as you said. The new BB code shows up when I'm writing new post. When I click HIDERP, it looks like this: [HIDERP=x][/HIDERP]
Does the x stand for someone's username and the post should be written between [HIDERP=x] ... [/HIDERP]?
When I wrote it between, it ended up like this: http://thesinners.jcink.net/index.php?act=ST&f=22&t=34&st=0#entry67
If you'd need to, I can give you my admin username and password.
|Posted by: mrslucky Jun 12 2018, 05:54 AM|
| yes, indeed. x for the username and the post is written between the tags
uh, no need for an admin account, a test account is enough. do you have any test account registered on your board? thank you
|Posted by: angelicbab Jun 12 2018, 10:06 AM|
| Yes, I have an account through which I try new functions! Just a sec
And one simple question - is it possible to write there more than one username? For example if I play in private with three people, can I use it like: [HIDERP=first player, second player] ... [/HIDERP]?
|Posted by: mrslucky Jun 12 2018, 10:11 PM|
| ok, so go to acp >> custom bbcodes >> manage bbcode. edit your [hiderp] bbcode, replace the code in the html conversion with this:
sure you can, replace the code between the <script> and </script> tags in your board wrappers with
haven't tested it yet so please let me know if it doesn't work
|Posted by: angelicbab Jun 13 2018, 03:23 AM|
| Okay so I've tried it! This is how it looks like inside my board wrappers:
Part which I highlighted is your code. When I pasted both codes (one in wrappers, one inside bb codes), this is how it looks like when I use HIDERP in forum:
Reina Ann is my character which I used for test.
Inside the post it looks like this:
I tried multiple variations for tagging just to be sure which one might be wrong. As you can see, it shows name of the person I tagged in post, but not the part between [HIDERP]...[/HIDERP].
Hope it helps!
|Posted by: mrslucky Jun 13 2018, 03:26 AM|
| oh my, I'm sorry, replace the code in the board wrappers with this:
|Posted by: angelicbab Jun 13 2018, 10:32 AM|
| It works!! Thank you so so much, you're great! If anything crashes, I will let you know. One last question, if somebody wanted to play with more people in private, should I just copy this part:
EDIT: Nothing, made it work! Thank you very much again from me and our players.
|Posted by: mrslucky Jun 13 2018, 09:22 PM|
|you're very welcome, glad that it works! indeed, don't hesitate to let me know if there are any errors!|
|Posted by: John Jun 14 2018, 09:03 AM|
|This topic has been solved. If you need anymore help please post a new thread. Thanks for choosing Jcink services.|