Project / Support Center
Welcome, Guest. Please login or register. December 08, 2021, 02:09: AM
Home Help Search Login Register
D-Web Web Site Creator D - Web Web Site Creator On-line HTML Editor No Programming knowledge required. Web Global Net PayPal-Cart Shopping Cart System PayPal - Kart Shopping Cart System for E-Commerce over the internet, that's easy to use. Web Global Net Newsletter Manager Newsletter Manager On-line Newsletter Creator with Email Subscriber Management.
Ring Central Discount
Web Global Net Web Application & Web Development Project Center  |  Recent Posts
Pages: [1] 2 3 4 5 6 ... 10

 1 
 on: October 19, 2021, 12:33: PM 
Started by admin - Last post by admin
Facebook like button

Step 1: Include the JavaScript SDK on your page once, ideally right after the opening body tag.

<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v12.0&appId=152908674906753&autoLogAppEvents=1" nonce="k2AeS07s"></script>

Step 2: Place this code wherever you want the plugin to appear on your page.

<div class="fb-like" data-href="https://www.facebook.com/imaginationtables" data-width="" data-layout="button" data-action="like" data-size="large" data-share="true"></div>

 2 
 on: August 25, 2021, 06:06: PM 
Started by admin - Last post by admin
put this in the the head section


<script>
         /**
          * If browser back button was used, flush cache
          * This ensures that user will always see an accurate, up-to-date view based on their state
          * https://stackoverflow.com/questions/8788802/prevent-safari-loading-from-cache-when-back-button-is-clicked
          */
         (function () {
            window.onpageshow = function(event) {
               if (event.persisted) {
                  window.location.reload();
               }
            };
         })();
      </script>


Apple's own fix suggestion is to add an empty iframe on your page:

<iframe style="height:0px;width:0px;visibility:hidden" src="about:blank">
    this frame prevents back forward cache
</iframe>

 3 
 on: August 16, 2021, 02:12: PM 
Started by admin - Last post by admin
The log image url needs to be something of this nature: https://yourweb/picture.jpg 
If the file itself is not a .png .jpg or .gif then the logo image will not display properly.

Note:
Logo Image URL - Choose an image with a maximum size of 190 pixels wide by 60 pixels high. The image will appear at the top of the order summary. We recommend providing an image that's stored on a secure (https) server.

Header Image URL - Please specify an image that I
s a maximum size of 750 pixels wide by 90 pixels high. Larger images will be cut to this size. The image you choose will appear at the top left of the payment page. We recommend providing an image only if it is stored on a secure (https) server.

In the button coding add this line for logo or header display"

 <input type="hidden" name="image_url" value="https://yourwebsite.com/assets/cart_images/logo_paypal.png" />

 4 
 on: August 11, 2021, 07:34: PM 
Started by admin - Last post by admin
Here, if you want to control it through HTML: do like below Option 1:

<meta http-equiv="expires" content="Sun, 01 Jan 2021 00:00:00 GMT"/>
<meta http-equiv="pragma" content="no-cache" />
 
And if you want to control it through PHP: do it like below Option 2:

header('Expires: Sun, 01 Jan 2021 00:00:00 GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', FALSE);
header('Pragma: no-cache');

AND Option 2 IS ALWAYS BETTER in order to avoid proxy based caching issue.

 5 
 on: August 05, 2021, 02:07: PM 
Started by admin - Last post by admin
<a href="#" title="delete" class="delete" onclick="return confirm('Are you sure you want to delete this item')">Delete [/url]

Add Bold to your button link

 6 
 on: July 09, 2021, 06:55: PM 
