vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Please help me to add warning bbcode? (https://vborg.vbsupport.ru/showthread.php?t=257992)

whyiteasy 01-29-2011 01:19 AM

Please help me to add warning bbcode?
 
1 Attachment(s)
Please guide me to adding custom warning BBcode code in my forum with only mod and admin permission.

I mean only mod and admin can use the warning BBcode.

Thanks..!!

i want exactly like this
Screenshot below

whyiteasy 01-29-2011 05:15 PM

no one here ?

Xencored 01-29-2011 05:19 PM

Quote:

Originally Posted by whyiteasy (Post 2156132)
no one here ?

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

whyiteasy 01-29-2011 05:27 PM

Quote:

Originally Posted by Animemike (Post 2156133)


bro this is totally different from the screenshot above..
I want exactly like this.

http://www.vbulletin.com/forum/misc....bbcode#warning

only i need the Replacement code..

Thanks

your24hourstore 01-29-2011 06:50 PM

well the bbcode is easy its the mod control only that's going to be hard

whyiteasy 01-29-2011 09:24 PM

Quote:

Originally Posted by your24hourstore (Post 2156161)
well the bbcode is easy its the mod control only that's going to be hard

what do you mean ?
i don't understand.

add new bbcode option in ACP

Lynne 01-29-2011 09:44 PM

For the replacement code (taken from their page source):
HTML Code:

<div style="border: 1px solid rgb(255, 0, 0); color: rgb(0, 0, 0); background-color: rgb(245, 255, 255); padding: 5px;" class="contentnote"><span style="color: rgb(255, 0, 0); background: none repeat scroll 0% 0% transparent; font-weight: bold;">Warning:</span> {param}</div>

whyiteasy 01-29-2011 10:30 PM

Quote:

Originally Posted by Lynne (Post 2156210)
For the replacement code (taken from their page source):
HTML Code:

<div style="border: 1px solid rgb(255, 0, 0); color: rgb(0, 0, 0); background-color: rgb(245, 255, 255); padding: 5px;" class="contentnote"><span style="color: rgb(255, 0, 0); background: none repeat scroll 0% 0% transparent; font-weight: bold;">Warning:</span> {param}</div>

Thank you very much Lynne...
You are really helpful

your24hourstore 01-30-2011 03:30 PM

Quote:

Originally Posted by whyiteasy (Post 2155918)
Please guide me to adding custom warning BBcode code in my forum with only mod and admin permission.

I mean only mod and admin can use the warning BBcode.

Thanks..!!

i want exactly like this
Screenshot below

how does that allow mod only to use the bbcode lynne?
I dont get it. seems like everyone will be able to use it

your24hourstore 01-30-2011 03:41 PM

1 Attachment(s)
yep the bbcode is correct but, it doesn't stop anyone from using it I think they wanted permissions added somehow to allow only mods and admins to use this bbcode and as you see it allows all


All times are GMT. The time now is 09:13 PM.

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.01001 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete