Poker Affiliate Solutions Forum
  • Register
  • Help

Poker Affiliate News, Tips and Resources Blog

View RSS Feed

mark_s

  1. Add Chat Support to a PAS Site with Zopim

    by , 03-28-2011 at 10:45 PM
    Get Zopim Chat Running on your PAS Site
    Zopim is a free Live Chat software which allows you to easily chat with your website visitors. There is no software to install, only a snippet of javascript needs to be pasted on your PAS site template file. You can be up and running within 5 minutes!

    Setup

    1. Signup
    Signup at Zopim



    2. Confirmation Email
    You will receive a confirmation email with login info and a snippet of code to insert on your website

    3. Login to PAS Site
    Login to the PAS Admin, go to “Content > Main CMS”

    4. Open Site Template
    Open “layout > layout.html” file

    5. Paste Zopim Snippet
    Paste the snippet you received in your confirmation email after the opening body tag
    PHP Code:
    </head>
    <
    body>
    ZOPIM SNIPPIT HERE 
    6. Login to Zopim Dashboard
    Login at Live Chat Dashboard. Select support status (Online, Away, Appear Offline)

    7. Test Creating a Chat in another browser
    Now that you are logged in, to test you can start a chat using a different browser.



    8. Check Zopim Admin
    After a user starts a chat, it will appear in the right column. Click on it to begin.



    It will take you to the following screen.



    9. Chat
    Give support as needed. Keep an eye on any new pending Chats in the right column.


    To update Email notifications or update Display Name
    1. Login to Zopim, click on “Settings”

    2. Click on “Profile & Email”



    3. You can change the email notification settings as well as update your Display name here.


    To update Chat box positon or toggle whether Chat box is displayed when offline

    1. Login to Zopim, click on “Settings”

    2. Click on “Customize Widget”.



    3. Make changes as needed

    4. Click “Save Widget Settings”
    Categories
    Tech Team , ‎ Design Team , ‎ Marketing Services , ‎ Support Team
  2. Design Tutorial: Create a Sortable Table

    by , 03-14-2011 at 12:00 PM
    This tutorial will show how to make a table "sortable" by adding the jQuery tablesorter plugin. The example used was done using the Blue PAS Theme therefore adding this functionality would be fairly easy if using that template. Making it work for another template is not difficult but does require a good understanding of CSS. The example also integrates the offers table from this offers table tutorial.

    Example site


    How it Works
    It allows users to quickly sort your tabular data in ascending/descending order using column headings as toggle switches. Basically the plugin can be activated on any table, with a class (or ID) of your choosing.

    Requirements
    jQuery is required as well as the tablesorter plugin file. Both are already installed on all PAS sites. There are also a few HTML markup requirements:

    1) The clickable headings for each column need to be th elements nested within thead. For more on that see HTML thead explanation & example.

    2) The data which will be sorted should all be nested within tbody. You may use a mix of td and th elements.

    Step 1: CSS
    The items which require CSS are the arrows which give the user the indication that they may click on the heading to sort the table rows. Also, there is some extra CSS to handle row striping.

    PAS Example:
    Add the following to "css > theme.css", and overwrite your existing "alternating row color" styles:
    PHP Code:
    /* ALTERNATING ROW COLORS */
    table.pas_data_table tbody tr.odd td
    table.pas_data_table tbody tr.odd th {
      
    background#DEE4ED;

    Add the following to "css > theme.css", and overwrite your existing "data table" styles:
    PHP Code:
    /*  DATA TABLE  */
    table.pas_data_table {
      
    width100%;
      
    font-size12px;
      
    margin8px 0;
    }

    table.pas_data_table tbody th {
      
    text-alignleft;
      
    padding-left5px;
      
    color#000;
    }

    table.pas_data_table thead td {
      
    font-weightbold;
      
    text-alignleft;
      
    color#000;
      
    background#A2BCDD;
      
    padding4px;
    }
    table.pas_data_table tbody td {
      
    color#000;
      
    padding3px;
    }
    table.pas_data_table th.header 
      
    background:#A2BCDD url({{ image_dir }}/bg.gif) no-repeat left center;     
      
    cursorpointer
      
    font-weightbold
      
    text-align:left;
      
    font-weightbold;
      
    text-alignleft;
      
    color#000;
      
    padding4px 0 4px 16px;
      
    border:none;

    table.pas_data_table thead th.headerSortUp 
        
    background:#8eacd2 url({{ image_dir }}/asc.gif) no-repeat left center;   

    table.pas_data_table thead th.headerSortDown 
        
    background:#8eacd2 url({{ image_dir }}/desc.gif) no-repeat left center; 

    table.pas_data_table thead th.title {
      
    background-image:none
      
    color#fff;
      
    text-aligncenter;
      
    font-weightbold;
      
    font-size12px;
      
    border-stylesolid;
      
    border-width1px;
      
    border-color#6396D3 #355C8C #355C8C #6396D3;
      
    background#2F65A8;
      
    padding3px;

    Step 2: Images
    The arrows which indicate sort state and may be downloaded here. Just upload each of the 3 images within the zip file to your site’s root Images directory.

    Step 3: Edit HTML
    The plugin gets activated on any table with a selected CSS class (or ID) via javascript. This means you will want to come up with a unique class since you don’t want it activated on ALL tables.

    PAS Example
    I added the class “table-sort” to the offers table. For color/display reasons I also had to change the markup by adding a class of “title” to the spanning th within thead.

    The following code can be pasted on any page on a PAS site to display offers (example here):
    PHP Code:
    <style>
    table.offers-table img {
    width:20pxheight20px;
    }
    </
    style>

    <
    table class="pas_data_table table-sort offers-table" cellspacing="0">
    <
    thead>
    <
    tr>
    <
    th class="title" colspan="6">Rakeback Offers</th>
    </
    tr>
    <
    tr>
    <
    th colspan="2">Poker Site</th>
    <
    th>Rakeback</th>
    <
    th>Network</th>
    <
    th>Signup Bonus</th>
    <
    th>More Info</th>
    </
    tr>
    </
    thead>
    <
    tbody>
    {% for 
    row in rb_offers|group_by:%}
    {% for 
    offer in row %}
    <
    tr>

    <
    td><a href="{{ offer.review_page }}"><img src="{{ tld }}/images/icons/icon_{{ offer.image_id }}.gif" border="0"/></th>
    <
    th>{{ offer.name }}</th>
    <
    td><strong>{{ offer.reward }}</strong></td>
    <
    td>{{ offer.network }}</td>
    <
    td>{{ offer.bonus }} Bonus</td>
    <
    td><a href="{{ offer.review_page }}">more info</a></td>
    </
    tr>
    {% endfor %}
    {% endfor %}
    </
    tbody>
    </
    table>

    <
    br /><br />

    <
    style>

    table.offers-table img {
    width:20pxheight20px;
    }
    </
    style>

    <
    table class="pas_data_table offers-table" cellspacing="0">
    <
    thead>
    <
    tr>
    <
    th id="title" colspan="6">Bonus Offers</th>
    </
    tr>
    <
    tr>
    <
    td colspan="2">Poker Site</td>
    <
    td>Network</td>
    <
    td>Bonus</td>
    <
    Td>More Info</td>
    </
    tr>
    </
    thead>
    <
    tbody>
    {% for 
    row in bonus_offers|group_by:%}
    {% for 
    offer in row %}
    <
    tr>

    <
    td><a href="{{ offer.review_page }}"><img src="{{ tld }}/images/icons/icon_{{ offer.image_id }}.gif" border="0"/></td>
    <
    th>{{ offer.name }}</th>
    <
    td>{{ offer.network }}</td>
    <
    td>{{ offer.bonus }} Bonus</td>
    <
    td><a href="{{ offer.review_page }}">more info</a></td>
    </
    tr>
    {% endfor %}
    {% endfor %}
    </
    tbody>
    </
    table
    Step 4: Javascript
    All PAS sites have access to the plugin and it has been updated so all you have to do is add the snippet which activates it on your table. The 2nd part of the snippet adds an “odd” class to table rows and helps properly maintain alternate row classes which enable “zebra striping”, even when the rows are sorted dynamically.

    PAS Example:
    Add the following to "layout > layout.html", near the top, after the javascript includes.

    PHP Code:
    <script type="text/javascript">
    $(
    document).ready(function() { 
        $(
    ".table-sort").tablesorter({ 
        
    widgets: ['zebra']
        }); 
        $(
    ".pas_data_table tbody tr:odd").addClass("odd");
    });

    jQuery(document).ready(function(){

    });
    </script> 
    Conclusion
    Visit the tablesorter plugin site for more examples, config options and documentation.
    Categories
    Design Team
  3. "Fan Only" content on your Facebook Page

    by , 02-21-2011 at 02:26 PM
    Last time I did a tutorial on how to create a Facebook page there was a question in the comments about how to display content based on “Like” status. It turns out it’s fairly easy if you know what to look out for. Here’s how:

    Example page here

    1. Create a Custom Tab, as instructed on my post “How to Create a Facebook Fan Page”.



    Note: if you already created one, open it and click “Add another FBML box”. This will create another page with identical content. It may seem like a page hasn’t been created but most likely it has.

    2. Enter some code to test. The most basic code you’ll need is this:
    PHP Code:
    <div style="width:520px; margin:0 ; padding:0; position:relative;">
    <
    fb:visible-to-connection>
    This is for users who have “Liked” the page.
    <
    fb:else>
    <
    div style="width:520px;position:absolute; top:0; left:0;">
    This is for users who have NOT “Liked” your page.
    </
    div>
    </
    fb:else>
    </
    fb:visible-to-connection>
    </
    div
    Notes on above code:
    - Use the div structure. It contains a hack for a bug in Facebook which pushes down content for visitors who haven’t like your page yet. This code uses absolute positioning to bring everything to the top. Additional code can be added as needed within these divs.
    - Note the logic tags and be sure not to delete while editing content

    If you want to use the same code used in the example as here is that code:
    PHP Code:
    <div style="width:520px; margin:0 ; padding:0; position:relative;">
    <
    fb:visible-to-connection>
    <
    img src="http://www.pokeraffiliatesolutions.com/forum/mark/facebook/facebook-liked.jpg"/>
    <
    p>This is the exclusive contentIsn't it amazing?</p>
    <p>Suspendisse placerat pretium blandit. Nullam aliquam sodales dolor, eu aliquet lectus gravida nec. Nulla in orci fringilla quam scelerisque feugiat. Morbi lacinia libero nec ligula ornare egestas. Nulla facilisi. Suspendisse nisi enim, rutrum at varius vel, vulputate sit amet lorem. Suspendisse lobortis, ligula at lacinia luctus, tortor lacus semper velit, eu auctor metus quam id dui. Aenean sollicitudin sagittis mi ut sodales. Vivamus eleifend lacinia purus sed ullamcorper. Vivamus dignissim viverra odio ut sollicitudin. Morbi eu vestibulum est. Aenean euismod ullamcorper risus, eget mollis lacus suscipit at. Morbi non tellus tellus. Nullam molestie est nec velit pharetra ut tempor turpis tempus. Aenean quis quam turpis. </p>
    <fb:else>
    <div style="width:520px;position:absolute; top:0; left:0;">
    <p>Click <b>Like</b>, above to view exclusive content. You won'
    t regret it.</p>
    <
    img src="http://www.pokeraffiliatesolutions.com/forum/mark/facebook/facebook-likeus.jpg"/>
    </
    div>
    </
    fb:else>
    </
    fb:visible-to-connection>
    </
    div
    IMPORTANT Notes on Testing
    If the Admin views the Fan page, it won’t look right and the logic appears not to work. In order to test your new conditional content properly, you will to do the following.

    1. Create or use a 2nd Facebook personal profile account which is NOT an Admin of the fan page
    2. Use a separate browser (IE, Firefox, Chrome, etc) to login with this 2nd account
    3. Find the fan page with the test account above and “Like”/”Unlike” as needed. “Unlike” is available on each fan page in the lower area of the left column.
    Categories
    Design Team , ‎ Marketing Services
  4. How to Create a Facebook Fan Page

    by , 02-02-2011 at 09:17 PM
    This tutorial will show how to setup a Facebook Page (not a personal profile). I will also show how to add a custom Tab/page within as well as add your company logo. Seemingly this would all very easy but I found some of this to be a bit tricky.



    Setup an Account

    1. Go to this Facebook URL, instead of filling out the form, click on “Create a Page”. If you are logged into Facebook, logout.


    2. On the next signup page, select “Brand, product, or public figure” and enter a page name.


    3. If you have a Facebook account, login. If not, you will need to create a regular Facebook profile which will act as the administrator of the Page account.

    4. Signup is now completed. You may fill out any appropriate content. NOTE: The “Get Started” tab is only visible to a logged in Administrator, not the general public.

    Add Company Logo

    1. Login to Facebook, click on “Edit Page”


    2. Click on “Profile Picture”


    3. Upload logo image from your desktop, should have roughly square dimensions


    Create a Custom Tab

    1. Login to Facebook, click on “Edit Page”


    2. Click on “Apps”


    3. Find the “Static FBML” App, select “Add App”. Refresh the page: the page doesn’t refresh to show that the App is installed.

    4. Within FBML App item, click on “Edit Settings” be sure it is “Added”.

    5. Enter Tab title and content.

    a. Use HTML and inline CSS
    b. Maximum width is approximately 510 pixels
    c. Only use code that would normally go within the body tags of a web page
    d. Images needs to be hosted on another server


    6. After page is added, you may wonder where the tab is. Click the double right arrows left of the “+” sign to find it. You can then click (hold it down) and drag it to the desired tab location. NOTE: you cannot make it appear left of the “Info” tab, not sure why this is.

    7. If you later want to update your custom page, follow steps 1-2 above. Then click “Go to App”, to edit page. You can also add another page. Be aware that it will inherit content from your existing page so you will need to update it.

    Make a Custom Page Your Default Page

    You can also make the custom page you’ve created the default page.

    1. Login to Facebook, click on “Wall”

    2. Then click on “Settings”


    3. Under View Settings, select the page for the “Default Landing Tab for Everyone Else” setting

    4. Select page you'd like to appear on your 'homepage'

    Notes

    - To get to your pages, login to Facebook and go to: Account > Manage Pages
    - Example “Expert Poker Tips” account here: Expert Poker Tips | Facebook

    Updated 02-02-2011 at 09:29 PM by TimPAS

    Categories
    Design Team , ‎ Marketing Services
  5. SEO Presentation

    by , 01-18-2011 at 09:13 PM
    I attended a talk last week and two of the speakers were SEO consultants from Distilled, a company with close ties to SEO Moz. The following are some of the ideas presented in that talk. It is by no means comprehensive, but contains some of the more relevant points.

    Page Title

    The page title appears in multiple places: browser bar (above URL), bookmark text, search engine results page and external sites (delicious, etc). There was a high level of importance placed on this, especially among ‘on page’ ranking factors. The tricky part about the page title is balancing the value of the brand with the value for a keyword. Consider the following:

    Example #1: Primary Keyword - Secondary Keyword | Brand Name
    or
    Example #2: Brand Name | Primary Keyword and Secondary Keyword

    Basically it was said that in most cases, especially if the term is highly competitive, use Example #1. If the brand gives added value or is known as an authority, then use Example #2.

    URLs/Domains

    Page Names

    Use short, descriptive URLs with relevant keywords. Use dashes (-) instead of underscores (_).

    GOOD: www.mydomain.com/texas-holdem-tips.html

    BAD: http://www.mydomain.com/view_item.ph...77443&pic_id=2

    Domains

    Same as above: use short, descriptive domains with relevant keywords.

    GOOD: http://www.poker-tips.com

    BAD: http://www.something-not-related-to-...y-too-long.com

    Canonical URLs

    Duplicate content comes with penalties, so be sure to use a consistent URL structure for all of your links to help your site get properly indexed.

    GOOD:
    BAD:

    For more info, see this Google Webmaster Blog post or this article by Matt Cutts.

    Page level content SEO

    Text

    There is a zen like balance between on page factors such as URL, page title, H1-H6, text and images/media. Basically the page title, H1, image ALT tags, should have keywords and variations thereof sprinkled throughout in Goldilocks/Three Bears like fashion.

    Images


    As far as images, use keywords in the following areas:
    • ALT tags: use on all images (alt=”Good Texas Holdem Hand” )
    • Filename: (good-texas-holdem-hand.jpg, NOT image12.jpg)
    • Text that surrounds the image

    Meta Description

    Basically it does not affect SEO/ranking per se, but that it can help (along with page title) with click through rates. This is because it is what users see/read on the search engine results page so be sure to keep these more ‘human friendly’ than search engine friendly.

    Page speed


    Although not a huge ranking factor, it is being used by Google and will only improve your visitor’s experience. The question really is why NOT optimize?

    Updated 01-18-2011 at 09:16 PM by TimPAS

    Tags: design team, seo Add / Edit Tags
    Categories
    Design Team , ‎ Marketing Services
Page 1 of 3 123 LastLast