Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.6] Hide To guests
#11
(2010-08-18, 05:45 AM)Adem Wrote: I cant download this Plugin.
When i visit "http://mods.mybb.com/view/hide-to-guests" i bekame the Error:
"Invalid Download
The download you are attempting to view appears to be invalid."

Sorry for my bad English=)

It will be available soon as it needs to be approved by a staff.
Reply
#12
This user has been denied support. This user has been denied support.
Hi... I want to report a new small bug...
Now (version 0.2) as a guest it works perfect... the information is hidden in totality...
But now if im member , im logged and i want to see that hidden post , i get this (picture 1)
   
It shows me the content and the hide tag both!
[Image: img2.png]
Reply
#13
Confused what a shame

If you don't wan't to wait for package approval put this code in 163 line of plugin:
    if (!$hidden)
        $posts = preg_replace('#\['.$mybb->settings['htg_tag'].'\](.*?)\[/'.$mybb->settings['htg_tag'].'\]#s', '$1', $posts);

And should be better.
Reply
#14
This user has been denied support. This user has been denied support.
(2010-08-18, 11:14 AM)marines Wrote: Confused what a shame

If you don't wan't to wait for package approval put this code in 163 line of plugin:
    if (!$hidden)
        $posts = preg_replace('#\['.$mybb->settings['htg_tag'].'\](.*?)\[/'.$mybb->settings['htg_tag'].'\]#s', '$1', $posts);

And should be better.
now is perfect...Big Grin
ThanksWink
[Image: img2.png]
Reply
#15
i think it is not approved yet..
where to find download?
PAKISTAN IT FORUM - http://www.pkitforum.com
Fresh Tips On Blogging - http://www.bloggingbite.com
WebHost Technies - http://www.myliteraturetechlife.com
Reply
#16
When i add in The Post [hide]text[/hide] i cant view it as Administrator.
In ACP i have only add the Group id 1 = Guests
Reply
#17
Replace line 165:
$posts = preg_replace('#\['.$mybb->settings['htg_tag'].'\](.*?)\[/'.$mybb->settings['htg_tag'].'\]#s', '', $posts);
with this:
$posts = preg_replace('#\['.$mybb->settings['htg_tag'].'\](.*?)\[/'.$mybb->settings['htg_tag'].'\]#s', '$1', $posts);

Sorry, I was sure I've added that $1. :x
Reply
#18
Ive installed this plugin here are my settings:
   

I want to hide content inside all
tags , but its not working ?

Ive set the group ID to 4 (hide from admin) just for testing.
Reply
#19
code tag is MyBB core tag and it can't be hidden by this plugin. Try this one: http://mods.mybb.com/view/scd-code-hide-...d-plugin-2
Reply
#20
Brilliant , just what im looking for thanks alot marines
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)