Started by admin - Last post by admin
Had this error using Pear Mail solved it by including E_STRICT in the error_reporting - so place this at the beginning of your page code (this actually stops several different levels of error messages from appearing on your page is errors occur:

<?php
ob_start();
error_reporting(E_ALL ^ (E_NOTICE | E_WARNING | E_DEPRECATED | E_STRICT));
?>

Bold portion helps with header already sent errors by slowing things down when loading a page

 7 
 on: May 25, 2021, 08:33: PM 
Started by admin - Last post by admin
http://<?php echo $_SERVER['HTTP_HOST'];?><?php echo $_SERVER['REQUEST_URI'];?>

will produce

http://yourdomain.com/thepage.php?acct=5

most likely an easier way to do this but this works too

 8 
 on: May 24, 2021, 08:12: PM 
Started by admin - Last post by admin
This is not a question but rather some insight on creating a button which you can edit on the fly without creating a new on Paypal for each item your selling.
 
A lot of people want to use a manual html/java code for buttons for that reason but cannot seem to find the info.
 
There is help on Paypal and Merchant Services and Web Development and after much searching and putting it all together I came up with a solution, an editable custom code of my own. Here is it explained below. I hope this helps some of you. For this example, I'm using a shopping cart button. With this code, Paypal automatically generates a standard shopping cart. You can use custom checkout pages or add your logo, banner, etc to the cart by setting it up in your account Profile. (this example is a fictional company)
 
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="business" value="sales@paypalemailaddress.com">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="add" value="1">
<input type="hidden" name="item_name" value="blue table">
<input type="hidden" name="quantity" value="1">
<input type="hidden" name="amount" value="365.00">
<input type="hidden" name="no_shipping" value="2">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="shopping_url" value="http://www.yourdomain.com/product.html">
<input type="hidden" name="cancel_return" value="http://www.yourdomain.com/index.html">
<input type="hidden" name="return" value="http://www.yourdomain.com/thankyou.html">
<input type="image" name="addtocart" border="0" src="https://www.paypal.com/en_US/i/btn/btn_cart_SM.gif" alt="add this item to your shopping cart">
</form>
 
It all breaks down like this:
 
Code calls up Paypal server with instructions:
 
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="new">
 
This one tells Paypal who's getting paid (business variable). Instead of using your Paypal account email, it's better to use your merchant id number, located at the top of your Account Profile page under your name but you can use your email address and it will work to send the funds from the sale to your account:

<input type="hidden" name="business" value="sales@yourdomain.com">
 
This one tells PayPal that it's a shopping cart:
<input type="hidden" name="cmd" value="_cart">
 
This one instructs Paypal to add one (1) item to the shopping cart:
<input type="hidden" name="add" value="1">
 
This one gives the item description or title:
<input type="hidden" name="item_name" value="product name here">
 
This one tells Paypal that there is only 1 item and not to sell it again. For more than one item, adjust the "value."
<input type="hidden" name="quantity" value="1">
This one tells what price to charge the customer:
<input type="hidden" name="amount" value="395.00">
This one instructs how to charge shipping: (I offer free shipping so I use the "no_shipping" variable)
Value of "0" equals no shipping charges, customer address optional.
Value of "1" equals no shipping charges, do not collect customer address.
Value of "2" equals no shipping charges, customer address required.
<input type="hidden" name="no_shipping" value="2">
 
This one tells Paypal that the currency is United States Dollars:
<input type="hidden" name="currency_code" value="USD">
 
This one tells where to send the customer if they click "Continue Shopping" button in cart:
<input type="hidden" name="shopping_url" value="http://www.yourdomain.com/product.html?product_id=5">
 
This one tells where to send the customer if they cancel their purchase or checkout:
<input type="hidden" name="cancel_return" value="http://www.yourdomain.com/index.html">
 
This one tells where to send the customer after they complete their purchase and payment: It's a good idea to have a thank you or confirmation page that matches your site to bring the customer back to after checkout otherwise Paypal sends them to a Paypal page. I want them back on my site so I have a confirmation page set up.
<input type="hidden" name="return" value="http://www.yourdomain.com/thankyou.html">
 
This one tells where to find the "Add to Cart" or "Buy" button: (I'm using the Paypal small button here. To use your own button, simply change the image file address (src variable) to your location and image file)
<input type="image" name="addtocart" border="0" src="https://www.paypal.com/en_US/i/btn/btn_cart_SM.gif" alt="add this item to your shopping cart">

</form>
 
So now I have a working and workable button code which I can simply edit on the fly instead of creating new buttons on Paypal for each item.
 
If you need other code variables for different functions, you can find them here:
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_Appx_websit...
 
Each function will be listed as an input(<input). To use the code you only need to edit/change the "Value" variable in each code. In my code each input is "hidden." The only one to be displayed will be the image unless your using selection drop down menus or other "option"s such as size, color, etc. Those variables are found at the link above also.
 
It's just that easy. For other button or checkout features, refer to the link above. All the variables will work on all types of buttons (shopping cart, buy now, subscribe, donate, etc).
 
I hope this helps some of you. If you want, you can copy my code and edit it with your account id, items, prices, etc.

 9 
 on: April 12, 2021, 06:04: PM 
Started by admin - Last post by admin
good place to get coding for symbols and things

https://www.toptal.com/designers/htmlarrows/

 10 
 on: February 20, 2021, 04:05: PM 
Started by admin - Last post by admin
Spent about an hour looking for this answer, all the solutions we found required a JavaScript solution. But it doesn't, just add the red code to your <li> tag

Couldn't believe how simple this was to do.

<li  class="tab-btn" onclick="location.href='template.php?acct_id=<?php echo $_GET['acct_id']; ?>';">Social Media</li>


<a class="btn btn-success" href="https://www.google.com" target="_blank">Google[/url]

And use target="_blank" to open the link in a new tab.

Pages: [1] 2 3 4 5 6 ... 10
Web Global Net Web Application & Web Development Project Center  |  Recent Posts


Login with username, password and session length
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!