![]() |
Oh sorry, don't bother. I reinstalled it and it worked fine. I must have accidentally deleted something earlier.
|
Oh, alright then. :)
|
Oh I do have another question though - how do I make this hack appear to people using different styles? We've got two main styles, but only users of one of them can make use of this hack.
|
What do you mean? Sorry I don't get it. :)
|
under styles in the CP, we have "default" and "no ticker". "no ticker" was created for the people who use macs because our news ticker doesn't display correctly on their machines. They have the options to change styles in their user cp. The ones who change to no ticker are unable to use the hidden message feature.
|
great idea for a hack
will come in handy // EDIT // for some reason it wont show the $post[hidden] even when it is hidden :confused: |
*bump*
|
Just added to my board and worked perfectly! :D
Thanks for that! |
Added to board few days back and just had a regular member hide a post...
What and how did he do that? I can read it and am starting to wonder if he can actually read the hiden messages? |
FireFly ask u one question~
if i want to add the option to when i post a new thread how should i do??not add to the replythread~~ and another question: can i replace the userinfo[usergroupid] to userinfo[posts] is this can work even i replace the userinfo[fieldx] can i do that and work well i need ur answer~ :) |
I am having the same problem as holey. what is the problem???
|
What problem would that be?
|
Firefly.. Thanks for responding. here is the problem i am having..
When i put the $post[hidden] variable in the posbit template. it doesn't show up when a post is hidden.... I am not sure why though.... Thanks .=)) i hope you are able to help me. |
*bump*
|
Brilliant hack...
I will recommend that we install this at our Forums! Satan |
Firefly?
|
Did you hack functions.php to set $post['hidden']?
|
yeah... i checked it a few times. can't figure it out..
your instructions ion the text file say $post[hidden].. not $post['hidden'] here is the part of functions.php Code:
|
No, my post says $post[visible]!=1.
|
ohhh! oops. let me try.. sorry about that...
|
hmm it still didn't work....
|
Paste the code you have there now.
|
sure doing that now...
Code:
I knwo the post is hidden.. but i can't get it to show it in the postbit...... |
Replace the first line with:
Code:
if (ismoderator() and !$post['visible']) { Are you sure you have $post[hidden] in the template and you're using the right style set. |
yeah. i only have 1 style.. you want me to show you the post bit also?
i am trying your edit now.. iw ill lety ou know. still didn't work.. here is part of my postbit... Code:
<td bgcolor="$post[backcolor]" width="175" valign="top" nowrap> |
I really don't know then, sorry.
|
that is ok. Thanks for trying FireFly...
|
does this work for 2.2.5? anyone?
thanks in advance! |
better yet...will it work with 2.2.6???
|
i just love the quick responses to questions here. :D
|
just tried it in 2.2.5
no go. showthread.php has changed |
What part can't you find?
|
There is a bug.
If a Mod or Admin quote a hidden text all user can see the text. Maybe in this case, the post should be automatic hidden ? Sorry for my pour english. e@sy |
yup no-go in 2.2.6
|
No go...
I get a parse error if I try and add it to functions.php Satan |
So...
Can anyone help? Satan |
Firefly?
|
I got it to work!!!!!
|
I've been looking for a hack like this for ages, to bad I didn't see it till now.
I have a neat suggestion for a better hack. :cool: Allow moderators and admins to use a comment syntax, that would allow all text after // or between the /* */ to be invisible but only visible to moderators and admins. This would be more helpful, because if an admin/moderator wanted to edit someones post putting comments inside of it, they could! Or if an admin/moderator wanted to mock somebody's post by filling it with comments throughout, they could! ;) How about it Firefly, pweeease :) |
Good idea but it would be be harder for mods to notice which text is hidden and which isn't, and they might quote it in public.
I think the current version is pretty good. :) |
All times are GMT. The time now is 04:11 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|