PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
mijohnst
New Member
New Member


Joined: Sep 05, 2004
Posts: 8

PostPosted: Sun Sep 05, 2004 4:06 pm Reply with quote Back to top

I really like how this looks, so great job to the person who wrote it! I'm not using any nuke and just running off a plain website. I saw that I have to provide my own way of authenticating my username and password with yahoo. Has anyone else already done this? I'd love to keep using KISSQ, but I'm not a programmer wouldn't even know where to begin on this. Thanks!

Mike
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 14924
Location: Kansas

PostPosted: Sun Sep 05, 2004 4:11 pm Reply with quote Back to top

I (Raven) wrote this. Thanks for the kudos Wink

Yes, there are many who have done this. They usually have a site with a membership script of some kind already in place. If you have none, you might take a look at
Only registered users can see links on this board!
Get registered or login to the forums!
for many suggestions. if none meet your needs, I or some others here would be willing (and able) to write you the facility for kaching!$.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
mijohnst
New Member
New Member


Joined: Sep 05, 2004
Posts: 8

PostPosted: Mon Sep 06, 2004 1:04 pm Reply with quote Back to top

Raven,

You're awesome. I love how this script works. Smile I will spend some time looking at hotscripts.com (that's where I found your awesome program) and if I can't find anything that works, I'd be very happy if someone could help me. I'll even donate $20's to your support. Smile Thanks again for the fast response. Smile

Mike

PS) You can check out what I'm doing with your script at
Only registered users can see links on this board!
Get registered or login to the forums!
and click on stocks.
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 14924
Location: Kansas

PostPosted: Mon Sep 06, 2004 1:12 pm Reply with quote Back to top

Donations are good - I like donations Wink

Keep me posted. We can help, for sure RavensScripts
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
mijohnst
New Member
New Member


Joined: Sep 05, 2004
Posts: 8

PostPosted: Tue Sep 07, 2004 11:02 pm Reply with quote Back to top

Raven,

Thanks so much for your help. Smile I really couldn't find anything on how to make a login for the stock ticker to work on my site. I guess it's because I don't really know what I'm looking for. Anyway, I've donated $20 from my
Only registered users can see links on this board!
Get registered or login to the forums!
email address. I think you have a great nuke and with that I had a need to set this kind of site up... Smile Would you mind helping me out in finding a way to reach my yahoo finance place? Thanks again for your help and keep up the great work!

Mike
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 14924
Location: Kansas

PostPosted: Tue Sep 07, 2004 11:20 pm Reply with quote Back to top

I'm heading into bed but I'll contact you tomorrow. Are you just wanting to be able to display your personal picks? If that's all the that's pretty easy. And thanks for the donation!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
mijohnst
New Member
New Member


Joined: Sep 05, 2004
Posts: 8

PostPosted: Wed Sep 08, 2004 12:54 pm Reply with quote Back to top

Raven,

Thanks for the great response speed... Smile I think it would be awesome if anyone who came to my site could put in the symbol number and see what any stock is going for, but if I could at least just put mine in, that would be good enough. Smile I like to track about 10 stocks. Besides, I don't think anyone would come to my site just for stock info when there are tons of sites that already do it. Thanks again!!

Mike

PS) I don't need this right away. My first son was born on Monday and this has become a side job!

RavensScripts
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 14924
Location: Kansas

PostPosted: Thu Sep 09, 2004 1:40 pm Reply with quote Back to top

I had thrown together a quick-n-dirty fix for you but I really wasn't happy with it. So, I'm working on a more formal presentation and I will release it then - shortly Wink
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
mijohnst
New Member
New Member


Joined: Sep 05, 2004
Posts: 8

PostPosted: Thu Sep 09, 2004 7:26 pm Reply with quote Back to top

Thank you Raven!!
RavensScripts
View user's profile Send private message
mijohnst
New Member
New Member


Joined: Sep 05, 2004
Posts: 8

PostPosted: Tue Sep 14, 2004 11:31 pm Reply with quote Back to top

Just wonder if you've had a chance to work on it. Smile Not pushing you, just excited. Smile
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 14924
Location: Kansas

PostPosted: Wed Sep 15, 2004 4:03 am Reply with quote Back to top

I may have to fall back on the other fix. I've been exceptionally busy since I last responded. I'll try to take a look at this todat.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 14924
Location: Kansas

PostPosted: Wed Sep 15, 2004 7:21 am Reply with quote Back to top

Okay, give this a shot Wink

Find
Code:
if (!isset($username)) $username = "";
and change it to
Code:
if (!isset($username)) $username = "";


// Begin quick and dirty hack to allow an admin to maintain a portfolio without a registration system
$submit = strip_tags($HTTP_POST_VARS[actionSubmit]);
$username = 'USERNAME';  //Change this to your username in your portfolio table
$userpass = 'PassWord';
if ($submit=="Update Portfolio"||$submit=="Add to Portfolio"||$submit=="Delete From Portfolio") {
   if (!($_SERVER['PHP_AUTH_USER']==$username && $_SERVER['PHP_AUTH_PW']==$userpass)) {
      header("WWW-Authenticate: Basic realm=Restricted");
      header("HTTP/1.0 401 Unauthorized");
      die('Authorization is required for this function.');
   }
}
// End quick and dirty hack to allow an admin to maintain a portfolio without a registration system

Now this is not a secure way to do this. The reason is that your username and password are hardcoded into the script. While noone will be able to know this infor unless they can read your index.html file, you should probably store it in a file somewhere else and read the file into the script. But, it is reasonably safe. Let me know Smile
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
mijohnst
New Member
New Member


Joined: Sep 05, 2004
Posts: 8

PostPosted: Wed Sep 15, 2004 10:03 pm Reply with quote Back to top

Wow Raven! This is exactly what I wanted. Smile Thank you so much for taking the time to do this!
View user's profile Send private message
mijohnst
New Member
New Member


Joined: Sep 05, 2004
Posts: 8

PostPosted: Tue Oct 05, 2004 11:00 am Reply with quote Back to top

I think I found a bug... Smile When I try to remove a symbol I get this error:

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/mjjohnst/public_html/stocks/index.php on line 369

ERROR while deleting record.
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 14924
Location: Kansas

PostPosted: Tue Oct 05, 2004 11:18 am Reply with quote Back to top

It works perfectly here. I also know it is working on thousands of non-nuke sites, so I would suspect that something else is causing it, Maybe the user code is somehow interferring? Pleas post what line 369 is.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum