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)
-   -   Add-On Releases - vbadvanced stock market (https://vborg.vbsupport.ru/showthread.php?t=136734)

Lionel 02-04-2007 09:17 AM

I modified this one to suit my needs. The original one pulls only the latest sticky

https://vborg.vbsupport.ru/showthrea...=latest+sticky

Quantnet 02-04-2007 09:24 AM

thanks,
Ok, back to topic. I'm trying to put the SYMBOL LAST CHANGE under the td class=thead

As you can see from my home, it breaks into 3 different blocks. I'm playing with it and trying this in the mainstock module template

<tr><td class="thead"><span class="smallfont"><strong>SYMBOL</strong></span></td><td class="thead"><span class="smallfont"><strong>LAST</strong></span></td><td class="thead"><span class="smallfont"><strong>CHANGE</strong></span></td></tr>$thestocks
<if condition="$vbulletin->userinfo[userid] > '0'">

Lionel 02-04-2007 09:29 AM

cool. You can do a lot with conditionals. There are plenty of them you can use.

Quantnet 02-16-2007 05:06 AM

Lionel,

Can you take a look at the background color of the vba cmps block ? All of my styles, the stock block has different color than the background of other blocks....

I think in the template code, the color is set differently from the default vba block.
thanks

Lionel 02-16-2007 05:19 AM

Give the <td> a class="alt1" or altt2

Quantnet 02-22-2007 09:13 PM

Lol...was about to remind you, Lionel.

The vba module freaks out today because of the wrong feed....

Thanks for the quick update

JustinBr 03-02-2007 06:04 AM

Great mod - *installed* @ www.roicommunity.com

A few questions:
Is it possible to remove the gridlines that appear?

I used to use a wordpress plugin that would pop up a mini stockchart of today's action when you hovered over the link. I'm almost certain yahoo provided the stock charts. Perhaps something like that could be integrated into a future version of the mod?

Keep up the great work Lionel!

Lionel 03-02-2007 06:39 AM

The gridline is from the table cellspacing="1". Set it to zero.
you need to fix your images path.

JustinBr 03-02-2007 01:39 PM

Thanks for the tip - It looks like the cellspacing is defined in the adv_portal_module_shell template. how do I adjust it to 0 here but no where else on my portal?

Lionel 03-02-2007 02:09 PM

You would have to edit the adv_portal_module_shell template and set a conditional like

cellspacing="<if condition="$mods[name]=='the_name_of_module'">0<else />1</if>"
The name of the module is what you called it when you added it in Add Module.

I suggest you ask at www.vbadvanced.com for the the proper syntax (I am not sure if it's $mods[name])


All times are GMT. The time now is 05:37 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.01039 seconds
  • Memory Usage 1,730KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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