Forum Replies Created

Viewing 11 replies - 31 through 41 (of 41 total)
  • i just took out the end of that line and now it seems to work fine. specifically, from end of line42, i removed:

    extends wpsc_merchant

    Fatal error: Class ‘wpsc_merchant’ not found in /wp-content/plugins/wp-e-commerce/merchants/paypal-standard.merchant.php on line 42

    ^screw that-

    the question-to-reply ratio is, like, 1000/1. i have better luck harassing the devs individually by email than i do in the support forums.

    if we could have a support thread or two in here as well i would imagine it/they could be of great help.

    that said, im having this same issue with the newest (BETA) versions of this plugin, PLUS the latest stable release is giving me some “FATAL ERROR” related to the PayPal standard merchant file.

    so, uh, anybody wanna chime in with their experiences/problems/solutions?

    Forum: Plugins
    In reply to: Get ID of latest post

    ^YES that helped a lot, thank you!

    ok, so it took me a while but here is the code – which i put in my sidebar.php – to list all available categories AND list each category’s posts under their respective categories. the code i’ve pieced together also highlights the current post AND current category by adding a CSS class to each using if statements. coupled with CSS i’ve used this to create an accordion-like nav system of said categories and posts:

    <?php if (is_home(''))
    {
    	wp_list_categories('title_li=&orderby=ID');
    }
    else
    {
    	wp_reset_query();
    	$catVal = get_the_category();
    	$myCat = $catVal[0]->cat_ID;
    
    	$IDOutsideLoop = $post->ID;
    	global $post;
    	?>
    	<?php $categories = get_categories('child_of'.$myCat.'&orderby=ID&order=asc'); /// Parent Category number
    	foreach ($categories as $cat)
    	{
    		$var = $cat->cat_ID ; $lastposts = get_posts('category='.$var.'&orderby=date&order=dsc');
    		wp_list_categories('include='.$cat->cat_ID.'&title_li=');?><?php // echo $cat->cat_name. " (" .count($lastposts).")";?>
    		<ul class="toggle_content<?php if($myCat == $cat->cat_ID) { echo ' current-category'; } ?>">
    		<?php foreach($lastposts as $post)
    		{
    			setup_postdata($post); ?>
    			<li<?php if($IDOutsideLoop == $post->ID) { echo ' class="current-post"'; } ?>><a <?php post_class();?> href="<?=the_permalink()?>"><?=the_title()?><span></span></a></li>
    			<?php
    		} ?>
    		</ul>
    		<?php
    		}
    }?>

    ^wanna take this a step further and set it so that the categories get displayed all at once together with the lists of posts set under their respective categories (and between the other cats) so that this appears as a list of chapters and subjects? on top of that it might be nice if the posts appeared below their cats only when that cat is active.

    im trying to hack it up myself but am ultra n00b at PHP/Wordpress…

    i am also a PHP n00b and would very much like to know how to implement this

    ok so i exported the SQL from my wp_posts table and started with a fresh database, imported old posts and all seems back in order, but i’d still like to know how/why that Javascript insertion mucked things up if you have any clues..

    oy- i bn trying to figure a way to load the FlashVars so that i have a unique image viewed with posts containing links to music files loaded by Shadowbox – never to any avail as im not a programmer, just a front end guy – but this time around i messed things up somehow. i wrote a custom field containing a Javascript snippet to load the flashvars for the JWPlayer in a post:

    <script type='text/javascript'>
    var s1 = s1.addParam('flashvars','image=http://purekreation.com/wp-content/uploads/6hnksn.gif');
    s1.write('preview');
    </script>

    needless to say it didnt work but now the Shadowbox plugin has ceased to function at all:
    purekreation.com/

    any thoughts?

    AWSM.

    thank you thank you thank you.

    hi.
    so is there a way to add to this snippet of code so that the actual comments are shown as well? i’d like very much to show the comment (or at least part of it), the user’s screen name, the user’s gravatar and the article (post) name.

    anyone got a some info or a lead to follow for this?

Viewing 11 replies - 31 through 41 (of 41 total)