vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - Blink BBCode- The Ultimate BB Code! (https://vborg.vbsupport.ru/showthread.php?t=247607)

Boofo 08-16-2010 06:41 PM

To be totally honest, I was surprised to find that directory in vb 4. Maybe vb 4 is finally going in the right direction using jquery.

as7apcool 08-16-2010 07:03 PM

thanks 4 good work

BirdOPrey5 08-16-2010 07:13 PM

Quote:

Originally Posted by Boofo (Post 2084874)
To be totally honest, I was surprised to find that directory in vb 4. Maybe vb 4 is finally going in the right direction using jquery.

What's funny is it's there but not being called by the forum, I still had to add the line to load it in the header include.

Quote:

Originally Posted by as7apcool (Post 2084883)
thanks 4 good work

your welcome- but really the thanks should go to the good people who designed the jquery package - I just found this and thought it would be good for us VB folk.

COL NIL SATIS 11-18-2010 01:49 PM

Thanks man,this is cool.

Dr.osamA 11-29-2010 04:05 AM

5 Stars

installed

working with 4.1.0

thank you bro

Martinoo 12-26-2010 05:27 PM

thanks, installed working with 4.0.7

RK KINGKONG 01-21-2011 10:03 PM

great & THANKS working great on all browsers running VB 4.1.1 im very fond of this one
Quote:

Originally Posted by BirdOPrey5 (Post 2084588)
I have a new version that works in ALL major browsers including: IE / Firefox / Chrome / Opera and Safari! This is a little more complicated to implement so if you're happy with the existing tag there is no NEED to upgrade, however this new version works on more (all) browsers.

It makes use of the jquery javascript library built into VB4.

Step 1. Download the attachment, unzip, and upload the .js file it to your /clientscript/jquery/ directory. (This may be under /forums/clientscript/jquery/ or any other directory you have your forums installed in.)

Step 2. Admin CP -> Styles and Templates -> Style Manger -> Choose your style(s) -> All Style Options: Edit your header include template and add the following code at the bottom of it:
Code:

<!-- Start Blinking Text jquery Script-->
<script src="/forums/clientscript/jquery/jquery-1.3.min.js" language="javscript" type="text/javascript"></script>
<script src="/forums/clientscript/jquery/jquery-blink.js" language="javscript" type="text/javascript"></script>
<script type="text/javascript" language="javascript">
$(document).ready(function()
{
        $('.blink').blink();
});
</script>
<!-- End Blinking Text jquery Script-->

Make sure you change the file paths to the .js files to match your directory setup. For me it's "/forums/clientscript/filename.js" If your forums are in your web root your location may be just "/clientscript/filename.js".

jquery-1.3.min.js is already installed in your /clientscript/jquery/ directory.

Step 3. Make a new BB Code using the instructions in the first post or edit your existing blink bb code. Use the following replacement code instead of the replacement in the first post. (much shorter):
Code:

<span class="blink">{param}</span>
Save your new or edited BB Code and you're done. You know have a [bkink] tag that works in all major browsers.

Note: Updated to use VB4's built in jquery file.


johkalhaups 04-25-2011 02:28 PM

<a href="http://www.theriseoftsm.com/forums/index.php" target="_blank">http://www.theriseoftsm.com/forums/index.php</a>

Just installed the version from post 3 on my forums and its not working in Chrome for me on vB 4.1.3.

Weird thing is, your demo site from the 1st post works just fine (yes I tried the version in the op 1st and it didnt work either).

BirdOPrey5 04-25-2011 04:41 PM

What was the exact code you used ?(since per the instructions you need to customize the file paths/names for your forum.)

johkalhaups 04-25-2011 05:57 PM

My file paths were the same as yours so I left it alone.




EDIT: My bad, I was just going by the little preview box in the AdminCP.

I did it in a post and it works fine. :)


All times are GMT. The time now is 06:23 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.01108 seconds
  • Memory Usage 1,743KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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