vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Smiliecreator v1.1 (https://vborg.vbsupport.ru/showthread.php?t=50450)

Hoffi 06-28-2004 04:28 PM

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.

sabret00the 06-29-2004 01:55 AM

wow that's awesome, you should release it over at vBT hoffi :)

Hoffi 06-30-2004 12:19 PM

I have released it at vb.com months ago. But you are right... I'll do it soon.

KW802 08-11-2004 12:24 PM

If anybody is interested....

This hack has been converted into a vbadvanced CMPS module.

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

The table trick by Hoffi nearly eliminates the need of having to do this as a VB3 hack so I did it geared towards vBa CMPS more as a learning experience than anything else; I figured it'd be a fun toy for the users to play with and also for me for when I want to create new smilies for misc. image work.


All times are GMT. The time now is 12:03 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.01155 seconds
  • Memory Usage 1,726KB
  • 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)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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