Advertisement:

Author Topic: Admin Only BBC  (Read 6345 times)

Offline ɔɔɔɔɔɔuɥoɾ

  • SMF Hero
  • ******
  • Posts: 2,742
  • Gender: Male
  • Community Support Helper SMF forums ftw!
Admin Only BBC
« on: August 19, 2010, 11:03:06 AM »
Link to Mod

This mod will allow admins (or anyopne that knows about the tag) to add information
to anyone's post and only admins can see this.
Useful if you want a public discussion, but want to only share some information
with other Administrators.

Syntax

[only_admin]content here[/only_admin]
« Last Edit: August 19, 2010, 09:48:20 PM by JohnCcCcCc »

SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Offline Winter

  • Newbie
  • *
  • Posts: 5
Re: Admin Only BBC
« Reply #1 on: October 08, 2010, 07:35:37 AM »
Is this mod customisable? What I mean is - Is it purely admins only, or can permissions be set? I don't want to give administrator access to the people I want to see this secret information.

Cheers :)

Offline ɔɔɔɔɔɔuɥoɾ

  • SMF Hero
  • ******
  • Posts: 2,742
  • Gender: Male
  • Community Support Helper SMF forums ftw!
Re: Admin Only BBC
« Reply #2 on: October 08, 2010, 09:29:46 PM »
This is purely an admin only bbc, I want to keep the SMF coding as simple as possible, that's why I made separate mode for guests admins and members logged in.

SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Offline Seabass

  • Newbie
  • *
  • Posts: 6
Re: Admin Only BBC
« Reply #3 on: November 08, 2010, 08:13:15 PM »
Very cool idea. However, anyone who is quoting a message with [admin_only]text[/admin_only] sees the "hidden" text.

Offline Seabass

  • Newbie
  • *
  • Posts: 6
Re: Admin Only BBC
« Reply #4 on: November 08, 2010, 08:14:19 PM »
Very cool idea. However, anyone who is quoting a message with [admin_only]text[/admin_only] (or [only_admin]text[/only_admin]) sees the "hidden" text.

Offline ɔɔɔɔɔɔuɥoɾ

  • SMF Hero
  • ******
  • Posts: 2,742
  • Gender: Male
  • Community Support Helper SMF forums ftw!
Re: Admin Only BBC
« Reply #5 on: November 20, 2010, 09:00:38 PM »
The quote tag takes other tags into account, so it should still be hidden, the only one that may reveal the hidden text is in a  tag or a [nobbc][code] tag

SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Offline Sakae

  • Full Member
  • ***
  • Posts: 498
  • Gender: Male
    • TigreLOG
Re: Admin Only BBC
« Reply #6 on: December 14, 2010, 04:31:33 PM »
Are you re-coding this? I don't people quoting my text and reading secret information...
http://www.tigrelog.com.br
l: simple p: machines

Offline Scratching my Head

  • Jr. Member
  • **
  • Posts: 172
  • Yes. I see. Thanks.
Re: Admin Only BBC
« Reply #7 on: May 10, 2012, 12:37:04 AM »
Not compatible with SMF 2.0.2

 :'(

Offline FireDitto

  • Full Member
  • ***
  • Posts: 617
  • Gender: Female
  • Shadow In The Flame
    • @SPWeyr on Twitter
    • Second Pass Weyr RPG
Re: Admin Only BBC
« Reply #8 on: March 29, 2014, 08:30:40 AM »
Indeed; It installs fine but it doesn't work :(
Second Pass Weyr
An AU Pernse RPG

SMF 2.0.6 with SP 2.3.5

Offline Impsat-1

  • Jr. Member
  • **
  • Posts: 321
Re: Admin Only BBC
« Reply #9 on: April 27, 2014, 08:24:23 PM »
Wow... great idea, but DOESN'T WORK in SMF 2.0.7 :(.... pleaseee, UpDate... or Re-Setting the source code ;)


Thanks & Regards 8)
« Last Edit: April 27, 2014, 08:36:28 PM by Impsat-1 »
Vive Cáda Momento De Tu Vida Como Si Fueras a Irte Mañana, Más Planificala Cómo Si Jamás Fueras a Irte ;).-