vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v1.x (Archive - Closed for Posting) > Add-On Modules & Modifications

 
 
Thread Tools Display Modes
  #21  
Old 09-03-2005, 04:00 PM
blackpheonix blackpheonix is offline
Junior Member
 
Join Date: Jan 2005
Posts: 7
Default Re: Scrolling Announcement

but in what template i still want it at the top of my portal if poss
  #22  
Old 09-03-2005, 04:33 PM
mholtum's Avatar
mholtum mholtum is offline
I ******* single moms.
 
Join Date: May 2004
Location: Tempe, Arizona
Posts: 1,938
Default Re: Scrolling Announcement

bottom of the header template, maybe?
  #23  
Old 09-03-2005, 04:46 PM
blackpheonix blackpheonix is offline
Junior Member
 
Join Date: Jan 2005
Posts: 7
Default Re: Scrolling Announcement

yep that works thanks
  #24  
Old 09-07-2005, 09:56 AM
huijting huijting is offline
Junior Member
 
Join Date: Jul 2005
Posts: 5
Default Re: Scrolling Announcement

Installed , thnx
  #25  
Old 09-20-2005, 09:40 PM
rammbs rammbs is offline
Junior Member
 
Join Date: May 2005
Posts: 13
Default Re: Scrolling Announcement

installed. thanks!
  #26  
Old 11-08-2005, 10:39 PM
Gary Bolton's Avatar
Gary Bolton Gary Bolton is offline
Senior Member
 
Join Date: Jan 2005
Posts: 225
Default Re: Scrolling Announcement

Very nice hack mholtum, but there is one slight problem in using the "<marquee>" scrolling javscript tag. If you view the scrollbar using Firefox and then minimize your page smaller. You will notice that the scrollbar box and scrolling text does not minimize to fit the page like it does in IE. Instead it will stay full width and go off the page unlike the other forum frames which re-size to fit.

I found this problem out ages ago, it a problem with Firefox not supporting the <marquee> code tag correctly, it's an IE thing only which fully supports it.

So I did this with you code in removing the marguee and making the text red to highlight it better. Now it will work proper in IE and Firefox and all other browsers, all be it without scrolling text if anybody wants the none scolling version showing RED text (can be changed to suit).

Code:
<if condition="$bbuserinfo[usergroupid] == 2 AND $bbuserinfo['posts'] <= 0">
<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center"><tr><td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
<td class="panelsurround" align="center">
<div class="panel"><div align="$stylevar[center]">
<fieldset class="fieldset" style="margin:0px 0px 0px 0px">
<legend>Announcement</legend>
<strong><font color="red"><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase> Our logs show you've never posted - please make a post or your account may be removed as inactive.</font></strong>
</fieldset>
</div></div>
</td>
</tr>
</table>
</td></tr></table><br /><br />
</if>
<if condition="$bbuserinfo[usergroupid] == 1">
<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center"><tr><td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
<td class="panelsurround" align="center">
<div class="panel"><div align="$stylevar[center]">

<fieldset class="fieldset" style="margin:0px 0px 0px 0px">
<legend>Announcement</legend>
<strong><font color="red">Please register to participate in the Forum discussion taking place - it's fast, easy and free!</font></strong>
</fieldset>
</div></div>
</td>
</tr>
</table>
</td></tr></table><br />
</if>
None the less, still a very cool hack and very useful indeed.
__________________
MRGTB.com

Last edited by Gary Bolton; 11-08-2005 at 11:43 PM.
  #27  
Old 11-09-2005, 04:27 PM
nengrong nengrong is offline
Junior Member
 
Join Date: Nov 2005
Posts: 11
Default Re: Scrolling Announcement

I am wondering how to use this anouncement box to display global announcement. Thanks.
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Forum Announcement(s) on CMPS Shon Add-On Modules & Modifications 39 04-18-2006 06:27 AM
VB Announcement in a module? pdatotaal Add-On Modules & Modifications 17 04-08-2005 03:18 AM
Announcement condition(s) cLord Troubleshooting / "How do I..." Questions 3 06-13-2004 03:49 PM
Scrolling forums BoNfiRe Troubleshooting / "How do I..." Questions 2 05-20-2004 01:13 PM


All times are GMT -4. The time now is 12:06 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.