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)

nytlyf 01-29-2007 11:56 AM

this hack is great

majorj0nny 02-22-2007 01:50 PM

Im desperately trying to sort this so it only scrolls in my adv_portal (vba cmps homepage) rather than on every single page via the header.

from my plugin manager in the Atakan Marquee Text i have :

Quote:

switch ($vbulletin->options['mtext_color'])
{
case 0: $renk = 'Dark Red'; break;
case 1: $renk = 'Red'; break;
case 2: $renk = '#FF7E00'; break;
case 3: $renk = 'Brown'; break;
case 4: $renk = 'Yellow'; break;
case 5: $renk = 'Green'; break;
case 6: $renk = 'Olive'; break;
case 7: $renk = 'Cyan'; break;
case 8: $renk = 'Blue'; break;
case 9: $renk = 'Dark Blue'; break;
case 10: $renk = 'Indigo'; break;
case 11: $renk = 'Violet'; break;
case 12: $renk = 'White'; break;
case 13: $renk = 'Black'; break;
}

switch ($vbulletin->options['mtext_direction'])
{
case 0: $yer = 'left'; break;
case 1: $yer = 'right'; break;
}

$Positionx1 = '$spacer_open';
eval('$marqtextx = "' . fetch_template('Marquee_Text') . '";');
$vbulletin->templatecache['header'] = str_replace($Positionx1,$Positionx1.'$marqtextx' , $vbulletin->templatecache['header']);
ive tried changing the 'header' bits at the bottom to 'adv_portal' but this results in the thing just vanishing from everywhere ? what am I doing wrong ?

majorj0nny 02-22-2007 02:26 PM

Quote:

Originally Posted by DementedMindz (Post 1155849)
if you followed everything i wrote there then it wont. i have set it up like that on 3 sites now and all work fine.

I had problems with this too .. copied what you said to the letter - I got some crappy error on the browser with this and the marquee did not show.

Ive uninstaleld it and will re-install again later - see if thats causing probs.

majorj0nny 02-27-2007 06:50 PM

no one else gotten this to work only on selective pages? ..

(tumble weed rolls past in the eary silence! ... )

putergirl 03-31-2007 10:21 PM

Thanks for this, installed nicely. :)

I too am curious about some of the questions asked here.. .. like the space left behind when turned off, and only viewable by certain members or certain pages. :)

James.M 03-31-2007 10:42 PM

Very nice, i've put it on my forum, ZuxGaming.com

DieselMinded 04-04-2007 09:57 PM

Quote:

Originally Posted by iBaker (Post 1152104)
Installed - thanks, just what I was after.

One comment, if you do have it turned off (I only will use it for special announcements) it still seems to take up some real estate between my header and the breadcrumbs - problem for small screen users where every bit of real estate is needed.

Thanks again!


Go Into the Marquee Text Template and remove
PHP Code:

<br /> 

From the top

DieselMinded 04-13-2007 08:43 PM

Need an update for this it dont hyper link on Fire Fox ,, This is the code i was using ..

PHP Code:

<a href="http://www.dieselbombers.com/showthread.php?goto=newpost&t=1220" </a> New Give Away Thanks To Cowboy Diesel Performance Congrats To Bow2no1 !!!! 

Displays just fine with hyperlinked text on IE

Aimee1969 05-11-2007 03:10 PM

I like this!! ;)

MeMySelfNi 05-12-2007 01:55 AM

*installed*


All times are GMT. The time now is 07:44 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.01271 seconds
  • Memory Usage 1,740KB
  • 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_php_printable
  • (3)bbcode_quote_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