![]() |
yep correct.
damn, c&p ^^ *fixing and uploading the correct file* |
Advance version works perfectly, thanks Xenon:)
|
i'm glad to hear :)
|
Quote:
|
*gg*
we do as well ;) |
Ok, everything seems to work as expected. Great job, Stefan. ;)
The only thing I can suggest it maybe have it so when you click the hidden post option in editpost, that it also works with the message submit buttons instead of only the delete message button. Can that be added very easily? |
hmm, well, not that easy, as the delete button goes to another section of editpost, than the submit button.
well, it wouldn't be hard as well, if you add another checkbox below the signature field maybe ;) |
Wouldn't it actually be better to have it in the signature box area instead of the delete box area? That way it would be in the same place for all of them, right?
|
well, depends on your personal opinion.
I put it into the deletion form, as it was actually meant to make a post of another user invisible instead of deleting it ;) |
Quote:
What do I need to add to get it to work with the submit buttons, too then? |
this hack rocks!!!! thanks Xenon
|
Quote:
|
Yes, that is how it works here, also. ;)
|
cool, just making sure I didnt screw up
|
it uses the moderation system, and that brings one to the forum instead the thread.
no idea why they did that, but well, it's that way ;) i've updated the instructions a bit (thx to my Pal logician for help me finding them). Everyone who has installed this hack and it works, does not need to do anything, there were just a view simple bugs, for some php versions, and also missing TABLE_PREFIXES (damn things ^^) |
I'm getting an odd message when editing the editpost template...
---------- The following template conditional expression contains function calls: <if condition="can_see_hidden()"> Function Name Usage in Expression can_see_hidden can_see_hidden() With a few exceptions, function calls are not permitted in template conditional expressions. Please go back and re-write this expression. The following functions are allowed in template conditional expressions: in_array() is_array() is_numeric() isset() empty() defined() array() can_moderate() can_moderate_calendar() exec_switch_bg() is_browser() is_member_of() -------- Where did I go wrong? I assume it's becuase that function hasn't been added to the phpinclude_start. But where is the phpinclude_start? Installing the advanced version. Thanks |
Jolten, are you sure you edited adminfunctions_template.php?
|
Uhmm.. the instructions don't refer to adminfunction_template at all. They refer to editpost.php, search.php. Then under "template changes" it refers to editpost and phpinclude_start, that's it.
|
I think I know where I went wrong. Istarted with the advanced install and it appears that you also need the regular install. I'll go back install from the regular first then work upwards.
My fault. Thanks. |
Well, the first lines in the advanced install script should be clear i think ;)
Quote:
|
My fault, I know. I went too fast. It's installed now Xenon and working great. Thanks for this!
/me clicks install |
glad to hear so ;)
|
I've uploaded Version 1.01
Thx to Logician who took the time to look through it, this hack now can be used with moderate posts on as well. Alsos a few little bugfixes with some php versions, as well as the preview now keeps the checkbox checked (damn thing if you forget a variable in the template ^^) |
hhmm im getting an error :(
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/synergy4/public_html/forum/showthread.php on line 1435 line 1435 is PHP Code:
|
that's why i said, it's a bit tricky to install this hack.
it's obviously, you have hacked your showthread otherwise before installing the hidden posts, and then just did a search and replace all. the correct line there would have been: Code:
$numbervisible = 1; |
Thanks for this nice hack
I have one problem when editing newreply temblate, i cant save change http://www.damasgate.com/vb/upload/hide.gif Any help plz |
Did you edit adminfunctions_template.com correctly?
|
yes i do it already
|
hmm, try to do the steps exactly as i wrote in the install file.
from your screenshot it seems, you have just misspelled the condition... |
i try it 2 time steps by step exactly
may be i do not have chance to install this great hack |
hmm, maybe your template editor is buggy.
at least it is not in my instructions to put the () BEFORE the can_see_hidden like you did in your screenshot. |
Thanks Xenon for help
maybe next time can do it |
Stefan, I see you fixed the quick reply button for hidden posts here. Can we get the code for that, sir? ;)
|
Quote:
|
I'll update the instructions.
It's just the prototype here on vb.org, i have to make sure, everything works ^^ |
Quote:
|
/me hides because of his lazyness ^^
|
Quote:
|
anyway to unhide a post once its hidden ?
|
the build in manage post feaqture by vb (you see that when a post is deleted) gives you the possibility to unhide posts as well.
|
All times are GMT. The time now is 04:21 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:
|