Tuesday, November 28, 2017

Avaya Partner ACS Messaging Programming Hints

Actually, let's see: Partner Plus, so the first slot with a 206 is extensions 10 through 15; second slot with 206 is 16 through 21; third slot is the processor, fourth slot is the voice mail, that slot is extensions 22 through 27.

Since it's a VS mail, it uses the last 2 or 4 extensions, depending on the port/mailbox card inserted, and Hofer says it's a 2-port. So, the extensions to put into Hunt Group 7 are 26 and 27.

FEATURE 00
Left INTERCOM twice
#505 - 7 - 26 - 1
#505 - 7 - 27 - 1
#306 - 26 - 10 (transfer return calls go to Ext. 10)
#306 - 27 - 10
FEATURE 00

If you have already been programming and might have other extensions in Group 7, be sure to take anything other than 26 and 27 OUT.

#505 - 7 - XX - 2 (where XX is the extension No.)

Reset to factory default Settings
Go into the VM system - "int 777"  at the voice menu enter 99# for Admin functions and the default password is - 2537.  Then press 9 and you are into the main VM programming menu system.  At any time just press 98925327.  You will hear the voice prompt telling you "the system will now be reset to factory default settings - goodbye". That is per drewmich. There is a code to reset the whole switch, but I can't remember it. I really don't think you would want to do that tho...

Wednesday, October 25, 2017

Customize Magento 1.9 Responsive Web Design Template Like a Boss

Customize Magento 1.9 Responsive Web Design Template Like a Boss

Introduction

Eleven Dimensions Technologies has many years of experience building and maintaining Magento shopping carts and building custom templates.  In this short technical note we will explain how the responsive design template works.  The built-in Responsive Web Design (RWD) Template is a great place to start customizing your own Magento shop. It already has the so called "responsive" sections in the styles.css file for small screens. in styles.css you will see code such as this:
...
@media only screen and (max-width: 770px) {
 (various css here...)
}
This blog will show you all of my tricks. First you need to start with Magento ver. 1.9.3.3.

Add Tabs to the RWD Product View

The First trick is to add a new tab to the RWD product view page:
edit this file:
./app/design/frontend/rwd/default/layout/catalog.xml

in this section add a few lines to increase the tabs:

...
<block type="catalog/product_view_additional" name="product.info.additional" as="product_additional_data" />

<block type="catalog/product_view_description" name="product.description" as="description" template="catalog/product/view/description.phtml">
   <action method="addToParentGroup"><group>detailed_info</group></action>
   <action method="setTitle" translate="value"><value>Description</value></action>
</block>

<block type="catalog/product_view_attributes" name="product.attributes" as="additional" template="catalog/product/view/attributes.phtml">
    <action method="addToParentGroup"><group>detailed_info</group></action>
    <action method="setTitle" translate="value"><value>Additional Information</value></action>
</block>

<!-- added this part -->
<block type="catalog/product_view_media" name="product.info.moreviews" as="moreviews" template="catalog/product/view/moreviews.phtml">
    <action method="addToParentGroup"><group>detailed_info</group></action>
    <action method="setTitle" translate="value"><value>More Views</value></action>
</block>
...



Customize the ZoomLens in product view.

ZoomLens allows your customers to view a zoomed in image of your product.  Simply edit this file:
./skin/frontend/rwd/default/js/lib/elevatezoom/jquery.elevatezoom.js
if you use minimized js code then edit this file:
./skin/frontend/rwd/default/js/lib/elevatezoom/jquery.elevateZoom-3.0.8.min.js
Change the zoom size, enable/disable the zoom lens entirely if you desire.

Magento Connect - Access is locked. Please try again in a few minutes

If you see this when trying to use Magento Connect, then edit this file ./var/brute-force.ini
Change the value in Line 1 to 0, optionally you can delete the last 2 lines to turn off this feature.
brute-force-bad-attempts-count = 0
brute-force-diff-time-to-attempt = 180
brute-force-attempts-count = 5
brute-force-last-bad-time = 1509709870

