![]() |
should i also reload the product (just in case)?
|
Yes, I've updated the printthread plugin in the product.
|
am i doing something wrong? when i click New Posts i can see the threads that are supposed to be hidden (from my test account)...however when I click them it says i don't have permission. The problem is when I hover over the link it gives me the preview of the thread...sort of defeating the purpose of the hack?
|
This is an error I am working on currently, I am sorry for the current inconvience, it should be patched and fixed within the near future hopefully :D
EDIT: Wait, is this on forumdisplay or forumhome? When you view a forum you see the thread? Because that means you must have missed an edit somewhere. The only place a none viewable person can find out if a private thread exists is through forumhome's lastpost bit. I am currently working on making it so they cant see that either. |
mine can be seen from the vbcmps screen... that's the only problem with this hack. it doesn't display in forumdisplay, and follows its permissions accordingly...
is there any way i can help? thanks drex |
the problem lays with the file latesttopics.php from VB advanced CMPS. i have been looking at the template file, adv_portal_latesttopicbits .....
the first is the query and the second is the display thread. |
That's one of the things I'm still trying to work on. The original version also did not prevent threads in private threads from showing in the lastpost column or on a vbacmps page. What needs to happen is that the permissions check needs to occur, but if the user does not have the permission, the next latest thread needs to be found (and the process must repeat until there is a viable thread).
|
using the search.php for today's posts, it still shows up for the unauthorized users...... :ermm:
|
Have you performed the file edits in search.php? Can you copy for me the code you've placed for the two file edits (and the surrounding code)?
|
missed one file edit in search.... now if it wouldn't display in forumhome....
here are the edits in forum (the search is fixed).. PHP Code:
|
Quote:
|
it is a great hack.
just a few more tweaks, and its a winner! |
Quote:
And Eikinskjaldi is really sticking with making it work! Thanks. |
Quote:
However, as far as placing all the threadbits into forumdisplay, private threads that one doesn't have access to will not display. I'm working on this, so that the hack can really be complete and surpass the original, but I also have other stuff going :) |
that's cool. i don't mind that it displays. the problem is the preview. is there a way to just shut the preview off, so that the message preview does not display; i wouldn't care that the thread title displays, just kill the preview on the private messages?
thanks! |
Can you possibly PM me a link so I can see this because I can't seem to get the same erro you are recieving. On my forum home it shows the forums last post stuff, but doesnt give any data, in forumdisplay when you view that forum a user who cant see a private thread shouldnt be able to know it exists, let alone hover there mouse over for a preview. This might be an error with the hiding code if this is going on.
|
ok, my bad. it only says 'go to first unread post in [thread name]' when you hover over it.
so, the security permissions are working well. the only way people know a thread exists (and who is posting in it), is via the known VBcpms and forumdisplay routes, as described above. will be using this, but can't wait for it to be complete when the above is tweaked! thanks! -d |
how about this... in forumdisplay, suppose one could modify the code to display the author as private instead of the authorname. that would solve the problem temporarily.
|
Well that was an idea I had, to Automatically change thread name and posted to 'Private' but I just don't think it would look good on the forum in general and so I am working on a work around.
|
not workarounds!!! :nervous:
workarounds always seem to bite you in the long run. |
Well it isnt a work around, its a fix to a problem :P
|
This is gonna be one awesome hack!
Your first one, right? |
My first at least for 3.5, and my first released, yes.
|
Quote:
Code:
// show results as posts Code:
// threadbit_deleted conditionals |
No, that's quite correct and matches what I have for private threads in my search.php file. And you say they're showing up when you do NOT have permission to view them on a "New Posts" search?
|
Quote:
http://www.worksafeboredom.com/content/ go there, click Today's Posts (or register and do New Posts) and you should be able to see a thread named Test w/ a preview of, "You can see this can't you?" |
Hmmm.... The next best thing to try is to uninstall the entire hack, and try at installing it again. Ensure that all of the plugins are turned on, and that all the file edits have been made.
Might I ask when you downloaded the package? It has been changed quite a few times in the past few days. Sorry about that. Also, if you need any help installing it or wish me to do it then just drop me a PM. I have some free time this week so it wouldn't be to much of a problem :D |
Quote:
I'll uninstall/reinstall right now and tell you what I find. :) nope, no luck. still showing up under New Posts. |
Thats just bizarre, I can't replicate it and I don't see anything in the code you posted, is there by chance anything that could be blocking it?
Any other hack that might be getting in the way. |
Quote:
EDIT: well..that was it. i turned off Thread Prefixes and the thread disappeared...*dang* :( i know you're busy but if "one day" you get a chance to work through that I'd appreciate it :) I have to use thread prefixes for a NWS section on my site that i want CLEARLY marked (so i require the prefix) so i can't keep that plugin disabled. :( thank you for all the help so far though! |
Try changing the order of the plugins, as I'm certain this is causing the problem. I, too, have thread prefixes running alongside Private Threads.
|
isn't this something that vBulletin already does? I know i have private password protected forums..
|
This is not password protected, this allows the poster of a thread, in this case a mod and up the ability to restrict who can post and read said thread.
|
Quote:
|
Well aside from removing it and putting it back the only other method is to find the file the edit is in and then add the code you want directly before it, saddly it lacks a plugins less code dits feature, but it is not a standard vB feature to change the order of plugins as far as I can recall.
Possibly a future vB update? |
Quote:
Also, will it ever be possible to change a thread that's already been created into a private thread? right now i make the changes under Edit Thread but they won't stick. Or is this a bug and I've screwed up again? ;) |
hmm... I am not getting this error either. Is your system heavily hacked, because if it is you may have to end up moving the plugins into file edits to make it the most compatible. If you'd ever like help with that just drop me a PM and I can figure it into my sced.
|
this will come in handy, thanks.
|
How is this currently working for 3.5.4?
|
It is working well, We have noticed few to no errors.
I have been busy with new endevors and have but this on the side burner a bit, anyone watching our forums will know we have been busy in many other places and facets. However I have not forgotten about this and I will be making updates in the near future. Really th only two cruxxes are,
The first issue is not so serious in my opinion and is a small change. The bigger issue is the second point which would involve making the query skip private threads a user can't see. This would mean an advanced query and I havn't had time to play with such. However I am shure it is possible by all means. Once those two issues are solved it is prestine and ready to go as a full hack. However if those two things don't bother you much then it is a non-issue and your set to install! -Eikin.- |
All times are GMT. The time now is 01:02 PM. |
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:
|