vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Header Marquee Text (https://vborg.vbsupport.ru/showthread.php?t=117942)

Cybershaolin 12-03-2006 12:14 AM

How do you choose if the marquee will appear or not depending on which group the members are on?

Dr.Viggy 12-05-2006 02:10 PM

this is not showing up for me. i installed it on my 3.5.4 boards and it was fine. when i put it on the 3.6.3, i get nothin. i tried it on a custom style and the default. either way nothing shows up at all. it's very simple with just a product and no template edits. thoughts?

Cybershaolin 12-06-2006 05:05 AM

Hmm no answer yet but Im still asking just in case if you think this would be feasable. This would really rocks if we could choose not to show the banner for non-registered users.

Is there a way how to achieve this?

digital_sc4rz 12-08-2006 12:26 PM

ThanX :)

DementedMindz 12-16-2006 05:47 AM

ok for those of you that like there site to be Valid XHTML here is a lil way to get around it which i think maybe Atakan KOC should use.

Admincp ---> Styles & Templates ---> Style Manager ---> Edit Templates ---> Marquee_Text

then replace everything in there with this

Code:

<if condition="$vboptions[mtext_active]">
<table <if condition="$vboptions[mtext_border]">class="tborder"</if> border="0" width="100%">
<tr>
<td>
<!-- Using javascript for the marquee since W3 doesn't like marquees. -->
<script type="text/javascript">
<!--
document.write('<marquee direction="$yer" onmouseover="this.scrollAmount=0" onmouseout="this.scrollAmount=$vboptions[mtext_speed]"><if condition="$vboptions[mtext_bold]"><b></if>
<if condition="$vboptions[mtext_italic]"><i></if>
<font color="$renk" size="$vboptions[mtext_size]">$vboptions[mtext_text]</color>
<if condition="$vboptions[mtext_bold]"></i></if>
<if condition="$vboptions[mtext_italic]"></b></if></marquee>');
//-->
</script>
</td>
</tr>
</table>
</if>

no more errors when you validate your site on http://validator.w3.org/ from this mod.

one last thing i seen was that you need to cache the template also. which is pretty easy to do for members who dont know.

Plugins & Products --> Add New Plugin -->

Product = Atakan Marquee_Text

Hook Location = cache templates ( under vbulletin general)

Title = Marquee_Text Cache

Execution Order = 5

Plugin PHP Code = $globaltemplates[] = 'Marquee_Text';

Glynn58 12-16-2006 10:13 AM

installed and the text is wishing all my members a merry xmas , thanks great mod :cool:

kylek 12-24-2006 09:25 PM

Installed and works great. But here is a stupid question?

How besides using periods do you create a space between say two sentences? I would like to have it say for example - Merry Xmas!! (long space) Happy New Year!! (longer space) Keep checking for new contest announcement, etc instead of having 20 or more periods showing.

woosh 12-30-2006 11:18 PM

Thanks for that installed :D

girlboheme 12-31-2006 04:34 AM

Thank you! Installed it. Works great :)

JimmyN 01-01-2007 09:03 PM

Cool hack, thanks

Would you be able to add a option into the settings in admincp which can pick where to display, i.e. Everyewhere, Forum Home, HOME, etc
maybe like a checkbox would work well.

Anyway just a idea

cheers


All times are GMT. The time now is 12:36 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.01140 seconds
  • Memory Usage 1,734KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (4)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