Get a Free SSL Certificate for your Magento Site

https://www.sslforfree.com/certificates

Define Custom Attributes for Products and Use Them in Backend Code

Suppose you want to show a palette of color swatches for your multicolor selectable product in your Magento Shop.  You can define a custom catalog product attribute that you can set a text value into and then query that attribute in your customized RWD template and then use it to query the contents of a CMS Block.  First of all, logon to the Magento Admin Panel, then use the menus to define attributes.  Catalog->Attributes->Manage Attributes then Add New Attribute button to make a new one. Define a new one called swatch_cms_block. The so called "Attribute Code" is where this name goes. Scope is Store View, type is Text Field. The Title will just be Swatch.  Apply to All product Types.  Default value should be just "None".
Now you need to go up one menu level to "Manage Attribute Sets" , Choose "Default" and assign this attribute to the General category of your product.
Finally, in your RWD view.phtml code you will need to add this code somewhere:

CODE
<?php
       $swatch=$_product->getMetaTitle();

       $attribute = $_product->getResource()->getAttribute('swatch_cms_block');
       if ($attribute) {
           $attribute_value = $attribute->getFrontend()->getValue($_product);
       } else {
           $attribute_value = "Undefined Attribute";
           echo "<H1>Please Define the swatch_cms_block attribute first</H1>\n";
       }
       if ($attribute_value == "") $attribute_value = "NONE";
       echo $this->getLayout()->createBlock('cms/block')->setBlockId($attribute_value)->toHtml();
?>

Finally, you will need to define a CMS Static Block called "NONE" to serve as the default CMS block. Finally, you will need to define define CMS blocks to serve a swatches for your products. The result is that the CMS block will appear in your custom product now.

Crop and Resize Images in Catalog Grid View

Use the Varian_Image library like a boss to crop and resize images.
<?php 
          $_imgSize = 350;
          $tempimg = $this->helper('catalog/image')->init($_product, 'small_image')
                              ->constrainOnly(false)
                              ->keepAspectRatio(true)
                              ->keepFrame(true)
                              ->keepTransparency(true)
                              ->backgroundColor(array(255,255,255))
                              ->resize(350, 350);

          $image = Mage::helper('catalog/image')->init($_product, 'small_image')->resize(350, 350);
          $imageUrl = $image->__toString();
          $newFile = str_replace(
                              array(Mage::getBaseUrl('media'), '/'),
                              array(Mage::getBaseDir('media').DS, DS),
                              $imageUrl
          );
          $imageObj = new Varien_Image($newFile);
          $width = $imageObj->getOriginalWidth();
          $height = $imageObj->getOriginalHeight();
          $imageObj->crop(25,25,25,25);
          $imageObj->save($newFile);
          echo "<H1>".$width." x ".$height."</H1>\n";
?>

Many Thanks To

This Tech Tidbit was brought to you by your friends at Eleven Dimensions Computer Technologies.
See our new 11D website at:

Our Partner Websites:

Bare Wire Networks:     http://www.barewirenetworks.com
CTI Solutions:   http://www.cti-solutions.com

Many Thanks to Our Partner companies

Tuesday, October 10, 2017

Wyse Thin Client BIOS Password

Dell Wyse Hardware - What are the BIOS passwords?


This article details the BIOS passwords for all Wyse Thin Clients.

To enter the BIOS follow these steps:
  1. Pulse the Delete key immediately after turning power on until the BIOS screen appears. If the OS splash screen appears the attempt was unsuccessful.
  2. Enter the password Fireport (Case sensitive)

You should now be able to make any required BIOS changes.

Thursday, September 7, 2017

Install Microsoft Exchange 2016 Like a Boss

Prerequisites


First step is to install Windows Server 2016 X64 with the server GUI, then join it to a domain that is Windows Server 2012 schema or Server 2016 Schema. Next step is to install the infamous "Microsoft Unified Communications Managed API 4.0, Core Runtime" package. see below.

