
jimleeder123
Members-
Posts
84 -
Joined
-
Last visited
Everything posted by jimleeder123
-
Its now working. Went on the Plesk on our server, restored DNS to default and it now works. Odd.
-
I changed the nameservers from the default 123 reg ones to the prophet tech ones in the nameserver management section for the domain in the 123 reg control panel, and nothing else. Do I need to do anything else in the DNS?
-
All I did for www.thepizzacompany.co.uk on 123 reg was change the nameservers to ns1.prophettech.co.uk and ns2.prophettech.co.uk. I'm sure its been over 48 hours, enough time for it to propagate. I don't understand any of the code you put up tbh, was does it mean please? (am a web developer, not a server admin guy)
-
What do you mean? An example of a website working on the server is www.justgeordies.co.uk.
-
Sorry if this is in the wrong section. I have a domain - www.thepizzacompany.co.uk - I changed the nameservers for it on 123 reg to my company's nameservers two days ago, but it hasn't come up with the files on our server yet. A wordpress website should be there. Has it been fully propagated yet or does it need more time? Or anymore input from me? Thanks in advance.
-
Stop submit if function returns false
jimleeder123 replied to jimleeder123's topic in Javascript Help
Ok have done, thanks a lot for your help! -
Stop submit if function returns false
jimleeder123 replied to jimleeder123's topic in Javascript Help
I've found this jQuery date picker, works ok - https://jqueryui.com/datepicker/ -
Stop submit if function returns false
jimleeder123 replied to jimleeder123's topic in Javascript Help
The problem with that is the HTML5 date field is not possible with all browsers, unless you'd do that with JavaScript? -
I've got this code, returns true if the date format entered in a field is correct, or false if its wrong. Code below. $(function(){ //when form is submitted, check the date entered $('#submit').click(function( e ){ checkDate(); }); }) I want to stop the form from submitting but can't get it to work. I've tried putting "e.preventDefault();" under the checkDate function (which works fine itself) but doesn't work. I've tried an if statement but couldn't get it to work. Basically if the function returns false then it shouldn't submit (but does when you click submit currently) Please note I'm a JavaScript novice, got the function online.
-
Thanks, that worked. Been a while since I did jQuery, I remember stopPropagation now.
-
I've got some jQuery code that makes items disappear when you click the body as shown below which works. $(document).ready(function(){ $("body").click(function(){ $(".weblink").css("background-color", "transparent"); $(".webdropdown").css("display", "none"); }); }); So when you click a button, I want the items (.weblink and .webdropdown) to NOT disappear. I need them to either appear, or stay on the screen if they are already on (unlikely but could happen). I imagine a prevent default behaviour thing on the body would work, but what I've got doesn't work. My code for this is below. $(document).ready(function(){ //click the button $(".weblink").click(function(){ event.preventDefault("body"); $(".webdropdown").css("display", "inline-table"); $(".weblink").css("background-color", "#E7CF4F"); }); }); Any help will be gratefully accepted.
-
I have discovered that I can use a rule in Outlook to decide whether to print an email or not (yes if cash order, no if paypal order). So what I need is to print the order email that has the order number that matches the PayPal order ID WHEN the PayPal email is recieved. I need Visual basic code to recognise the order number, and do this. The order number is in the body of both emails. Does this make sense? Any help will be appreciated. Thanks.
-
[Visual Basic] Check e-mail body text
jimleeder123 replied to jimleeder123's topic in Other Programming Languages
I've tried the following code to see if a message box appears when an email comes in with "cash" in the body text (have a rule set up to check them). But its not working, any help please? Function payment() Var bodyText = LCase(Mail.Body.Text) If InStr(bodyText, "cash", vbTextCompare) Then MsgBox "Paid by Cash" Else MsgBox "Paid by PayPal" End If End Function Sub CheckMail(MyMail As MailItem) MsgBox (payment) End Sub -
[Visual Basic] Check e-mail body text
jimleeder123 replied to jimleeder123's topic in Other Programming Languages
Ok thanks. It will contain either cash or paypal depending on the method the customer chooses. The email gets printed out, and shouldn't be printed if it says paypal. We want to print the email only when the matching paypal receipt is recieved. Do you know some VB code that will check for the matching email once the paypal email has arrived? They will both either have the order ID in the subject or body text. -
I am looking to add code into Outlook. I want to use visual basic to check an e-mail's body text and print if it contains the word "cash". It will contain either that or PayPal. So basically all I wanna know is what to put in the if statement to check for it. I have the code to use to print it. I imagine it would be something like " if mail.body.text = cash" or something like that. I'm new to Visual Basic so any help will be welcomed. Thanks.
-
I need a free open source alternative to Visual Studio. I need it to learn visual basic, and to work on Windows XP SP3. Is there one available? Thanks.
- 1 reply
-
- visual basic
- visual studio
-
(and 2 more)
Tagged with:
-
Update: actual error is: (misprinted in previous post) Warning: array_push() expects parameter 1 to be array, null given in /var/www/vhosts/pizzacaldo.co.uk/httpdocs/newjoomla/libraries/tcpdf/tcpdf.php on line 17047 Warning: array_push() expects parameter 1 to be array, null given in /var/www/vhosts/pizzacaldo.co.uk/httpdocs/newjoomla/libraries/tcpdf/tcpdf.php on line 17047 Warning: array_push() expects parameter 1 to be array, null given in /var/www/vhosts/pizzacaldo.co.uk/httpdocs/newjoomla/libraries/tcpdf/tcpdf.php on line 17047 Warning: array_push() expects parameter 1 to be array, null given in /var/www/vhosts/pizzacaldo.co.uk/httpdocs/newjoomla/libraries/tcpdf/tcpdf.php on line 17047 Warning: array_push() expects parameter 1 to be array, null given in /var/www/vhosts/pizzacaldo.co.uk/httpdocs/newjoomla/libraries/tcpdf/tcpdf.php on line 17047
- 1 reply
-
- joomla
- virtuemart
-
(and 2 more)
Tagged with:
-
On my Joomla 2.5 / Virtuemart 3 website I get the following error - Warning: array_push() expects parameter 1 to be array, null given in /var/www/vhosts/pizzacaldo.co.uk/httpdocs/newjoomla/libraries/tcpdf/tcpdf.php on line 17047 Warning: array_push() expects parameter 1 to be array, null given in /var/www/vhosts/pizzacaldo.co.uk/httpdocs/newjoomla/libraries/tcpdf/tcpdf.php on line 17047 Warning: array_push() expects parameter 1 to be array, null given in /var/www/vhosts/pizzacaldo.co.uk/httpdocs/newjoomla/libraries/tcpdf/tcpdf.php on line 17047 Warning: array_push() expects parameter 1 to be array, null given in /var/www/vhosts/pizzacaldo.co.uk/httpdocs/newjoomla/libraries/tcpdf/tcpdf.php on line 17047 Warning: array_push() expects parameter 1 to be array, null given in /var/www/vhosts/pizzacaldo.co.uk/httpdocs/newjoomla/libraries/tcpdf/tcpdf.php on line 17047 I'm told on the Virtuemart forum it might be something to do with the PDF invoice generating (which I or my clients never use - only the admin order confirmation e-mail is used). Can someone please tell me how to fix this? Thanks.
- 1 reply
-
- joomla
- virtuemart
-
(and 2 more)
Tagged with: