arnoldjw
Forum Replies Created
-
Forum: Plugins
In reply to: WordPress Gallery 2 Pluginleslie0629 it sounds like the paths you’re including are wrong.
Be sure you’re checked the options > Gallery2 settings.
There is some error and path validation included for the location of your gallery installation.
The path to gallery should be “gallery2/” or “../gallery2/”
It sounds like you’ve got “/gallery2” in your options.email me at arnoldjw at sbcglobal.net and I’ll see what I can do.
Also i just checked your site, and gallery doens’t seem to be installed or configured properly on your site. https://www.lesliex.afraid.org/gallery/main.php gives an error.
Forum: Plugins
In reply to: WordPress Gallery 2 PluginHi Andy,
The Border is caused by the <div id=”page”> in the theme you’re using. Gallery has a style defined for that id.
The two options I see are comment out the Gallery Header
//Start Gallery Header
echo $g2data['headHtml']; //Display the gallery header
Or change the page to a different name and update the stylesheet to look for the new name.
Sorry about not including the closing </div> it looked like you had added it to the page when you added the <div=”content”> as suggested by lawtai.
I prefer including the div tag in the them included header, because if you turn off themes then you don’t need the encasing div tags.
But placing it before the gallery header should be fine.
Forum: Plugins
In reply to: WordPress Gallery 2 PluginAndy, try <div id=”content” class=”narrowcolumn”>
Place it on line 53 afterif ($wraptheme!=”No”) {
get_header();So it should look like
//Include WP Theme or basic html header
if ($wraptheme!="No") {
get_header();
echo '<div id="content" class="narrowcolumn">';
}else{
echo "<html>n<head>";
}
Forum: Plugins
In reply to: WordPress Gallery 2 PluginSo how would people like this handled?
There are some themes like WordPress Default 1.5 based on Kubrick that need the <div=”content”> wrapping the embedded gallery,
There are others that don’t like WordPress Classic 1.5.In addition some themes include the sidebar in the header or footer, others don’t.
So what would people like to see? An admin setting to turn on and off <div=”content”> wrapping? and setting to include the sidebar?
Search the header file for the class=content tag?
Or just have people manually edit the wp-gallery2.php and comment where it could go?
Forum: Plugins
In reply to: WordPress Gallery 2 PluginI’ll make the change in the wp-gallery2.php file tonight.
Thanks.Forum: Plugins
In reply to: Gallery 2 IntegrationIf you’re having trouble with the image block besure your webserver, can see itself at your virtual host.
For other problems with Gallery2’s image block I’d try the Gallery Forums, or email me and I can try and help.
Forum: Plugins
In reply to: Gallery 2 IntegrationHello Flashcore,
When I say them wrap, I mean embed gallery withing my selected WP theme. If so then its just a matter of building a WP page like the index (the real index.php)
basically include the wp-blog-header.php
get the current theme get_themes(); and get_current_theme();Include the theme stylesheet and header and footer
<?php include(ABSPATH . $current_template_dir . ‘/wp-footer.php’); ?>
Inbetween the header and footer you can do a simple embedding of gallery. (see gallery’s embed.php file for help.)
<code>
$gallerypath = "../gallery2/";
require_once(dirname(__FILE__) . '/'.$gallerypath.'embed.php');
$ret = GalleryEmbed::init(array(
'embedUri' => 'wp-gallery.php', 'relativeG2Path' => $gallerypath, 'loginRedirect' => '/baby/index.php',
'activeUserId' => 5));
if ($ret->isError()) {
// $ret->getAsHtml() has error details..
exit;
}$g2data = GalleryEmbed::handleRequest();
if ($g2data[‘isDone’]) {
exit; // G2 has already sent output (redirect or binary data)
}// Use $g2data[‘headHtml’] and $g2data[‘bodyHtml’]
// to display G2 content inside embedding applicationecho $g2data[‘headHtml’];
echo $g2data[‘bodyHtml’];require_once(dirname(__FILE__) . ‘/’.$gallerypath.’embed.php’);
$ret = GalleryEmbed::logout();
`Forum: Plugins
In reply to: Gallery 2 IntegrationPossible Features for Embedding Gallery into WordPress:
- Have gallery wrapped in current theme.
- Single Signon to WP and G2
- User Synchronization between WP and G2
- Easy Configure and Include G2 Image block (this would be settings in the admin you set, like in the side show a random image block etc.)
- Adding a G2 image easily to a post
- Link to a G2 album from a post.
- Add an Image to WP and G2.
- Use G2 to resize an Image.
– done
– done
– 50% done
Anything else?
Forum: Themes and Templates
In reply to: editting category displayRobert,
First I think you want to make you’re own theme.
And encapsulate your categories in a table<table>
wp_list_cats();
</table>Then change line 346 in template-functions-categories.php
And line 386. That whole function draws the category item.Forum: Themes and Templates
In reply to: editting category displayRobert is there no way to apply the table styles to a list item?
I was a big believer in tables, but I’ve found I can do without.Is it a browser compatibility issue?
Forum: Fixing WordPress
In reply to: Accounts and access.Using the Post Levels plugin (https://fortes.com/projects/wordpress/postlevels) and making all private posts appear to users of level 1 or greater seems to have worked. Then I changed the user_menu.php so only Users with Level 2 or greater can get to the posting functions.
Now I have users register and can leave a comment, but they can’t post even drafts. Then users I promote to level 1 can see the private posts.
Thanks for the help.
Forum: Fixing WordPress
In reply to: Accounts and access.I’ve used that. But it doesn’t get what I need.
I’m trying to create a blog that has both public and private posts.
Private posts you need to register and be approved by me the administrator. I want a level where users can read and comment the private posts, but not make draft posts or any posts for that matter.I’m using the post levels plugin so I can post to registered users only.
So now people can register, but they can see all posts without my approval. If I change the post level to 1 then users can’t see the private posts, but when I promote selected users, they can then write drafts.I’ve tweaked the user_menu.php to change the levels there and that seems to meet my needs, but is that really the right thing to do?
Forum: Fixing WordPress
In reply to: Accounts and access.Any suggestions on how to change the User Levels so that a new user can’t create new posts?
I imagine that will require editing some admin files, but that’s find just where?
That or is it possible to implement admin approval of all users?
Forum: Fixing WordPress
In reply to: Accounts and access.Any account approval tips at all?
Forum: Your WordPress
In reply to: Goo Goo Blog Ga – My baby blog.Thank you Rense and carla.
My wife found lilypie.com its where she grabbed the baby ticker at the top of the page, but I hadn’t seen their registry system. I like it.