This computer requires the Microsoft Unified Communications Managed API 4.0, Core Runtime 64-bit. Please install the software from http://go.microsoft.com/fwlink/?LinkId=260990

If you see the message below, and you have installed the server GUI, then you need to get CU4 from KB3177106, and use this ISO to restart the installation process.


The Windows component Server-Gui-Mgmt-Infra isn't installed on this computer and needs to be installed before Exchange Setup can begin.

For more information, visit: http://technet.microsoft.com/library(EXCHG.160)/ms.exch.setupreadiness.ServerGuiMgmtInfraNotInstalled.aspx

Just for kicks, Install the Server GUI component from Powershell

Install-WindowsFeature Server-Gui-Mgmt-Infra, Server-Gui-Shell -Restart

Or
Get-WindowsFeature -Name *GUI*
from
http://kpytko.pl/powershell/how-to-install-server-gui-on-windows-server-2016-from-powershell/

A note about running Exchange Server 2016 on Windows Server 2016.

https://blogs.technet.microsoft.com/exchange/2016/12/13/released-december-2016-quarterly-exchange-updates/
 

Newsflash:
The original installer is full of bugs, the updater does not work at all.
Cumulative Update 4 for Exchange Server 2016 (KB3177106)

https://www.microsoft.com/en-us/download/confirmation.aspx?id=54450
to get a good installer package that will pass the readiness checks.

Once Installed, visit this URL in your IE.  This is the Exchange Control Panel GUI in a IE.
https://localhost/ecp/?ExchClientVer=15

The left column has the usual menu items that you have seen in older versions of Exchange. Some steps to configuring Exchange 2016 like a BOSS.
1) Mail Flow Menu

  • Configure Accepted Domains here. Add all of your domains. Configure your email address policies, configure all of your recieve connectors for ports 25, 465, 587 for Hub Transport between Outlook clients and Exchange or between Exchange servers.  Set maximum message size here.
  • Configure the "Send Connector" here, which forwards outbound email to another SMTP relay or directly through MX records to external recipients. Use a smarthost or use MX records.

2) Servers Menu
Configure OWA here. Under authentification, configure the forms based authentification. Use UPN to allow NAME@DOMAIN here.


Assign SSL Certificates to services
https://technet.microsoft.com/en-us/library/dd351257(v=exchg.160).aspx

Great Deals on SSL Certs

SSL Certs for UC
https://www.ssls.com/ssl-certificates/comodo-unified-communications

SSL2BUY
https://www.ssl2buy.com/comodo-san-ssl-ucc-certificate-for-exchange?gclid=cjwkcajwos7nbraweiwaypnce73hbhilkaubqjxsq8ih-9s2zulrtjpycdydq2uiiihzi4ulxn94vrocmmaqavd_bwe

Configure Outside Services

IMAP4
https://technet.microsoft.com/en-us/library/bb124489(v=exchg.160).aspx

SMTP
https://technet.microsoft.com/en-us/library/gg298947(v=exchg.160).aspx

POP3
https://technet.microsoft.com/en-us/library/bb124934(v=exchg.160).aspx

Authenticated SMTP and Certificates
https://technet.microsoft.com/en-us/library/gg298947(v=exchg.160).aspx

Top 10 Useful Exchange Management Shell Commands

1. Show all of your SSL Certificates and then show the services assigned to them.
Get-ExchangeCertificate | Format-List Thumbprint,Issuer,Subject,CertificateDomains,Services   

2. Show your receive connector, and make sure it has a FQDN and TLS Certificate.  Checks your external client access SMTP service i.e. 587
Get-ReceiveConnector -Identity "Client Frontend*" | Format-List Name,Fqdn,TlsCertificateName                  

... output ...

Name               : Client Frontend PPFMAIL  
Fqdn               : PPFMAIL.primate-homos.com 
TlsCertificateName :                           


...

A Few Words About SSL Certificates

