Jump to content


  • Content count

  • Joined

  • Last visited

1 Follower

About dcphosting

  • Birthday 10/02/1957

Profile Information

  • Real Name
    Doug Poire
  • Gender
  • Location
    Princeton, MN 55371
  • Interests
    Keeping my wife happy,
    Breaking websites - one by one,
    Mixing flours and sugar with water then heating at 350 for 35 minutes ,
    Screwing with script kiddies,
    & chasing our 5 cats.
  • Website
  1. dcphosting

    NewsDesk v1.48 Support

    The links on this post are no longer valid (someone tried it 5 minutes ago so I figured I would add this notification.)
  2. dcphosting

    Links Manager II

    Great contribution! It literally only took minutes to do the installation. The only "bug" I ran into had already been discussed in the forum (which naturally I did not read until after I added the ,'1'). Did a couple tweaks to suit my preferences (try that with proprietary software). Great job folks.
  3. dcphosting

    NewsDesk v1.48 Support

    Hiya, I just did a manual install of "oscommerce-2.2rc2a", "HeaderTags_SEO_V_3.1.0", "oscommerce-openid", "private_messages_with_admin_1", "Ultimate_Seo_Urls_v2.6_(18 Aug 2008)", and "newsdesk_v_1.50 All Bug FIX" package today (only error was from "tep_hejri3"). You can see a basic newsdesk functioning at http://www.perpetualparadise.com/image-nc-1.html. I will be populating it with other material shortly. (It is sitting next to a CMS program so the index page is http://www.perpetualparadise.com/index2.php). On newsdesk_index.php I am having a little problem with the "Get the right image for the top-right" section as the image information is not making it to the page (src="images/"). Played with it alittle to no avail, I'll worry about that later. I am really pleased with my first impressions of this contribution. It is looks really polished. To the authors and contributors, Thank you kindly for your hard work. It is appreciated. doug
  4. Yep, everything set okay. The source code shows the stuff getting written like: leftrightslide[0]='<a href="http://www.ajmachineryonline.com/31b-radius-block-p-11762.html"><img src="images/hossfeld/p16a.jpg" border="0" alt="31B Radius Block 4" width="100" height="75" valign="middle"><\/a>'; blah blah leftrightslide[14]='<a href="http://www.ajmachineryonline.com/20b9-form-die-18-and-20-p-11448.html"><img src="images/hossfeld/p37b.jpg" border="0" alt="20B9 Form Die 18 and 20" width="100" height="75" valign="middle"><\/a>'; Separately, I've got vertical scrollers that work. I fail to see what is wrong with the code/installation.
  5. This is how I modified the query to select active products with images from the database. $header_products_query = tep_db_query("select p.products_id, p.products_image, pd.products_name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id in ('" . implode("', '", $prod_array) . "') and p.products_id = pd.products_id and p.products_status = '1' and p.products_image != '' order by rand() limit " . DISPLAY_SCROLLING_HEADER_PRODUCTS); I have inserted the and p.products_status = '1' (and a few other query mods) in nearly every applicable query. Then I used this ugly statement and p.products_image != '' to filter products from the query that did not have any image.
  6. Good day, I just tried installing this contribution and am unable to see any images whatsoever. The page source code suggests that it is working, I just don't see any images in IE7, FF2.0 or O9.35. Here is the outputted source code: <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr> <td align="center" valign="middle"><script type="text/javascript"> //Specify the slider's width (in pixels) var sliderwidth="760"; //Specify the slider's height var sliderheight="75"; // Change to match your image height //Specify the slider's slide speed (larger is faster 1-10) var slidespeed=2; //configure background color: slidebgcolor="#fffff1"; // background color //Specify the slider's images var leftrightslide=new Array(); var finalslide=''; leftrightslide[0]='<a href="http://www.ajmachineryonline.com/51b-radius-block-19-p-11830.html"><img src="images/hossfeld/p17.jpg" border="0" alt="51B Radius Block 19" width="50" height="75" valign="middle"></a>'; // if (sliderwidth > 50) // These 2 lines were causing 0 slider width so no display so I commented them out. // sliderwidth = 50; //Specify gap between each image (use HTML) var imagegap=" "; //Specify pixels gap between each slideshow rotation (use integer): var slideshowgap=0; var copyspeed=slidespeed; leftrightslide='<nobr>'+leftrightslide.join(imagegap)+'</nobr>'; var iedom=document.all||document.getElementById; if (iedom) document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100px;left:-9000px">'+leftrightslide+'</span>'); var actualwidth=''; var cross_slide, ns_slide; function fillup() { if (iedom) { cross_slide=document.getElementById? document.getElementById("test2") : document.all.test2; cross_slide2=document.getElementById? document.getElementById("test3") : document.all.test3; cross_slide.innerHTML=cross_slide2.innerHTML=leftrightslide; actualwidth=document.all? cross_slide.offsetWidth : document.getElementById("temp").offsetWidth; cross_slide2.style.left=actualwidth+slideshowgap+"px"; } else if (document.layers) { ns_slide=document.ns_slidemenu.document.ns_slidemenu2; ns_slide2=document.ns_slidemenu.document.ns_slidemenu3; ns_slide.document.write(leftrightslide); ns_slide.document.close(); actualwidth=ns_slide.document.width; ns_slide2.left=actualwidth+slideshowgap; ns_slide2.document.write(leftrightslide); ns_slide2.document.close(); } lefttime=setInterval("slideleft()",30); } window.onload=fillup; function slideleft() { if (iedom) { if (parseInt(cross_slide.style.left)>(actualwidth*(-1)+8)) cross_slide.style.left=parseInt(cross_slide.style.left)-copyspeed+"px"; else cross_slide.style.left=parseInt(cross_slide2.style.left)+actualwidth+slideshowgap+"px"; if (parseInt(cross_slide2.style.left)>(actualwidth*(-1)+8)) cross_slide2.style.left=parseInt(cross_slide2.style.left)-copyspeed+"px"; else cross_slide2.style.left=parseInt(cross_slide.style.left)+actualwidth+slideshowgap+"px"; } else if (document.layers) { if (ns_slide.left>(actualwidth*(-1)+8)) ns_slide.left-=copyspeed; else ns_slide.left=ns_slide2.left+actualwidth+slideshowgap; if (ns_slide2.left>(actualwidth*(-1)+8)) ns_slide2.left-=copyspeed; else ns_slide2.left=ns_slide.left+actualwidth+slideshowgap; } } if (iedom||document.layers) { with (document) { write('<table border="0" cellspacing="0" cellpadding="0"><td>'); if (iedom) { write('<div style="position:relative;width:'+sliderwidth+';height:'+sliderheight+';overflow:hidden">'); write('<div style="position:absolute;width:'+sliderwidth+';height:'+sliderheight+';background-color:'+slidebgcolor+'" onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed">'); write('<div id="test2" style="position:absolute;left:0px;top:0px"></div>'); write('<div id="test3" style="position:absolute;left:-1000px;top:0px"></div>'); write('</div></div>'); } else if (document.layers) { write('<ilayer width='+sliderwidth+' height='+sliderheight+' name="ns_slidemenu" bgColor='+slidebgcolor+'>'); write('<layer name="ns_slidemenu2" left=0 top=0 onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed"></layer>'); write('<layer name="ns_slidemenu3" left=0 top=0 onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed"></layer>'); write('</ilayer>'); } document.write('</td></table>'); } } </script> My Test Page I have enable/disable categories (and an extension for manufacturers) but they shouldn't interfer (only affects should be getting unwanted images) but that shouldn't matter. I installed "Scrolling Images Carousel With Hotlinks In Header" V1.2, 18 Jun 2005 with ihatedeskjets "easier install". What is wrong with this output?
  7. dcphosting

    Run sql file to creat new database table

    Hi Del, If you or your site host have access to phpmyadmin follow these directions: from Micholas previous answer:
  8. dcphosting

    [Contribution] Cross Sell (X-Sell) Admin

    From your description I would suggest this untested solution: I am assuming that you are getting only data out relating to the last loop, but if I understand your description this should fix the issue. Somewhere on top of the file you may want to add $info_box_contents_total = ''; to ensure it starts empty.
  9. Mark, Just wanted to take a moment to say thank you for this contribution. It was easy to convert and install in my heavily modified store. I started the install and modifications this morning and other than my typos, I had no problems. The programming logic seemed easy to grasp and follow. :thumbsup: When I read the contribution description, I was mostly drawn by mbuswell's with Agent(or sales rep) Tracking. I figured sales rep meant sales rep (Outside $ale$ Repre$entative) not affiliate linker, as I later learned. Letting the Outside Salesmen know when one of their customers has been online and viewing equipment could be fantastic sales oppertunities for them (Primarily items priced upwards of $5000.00). I may not have installed the contribution had I read all the material. But, even having Google Analytics, I think I like it anyways. With just a couple modifications I got to see more information in my who's online window in admin/index.php. Known friendly ips are labeled with nicknames. If its a bot, I call it by name and not a guest. I'll figure a way to tie Agents to our sales reps and their clients and get the reports I want. Editing a line here and there is pretty easy, you folks did all the hard work. My thanks to equilla, azer, Monika in Germany, mr_absinthe, and mbuswell for their files on this project and to the people of the forums who contributed ideas and solutions.
  10. dcphosting

    [Contribution] buySAFE module for osCommerce

    Hi Jonathan, I looked at this contribution for my own sites and and was disappointed to see that they now charge a minimum of $14.00 per month (with some packages passing $858.25* per month). Sticking my nose where it probably does not belong, I then checked out the achieved page: 'http://web.archive.org/web/20070427181415/www.buysafe.com/seller_solutions/benefits.html" which was archived 3 days before the contribution was posted to the addon section of osCommerce. I do not know when they changed policy, but AT THAT TIME** they DID have a package which was totally free for the merchant (it looks like the purchaser paid for the bonding with the lower level package). Hopefully I got my figures and calculations correct. *When the package costs this much a month, it is a trivial item to the merchant (.10299%). **Note: Capitalization used for emphasis only. No shouting involved.
  11. dcphosting

    [Contribution] Cross Sell (X-Sell) Admin

    Hi rick, This forum is for Cross Sell (X-Sell) Admin Cont# 1005. I am thinking that your are looking for the forum for X-Sell v2-MS2 - Cross Sell for MS2 Cont# 1415 (This contribution uses admin/xsell_products.php) Yes, it does get really confusing with so many similar mods (and then mods of mods). I did not see any specific forum for your mod, I did find many single topic posts for that mod. (too bad those couldn't be 'moved'). By the way, define('FILENAME_XSELL_PRODUCTS', 'xsell.php'); defines a filename not a function. From your problem description it sounds like you forgot step 14 of the installation instructions: ####################################################################### ############## STEP 14: Add to /catalog/admin/includes/functions/general.php //Cache function rdel($path, $deldir = true) { // $path est le chemin relatif au fichier php // $deldir (paramètre optionel, par défaut à vrai) permet de dire si vous souhaitez supprimer le répertoire (vrai) ou le vider uniquement (faux) // on vérifie d'abord que le nom du repertoire contient "/" à la fin, sinon on le lui rajoute if ($path[strlen($path)-1] != "/") $path .= "/"; if (is_dir($path)) { $d = opendir($path); while ($f = readdir($d)) { if ($f != "." && $f != "..") { $rf = $path . $f; // chemin relatif au fichier php if (is_dir($rf)) // si c'est un répertoire on appel récursivement la fonction rdel($rf); else // sinon on efface le fichier unlink($rf); } } closedir($d); if ($deldir) // si $deldir est vrai on efface le répertoire rmdir($path); } else { unlink($path); } } //Fin cache ################################################################################ ##### Give this a try.
  12. dcphosting

    [Contribution] Cross Sell (X-Sell) Admin

    Hi Kyle, I put my code at the end of the page like this: </td> </tr> </table></form><?php include(DIR_WS_MODULES . FILENAME_XSELL_PRODUCTS); ?> </td> You hadn't mentioned where you had tried putting it in your code previously so I hope this isn't one of the places you tried already. Good luck.
  13. dcphosting

    [Contribution] Cross Sell (X-Sell) Admin

    Good Evening Boorkhard, I think we have the same contribution installed (maybe not the same version, but...). Can you turn your caching OFF? (I found that one of the problems during "debugging" was that I was not seeming changes because of my caching.) In my set-up 'MAX_DISPLAY_XSELL' is the variable which controls the number of XSELL products. The variable 'MAX_DISPLAY_ALSO_PURCHASED' shown in the codebox is for another contribution. If you hard code a number in place of the variable and are not seeing changes then your caching is part of your problem.
  14. dcphosting

    Auto Login BUG

    Hi all, I just installed this mod (Oct 24, 2007 snapshot + SEO index fixes) to an existing store. The install was easy. Directions clear. For the most part AutoLogin seems to be working just great. I am a little confused about some of its behaviour. All trials have been done with Firefox 2.0/XP. The only time I see the log-out page is when I actually log out. Then closing the tab and re-entering the site requires me to sign-in again. Seems proper I guess. (I had assumed/hoped that logging-out would not affect behavior of the next re-entry.) If I leave my site without closing the tab and later return, I am automatically logged in on the re-entry page. If I leave my site by closing the tab and return through a new tab, I am not logged in on the re-entry page.. However, the next page I navigate shows that I am then logged in. I have not been redirected to any log-in or log-out page. I only gone to those pages when specifically clicking on a link. So I guess the only issue I have would be the second to last point about not being logged in on the first page visited. Decent contribution.
  15. dcphosting

    [Contribution] Cross Sell (X-Sell) Admin

    Good day, If you installed this contribution (Cross Sell (X-Sell) Admin), you would select Cross Sell in Maximum Values under Configuration and edit the value. If you installed another contribution (cross Sell or something like that), I am not sure. I looked for their support group(s) to try and redirect you but overlooked them. There are several flavors of Cross Sell with many versions each. Let me know what exactly you downloaded and installed (link please) and I'll look at the code. I suspect it is in the sql query, probably after the word "limit" in catalog/includes/modules/xsell_products.php or something like that. No guarantees, but I'll look for ya. If you know my new friends, you'll understand why I have the time. Anyways this might just be fun.