• Tech

    10.5 Default Share Points [by celiawessen]

    Vending Machine-less Lounge:: 10.5 Default Share Points
    When you first start AFP on a brand spanking new Leopard machine, the "Public" folders for each user is displayed under the "Shared Folders" list. But if you delete these (on purpose or by mistake) and would like to re-create the links, you will notice something. If you want to share two folders with the same names, they will show up like, "Public" and "Public-1". This is no good.

    The solution lies in the now defunct NetInfo. NetInfo was eaten by Leopard and was thought to be dead, but it still lives as a basic XML structure in /var/db/dslocal for mundane tasks, like storing aliases for shared folders.

    In 10.5.3, the alias for the sharepoints can be changed by editing the XML file in /var/db/dslocal/nodes/Default/config/Sharepoints.plist.

  • Tech

    AFP File Sharing: Client Does Not Start [by celiawessen]

    Vending Machine-less Lounge:: AFP File Sharing: Client Does Not Start
    If you have one 10.5 mac that has problems accessing any AFP share point, see Apple's support document,
    "Mac OS X 10.5: "The text entered does not appear to be a recognized URL format" alert when connecting to server".

    Technically, you only need to archive and delete the URLMount folder, but in essence, you could delete anything that have been migrated from an old 10.4 account from the /Systems/Library/Filesystems directory.

  • Uncategorized

    Notify Admin When Customer Change Of Address [by celiawessen]

    osCommerce:: Notify Admin When Customer Change Of Address
    We keep two different customer databases online. A MASTER database that includes all customers from the online shop, retail locations, and direct mailing lists. The other is the very dynamic database on the back-end of the online store. The problem is, when customers change their address through the online store, they assume that everything they signed up for at the retail store or telephone orders are updated too. Unfortunately, we end up sending new product catalogs to their old address in the MASTER database.

    So, what I did was, I've added a $tep_mail() function entry to account_edit_process.php, so that when the customer clicks "Next" after being done with updating their address, the online store sends the admin an e-mail saying there's been a change; therefore prompting the admin to update the MASTER database.

    I made it this way instead of making it totally automatic so there is a human control to keep things in check.

  • Uncategorized

    Using Port 587 to circumvent OP25B

    Excerpt from: http://mac007.com/?Tips:Alternate_SMTP_Ports

    Add this code to /etc/postfix/master.cf

    smtp      inet  n       -       n       -       -       smtpd

    # Code to enable two common alternate SMTP Submission ports
    # Modify the -o options to suit your requirements
    # Option lines should start with one or more spaces
    # Don't forget to open firewall ports for outside access
    # Enable SMTP-TLS on port 587 with specified options
    587    inet  n       -       n       -       -       smtpd
    -o smtpd_client_restrictions=
    -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject
    -o content_filter=

    Don’t forget to open port 587 on the Firewall of the receiving server!

  • Sidetracked

    Wearing Old News

    What is going on? CNN.com now sells shirts with news blurbs. The shirts feature headlines, mainly from CNN.com, and is time-stamped when the article went online. So far, the available choices of headlines are not that entertaining or historical. Many of the CNN.com headlines are brief and confusing to begin with. I suspect, that is so it will fit into the 270 pixel space allotted on the front page.

    The shirts come in black, white, or gray; in men’s and women’s fit; in size S, M, L, XL. The shirts are USD 15.00 each and there’s a shipping charge of $4.99.

    Why the hell would you want these shirts? I don’t know.