Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
vbadvanced stock market Details »»
vbadvanced stock market
Version: 1.00, by Lionel Lionel is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.4 Rating:
Released: 01-16-2007 Last Update: 03-04-2007 Installs: 24
 
No support by the author.

This addon requires zethon's stock trader

Create the 3 included templates, name of the file is name of template. Replace the hardcoded links /forums/ with yours. Upload the modules folder and the images folder in your forum root. Create the vbadvanced module as you normally would.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 02-04-2007, 09:17 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

https://vborg.vbsupport.ru/showthrea...=latest+sticky
Reply With Quote
  #63  
Old 02-04-2007, 09:24 AM
Quantnet Quantnet is offline
 
Join Date: Nov 2006
Location: NYC
Posts: 649
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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'">
Reply With Quote
  #64  
Old 02-04-2007, 09:29 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool. You can do a lot with conditionals. There are plenty of them you can use.
Reply With Quote
  #65  
Old 02-16-2007, 05:06 AM
Quantnet Quantnet is offline
 
Join Date: Nov 2006
Location: NYC
Posts: 649
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #66  
Old 02-16-2007, 05:19 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Give the <td> a class="alt1" or altt2
Reply With Quote
  #67  
Old 02-22-2007, 09:13 PM
Quantnet Quantnet is offline
 
Join Date: Nov 2006
Location: NYC
Posts: 649
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

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

Thanks for the quick update
Reply With Quote
  #68  
Old 03-02-2007, 06:04 AM
JustinBr JustinBr is offline
 
Join Date: Sep 2006
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #69  
Old 03-02-2007, 06:39 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The gridline is from the table cellspacing="1". Set it to zero.
you need to fix your images path.
Reply With Quote
  #70  
Old 03-02-2007, 01:39 PM
JustinBr JustinBr is offline
 
Join Date: Sep 2006
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #71  
Old 03-02-2007, 02:09 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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])
Reply With Quote
Reply

Thread Tools

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


All times are GMT. The time now is 05:48 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09437 seconds
  • Memory Usage 2,293KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete