Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 01-30-2011, 03:45 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by your24hourstore View Post
how does that allow mod only to use the bbcode lynne?
I dont get it. seems like everyone will be able to use it
He said he wanted exactly like the screen shot, so I posted exactly what was in the screenshot. He's gonna need some mod to make it only mod/admin specific.
Reply With Quote
  #12  
Old 01-30-2011, 03:52 PM
your24hourstore your24hourstore is offline
 
Join Date: Feb 2010
Posts: 1,226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
He said he wanted exactly like the screen shot, so I posted exactly what was in the screenshot. He's gonna need some mod to make it only mod/admin specific.
your the bomb lynne, I'm not aware of any mods in here that will do what they want. thanks , at least they have the bbcode now anyway, i would suggest that they just dont use the option to show it, then make it a phrase only the mods and admin know what it is like [snicklefrits]warning blah blah blah[/snicklefrits] then people wont be able to use it , would be secret until someone tells user like below example

Example: [snicklefrits]warning blah blah blah..!![/snicklefrits]
Description: -Empty-
Use Option: No
Button Image: No
Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: No
Disable Smilies Within This BB Code: No
Disable Word Wrapping Within This BB Code: No
Reply With Quote
  #13  
Old 01-30-2011, 04:02 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Users will easily figure it out just by quoting. I'd just write a plugin that makes it so the bbcode doesn't get implemented unless a mod/admin uses it. So, it would just show the bbcode if someone else tried to use it. Or, actually just remove all the code if it's not a mod/admin. A couple of ways you can do it.
Reply With Quote
  #14  
Old 01-30-2011, 04:37 PM
your24hourstore your24hourstore is offline
 
Join Date: Feb 2010
Posts: 1,226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Users will easily figure it out just by quoting. I'd just write a plugin that makes it so the bbcode doesn't get implemented unless a mod/admin uses it. So, it would just show the bbcode if someone else tried to use it. Or, actually just remove all the code if it's not a mod/admin. A couple of ways you can do it.
where would the hook location be lynne?
Reply With Quote
  #15  
Old 01-30-2011, 05:10 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I haven't looked into it at all. you'd need a few - one for processing when using the ajax Quick Reply, and others for using the Post Reply and also the New Thread.
Reply With Quote
  #16  
Old 01-30-2011, 05:39 PM
g0dfather1984 g0dfather1984 is offline
 
Join Date: May 2008
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If I may, this will work with one minor correction:

https://vborg.vbsupport.ru/showthread.php?t=122942

I have tested it out on admin permission then as a regular member.

This being the minor correction:

https://vborg.vbsupport.ru/showpost....&postcount=306
Reply With Quote
  #17  
Old 01-30-2011, 07:03 PM
your24hourstore your24hourstore is offline
 
Join Date: Feb 2010
Posts: 1,226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by g0dfather1984 View Post
If I may, this will work with one minor correction:

https://vborg.vbsupport.ru/showthread.php?t=122942

I have tested it out on admin permission then as a regular member.

This being the minor correction:

https://vborg.vbsupport.ru/showpost....&postcount=306
so if you run the old mod for 3.8 and just edit the plugin it will work ?
Reply With Quote
  #18  
Old 01-30-2011, 07:08 PM
g0dfather1984 g0dfather1984 is offline
 
Join Date: May 2008
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by your24hourstore View Post
so if you run the old mod for 3.8 and just edit the plugin it will work ?
It does for me. I am using the BB Code being talked about in this thread and was looking for a way to make it only for staff as well, when I came across this.

I tried the whole [ warning ] as a regular member and it came out just as that.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:33 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05001 seconds
  • Memory Usage 2,251KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete