![]() |
Quote:
I've altered everything I can think of in the search_results_postbit and search_resultlist templates, with no luck. As long as it strips bbcode and formatting there's no [hide] tags to find and replace. Maybe someone with more knowledge can figure out a fix. |
Quote:
Who are you, NovoCiv? You're so active in this thread. I don't use vS-Hide anymore, so I don't care about it. I believe that you are really interested in fixing this Mod, so you want to find the way yourself? I can give you an idea. You're right, as long as strip bbcode, there's no HIDE tag to replace. So you can re-call it in original, replace the HIDE tag, and rebuild it to display in post. Even, you can use "if - else" fuction to let who has permission to see the content right that moment. And the Hook Location is "search_results_postbit". "search_resultlist" only builds the structure. |
I'm not entirely sure what you're suggesting but I was going to have the [hide] tags add a *hidden* Message here *hidden* inside, so I could preg_replace anything within the *hidden*s. The slight addition in clutter wouldn't be a very big deal to my mod staff if it means patching the vulnerability. The main section we use it for (mod applications) I just disabled searching.
I'd rather have a working tag right away than figure out a fix myself, as I still have quite the backlog of features to develop. If you tell me how you've fixed it I would be very grateful. And to your question of "Who are you?", I used to be a mod at a ~50,000 member flash games website. When I got sick of trying to convince the administration to do things that make it more enjoyable for the members I quit and got my own vBulletin license, then made a website for most of the active members to go where we do everything we can to make it enjoyable. My only coding experience is an intro to Java university course, and I do most of the coding and development myself, so it's a lot of work. I basically look through source code, other mods, and php tutorials to figure out ways to make it do what I want to do. |
Quote:
Quote:
|
Quote:
@ NovoCiv: it's funny if you're going to disable searching system. Bad idea. To fix the small problem, you have a bigger one. I'm already give you an idea, I thought you're interested... So, add a new plugin Product: *Your Product* Hook Location: search_result_postbit Title: Hide when Search (Show Post) PHP Code: Code:
global $vbphrase, $db; |
Thank you! As far as I know my Hide hack is completely patched now :)
|
Quote:
|
But then I would be the one that's not offering support. (I can't support when I hardly understand vbulletin myself).
|
Quote:
But, we need no [HIDE-THANKS]... we (only) need a correct workin' solution for the [HIDE-REPLY] function. Quote:
Quote:
|
They would get more help searching this topic, honestly.
|
All times are GMT. The time now is 09:13 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:
|