Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBa CMPS Stock Addon Details »»
vBa CMPS Stock Addon
Version: 1.00, by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 02-24-2005 Last Update: 03-12-2005 Installs: 14
 
No support by the author.

Compatibility: 3.0.x
Tested On: 3.0.3

What does the hack do?


This is an addon for vBadvanced CMPS, it uses AN-NET's stock hack to provide a module for your portal.

You must have vB Stocks already installed, this includes all required templates, files, and database changes.

Install Process
:

(1) New File
(2) New Templates
(1) New CMPS module

Install Time
: Quick, Less then 5 Minutes

Screen Shots Can Be Seen Below


Please click

Updates:
Reduce one query, template error
Now the module's "change" color depends on whether it's a negative or postive change. Screen Shot's below

Supporters / CoAuthors

Show Your Support

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

Comments
  #2  
Old 02-25-2005, 10:10 PM
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Location: A galaxy far, far away...
Posts: 1,450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah, you got it working. Looks nice.
Reply With Quote
  #3  
Old 02-25-2005, 10:19 PM
interfx interfx is offline
 
Join Date: Dec 2001
Posts: 209
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome, works great...
Reply With Quote
  #4  
Old 02-26-2005, 03:54 AM
Guest190829
Guest
 
Posts: n/a
Default

Found a bug that adds an additional query. For those who installed this hack please add

stocks_dropdown

into the templates used section of the module. I edited the zip file too. Sorry about that.
Reply With Quote
  #5  
Old 02-28-2005, 09:49 PM
interfx interfx is offline
 
Join Date: Dec 2001
Posts: 209
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting a connection refused error on line 15 of stocksmanager.php... Bringin my site to a "crawl"...

Anyone else have this issue? I posed this on VBStocks, but not sure where this coming from... I installed this add on for VB CMPS, maybe I'm pullign to much from Yahoo???

Anyone seen this?

It still works fine on the stocks.php page, but when I add module onto home page, it says connection refused...
Reply With Quote
  #6  
Old 03-01-2005, 02:12 AM
Guest190829
Guest
 
Posts: n/a
Default

That's odd, it's working for me. If the actual stocks hack works, so should the addon since there both doing the same exact thing...have you narrowed it down to this addon or are there others that can be causing this?

Also, the stocksmanager.php is part of AN-net's stock hack, so I think he'll be able to fix it for you.
Reply With Quote
  #7  
Old 03-13-2005, 05:49 PM
Guest190829
Guest
 
Posts: n/a
Default

I updated the addon so the font-color of the "change" is green if the change is postive and it's red if the change is negative.

For those who have this installed change adv_portal_stocksbits

to this

HTML Code:
<tr>
<td class="alt1" nowrap="nowrap"><a href="http://finance.yahoo.com/q?s=$quote[sym]" id="stock$quote[sym]">$quote[sym]</a>$dropdown</td>
<td class="alt2" nowrap="nowrap" align="center">$quote[lasttrade]</td>
<td class="alt1" nowrap="nowrap" align="center">$quote[open]</td>
<if condition="$quote[change]< 0"><td class="alt2" nowrap="nowrap" align="center" style="color:red">$quote[change]</td><else /><td class="alt2" nowrap="nowrap" align="center" style="color:green">$quote[change]</td></if>
<td class="alt1" nowrap="nowrap" align="center">$quote[day_lowrange] - $quote[day_highrange]</td>
<td class="alt2" nowrap="nowrap" align="center">$quote[volume]</td>
<td class="alt1" nowrap="nowrap" align="center">$quote[update_date] - $quote[update_time]</td>
</tr>
and for those who want to install it, I updated the zip so it will work.

-Danny.
Reply With Quote
  #8  
Old 03-29-2005, 02:02 PM
YLP1 YLP1 is offline
 
Join Date: Aug 2004
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi everyone... I am running ver 3.0.7 and when I activate this mod this is the error I am getting:

Quote:
Database error in vBulletin 3.0.7:

Invalid SQL: SELECT stockname FROM vb3_stocks WHERE active=1
mysql error: Table 'ylpforums.vb3_stocks' doesn't exist

mysql error number: 1146
I am fairly new to VB and PHP so any guidance on how to fix this is greatly appreciated.
Reply With Quote
  #9  
Old 04-01-2005, 02:24 AM
Guest190829
Guest
 
Posts: n/a
Default

You need AN-NET's Stock Hack for this to work, it seems from the error you didnt run the query needed in his hack.

Here's a link to AN-net's hack, here
Reply With Quote
  #10  
Old 04-07-2005, 08:39 PM
SRuvbnhad SRuvbnhad is offline
 
Join Date: Jan 2005
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any reason that this should interfere with a RSS Newsfeed module? After I installed the two stock hacks it basically shut down the news feed. When I disabled the stock module it works perfectly again.
Reply With Quote
Reply


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 11:11 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.05839 seconds
  • Memory Usage 2,290KB
  • Queries Executed 26 (?)
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)bbcode_html
  • (1)bbcode_quote
  • (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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (5)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete