vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   Shield-Smilie as BB-Code without Hacking! (https://vborg.vbsupport.ru/showthread.php?t=89421)

Hoffi 06-29-2004 10:00 PM

Shield-Smilie as BB-Code without Hacking!
 
All cried for this... OK. Noe I release it herer too.

No Hacking required for this.

Take the following Image and following BBCode:

Title: Schield

Tag: schield (or whatever you want)

Replacement:

HTML Code:


<table border="0" cellspacing="0" cellpadding="0">

<tr>

    <td align="center" style="background-color: White; border: 1px solid Black; padding: 1px;"><normalfont>{param}</normalfont></td>

</tr>

<tr><td align="center">

<img src="absolut/path/to/your/image.gif" alt="" border="0">

</td></tr>

</table>



Use Option: No

Works on vB2 and vB3

If you want more than one Image use the Option tag and name the Images to schield1.gif etc. and use Filepath shield{option}.gif

Than call with [ schield=1]test[/shield]

I attached a Smilie.

Have fun.

marcel-ea 06-30-2004 07:45 PM

very nice no problems

edit: You have a idea to built a button in the wysiwyg editor ?

Hoffi 07-01-2004 11:01 AM

in vB3 just add a graphic.
in vB2 i have no Idea.

Alzeimer 07-01-2004 04:11 PM

Great, Installed, Thanks!!

imported_infernonet 07-01-2004 06:31 PM

Nice hack :) Good Work

j_86 07-01-2004 07:06 PM

What does it do? :)

imported_infernonet 07-01-2004 07:27 PM

You write a message in between [schield=1]test[/shield] and it shows a little smile with a banner with your custom message :D

imported_infernonet 07-01-2004 07:28 PM

replace 'test' with the what you want on the banner but it isnt installed on vBT so it wont work here.

Hoffi 07-01-2004 07:49 PM

Here is a Screenshot how it could be shown up in your Post.

You also can change the colors you want to. Just set them in the Style-Tag to something you want.

In this shield the Users cal also use any other BB-Code to make very customs shields.

imported_infernonet 07-01-2004 07:51 PM

Hehe cool :) can you add another smile in the banner box?


All times are GMT. The time now is 01:57 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.00969 seconds
  • Memory Usage 1,727KB
  • 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
  • (1)bbcode_html_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