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)
-   -   Minihack: Descriptive alt text for smilies (https://vborg.vbsupport.ru/showthread.php?t=47329)

Mystis 01-02-2003 10:00 PM

Minihack: Descriptive alt text for smilies
 
This hack adds alt text to smilies, describing them and showing the the text that you need to use in posts to display them. It's very practical, especially in forums with lots of smilies. It's very simple to install, details are in the attached text file.

Screenshots:
Screenshot - Note that the mouse is actually over the lime green (2nd) smilie, printscreen just doesn't actually capture the cursor :)

If you like the hack, make sure and install it!

Mystis 01-03-2003 04:34 PM

Screenshot - Note that the mouse is actually over the lime green (2nd) smilie, printscreen just doesn't actually capture the cursor :)

Auero 01-03-2003 04:40 PM

I like it, it's small but it's useful. Good one Mystis :D

Dean C 01-03-2003 06:07 PM

Nice simple hack - good job buddy

I would have ran round in circles adding a column to the smilie table hehe

- miSt

Joe Page 01-03-2003 07:03 PM

Thanks for this mod :)

Chris M 01-03-2003 07:23 PM

@Dean - Stop changing ur sig and avatar! I can't recognise you:p

Looks good Mystis:)

Satan

drumsy 01-03-2003 08:53 PM

Not working for me. I get no errors, I just get the smilie name, no alt text, no "( )", nothing.

Mystis 01-03-2003 10:06 PM

That's odd. Would you be confortable e-mailing me part of your functions.php? If so, start where it says '//smilies' (unhacked line 646) and finish where it says 'if($dobbcode and strpos($bbcode,"]")) {' (unhacked line 663).

John 01-04-2003 01:35 PM

Installed - grooveh :D

Boofo 02-02-2003 04:41 PM

Nice hack. ;)

You might want to note that the "alt text" only shows up in the actual posts and not in the smilies box. :)


All times are GMT. The time now is 08:57 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.01896 seconds
  • Memory Usage 1,719KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete