vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   BB Code Enhancements - Fun Alert BB Code (https://vborg.vbsupport.ru/showthread.php?t=160115)

Spank 10-12-2007 10:00 PM

Fun Alert BB Code
 
-----------------------------------------------------------------------------------------------
Brings up a user definable dialogue box upon mouseover of the {param}

Install:
Go to AdminCP>Custom BB Codes>Add New BB Code and fill out the following:

Title:
Fun Alert

Tag:
FA

Replacement:
Code:

<a href="" onMouseover="alert('{option}')">{param}</a>
Example:
[FA=This is an alert.]Alert[/FA]

Description:
Adds a user definable dialogue box on mouseover

Use {option}:
Yes

Then click save. Job's a good un :)


Don't forget to mark install if you happen to use this :)

PoetJA-1975 10-13-2007 08:42 AM

hmmm- Don't know what I'd use it for - but it's a nice BBCODE - Thanx for the sharing ;)

Jacquii.

Spank 10-13-2007 08:56 AM

I suppose it could be used for quizzes or even as a spoiler.

PoetJA-1975 10-14-2007 11:55 PM

I wonder - can you add images within the [fa] tags?
Thanx,

JAcquii.

Spank 10-15-2007 12:14 AM

you can't have the image popup, but you can have a popup whane you mouse over an image.

qtouch 10-15-2007 05:38 AM

omm how do I use this ?

Spank 10-15-2007 06:13 AM

Once you've installed you just type in your post [FA=TYPE MESSAGE YOU WANT THE DIALOGUE BOX TO DISPLAY HERE] TEXT YOU WANT TO APPEAR IN THE POST[/FA]


All times are GMT. The time now is 10:09 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.01002 seconds
  • Memory Usage 1,716KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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