Jump to content

dhcrusoe

Members
  • Posts

    55
  • Joined

  • Last visited

    Never

Everything posted by dhcrusoe

  1. There are many -- try googling for YUI2, CKEditor, or TinyMCE... why doesn't FCK work?
  2. Hey everyone, Has anyone used the GoDaddy SSL certs? Do you trust these & are they relatively trouble-free? The only posts I see are from ~2006 and point to issues installing the certs, but there isn't a lot of new material re: how much they're trusted and/or their comparison to other services (thawte, etc). Any opinions? Thanks! --dC
  3. Ahh, good pointer - the NOLO books really are useful. I'll check it out.
  4. Hey all, Quick Q. We've (http://www.plml.org) worked with some great freelancers over the years, and never had to have a signed contract with them. However, our bank is now asking that we do. Does anyone have a good sample contract that a company would use with their freelance developers? I can find lots of examples of contracts that freelancers use w/ companies, but not vice versa... Thanks so much! --Dave (and sorry if this belongs in freelancing -- it's NOT a request or post, though)
  5. Ping -- anyone familiar with this? Lacking Zend, what other ways are there to get data into a google sheet?
  6. p.s. Using the PHP lib isn't a possibility, b/c the shared hosting won't allow the install of the Zend GData libs... so a custom form seems the only route?
  7. Greets all, Just checking. I know that, back in 2008, it was possible to customize a Google form, off-server, by essentially copying/pasting/editing the Google Form submit code. Is this still possible & working, e.g., this example - http://googlesystem.blogspot.com/2008/05/customize-google-docs-forms.html ? Can someone please confirm? If so, I'll dig in && work it through -- time is limited right now, and I just need to confirm that it's working (can't seem to find much discussion about it since 2008). Or, maybe there's a better way to do this, now? Thanks! --Dave
  8. It's actually not precisely PHP-related... but if we want the most complete (worldwide) results, which Whois server should we send our PHP-based Whois query to? (ARIN, for instance, just catalogs the US...) Thanks for your suggestions! ) --Dave
  9. Haku, Yes, exactly - thanks so much for the suggestion (it works!) and my apologies for not being as clear up front. It's a great example that I'll apply elsewhere in the codebase as well... Cheers, --Dave
  10. Haku, Sorry - had been trying to write a concise message, but I guess it was too concise. Here's the codebase that it pulls from, and is supposed to assign to (below). Basically, we have three fields - a day and month dropdown, and a year input box, and then need to combine that to feed a hidden field, BGC_DOB__c (this is all on Force.com). For some reason, it isn't populating - and as long as it populates in MM-DD-YYYY, it will store... <label for="BGC_DOB__c">Date of Birth:</label> <select name="bd_month" id="bd_month" style="width: 100px;"> <option value="01">January</option> <option value="02">Febuary</option> <option value="03">March</option> <option value="04">April</option> <option value="05">May</option> <option value="06">June</option> <option value="07">July</option> <option value="08">August</option> <option value="09">September</option> <option value="10">October</option> <option value="11">November</option> <option value="12">December</option> </select> <select name="bd_day" id="bd_day" style="width: 50px; margin-left: 5px;"> <option value="01">1</option> <option value="02">2</option> <option value="03">3</option> <option value="04">4</option> <option value="05">5</option> <option value="06">6</option> <option value="07">7</option> <option value="08">8</option> <option value="09">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> <option value="13">13</option> <option value="14">14</option> <option value="15">15</option> <option value="16">16</option> <option value="17">17</option> <option value="18">18</option> <option value="19">19</option> <option value="20">20</option> <option value="21">21</option> <option value="22">22</option> <option value="23">23</option> <option value="24">24</option> <option value="25">25</option> <option value="26">26</option> <option value="27">27</option> <option value="28">28</option> <option value="29">29</option> <option value="30">30</option> <option value="31">31</option> </select> <input style="width: 40px; margin-left: 5px;" type="text" id="bd_year" name="bd_year" value="yyyy" length="4" width="80px" onFocus="fnClear(this);"></input> <apex:inputhidden id="BGC_DOB__c" value="{!Background_Check__c.BGC_DOB__c}" /> <span class="required"> </span> </div>
  11. Thanks for your question -- the end result should be that: j_id0:CT_App_Template:background_check__c:BGC_DOB__c.value == MM-DD-YYYY, like 02-08-1974
  12. Hey all, I have a bit of JS code that combines three date fields into one, and then checks to ensure it's set... for some reason, the values aren't coming across. The final result, field j_id0:CT_App_Template:background_check__c:BGC_DOB__c , needs to be in MM-DD-YYYY format... Any suggestions? -- Thanks! Here's the code: var y = document.getElementById("j_id0:CT_App_Template:background_check__c:BGC_DOB__c"); var t = y.value.split("-"); document.getElementById("bd_month").value = t[1]; document.getElementById("bd_day").value = t[2]; document.getElementById("bd_year").value = t[0]; y.value = t; alert(y.value); if(y.value == ""){ alert("Please enter DOB"); event.cancelBubble == true; el.focus(); return false; }
  13. Hey there -- Yep, that was the issue. I had to float within floats; hadn't dealt with this before. Thanks for the tip!
  14. Hey all, I'm having bleed between the contents of some DIVs... I think it's because they're not displaying as blocks, but even after adding this style, they still bleed into one another. I've enclosed my code, css clip, and a quick screenshot of the issue... thanks for your suggestions! --Dave .inputbox { margin: 10px; padding: 5px; display: block; } .textareabox { margin: 10px; border: 1px solid white; padding-bottom: 10px; display: block; } .textareabox label { padding: 10px; text-align: left; display: block; font-size: 12px; } .inputbox label { position: absolute; text-align: right; width: 240px; font-size: 12px; } <div class="textareabox"> <label for="Years_Direct_Service_To_Youth_Text__c">Please describe the work you have done with youth:</label> <apex:inputTextarea id="Years_Direct_Service_To_Youth_Text__c" value="{!CT_Application__c.Years_Direct_Service_To_Youth_Text__c}"/> </div> <div class="inputbox"> <label for="Years_Volunteering__c">Excluding your experience with Citizen Schools, how many years of experience do you have volunteering or working in a social service, youth services, community or education organization?</label> <apex:inputText id="Years_Volunteering__c" value="{!CT_Application__c.Years_Volunteering__c}"/> </div> <div class="textareabox"> <label for="Years_Volunteering_Text__c">Please describe the volunteer work you have done:</label> <apex:inputTextarea id="Years_Volunteering_Text__c" value="{!CT_Application__c.Years_Volunteering_Text__c}"/> </div> [attachment deleted by admin]
  15. Hey all, Been troubleshooting this code... it's working in IE, but not in Firefox or Safari. The functionality allows a piece to be edited (doubleclick) once it has been placed - try it on http://www.boolify.org. Any ideas? Thank you! --Dave Here's a bit of the relevant code: // ======= new event added @ Jul 7, 2009 ======= // the double click event newpiece.addEvent('dblclick', function(e) { e = new Event(e).stop(); // exception if (this.getProperty('class') != "button") return; // if the dblclick target is the operators, just return else { replace_flag = true; // prepare to replace the text, flag is true replace_id = this.getProperty('id'); // get the button id loadPopup(); // pop up the dialog for user to input return; } }); if (!$((count-1)+'')) // skip all the rest if this is the first piece { loadPopup(); return; } Here's the function: function replace_text(p_id) { var nv = $('newvalue').value; if (nv == '') return; if (nv.length > 75) { alert("You cannot enter more than 76 characters"); return; } // preserve the old text on the button var old_nv = $(p_id + '').innerHTML; if (nv.length < 4) { var spaces = (4 - nv.length); var spc = ''; for (var x = spaces+4; x > 0; x--) { spc += '&#160;'; } $(p_id + '').innerHTML = '<span>' + nv + spc + '</span>'; } else $(p_id + '').innerHTML = '<span>' + nv + '</span>'; // search out if there're the same keywords around the board // if no, continue // if yes, omit the new input one, and restore to the former text // for (var x = count; x>0; x--) { if (x == p_id) continue; else { if ($(x + '').innerHTML == $(p_id + '').innerHTML) { alert("Same key words detected, please re-enter"); $(p_id + '').innerHTML = old_nv; break; } } } // restore flag and id to default value replace_flag = false; replace_id = 0; closeDialogue(false); }
  16. Hey all, I'm working on a relatively simple regex to strip the test.mp3 (filename) from the following code: <a href="http://www.wowshowcase.org/showcase/assets/Destiny_By_Design_Spring_09a.mp3">Destiny by Design</a> with this regex: var audiofile = vRows[i].firstChild.nodeValue.replace(/<a[^href]+href=\"([^\"]*)\"[^>]*>/ig,"$1"); and the result is... Destiny_By_Design_Spring_09a.mp3Destiny by Design</a> Hmm... any suggestions? (Trying to get an embedded player working; the click-to-download thing kinda stinks!) Thanks so much! --Dave
  17. P.S. What other services should we add to our measuring service? Or what other metrics would be cool & helpful to quantify?
  18. Accepting critique was a hard thing to learn, but really important - learned in photography classes, of all places. It's a matter of knowing when critique is correct, and/or when it's simply inflammatory (not factual or correct). Yours was definitely spot-on, and I appreciate the work you did to find it out ) --Dave
  19. Hey Axeia, Man, those are awesome comments. I've gotta a start on them (great advice on the headings!) and will keep working on some of the others - alt tags, better menu structures, etc. It's taken us a lot to get to where we are - the engine that builds the data took a lot of work! - and so the accessibility issues are the important (critical!) last mile. Can certainly expand the forums a bit, too -- was trying to keep the general width / height thing in check, but I see what you mean about cramped-ness... Over all, we're hopeful - with some more work! - that it's a valuable free (and low-cost paid, because ripping people off isn't cool, but we do need to pay for the bandwidth somehow!) service for social people ) Cheers! --Dave
  20. Sorry about that! There should be an exclamation point at the end of the pass -- tester! I'll edit the original post, if I can, to update. Thanks for reporting it Updated: Rats, I can't modify (no permissions). Moderator, would you kindly update the password field in that post? Many thanks!
  21. Hey all, Yet another release I'd love to share with the community for feedback - you've been awesome through great times, and through the bad times (well, inventions that ran into a giant brick wall). This time, the invention is called SociafyQ (which needs a better name, I hear). The service, http://sociafyq.com/ci/spublic, is designed to collect (monitor) and graph growth and/or change in social networks important to you. It collects NONE of your private password or login information. This includes services like Facebook, Twitter, blogs, YouTube, LinkedIn with other social sites to come. Data monitoring typically includes group size and message output, views, etc, and monitoring is on a 24 or 48-hour basis. I've created a test account for y'all: user: phpfreaks pass: tester http://sociafyq.com/ci/spublic Questions: 1. Any good name ideas? 2. What additional services and metrics would be useful to you? 3. What features would be most useful? We're working on a Widget for Dashboard, Yahoo Widgets and more, and are integrating alerts and faster data refreshes. Thanks for your thoughts & cheers, --Dave
  22. Thanks for your input, all! We've done a lot of work to the site, and are releasing a beta for testing... if anyone would like to check it out, here's the URL: http://theal.org/ and it would be great to hear any feedback, strengths or drawbacks... Thanks again, and cheers! --Dave
  23. Hey all -- In the end, here's how it was resolved: <script type="text/javascript"> function createLink() { var link = document.getElementById('userlink').innerHTML; var newLink = 'http://www.test.com?user=' +link; window.location = newLink;} </script> <a href="javascript:createLink();" id="userlink">test</a> Thanks for all your help! --Dave
  24. Could we do a getelementbyID, and use the ID of the <A> tag instead? (Maybe that would make it more smooth, since there's only a single link this would impact?) --Dave
  25. Hey there -- I'm editing an installed version of DotNetNuke, and the modules that output the ASP are already compiled. So, there isn't much I can do to access everything, unless I were able to get into the source & recompile the module. So, in this case, I really (really) prefer to go the non-ideal JS route (even though, yes, it's FAR better to go with ASP). The basic problem I'm having is that, in the code, it won't let me repeat a tag twice, for instance: <asp:Label id="lblAuthor" Runat="server" cssclass="blog_Description"></asp:Label></TD> I'd far prefer that method, but nothing I've tried has worked.. Thanks! --Dave
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.