Programming
http://plugins.learningjquery.com/cluetip/demo/
by MisterSaisho on Sep.08, 2010, under Javascript, Programming, Web Dev
jquery pop ups
Printcustom mkeditor panels
by MisterSaisho on Sep.05, 2010, under Javascript, Programming, php
http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Toolbar
config.toolbar = 'Full';
config.toolbar_Full =
[
['Source','-','Save','NewPage','Preview','-','Templates'],
['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],
['BidiLtr', 'BidiRtl'],
'/',
['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['Link','Unlink','Anchor'],
['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
'/',
['Styles','Format','Font','FontSize'],
['TextColor','BGColor'],
['Maximize', 'ShowBlocks','-','About']
];
config.toolbar_Basic =
[
['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink','-','About']
];
PrintSend multipul attatchments php.
by MisterSaisho on Sep.05, 2010, under Programming, php
Leave a Comment more...How to send mail from wamp.
by MisterSaisho on Sep.05, 2010, under Programming, php
This is handy when you are using something like wamp to simulate a server and would like to send mail.
1. Install WAMP
2. Install Sendmail
3. configure sendmail.ini:
; configuration for fake sendmail
; if this file doesn’t exist, sendmail.exe will look for the settings in
; the registry, under HKLM\Software\Sendmail[sendmail]
; you must change mail.mydomain.com to your smtp server,
; or to IIS’s “pickup” directory. (generally C:\Inetpub\mailroot\Pickup)
; emails delivered via IIS’s pickup directory cause sendmail to
; run quicker, but you won’t get error messages back to the calling
; application.smtp_server=mail.mistersaisho.com
; smtp port (normally 25)
smtp_port=25
; the default domain for this server will be read from the registry
; this will be appended to email addresses when one isn’t provided
; if you want to override the value in the registry, uncomment and modifydefault_domain=dsaisho@gmail.com
; log smtp errors to error.log (defaults to same directory as sendmail.exe)
; uncomment to enable loggingerror_logfile=error.log
; create debug log as debug.log (defaults to same directory as sendmail.exe)
; uncomment to enable debuggingdebug_logfile=debug.log
; if your smtp server requires authentication, modify the following two lines
auth_username= email address from server
auth_password= the password; if your smtp server uses pop3 before smtp authentication, modify the
; following three lines;pop3_server=
;pop3_username=
;pop3_password=; to force the sender to always be the following email address, uncomment and
; populate with a valid email address. this will only affect the “MAIL FROM”
; command, it won’t modify the “From: ” header of the message content;force_sender=
; sendmail will use your hostname and your default_domain in the ehlo/helo
; smtp greeting. you can manually set the ehlo/helo name if requiredhostname=
4. configure WAMP php.ini:
comment out the following( place ; before value to comment out, ex. ;SMTP) -
;SMTP
;smtp_port
;sendmail_from
Un-Comment sendmail_path and set it to your sendmail.exe :
sendmail_path = “c:\sendmail\sendmail.exe -t”
PrintFlash & Flickr help notes
by MisterSaisho on Aug.27, 2010, under Flash, Programming, php
Tool:
Pull up all info on that user, only needs username or email. http://www.xflickr.com/fusr/
Tutorial:
Good info on making some Flickr calls. http://vanderbreggen.wordpress.com/tutorials/flickr-via-actionscript-3-page-1/
Parse xml with php. http://www.kirupa.com/web/xml_php_parse_beginner.htm
http://www.flickr.com/services/api/
Example calls:
*get NSID (used alot)-
http://api.flickr.com/services/rest/?api_key=YOUR KEY&method=flickr.urls.lookupUser&url=flickr.com/people/efactormedia/
*get List of photosets-
user_id is NSID
http://api.flickr.com/services/rest/?api_key=a5f60c6580b3a1d8f196f626f737d397&method=flickr.photosets.getList&user_id=33172177@N04
<photoset id=”72157623882723721″ primary=”4584195469″ secret=”79c3b97e05″ server=”4040″ farm=”5″ photos=”48″ videos=”0″>
<title>Cinco de Mayo de EFM</title>
<description/>
</photoset>
concatenate id to the end of this url to get a link to that set :
http://www.flickr.com/photos/efactormedia/sets/PHOTOSET ID
**Use extras to bring in the urls of the images:
http://api.flickr.com/services/rest/?api_key=YOURKEY&method=flickr.people.getPublicPhotos&user_id=33172177@N04&extras=url_t,url_m,url_s
*Get images with lat/lan information
http://api.flickr.com/services/rest/?api_key=a5f60c6580b3a1d8f196f626f737d397&method=flickr.photos.search&lat=32.78858568333333&lon=-117.10919586666667&radius=19
PrintJquery content slider.
by MisterSaisho on Aug.13, 2010, under Javascript, Programming
sliding divs.
http://net.tutsplus.com/tutorials/javascript-ajax/a-bullet-proof-content-viewer/
PrintAuto Start youtube video
by MisterSaisho on Aug.13, 2010, under Programming
http://www.jakeludington.com/ask_jake/20061002_automatically_start_youtube_video_playback.html
Printif( your added to stage function runs > once)
by MisterSaisho on Aug.11, 2010, under Flash, Programming, Uncategorized
Leave a Comment more...