![]() |
I performed a complete re-install of this product mod on my vB 4.0.7 and the text is now hidden when I select "reply with quote". Actually the hidden text is replaced with ***hidden text*** in bold, and I can live with that. I'm not sure what I missed before.
OK, I figured it out! The situation that causes the text to not be hidden occurs when the option information is not included in the tag. For example, [hide]***hidden stuff***[/hide] will work and only the groups set as the default in the control panel can see it, but if anyone selects Reply With Quote the hidden text will be revealed. However, if the tag is written out completely as [hide='5,6,7']***more hidden stuff***[/hide] then it works properly, even when quoted. The same is true with the [showtogroups] tag. It is not case sensitive, but it does require the options to be specified. Which leads to the next big issue... Now if I can only figure out how to make this mod default the group numbers in the HIDE and SHOWTOGROUPS buttons in the editor. |
Quote:
|
Quote:
|
Quote:
I could always wipe out my whole site and start over with a fresh install of vB and only this mod, but I know I will be in the same place. I've already disabled all the other mods with no change. It isn't practical for me to include the options to list the authorized forums as the list is quite long. Also, if the original poster sees the entire list of authorized forums and can monkey around with that list. That kinda defeats the whole concept of security for this mod. |
GOT IT!
Find at line 685 in vS_HHR_Engine.php: PHP Code:
PHP Code:
Now to figure out the toolbar button prompt issue. The provided instructions are incorrect and lead to a dead-end. |
is it possible to see, where a user have thanks? (which posts/threads)
|
is it possible to import thanx from post thank u hack to this mod
|
Quote:
|
If you want to have the mod use the configured defaults rather than prompt for options when the button in the editor is pushed, consider the following changes.
Go to your plugin manager and edit HHR: Load Editor Buttons (E/2). The variable of interest is twoparams. If it is set to '1' then the button will prompt for one option, however if it is set to zero, the button doesn't prompt at all. It just inserts the tags and you go on with your edit. When the tags are processed by the mod, if no options are specified, it defaults to the configuration entered in the control panel. In my case I have the HIDE tag mapped to SHOWTOGROUPS so my changes to the HHR: Load Editor Buttons (E/2) plugin would look like this: PHP Code:
PHP Code:
|
Psionic Vision can you give me an answere on my previous question ?
|
All times are GMT. The time now is 11:54 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:
|