The Loop

Where humor doesn’t work.
Sep 18, 2012 06:46
@userabuser: u there?
Sep 11, 2012 11:22
i will appreciate the help
Sep 11, 2012 11:21
anyone if can help with this... urgent wordpress.stackexchange.com/questions/64787/…
Sep 11, 2012 11:13
@Brady: ok bro... thanks anyways
Sep 11, 2012 11:10
or Rarst if u can help
Sep 11, 2012 11:09
brady need some assistance bro
Sep 11, 2012 10:24
n running
Sep 11, 2012 10:24
anyone up?
Feb 29, 2012 12:50
@toscho: figured it out
Feb 29, 2012 12:35
ok thanks
Feb 29, 2012 12:33
@kaiser: look at the code, can you suggest what is going wrong?
in my previous installation, everything is working fine
Feb 29, 2012 12:32
function ashyana_getTaxonomyValues( $taxonomyName = "", $taxonomyChild = '', $parent = null ) {
if( !empty( $taxonomyName ) && taxonomy_exists( $taxonomyName ) ) {
if( !empty( $taxonomyChild ) ) {
$term_details = get_term_by( 'name', $taxonomyChild, $taxonomyName );
$terms = get_terms( $taxonomyName, ( $parent == 0 ) ?
array( 'parent'=>$term_details->term_id, 'hide_empty'=>0 ) :
array( 'fields' => 'all', 'hide_empty'=>0 ) );
return $terms;
}
else {
$terms = get_terms( $taxonomyName, ( $parent == 0 ) ?
Feb 29, 2012 12:32
$results = ashyana_getTaxonomyValues( 'locations', 'Islamabad', 0 );
print_r($results);
Feb 29, 2012 12:31
@toscho: yeah, its a hierarchy based. like:
city
city
-location
-location
Feb 29, 2012 12:29
it started happening after i upgraded wp to the latest release
Feb 29, 2012 12:29
now the location dropdown is showin cities in the locations dropdown
Feb 29, 2012 12:28
no not that... i was using custom taxonomies to display cities in one dropdown and when particular city was selected from the dropdown, it was populating another dropdown with its respective locations
Feb 29, 2012 12:26
@kaiser: can you help me with custom taxonomy how-to
Feb 29, 2012 12:25
need some quick help
Feb 29, 2012 12:25
anyone here
Dec 20, 2011 10:19
if yes, how?
Dec 20, 2011 10:19
@Brady: can we use upload UI in our theme?
Dec 20, 2011 10:14
ok
Dec 20, 2011 10:13
i want to upload through simple page refresh but upload interface should be rocking
Dec 20, 2011 10:13
@kaiser: if you dont mind, can you suggest me a multifile jquery upload interface (i dont need the upload functionality just interface). As i have searched alot and none of them come without upload script.
Dec 20, 2011 10:11
@kaiser: ok thanks then... should i take nvm as i should go ahead with your suggestion? I think so :P
Dec 20, 2011 10:10
hmmm
Dec 20, 2011 10:09
It is a function, I will need 3 different IDs and 2 additional calls to the function. Does not it take more calls
Dec 20, 2011 10:08
but different upload scenarios
Dec 20, 2011 10:08
@kaiser: if i use the id, i will have to triplicate the code for the same purpose
Dec 20, 2011 10:07
i want to get the object thisfile through id in line 3
Dec 20, 2011 10:07
var VIGET = VIGET || {};
VIGET.fileInputs = function() {
var thisfile = jQuery(this),
fileval = thisfile.val(),
valArray = fileval.split('\\'),
newVal = valArray[valArray.length-1],
button = thisfile.siblings('.button'),
fakeFile = thisfile.siblings('.file-holder');
alert(thisfile);
if(newVal !== '') {
button.text('Photo Chosen');
if(fakeFile.length === 0) {
button.after('<span class="file-holder">' + newVal + '</span>');
} else {
fakeFile.text(newVal);
}
}
};
Dec 20, 2011 10:06
but when the function is called, i want to use the id instead of the class
Dec 20, 2011 10:06
jQuery('.file-wrapper input[type=file]').bind('change focus click', VIGET.fileInputs);
Dec 20, 2011 10:06
calling upload function through class
Dec 20, 2011 10:05
I have 3 upload form elements. all having same class but different id
Dec 20, 2011 10:04
ok
Dec 20, 2011 10:04
asking me?
Dec 20, 2011 10:03
basically, i want to extract the object from class to id
Dec 20, 2011 10:03
I want the object as returned by
var thisfile = jQuery(this);
Dec 20, 2011 10:03
it is just giving me the text as it should do
Dec 20, 2011 10:02
var thisfile = jQuery(this).attr('id');
Dec 20, 2011 10:02
thanks
Dec 20, 2011 10:02
@Brady: need a quickie suggestion for js
Dec 19, 2011 12:14
@Brady: caz of timeout error :(
Dec 19, 2011 12:12
@Brady: I have been trying to do this other than GET/POST method a long time ago... but could not find any better solution
Dec 19, 2011 12:11
@Brady: I have been trying to do this other than GET/POST method a long time ago... but could not find any better solution
Dec 19, 2011 12:10
me
Dec 18, 2011 00:40
@kaiser: still i am trying to dig how to override default search behavior... i.e. how to override 's' as i don't have any form element with name 's' and i am not planning to use any
Dec 17, 2011 19:34
@kaiser: thanks bro... i will let you know when my experimental site is complete and will like you to comment on it.... thanks once more