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)
-   -   vB News Ticker (https://vborg.vbsupport.ru/showthread.php?t=123126)

C_P 08-06-2006 03:39 AM

Have it on 3.6 at www.cpfools.com/forum and works perfect. Thank you for the great addition!

Buraq 08-06-2006 05:50 AM

hey there, cool mod (installed)

Is there a way to make the stream continuous? For some reason on my forum it goes through the forums listed, waits till the last of the text clears, then starts again.

Also, there's a little browser-compliance issue:
Code:

marquee width="{$vboptions[tickwidth]}"%
makes the width of the marquee 100 pixels (if it's set to 100) in IE. Easy fix:
Code:

marquee width="{$vboptions[tickwidth]}%"
move the "%" inside the the quote, gives you the proper width in IE and firefox.

TNAImpact 08-06-2006 07:42 AM

Quote:

Originally Posted by christianb
on the Latest Threads, all you have to do is go to your templates in the admincp, find the vbnews_ticker template and add Latest threads: before $ticker_titles like this
PHP Code:

<div align="center" style="padding:7px"><marquee width="{$vboptions[tickwidth]}"height="{$vboptions[tickheight]}behavior=scroll scrollamount="{$vboptions[tickspeed]}onmouseover='this.stop()' onmouseout='this.start()'>Latest threads$ticker_titles</marquee></div

or if you want the Latest threads: bolded, add the strong tag <strong>Latest Threads: </strong> such as this:
PHP Code:

<div align="center" style="padding:7px"><marquee width="{$vboptions[tickwidth]}"height="{$vboptions[tickheight]}behavior=scroll scrollamount="{$vboptions[tickspeed]}onmouseover='this.stop()' onmouseout='this.start()'><strong>Latest Threads: </strong>$ticker_titles</marquee></div

for the second part, in the edit the plugin in the plugin manager, find vB News Ticker under forumhome_complete.
Look for &nbsp; &nbsp; and put a - (hyphen) in between the two &nbsp; symbols.


Perfect. :) Quality mod.

Installed.

Foxsake 08-06-2006 08:40 AM

Installed this and works fine - nice i must say;)

However i dont understand the forum id bit :confused: how do you know the number? and how to you get it to pull the data and display it?

the only way i can see to adjust the ticker is manually changing the text in the template - is this how it works?
Sorry im a bit new still to all this

Foxsake 08-06-2006 08:59 AM

ah ha - sorry forget the last message i've sussed it - Brilliant :)

davidw 08-06-2006 11:19 AM

@Burgaq - I'm looking into making it stream continuously - I've wondered that myself. Thanks for the tip on the ". My original code didn't work when I used the " that way, but didn't think to test it after changing the code to $vboptions.

@Foxsake - the forumid is the id of the forum you have created. Each forum has its own unique number assigned to it. When you click on a forum link you can see a number that is assigned to it. This will show up in the URL of the page you are browsing. Another way of seeing the forumid is to go to your admin control panel => Forums & Moderators => Forum Manager => Click on [Expand All] and then move your mouse over (hover) any of the forums you've created. Your status bar (bottom of screen) should display your forumid (number at the end of the link/url).

davidw 08-06-2006 11:22 AM

Quote:

Originally Posted by Foxsake
ah ha - sorry forget the last message i've sussed it - Brilliant :)

Good job :)

rmxs 08-06-2006 07:43 PM

Sugestion: color chenge
seperators (add one option if user add for exaple - or / or \ seperate the topics if not add somethis appeard without seperators)
make addon that if user wont pass from the screen all the attachments in X forum with x size.. :) (with this you can make new hack) LOL

davidw 08-06-2006 08:30 PM

Color change as in background color or border color?

Also - the separators, currently you can manually edit the xml, such as this:
Quote:

Originally Posted by christianb
in the edit the plugin in the plugin manager, find vB News Ticker under forumhome_complete.
Look for &nbsp; &nbsp; and put a - (hyphen) in between the two &nbsp; symbols.

or in your case a / or \ - however, I can look at adding this to the options so that a user can control this from the admincp rather than having to edit it manually :). I'm not sure I follow the last part in regards to the attachments.

davidw 08-06-2006 09:00 PM

Ok, here's an updated XML file with the admincp control to change your spacing between news items.


All times are GMT. The time now is 05:26 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.01393 seconds
  • Memory Usage 1,749KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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