Exchange 2016 deployments often require hosting multiple host names such as AUTODISCOVER.NAME.COM, MAIL.NAME.COM, NAME.COM, OTHERNAME.COM, etc. Therefore you need  a SSL certificate with multiple names embedded within. Thus the requirement for multi-SAN or UC certificates.

Once you get one, you can check it out at:
https://www.sslshopper.com/certificate-decoder.html
Use the CSR checker to make sure your CSR has the right parameters
https://www.sslshopper.com/csr-decoder.html


Many Thanks To

This Tech Tidbit was brought to you by your friends at Eleven Dimensions Computer Technologies.
See our new 11D website at:

Our Partner Websites:

Bare Wire Networks:     http://www.barewirenetworks.com
CTI Solutions:   http://www.cti-solutions.com

Many Thanks to Our Partner companies

Thursday, July 20, 2017

Disable Nuisance Warnings about Windows Filtering Platform

Disable Nuisance Warnings About "Windows Filtering Platform" so that you don't see this in your windows event logs: "
The Windows Filtering Platform has blocked a packet.
1) open cmd.exe as Administrator, then paste this cmd in:
auditpol /set /subcategory:"Filtering Platform Packet Drop" /success:disable /failure:disable



Wednesday, July 12, 2017

Show Magento Shop Categories as Left Column Side Menu

Show your Magento Shop Categories as a Left Column Side Menu:

Customize the built in RWD template and add a shop categories menu listing to your magento store. Make your shop categories show up as side bar menu items automatically. Connect to your magento shop using SSH, with Putty. On the console, use VIM to edit the files. Insert the following snippets of code into your template PHTML files.

./app/design/frontend/rwd/default/template/page/html/sidemenu.phtml


<?php $_helper = Mage::helper('catalog/category') ?>

<?php $_categories = $_helper->getStoreCategories() ?>
<?php $currentCategory = Mage::registry('current_category') ?>
<?php if (count($_categories) > 0): ?>
    <ul>
        <?php foreach($_categories as $_category): ?>
            <li>
                <a href="<?php echo $_helper->getCategoryUrl($_category) ?>">
                    <?php echo $_category->getName() ?>
                </a>
                <?php $_category = Mage::getModel('catalog/category')->load($_category->getId()) ?>
                <?php $_subcategories = $_category->getChildrenCategories() ?>
                <?php if (count($_subcategories) > 0): ?>
                    <ul>
                        <?php foreach($_subcategories as $_subcategory): ?>
                            <li>
                                <a href="<?php echo $_helper->getCategoryUrl($_subcategory) ?>">
                                    <?php echo $_subcategory->getName() ?>
                                </a>
                            </li>
                        <?php endforeach; ?>
                    </ul>
                <?php endif; ?>
            </li>
        <?php endforeach; ?>
    </ul>
<?php endif; ?>


Add this line to page.xml in the 3column section:
./app/design/frontend/rwd/default/layout/page.xml

<block type="page/html" name="sidemenu" as="sidemenu" output="toHtml" template="page/html/sidemenu.phtml" />

In your 2columns-left.phtml template:
...
                <div class="col-left sidebar">Shop Menu<?php echo $this->getChildHtml('left'); ?>
                     <?php echo $this->getChildHtml('sidemenu') ?>
                </div>
...

...
                <div class="col-left sidebar">Shop Menu<?php echo $this->getChildHtml('left'); ?>
                     <?php echo $this->getChildHtml('sidemenu') ?>
                </div>
...


Source: Stackexchange
https://magento.stackexchange.com/questions/38449/list-all-categories-in-footer

Friday, May 26, 2017

Stop the Adobe ARM Services Dead in their Tracks - The Ultimate Adobe Acrobat Hack

Stop the Adobe ARM Service Dead in its tracks with Group Policy

