DragonByte Tech | vBulletin Mods & Addons - Powered by vBulletin



DragonByte Tech Proudly Hosted By Hivelocity.net
Cloud Servers from HiVelocity Hosting / Sparknode

View Issue Info: Disable editor Post-Template entry for groups without permission

Category:
"How Do I?"
Status:
Answered
Priority:
N/A
Forum Version:
Enter the forum version you are running.
4.1.12
Support Agent:
Belazor

User Tag List

  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Results 1 to 3 of 3

    Thread: Disable editor Post-Template entry for groups without permission


    Forum: vB Post Templates

    Support / Suggestions for vB Post Templates.
    Click here to download!

    1. #1
      Member
      Level 4 (2,798 Loyalty Points)
      This user has no status.
       
      I am:
      ----
       
      angus's Avatar
      Gil
      720 (0 Banked)
      Total Contributions For

      angus      $ 0.00
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      Join Date
      Aug 2011
      Posts
      74
      Points
      720
      Credits
      110
      Problems Posted
      0
      Problems Solved
      0
      Best Answers
      0
      Good Answers
      0
      Rep Power
      2

      Default Disable editor Post-Template entry for groups without permission

      I wonder why the Post Template button/popup/entry at the end of the editor toolbar is shown, if there is no permission for usergroups to use the function.

      I only want that moderators can use the templates. So itīs not necessery to show the function for all usergroups.
      How can I do this?

      Is there a possibilty to work with vb conditionals, and if so, where?
      http://www.dragonbyte-tech.com/signaturepics/sigpic4598_1.gif

    2. #2
      Founder
      Level 5 (3,164 Loyalty Points)
      is finally done working on vBShop
      for now xD
       
      I am:
      Sneaky
       
      Belazor's Avatar
      Gil
      55,738 (460,361 Banked)
      Total Contributions For

      Belazor Points (Total)      $ 0.00
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      Join Date
      Dec 2009
      Location
      Glasgow, Scotland
      Age
      26
      Posts
      12,231
      Blog Entries
      13
      Points
      55,738
      Credits
      144,680
      Problems Posted
      0
      Problems Solved
      3
      Best Answers
      0
      Good Answers
      2
      Rep Power
      10

      Default

      Change the vB Post Templates: Add To CKEditor plugin to this code:
      PHP Code:
      if ((vB::$vbulletin->userinfo['permissions']['vbpt_permissions'] & vB::$vbulletin->bf_ugp_vbpt_permissions['vbpt_use']) OR (vB::$vbulletin->userinfo['permissions']['vbpt_permissions'] & vB::$vbulletin->bf_ugp_vbpt_permissions['vbpt_use_defined']))
      {
          
      $this->config['_extraPlugins'] .= ',PostTemplates';
          
      $this->config['toolbar'][count($this->config['toolbar']) - 1][] = 'PostTemplates';

      Fillip Hannisdal
      Founder & Programming Director
      DragonByte Technologies http://www.DragonByte-Tech.com


      Please do not Private Message me with support requests or product questions. PMs are only for exchanging sensitive information (like FTP / AdminCP logins).
      Please do not Private Message me with business related queries (refunds, complaints, feedback, etc). Decado is the person to PM for those issues.
      Please do not Private Message Decado with support requests or forum errors.

      When I say "Hotfix Released" it means you should re-download the product and re-upload the files.
      Thanks angus thanked for this post

    3. #3
      Member
      Level 4 (2,798 Loyalty Points)
      This user has no status.
       
      I am:
      ----
       
      angus's Avatar
      Gil
      720 (0 Banked)
      Total Contributions For

      angus      $ 0.00
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      Join Date
      Aug 2011
      Posts
      74
      Points
      720
      Credits
      110
      Problems Posted
      0
      Problems Solved
      0
      Best Answers
      0
      Good Answers
      0
      Rep Power
      2

      Default

      Thank you very much!

      working great!
      http://www.dragonbyte-tech.com/signaturepics/sigpic4598_1.gif

    Thread Information

    Users Browsing this Thread

    There are currently 1 users browsing this thread. (0 members and 1 guests)

    Similar Threads

    1. Testing the Post Template for 4.1.1
      By cykelmyggen in forum Off-Topic
      Replies: 0
      Last Post: 23rd July 2011, 13:03
    2. Post templates
      By Smilie in forum Website / Company Feedback & Suggestions
      Replies: 2
      Last Post: 16th July 2010, 21:32

    Tags for this Thread

    Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •