vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   BB Code - StrikeThrough (https://vborg.vbsupport.ru/showthread.php?t=77721)

Zylantex 01-22-2010 06:08 AM

Thanks for the excellent tutorial.

wolfyman 02-12-2010 06:04 PM

how to do this in vb 4.x?

cheat-master30 02-15-2010 12:55 PM

So, what's different in vBulletin 4 from vBulletin 3.8?

If you can edit BB code, just either add the relevant stuff to the CSS, or put the replacement as something akin to <strike>{param}</strike>

Mikecp421 12-25-2010 03:14 PM

how do I add the image?

BirdOPrey5 12-26-2010 12:38 AM

Quote:

Originally Posted by Mikecp421 (Post 2138925)
how do I add the image?

If you edit/add the BB Code there is an option called "Button Image." In this box you put the file path o your image, something like:
images/editor/strike.gif

Just find an appropriate 20x20 pixel gif file to use, or make one yourself... upload it to your images/editor directory.

pnhltt 04-06-2011 07:28 AM

we've added the bbcode and it words fine. the trouble is adding the button. we've tried different kinds of button images (png and gif) but it still wouldn't display it in the editor or in the bbcode editor. instead the text "add [s] bbcode" appears in the editor. any help?

Zylantex 04-06-2011 09:07 AM

1 Attachment(s)
The attached screenshot and strike through gif show exactly how my BB Code is set up. Put the strike.gif in /images/misc/
Copy it exactly and there is no reason why it shouldn't work for you too.

Beware of using capital letters !!! As a rule always use lower case letters for paths etc. It took me a while to realise that Strike.gif and strike.gif are not the same and will give exactly the error you are having.

Hope that helps.

pnhltt 04-29-2011 06:23 PM

he-he, the mistake was we missed one letter in the file name for the button. Once we realised that, everything worked. But thanks, anyway:)

angeljs 06-03-2011 07:46 AM

Lovely, jubbley...just what I was looking for :)

spamgirl 01-24-2012 10:54 PM

Is there any way to move the icon from the end of the line to the front? I looked at the templates but it just served to confuse me further.


All times are GMT. The time now is 07:22 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.01073 seconds
  • Memory Usage 1,728KB
  • 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_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