vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   New Posting Features - Spoiler Tag (https://vborg.vbsupport.ru/showthread.php?t=169518)

Freesteyelz 02-04-2008 01:07 AM

In the second version there's a difference. First, there's no Spoiler title. Secondly, text outiside of the Spoiler tag will not be above or below but at the side of the text. Basically, it will appear exactly how you posted it. Of course if you post any text with spaces it will create a line break.

2nd version (of 1st version in post #10}:

Code:

Code:

<span style="background-color:#fff;color:#fff;border:1px solid #cccfdd;cursor:pointer" class="spoiler" onmouseover="this.style.color='#000000';" onmouseout="this.style.color=this.style.backgroundcolor='#ffffff'">
{param}
</span>


*Please note this is only an edit of YdieresiS' mod. All credit goes to him.

Boofo 02-04-2008 01:25 AM

I like the way we had it except for going across the whole page. So, should I use the first one then? I don't want someone accidentally messing it up with and breaks in the line.

Freesteyelz 02-04-2008 01:29 AM

Yup. The first version (post #10) would be comparable with the original mod + your request. :)

Boofo 02-04-2008 01:33 AM

Will that handle multiple lines ok?

Boofo 02-04-2008 01:40 AM

No, it won't. :(

Any way to fix that or make it so they can't go after so many characters?

Freesteyelz 02-04-2008 01:53 AM

You can by using overflow. Before you do that, try the updated code in post #10 again. I think the padding caused multiple lines to mess up.

EvErDrEaMs 02-04-2008 03:09 AM

great thanks.

Boofo 02-04-2008 03:22 AM

Quote:

Originally Posted by Freesteyelz (Post 1435755)
You can by using overflow. Before you do that, try the updated code in post #10 again. I think the padding caused multiple lines to mess up.

That one will work, I think. The overflow would cut stuff off wiouldn't it?

Freesteyelz 02-04-2008 05:23 AM

Depends. In all of my threadbit templates I have overflow set but it only cuts off continuous characters (text or image URL's) but will allow the text to go to the next line fine.

Boofo 02-04-2008 06:16 AM

Text is all I want to do with this anyway. Would it still be a separate line for each break?


All times are GMT. The time now is 03:31 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.01050 seconds
  • Memory Usage 1,730KB
  • 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)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