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)

Romeos Tune 08-08-2004 04:05 PM

Actually, the images are created on the fly and it uses no more queries than the vbcode trick not to mention it's really easy for our computer challenged folks.... lol Let's hope we can get it working with VB....... :D

Hoffi 08-08-2004 08:47 PM

No more Querys, yeah. But during my teste the image creation was really slow if you have Many Images into one Thread. And mostly this is used in Sugnatures, so it is on every site.

I only tell you what I figured out on my Board. ;)

Romeos Tune 08-09-2004 01:16 AM

The image is only created once and stored on the server..... Sorry for the confusion.... And they aren't created in sigs.... Also, you can limit the groups so only the donating members were able to use it when that board was operational........ :D

Hoffi 08-09-2004 06:27 AM

OK, than thats new and very better. ;)

Matrixgl 08-09-2004 06:30 AM

This is just brilliant! Kudos to you!

imported_Spieleplanet 08-10-2004 04:22 AM

very kool .. installed!

aranthorn 08-29-2004 01:57 AM

I'll say it again, nice hack/share/whatever you want to call it.

As far as changing the color of the font, etc. I use dark and light styles on my site, so I made the background clear

Code:

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

<tr>

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

</tr>

<tr><td align="center">

<img src="http://www.dancingmokey.com/******/sign.gif" alt="" border="0">

</td></tr>

</table>

if you want to change the font to bold, blue, comic sans:

Code:

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

<tr>

    <td align="center" style="background-color: none; border: 1px solid Black; padding: 1px;"><b> <font face="Comic Sans"; color=blue>{param}</font></b></td>

</tr>

<tr><td align="center">

<img src="http://www.dancingmokey.com/******/sign.gif" alt="" border="0">

</td></tr>

</table>


venomx 09-06-2004 06:05 AM

Ok I am confused... Does the Shield-Smilie BB-Code create the images on the fly each time someone opens the thread/post? If so I am not sure I want to install this.. :(

KW802 09-06-2004 02:17 PM

Quote:

Originally Posted by venomx
Ok I am confused... Does the Shield-Smilie BB-Code create the images on the fly each time someone opens the thread/post? If so I am not sure I want to install this.. :(

VenomX,

No, it doesn't create the images on the fly. What it does is create a table with the text that the person typed in with a border and then the single image is centered at the buttom of the table to give the illusion that it's a graphic smilie created on the fly.

Kevin

lanoix 10-05-2004 07:53 AM

Thank you for this hack, I will use it...

Edit: a little tip... To have the banner centered with the smiley... Simply put a blank space on its left. The size must be the same size of the smiley (excluding the banner/arm). I attach an example... I think it's better... It gives also automaticaly a minimal size of banner :)


All times are GMT. The time now is 01:45 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.01023 seconds
  • Memory Usage 1,735KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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