Contributions
Random Quotes v1.0 w/admin
This Is my first ever release .
This Will Give you a new infobox with a random quote or saying pulled from the database .
i have modified the script phpMyQuote v0.10 to work with osCommerce and added features . the original script can be found at : http://skintech.skinbase.org/ .
just wanted to give credit where credit was deserved .
our web site can be found at :
http://www.teksigns.com
Expand All / Collapse All
Sorry small typo in desc below:
Updated Install 1.02a
Update by TCwho: http://forums.oscommerce.com/index.php?showuser=48693
There was a small error after installing. The edit quote icon inside of the
admin console would not show up properly.
So I just edited the portion containing the edit icon to this:
SRC="images/icon_edit.gif
Thats All. This is my first Contribution. I am doing my part in this
Open License World :D
Updated Install 1.02
Update by TCwho: http://forums.oscommerce.com/index.php?showuser=48693
There was a small error after installing. The edit quote icon inside of the
admin console would not show up properly.
This was the old code in two different places:
echo "<TR BGCOLOR=#$barva><TD WIDTH=36><A HREF="$PHP_SELF?action=edit&id=$ar[id]"><IMG SRC="imagesicon_edit.gif" BORDER=0></A> <A HREF="$PHP_SELF?action=delete&id=$ar[id]"><IMG SRC="images/icon_delete.gif" BORDER=0></A></TD><TD>$ar[quote]</TD><TD ALIGN=CENTER>$ar[num]</TD><TD ALIGN=CENTER>$mystat</TD></TR>";
echo "<TR BGCOLOR=#$barva><TD WIDTH=36><A HREF="$PHP_SELF?action=edit&id=$ar[id]"><IMG SRC="imagesicon_edit.gif" BORDER=0></A> <A HREF="$PHP_SELF?action=delete&id=$ar[id]"><IMG SRC="images/icon_delete.gif" BORDER=0></A></TD><TD>$ar[quote]</TD><TD ALIGN=CENTER>$ar[num]</TD><TD ALIGN=CENTER>$mystat</TD></TR>";
So I just edited the portion containing the edit icon to this:
SRC="images/icon_edit.gif
Thats All. This is my first Contribution. I am doing my part in this
Open License World :D
Correction to DB Table creation.
Apart from that appears to work very well.
v1.01 update.
-----------------------------------------------
i have added the ability for customers
to add new quotes to the database .
once added it sends a email to the system admin
for approval. you must approve the quote
via the admin center before it will be shown on a live site.
i have also added the ablilty to disable this new
feature under configuration > my store
this is for those that may not want there customers adding
to it .
This Is my first ever release .
This Will Give you a new infobox with a random quote or saying pulled from the database .
i have modified the script phpMyQuote v0.10 to work with osCommerce and added features . the original script can be found at : http://skintech.skinbase.org/ .
just wanted to give credit where credit was deserved .
our web site can be found at :
http://www.teksigns.com
Note: Contributions are used at own risk.