Current time: 11-21-2024, 09:24 PM Hello There, Guest! (LoginRegister)


Announcement
We have the biggest collection of MyBB Plugins here on the Net. We have currently 175+ MyBB Exclusive Plugins, 80+ MyBB Compatible MyCodes and 16+ MyBB 1.4.x Themes (Some are still under construction...) Thus, we provide you the largest MyBB Stuff on the net including tutorials. Stay with us, you will find out some more to come.
Now you can easily create your own buttons set for MyBB! Click here to have a look...
*** You cannot do your registration behind any Proxies anymore! ***
Welcome Guest[3.144.31.86], connected from
Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Plugin for Mybb 1.4.*] Hide Posts Until Reply!
12-14-2009, 03:47 PM
Post: #21
RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply!
(12-14-2009 03:46 PM)Svizy Wrote:  
(12-14-2009 03:45 PM)babjusi Wrote:  
(12-14-2009 03:39 PM)Svizy Wrote:  Just for comfirmation, this edit will restrict "normal" administrators from viewing the hidden content while super administrators will be able to see it without repliying? Smile


Yes, isn''t it what you wanted?
Yes, I just wanted you to comfirm that Tongue Sorry if I've confused you Wink

No confusion at all Big Grin

babjusi's signature
Find all posts by this user
Quote this message in a reply
12-14-2009, 04:20 PM
Post: #22
RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply!
How can I make it to hide automatically the urls instead the hide?

I look into the code and if I replace this:
PHP Code:[Highlight]
'#\[hide\](.*?)\[/hide\]#siU' 

For this:
PHP Code:[Highlight]
'!<a[^>]*(http|www)(.*)</a>!siU' 

I Have problems cause the links are not showing Huh

How can I made this little conversion?

Tnx!

Rafael_mybb_import479's signature -Rafael
Im a Big MyBB Fan!!! Cool
My Forum
My Blog

[Image: signature.png]
Visit this user's website Find all posts by this user
Quote this message in a reply
12-14-2009, 04:23 PM
Post: #23
RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply!
It is a bit more complicated than that Rafael. It would require some other edits and atm I am extremly busy to look into that. Maybe later on if I get some free time I will create such a plugin to automatically hide the links when posted but I can''t promise anything.

But all you have to do is place the links between hide tags.

babjusi's signature
Find all posts by this user
Quote this message in a reply
12-14-2009, 08:09 PM
Post: #24
RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply!
Awesome hack. It works perfect at my forum. There is no way to see the hidden links.
Find all posts by this user
Quote this message in a reply
12-15-2009, 10:15 AM
Post: #25
RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply!
The replacement code you've gave me that would make hidden content viewable only by super administrator is not correct Wink
But I've decided that I'll use it the way it is (without changing) *installs into actual forum*

Svizy's signature [Image: Sig.png]
Find all posts by this user
Quote this message in a reply
12-15-2009, 11:11 AM
Post: #26
RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply!
(12-15-2009 10:15 AM)Svizy Wrote:  The replacement code you've gave me that would make hidden content viewable only by super administrator is not correct Wink
But I've decided that I'll use it the way it is (without changing) *installs into actual forum*

I didn''t test it but if it didn''t work, simply put their id at the settings for the groups and you will be all set Smile

babjusi's signature
Find all posts by this user
Quote this message in a reply
12-15-2009, 05:09 PM (This post was last modified: 12-15-2009 05:09 PM by Rafael_mybb_import479.)
Post: #27
RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply!
(12-14-2009 04:23 PM)babjusi Wrote:  It is a bit more complicated than that Rafael. It would require some other edits and atm I am extremly busy to look into that. Maybe later on if I get some free time I will create such a plugin to automatically hide the links when posted but I can''t promise anything.

But all you have to do is place the links between hide tags.

Ok, If you can, do it Smile

Thanks!

Rafael_mybb_import479's signature -Rafael
Im a Big MyBB Fan!!! Cool
My Forum
My Blog

[Image: signature.png]
Visit this user's website Find all posts by this user
Quote this message in a reply
12-15-2009, 07:38 PM
Post: #28
RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply!
I want something like this:

Show a Image instead a Text Message but, I have problems.

How can I Add a Image with a link to reply the post Im trying with this but doesnt work:
PHP Code:[Highlight]
<a href="{$mybb->settings['bburl']}/newreply.php?tid={$tid}"><img src="{$mybb->settings['bburl']}/path/to/image.lol" title="Anything" alt="Anything"></img></a

How Can I do that?

Rafael_mybb_import479's signature -Rafael
Im a Big MyBB Fan!!! Cool
My Forum
My Blog

[Image: signature.png]
Visit this user's website Find all posts by this user
Quote this message in a reply
12-15-2009, 08:34 PM
Post: #29
RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply!
(12-15-2009 07:38 PM)Rafael Wrote:  I want something like this:

Show a Image instead a Text Message but, I have problems.

How can I Add a Image with a link to reply the post Im trying with this but doesnt work:
PHP Code:[Highlight]
<a href="{$mybb->settings['bburl']}/newreply.php?tid={$tid}"><img src="{$mybb->settings['bburl']}/path/to/image.lol" title="Anything" alt="Anything"></img></a

How Can I do that?

You should use the img tag, like this:

<img src="image url" alt="" />

For ex, if the image that you want to use is at the images directory and named hidden.gif, you would use this code:

<img src="images/hidden.gif" alt="" />

Let me know how it will go.

babjusi's signature
Find all posts by this user
Quote this message in a reply
12-16-2009, 01:27 AM
Post: #30
RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply!
Have the same problem, the image loads good, but I want to add a link on the image and dont work.

You can take a look at here

Im using the code that you give me.

The problem is on the TID.

Thanks!

Rafael_mybb_import479's signature -Rafael
Im a Big MyBB Fan!!! Cool
My Forum
My Blog

[Image: signature.png]
Visit this user's website Find all posts by this user
Quote this message in a reply
0 member(s) viewed this thread in the last 365 days :
Post Reply 


Was This Thread Useful ?
Please Link To Us
URL
BBCode
HTML

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Minimum number of posts to enter forums. babjusi 10 7,027 10-12-2018 08:59 AM
Last Post: exdiogene
  [Plugin for Mybb 1.4*] Maximum Posts per Day babjusi 13 5,362 10-18-2016 08:01 PM
Last Post: asd4129
  [Plugin for Mybb 1.4*] Supermoderator Restriction babjusi 7 14,016 01-24-2014 03:54 AM
Last Post: Technoman
  [Updated With Extra Options][Plugin for Mybb 1.4*] Guests and lurkers restriction! babjusi 33 11,776 05-28-2012 01:01 AM
Last Post: Madness
  Hide Posts Contents from Guests babjusi 17 8,830 05-08-2012 09:40 AM
Last Post: rsfera

Forum Jump:

 
New To Site ?
Some Useful Links
  • Help

  • You Might Need To Register

  • Forum Statistics

  • Mark All Forums Read

  • Forum Staff

  • Log Out
  • Contact Us

  • Mybbcodes

  • Return to Top

  • Return to Content

  • Lite (Archive) Mode

  • RSS Syndication
  • Powered By MyBB, © 2002-2024 MyBB Group.
    Golden Crown - Designed and Published by ghazal & exdiogene of MyBBCodes.
    Hosting provided by WWWHostingServer.com