yogaboat
Forum Replies Created
-
Forum: Plugins
In reply to: Wpig Image gallery change helpFatal error: Call to undefined function: zip_open() in …/wpig.php on line 168
This is line 168 from wpig.php:
$zip_handle = zip_open($zip['tmp_name']);
I’m getting the above error when creating a new gallery. I’m using WP 2.0.5, Almost Spring theme, and WPIG v1.4.0. I created the gallery directory and thumbcache subdirectory and CHMODed each to 665. The zip file I’m uploading is about 1.5MB.
What can I do to move forward? This is the best gallery option I’ve found & I’d really like to use it!
Forum: Plugins
In reply to: simple php gallery equix themeOk still trying to get this worked out, really frustrated. ?? I’ve look at code so long I dont know which way is up. I’m about to give up on Equix completely, having gotten very little support. Sorry for the rant. We’ve all been here, I think. Any help GREATLY appreciated!
Forum: Fixing WordPress
In reply to: equix sidebar issuesLooks like a dead end on this one. I hate to go back to the default, but doesn’t look like I have a choice at the moment.
Forum: Fixing WordPress
In reply to: equix sidebar issuesHmm. I changed the code from wcol to ncol, but it not only displaces the sidebar, now it makes the window wider as well:
Forum: Fixing WordPress
In reply to: equix sidebar issuesWarning: lengthy code snippets ahead! Before I get to the previous positioning issue, I wanted to mention that links do not get automatically included in the sidebar like in the kubrick theme. He includes a link template, but I dont want links to be on a completely separtate page. My solution was to cut & paste the link code from Kubrick and it worked fine.
One other issue – the sidebar gets shortened on all but the index page. How can I correct that?
On to the sidebar bumping issue: it still occurs on the gallery page only. I’m wondering if I need to edit my gallery template, the same way he provided page/author templates. the current gallery template I have looks like this, it redirects to the sp-index that came with simple php gallery:
<?php
/*
Template Name: Gallery
*/
get_header();
?>
<meta http-equiv="REFRESH" content="0;url=https://www.designbox.us/blog/wordpress/wp-gal/sp_index.php">The sp_index.php looks like this:
<?php
/* Don't remove this line. */
require('../wp-blog-header.php');
?><?php get_header(); ?>
<div id="content" class="wcol">
<!--<div class="navigation">
<div class="alignleft"><?php posts_nav_link('','','« Previous Entries') ?></div>
<div class="alignright"><?php posts_nav_link('','Next Entries »','') ?></div>
</div>--><div id="spg">
<?php
/*
Simple PHP Gallery by Paul Griffin.This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.
To view a copy of this license, visit https://creativecommons.org/licenses/by-nc-sa/1.0/
or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.What this means:
You are free:
* to copy, distribute, display, and perform the work
* to make derivative worksUnder the following conditions:
* Attribution. You must give the original author credit.
* Noncommercial. You may not use this work for commercial purposes.
* Share Alike. If you alter, transform, or build upon this work, you may distribute the
resulting work only under a license identical to this one.* For any reuse or distribution, you must make clear to others the license terms of this work.
* Any of these conditions can be waived if you get permission from the author.
*/
require('sp_helper_functions.php');
require('sp_def_vars.php');?>
<h2><?php getPageTitle(); ?></h2>
<p id="breadcrumb"><?php getBreadCrumbs();?>
<?php
//IF A FILE WAS REQUESTED FOR VIEWING, OUTPUT IT
if($display_file != '')
{
?>
<div align="center"><div id="prevnext"><?php getPrevAndNext();?></div></div>
<div style="clear:both;"></div>
<div id="image"><?php getFile(); ?></div>
<?php
if(descriptionExists())
{
?>
<p id="desc"><?php getDescription();?><?php
}
}//OTHERWISE, A DIRECTORY LISTING REQUEST WAS MADE. DISPLAY THE THUMBNAIL LINKS.
else
{
//IF THIS DIRECTORY HAS A DESCRIPTION, OUTPUT IT
if(getDirDescription() != '')
{
?>
<div id="dirdesc">
<?php echo getDirDescription(); ?></div>
<?php
}
//IF THERE ARE SUB-DIRECTORIES, LIST THEM.
if(subDirExist())
{
?>
<div id="directories"> <?php getDirLinks(); ?></div>
<?php
}
?>
<div id="gallery">
<?php
//OUTPUT THUMBNAIL LINKS TO ALL IMAGES IN THIS DIRECTORY
//getThumbnails();
foreach(getImgLinks() as $link)
{
echo $link;
}
?>
</div>
<?php
}
?>
</div>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>The about/author template looks like this:
<?php
/*
Template Name: Author/About
*/
?>
<?php get_header(); ?>
<div class="ncol"><!-- Begin of the narrow column -->
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post"><!-- Post Div-->
<h2 id="post-<?php the_ID(); ?>">
<a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a>
</h2>
<div class="entry">
<?php the_content(__('<strong>(more...)</strong>')); ?>
<?php link_pages('<p class="postmetadata"><strong>Pages:</strong>', '
', 'number'); ?>
</div>
</div><!-- End of post div-->
<?php endwhile; endif; ?>
<?php edit_post_link('Edit this page!', '', '
'); ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>Forum: Fixing WordPress
In reply to: Static content on home page only in 1.5?If you’re asking how to use a static page as your home page (instead of the default blog homepage) this might help:
https://codex.www.ads-software.com/Pages#Using_a_Page_as_the_Front_Page
Forum: Plugins
In reply to: rum gallery tweakingOn my way, thanks!
Forum: Plugins
In reply to: query postsWorks for me! I’d like to thank lawtai for his persistence with this issue. ??
Forum: Fixing WordPress
In reply to: linking to specific lines within posts?This may help us.
Forum: Fixing WordPress
In reply to: linking to specific lines within posts?I have this same problem and would be interested in an answer as well.
Forum: Themes and Templates
In reply to: ISO themes with narrower header imageThanks all! i’ve been poring thru the Alex King site, will check others. And that cssmaxdesign site is great! I like how it gives you code for bothe html and css and show the result. Very helpful to a newbie. ??
Forum: Fixing WordPress
In reply to: remove archive & category links from the front page?Actually, now that I think about it, the blog page is the only page I want the sidebar to have archive and category links. So I guess the question is how to code this piece so it checks to see if it’s on the blog page (page ID 8 in this case), and if it’s not, don’t display those links?
Forum: Fixing WordPress
In reply to: password protecting the blog itselfHow can .htaccess be used to protect files, not entire directories? in this case, the blog.php file I made?
Forum: Fixing WordPress
In reply to: Lesson: How to make a static page your “home” pageRoot if you have the time, I could use some help with this. Be forewarned I’m new to coding – I hack my way thru most of the time. yogaboat at hotmail dot com.
Forum: Fixing WordPress
In reply to: Lesson: How to make a static page your “home” pagePardon my ignorance, I’m new to all of this and THOROUGHLY confused at this point.
I installed Ryan’s plug-in. However I can not get to the blog. Not only that, but the archives pages show a shortened sidebar. Site is here:
Root what do you mean by “run your front page”? Are you saying rename index.php to home.php?? Where does the new page I created to be the front page fall into that setup?