vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Not Your Normal Marquee System (https://vborg.vbsupport.ru/showthread.php?t=105961)

Luggruff 02-05-2006 04:46 PM

Ok can anyone just post their "marquee" template code?? Mine does NOT contain anything like this at all: in_array($bbuserinfo[usergroupid], array(2,6,10,12,15))

And I can't imagine where to put it -_-
And I most certainly don't see how adding this in THAT template would give me the option of setting wich usergroups I want in: vBulletin settings -> Marquee System Options ..as none of the other options on that page is in this template either.

http://www.luggruff.se/marqueeissue.png

Gunshot 02-05-2006 05:00 PM

Quote:

Originally Posted by Luggruff
Ok can anyone just post their "marquee" template code?? Mine does NOT contain anything like this at all: in_array($bbuserinfo[usergroupid], array(2,6,10,12,15))

And I can't imagine where to put it -_-
And I most certainly don't see how adding this in THAT template would give me the option of setting wich usergroups I want in: vBulletin settings -> Marquee System Options ..as none of the other options on that page is in this template either.

http://www.luggruff.se/marqueeissue.png


you have to edit this in the xml file and then reinstall

Tulsa 02-05-2006 05:58 PM

It's not in the xml file either. I believe the author has removed this right now...

Quote:

TEMPORARY REMOVEDshowgroups .: set what groups you want to view the marquee :.
So I suppose it's open to everyone at the moment?

inspiration100 02-05-2006 06:01 PM

Thanks for the wonderful hack, I would love to see you add in RSS feed!!!

Luggruff 02-05-2006 06:02 PM

Quote:

Originally Posted by Tulsa
It's not in the xml file either. I believe the author has removed this right now...



So I suppose it's open to everyone at the moment?

Ahh..

And could someone just upload an edited xml file then? -_-
It's just worthless without usergroup restrictions for my needs.. and I need it.

Btw, does someone know why it's temporarily removed? o_0

Gunshot 02-05-2006 09:42 PM

If you open the marquee template you will find that there are 2 instances of:

<td class="vbmenu_control"

this controls the color or style of the table

I changed mine to: (2 instances)

<td class="tcat"

and this is the result:

example


you could also change it to:

<td class="thead"
or
<td class="alt1"
or
<td class="alt2"

or probably even an image or clear gif

XtremeOffroad 02-06-2006 05:52 AM

Can this be coded to show a different message per user group?

wi11ie1950 02-07-2006 09:59 AM

Works great :):)

Clicks Install :)

sezmar 02-07-2006 12:52 PM

This is the marquee template, just edit the section highlited to the add the group ID's you want to see the Marquee System. This is set for the default users to view.

Code:

<!-- Marquee System -->
<div align="center">
        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
        <tr align="center"><if condition="$vboptions[marquee_system_switch]"><if condition="in_array($bbuserinfo[usergroupid], array(2,5,6,7))"><if condition="$vboptions[marquee_system_title_switch]"><td class="vbmenu_control" width="{$vboptions['marquee_system_title_width']}"><font face="{$vboptions['marquee_system_title_font_style']}" size="{$vboptions['marquee_system_title_font_size']}" color="#{$vboptions['marquee_system_title_color']}"><b>{$vboptions['marquee_system_title']}</b></font></td></if>
        <td class="vbmenu_control" width="marquee_system_width" align="left">
  <marquee direction="{$vboptions['marquee_system_marquee_direction']}" behavior="{$vboptions['marquee_system_behavior']}" scrollAmount="{$vboptions['marquee_system_marquee_speed']}" height="{$vboptions['marquee_system_height']}" onMouseover="this.scrollAmount={$vboptions['marquee_system_marquee_speed_mouseon']}" onMouseout="this.scrollAmount={$vboptions['marquee_system_marquee_speed_mouseoff']}"><font face="{$vboptions['marquee_system_font_style']}" size="{$vboptions['marquee_system_font_size']}" color="#{$vboptions['marquee_system_color']}"><center><b><if condition="$vboptions[marquee_system_hello_switch]">{$vboptions['marquee_system_hello']} $bbuserinfo[username]</if> {$vboptions['marquee_system_message']}</b></center></font></marquee></td>
        </if>
        </if>
        </tr>
        </table>
</div>
<!-- / #End Marquee System -->


maroulis 02-07-2006 01:47 PM

is there any way you can have content from a thread or thread titles running on the marquee?


All times are GMT. The time now is 04:56 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.01120 seconds
  • Memory Usage 1,747KB
  • 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
  • (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