Why Stop the Pesky Adobe ARM Software?
Adobe ARM is the Adobe Reader Updater. Stop it dead in its tracks to prevent the annoying and nuisance help desk calls about not being able to update Adobe Acrobat, because we are only domain users. Use it to lock down your Adobe configuration to a specific version of software.  Use Windows Group Policy to ensure these settings get passed down to all of your OU's computers. These GPO tricks will work with Adobe Acrobat DC running on Windows 7, with a Windows Server 2008 GPO editor.  Furthermore, if you are a hacker and have cracked the amtlib.dll file to disable the Adobe signon page or you used the AMT Emulator to hack Adobe Acrobat DC, then this bit of advice will be very useful to you.  SadeemPC.com is the leading provider of software protection emulators for Adobe products.  To keep Adobe Updater from removing the emulator, you need to follow this advice.  We wrote a great knowledge base story about making your computer run faster, one of the tips includes turning off unneeded services, and that would include Adobe ARM.

Make a new GPO called Adobe Lockdown, edit the paths:
Computer Configuration -> Preferences ->Windows Settings -> Registry

Stop Services Dead in their Tracks
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\AdobeARMservice
key is called "Start" it is a  REG_DWORD = 4

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\AGSService
key is called "Start" it is a REG_DWORD = 4

Stop the AdobeAAMUpdater-1.0 startup utility
Only appears in registry when the startup has been disabled from the msconfig.exe list.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\AdobeAAMUpdater-1.0

Remove this key: if present
By removing this key, you will remove the entry from msconfig.exe list of startup programs.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\AdobeAAMUpdater-1.0
This Will prevent the service from showing up in msconfig.exe

Remove This key to prevent Task Scheduler from running AdobeARM.exe at user logon.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Adobe Acrobat Update Task]

Configure User Preferences
Source:  http://www.adobe.com/devnet-docs/acrobatetk/tools/PrefRef/Windows/index.html

Configure a GPO Registry key to "update" the Mode value
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Adobe\Adobe ARM\Legacy\Acrobat\{AC76BA86-1033-FFFF-7760-0C0F074E4100}
Mode is a REG_DWORD
0 == do not download or install updates
3 == install updates

Another interesting registry key is the ManifestURL that usually contains:
https://armmf.adobe.com/arm-manifests/win/AcrobatDCManifest.msi
It contains a link to the installer.  You can stop Adobe software updates in DNS
by making a zone called adobe.com and making a A Record for armmf host.
thereby bypassing the update lookup DNS query.  Normally, DNS would return:
cname records ssl.adobe.com.edgekey.net and e4578.b.akamaiedge.net
By doing so, you will stop Adobe ARM Updater dead in its tracks and smack it down.

Applies to: Adobe Acrobat DC on Windows 7,8 and 10


Thursday, May 25, 2017

DNS.exe APPCRASH Event ID 1000 and 1001

Loading DNS zones fails on a Windows Server 2008 R2-based DNS serverDNS service on a windows server 2008 R2 Domain Controller fails with appcrash report.

Cause

This DNS service crash may occur if DNS is configured to have a CNAME and an SOA record that both exist for the "@" record. The "@" record identifies the root of a DNS zone. This can frequently be identified in the DNS Manager as a record with the <same as parent folder> name. The SOA and NS records are allowed in this folder. RFC 2181 describes name uniqueness checks for CNAME records. According to RFC 2181, the CNAME may not exist in the <same as parent name> folder ("@") of a zone.

Resolution

To avoid this issue, identify and remove the "@" CNAME record that's causing the issue from the misconfigured zone before you install update KB3145126. 
For example, you have a dns zone for homeslice.com that contains: 
Name                       Type                   Data
(same as parent folder)    Alias(CNAME)           www.homeslice.com
...
(same as parent folder)    Start of Authority (SOA)  [38], dc1.homeslicecorp.com
You must remove the first record shown above. It is illegal according to Microsoft KB 3145126
Additionally remove the Windows Updates: KB3145126
This issue occurs after you have either security update 3100465 or hotfix 3022780 installed on a server that's running Windows Server 2008 R2.