Jump to content

Dan Cole

Member Since 07 Oct 2007
OFFLINE Last Active Today, 02:03

#1756253 Converting Points and Rewards system for osC BS

Posted by Dan Cole on 28 April 2017 - 11:52

Anyone had a look at my beta package?

3 downloads only? Hmmm...it seems like this whole point system is not so popular I guess. :rolleyes:




Thanks again for your e-mail G! :thumbsup:


Lambros I'm definitely interested...I'm just so busy right now and with the little bit of time I have I'm playing around with the order editor right now.  Don't give up, we're watching from the side lines at this point.



#1755753 Orders not getting confirmed

Posted by Dan Cole on 14 April 2017 - 00:34

You'll probably get different views on this but to me doing your development on/in an environment as close as possible to the one it'll be used on is ideal.   I do all my testing and development in a directory on my production site or at least on a site that is hosted on the same server.   I don't want to chase issues that I won't have on the production site or indeed find out I have issues when I move my work to the production site. 



#1755688 I need help to edit .pdf files

Posted by Dan Cole on 12 April 2017 - 01:35

@MrPhil - re a stable release...that's upcoming.  I really want to get the php7 changes in there first, but we are having real problems getting enough feedback on the changes (do they work, do they break something, do they work on redhat but not on debian), things like this.


@burt  Gary I wonder if part of the problem here is that php 7.0 doesn't seem to be in very wide use yet....I have access to a couple of cpanels and it's not yet an option....out of curiosity I googled the usage stats for php 7 and it looks like it is only used by 3.4% of all sites using php at this point. 


This information is taken from here.




#1755590 Error when signing into account

Posted by Dan Cole on 08 April 2017 - 19:27

Hummmm.....if I were you I'd use the opportunity to upgrade to the Responsive version....either gold or edge so you have a mobile friendly site.  If you choose not to, you'll never be certain that you got things completely cleaned and a backdoor or some thing wasn't left behind.  


Regarding the error message... password_reset_key should exist in your customer_info table so have a look at that table and see what wrong.   Did your database get hacked too?



#1755580 Tracking numbers for batch print

Posted by Dan Cole on 08 April 2017 - 13:58

Just an update, I'm now scanning in our tracking numbers.  :)  


I modified a copy of the batch update contribution and added a field for the tracking numbers and the ability to over ride our default shipping provider in case another shipped is used.  Now we can just scan the numbers in as we are adding the labels to the outgoing orders...hit submit and....


1. The information is recorded in the tracking table.

2.  The customer receives an email indicating the order is being shipped and is provided with the tracking information.

3. The order status is updated and the tracking number is also recorded in the comments field for quick reference should we get an inquiry.


Unfortunately what I is pretty unique to our operation so it's not likely to be of much use to anyone else but if anyone else is planning to go down this path and would like the code just PM me.



#1755285 splitPageResults won't work when using GROUP BY

Posted by Dan Cole on 30 March 2017 - 20:03

The splitPageResults class expects to see a SQL string in lower case only, and will ignore all upper case characters. Fix your case and your results should be correct.





That has caused me to pull my hair out a couple of times. (w00t)



#1755010 Something little for shipping and payment adress

Posted by Dan Cole on 23 March 2017 - 18:28

@beerbee Can it be done with a hook Christoph so you're not changing the core?



#1754834 Dashboards

Posted by Dan Cole on 19 March 2017 - 13:55

Thanks to an enthusiastic supporter of osCommerce, who shared this code with me, we now have an iBar Email Dashboard module that will show you the number of unread Gmail emails pending in your service or help desk email account.


It looks like this...


Attached File  iBar_Emails.jpg   11.08KB   2 downloads


For those who want to take it for a test drive here it is...


Attached File  iBar Emails.zip   2.99KB   4 downloads


If you have any problems with it just let me know.



#1754809 Dashboards

Posted by Dan Cole on 18 March 2017 - 18:20

Wow...it is sure nice to have a database wizard around.   That works perfectly. (w00t) 


I would never have figured that out.  In fact even looking at the subquery has me baffled.  :wacko: 


Thanks Carine. I really appreciate it...it was driving me nuts. :thumbsup:  



#1754643 How to make a 2.4 App

Posted by Dan Cole on 15 March 2017 - 02:46

@Dan Cole


Got my apps mixed up -- that line should be namespace OSC\Apps\Test\Test\Module\Content


For those following along, please change it in your file.


Thanks for that Frank....now I understand. :D


To get myself up to speed on namespaces I googled for it and found this nice explanation.




PS:  I actually understood most of it. :wacko:

#1754469 [Addon] iBar Dashboard Modules

Posted by Dan Cole on 09 March 2017 - 19:43



Do you have a link to the gmail script?


I don't actually have the script but have a look at this post and the one by Gary that follows it in the iBar development thread.   If your interested google imap_open and it should give a good idea about coding it.  Frank will likely share his code too, if you ask him nicely. 



#1754467 [Addon] iBar Dashboard Modules

Posted by Dan Cole on 09 March 2017 - 19:27

@mattjt83  I really like the concept of dashboards and I think this has a ton of potential...Frank has a script to read from Gmail and I can think of another 4 or 5 modules I want to add so it should be a good way to keep an eye on what's important to shop owners.   Glad you like it so far.  :thumbsup:



#1754359 Devious Trick or Super Smart

Posted by Dan Cole on 07 March 2017 - 12:38

I'd say Devious and False advertising.  Not on my moral compass.



#1754097 Dashboards

Posted by Dan Cole on 03 March 2017 - 04:06

Got a little side tracked and started to actually work on my business.  I guess the iBar modules are having the desired affect. :thumbsup:


Here is what my Dashboard looks like at the moment.  


Attached File  DashBoard.jpg   124.24KB   0 downloads


Now that I have achieved my new products goal I'm going to spend a little time sending out requests for reviews.  I'm using Gary's Key System which is all set up to go and I have a couple of iBar review modules on the Dashboard.  I can't run a cronjob on the server where my site is hosted so it's a manual process but one that shouldn't take up too much time -- it just needs some focus.  


I also want to spend some time setting up "specials" on a regular basis so there will be an iBar module for that in the not to distant future.


What does your Dashboard look like?



#1753762 [Addon} Modular Front Page

Posted by Dan Cole on 25 February 2017 - 13:18

Personally I think the only reason this is a question is because of the number of releases and various versions of osC that exist....if we had an up to date official release, the user base would be using relatively common code and coders would, by demand, end up updating their code to work with it.  The support on the forums here would be much simpler too. 


As Jim points out having coders revise or even keep up with changes between releases isn't likely to happen for the reasons he mentions.