Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> PHP
Author Message
elrayjones
Regular
Regular



Joined: Oct 08, 2004
Posts: 55
Location: Texas

PostPosted: Sun Nov 28, 2004 1:58 pm Reply with quote

on my main page i have some scrolling blocks that pull content from Amazon and The PosterShop. insted of loading all these links and then using marque to scroll them, i would like to display them like a banner that rotates with each page load. anyone got any php code that will do this without storing information in a database?

EJ

_________________
Shopping Mall at Only registered users can see links on this board! Get registered or login! We have Video Games,Toys,DVD,Camera,Magazine Subscriptions,Music,Apparel,Inkjet,Food,Garden,Electronics,Kitchen,Cell Phones, Tapestry and much more 
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Mon Nov 29, 2004 1:15 am Reply with quote

I think hotscripts.com with have a few files you could use. A few are based on getting the needed info from a simple text file.
 
View user's profile Send private message Send e-mail
sixonetonoffun
Spouse Contemplates Divorce



Joined: Jan 02, 2003
Posts: 2496

PostPosted: Mon Nov 29, 2004 8:08 am Reply with quote

You might check out the Amazon module from http://www.preciogasolina.com/
once you grab the data and cache it into your database it is much easier to perform customizations to the display.

_________________
[b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 
View user's profile Send private message
Guardian2003







PostPosted: Mon Nov 29, 2004 8:52 am Reply with quote

Good idea that. I tried that module a while ago and it works very well.
I only dropped it because it was pulling data from amazon.com and I really needed it from amazon.co.uk due to the currency type dislaying as $ instead of £ .
Of course I could have spent an age modifying it but for the few sales I anticipated, it wasnt worth the effort - though I think they might have fixed that issue now.

Greta script!
 
elrayjones







PostPosted: Mon Nov 29, 2004 1:13 pm Reply with quote

sixonetonoffun wrote:
You might check out the Amazon module from http://www.preciogasolina.com/
once you grab the data and cache it into your database it is much easier to perform customizations to the display.


i got under control i just used rand like so:

srand(time());
$random = (rand()%9);


switch ($random){
case "0":
$Asin = "B0000TAZ88";
break;
case "1":
$Asin = "B00005JLF1";
break;
case "2":
$Asin = "B0000ALF8I";
break;
case "3":
$Asin = "B0001I55ZQ";
break;
case "4":
$Asin = "B0002JJTYC";
break;
case "5":
$Asin = "B0001KJOI8";
break;
case "6":
$Asin = "B00008XKZX";
break;
case "7":
$Asin = "B00008XKZE";
break;
case "8":
$Asin = "0553375970";
break;
case "9":
$Asin = "0553494376";
break;

i have been using NukeAmazon from the start it is a good mod after u smash the bugs.

I do have a question, i have designd my FanSites (Alias and Starwars) to load like so:

modules.php?op=modload&name=DOT-FanSites&file=Alias
this calls Alias.php which inturn calls Alias.html where i have all my scripts for ebay, PosterShop, etc... When i call and use the includes/NukeAmazon/functions.php using inline php from the html file nothing displays. I don't got any errors, the coding is right but nothing get displayed. I must use a completely of functions called amazon_functions to pull info from amazon and display it. any ideas?
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> PHP

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©