vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   Rcodes or how to insert Html thanks to specific tags - beta2 (https://vborg.vbsupport.ru/showthread.php?t=68774)

HiDeo 08-28-2004 07:35 AM

Nice idea Milorad !

Akex 08-28-2004 09:12 AM

Quote:

Originally Posted by Milorad
This is something I've been really looking forward to.

Is it capable of working without the { } ? -- if so, I could kiss you :)

I wanted something which would allow me to replace certain keywords with links. Like the name of my board, the name of my forums, or other affiliated sites.

So when someone types, say... vBulletin it could link to vbulletin.com

For the moment, you need to put the { }. Well, I will put an option to choose for each tag if you want to use them.

For the future releases :

- rcode using permissions by usergroup
- preview of the html code in admincp (well, basically a link which will open a popup with a preview in order to verify the html code is correct :) ).
- a single selection menu in the WYSIWYG editor to quick add rcodes

...

Fargo 08-28-2004 09:27 AM

wow, this is really great! I currently use bbcodes for a few things where this would be a logical replacement to (such as formatted horizontal rules).

One thing I would really love to see extended on this mod is the use of additional parameters. Allowing multiple parameters would allow one to build things like tables with dynamic headings as well as content. It could also extend the possibility of having multiple input form submissions w/default values or what-not (similar to your htaccess shown in one of the screenshots).

The possibilities are endless & would allow safe introduction of HTML into your boards!

Akex 08-28-2004 09:31 AM

Quote:

Originally Posted by ria.enigma
wow, this is really great! I currently use bbcodes for a few things where this would be a logical replacement to (such as formatted horizontal rules).

One thing I would really love to see extended on this mod is the use of additional parameters. Allowing multiple parameters would allow one to build things like tables with dynamic headings as well as content. It could also extend the possibility of having multiple input form submissions w/default values or what-not (similar to your htaccess shown in one of the screenshots).

The possibilities are endless & would allow safe introduction of HTML into your boards!

Well it's a good idea but don't forget there is only one tag :), no closing tag at all, so it's a bit more difficult to insert parameters. Well, I will see. If I put a closing tag, then it would be useless as bbcode could do the same :)

Your idea will be a problem if it's possible to not use the { }. Well, I will think about it, maybe there is a possibility :).

Fargo 08-28-2004 09:45 AM

totally understandable, Akex. While I wasnt necessairly thinking about end tags, what I was seeing in my mind would be something like {parm1="value";parm2="value";parm=3="value";etc... } and then these param keywords would be variables within the html.

Either way, this is a great hack and has a lot of potential for use :D

Akex 08-28-2004 09:49 AM

Quote:

Originally Posted by ria.enigma
totally understandable, Akex. While I wasnt necessairly thinking about end tags, what I was seeing in my mind would be something like {parm1="value";parm2="value";parm=3="value";etc... } and then these param keywords would be variables within the html.

Either way, this is a great hack and has a lot of potential for use :D

I have an idea ;) for parameters :). I will give it a try.

Maybe something like functions : {tag(parameters ...)} or tag(parameters ...)

Fargo 08-28-2004 09:50 AM

sweet! thank you, sir :)

HiDeo 08-28-2004 10:13 AM

Good idea akex ;)

Good luck

Milorad 08-28-2004 02:43 PM

Quote:

Originally Posted by Akex
Your idea will be a problem if it's possible to not use the { }. Well, I will think about it, maybe there is a possibility :).

Akex, thanks for including the option not to use the { } -- perhaps you should only allow params when { } is enabled. Seems logical.

This will be amazingly useful for my board which will have a heavy article content. Thank you so much.

Akex 08-28-2004 04:00 PM

Well I removed the extra brackets so it works with anything. I will advice in the next version installation file to put the extra brackets in the tag itself in order to not replace anything ^^.


All times are GMT. The time now is 10:42 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.01063 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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