georgianlady
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: how do I echo category names without links or otheIf this is helpful at all:
One might desire to have the Category name show up on a category specific page
<?php wp_title () ?>
will output the page name, as in the browser title bar it’d look like:
>> Category Name
Not exactly what one might want to output, but it works.
That code will output the name of every page. Plain index.php has no name. But all category, month, and single pages have names. (and then search pages return no name)
To only output the title on category pages use an if statement:
<?php if ($cat) { ?><?php wp_title () ?><?php } ?>
to output on category and monthly pages use an if not single statement like:
<?php if (!$single) { ?><?php wp_title () ?><?php } ?>
Monthly pages show this kind of title:
>>Year >> Month Name
example:
>> 2004 >> June
—–
I’d be interested in a way to get the titles of the pages without the duhickies, so another code to pull the actual category name of the page, for instance, to display on the page.Forum: Plugins
In reply to: Exhibit 1.0b release.ex_thumb_preview {
padding: 3px;
border:1px solid #cccccc;
margin:3px;
display:block;
float:right;
font-size:xx-small;
text-align: center;
}
.ex_thumb_preview img {
padding:2px;
border:1px solid #ccc;
width:100px;
}
.ex_thumb_preview a {
display: block;
}
That what I have in my exhibit.css right now. I also put it exactly the way you have it Ringmaster, and the only difference in output that way is that the border for the DIV goes wide, filling the space … the photos are still stacked one on top of the other vertically.
I see on Vexme.com that they are horizontal, and that Vexes ME! ??
—-
About the other floating issue that casey brought up, that’s a traditional problem with how wide the space in the browswer is (browser re-sizing will line them up differently as you pull it wider or narrower, etc.) what the monitor resolution is for whoever is viewing it, and so on.
Like Ringmaster said, making the divs all one height aleviates this problem, to the large degree it does get rid of that hanging weirdo thing, but it will not get rid of movement of the divs depending on how large the page is being displayed, since they are “floating” elements. Something I can live with.
I have a decent monitor size and resolution, so I don’t notice many of the problems of floating, but since Casey brought it up, I’ll see about making those DIVS larger in Height to accomodate more text comment conformity to size. [done]
—-
So that’s the deal, I can’t make those front page thumb previews go horizontal. Even my hammer didn’t make them move ??Forum: Fixing WordPress
In reply to: Trackback in WP 1.2I have WP 1.2 mingus and TRACKBACK doesn’t work at all.
I can ping via putting links into the post and having the “ping back the uri’s in this post” box checked.
I will say that I’ve had trouble with how those pingbacks look though, sometimes they are fine, and other times they have a piece of the<head>
code in the output … like the last two or three lines before</head>
and it didn’t matter what I had in that spot of the “head” , it outputted it sometimes, and sometimes not. I haven’t pinged anyone else, as far as I know, but have worked at trying to trackback and pingback myself to see how it’s working.
I have tried it with permalinks turned on and off. Trackback never works, and pingback usually works but it’s kind of funky as to what it’ll do. I’ve had it good and bad using the uri to a post, and using the trackback uri to that post.
That’s that.Forum: Plugins
In reply to: Pageviews Plugin (ready)I installed this plugin, I had to create the table myself, it worked fine just by letting phpadmin interface for query use the .sql file.
But with this plugin activated in the WP 1.2 admin interface, and the code in the loop on index.php, the page only loads to the point where that code is, then it stops. So, it doensn’t work, it’s doing SOMETHING since the page only partially loads, but it’s not throwing a visible error other than that.
I have the plugin deactivated and the code commented out on my index.php right now. I’d appreciate any help I can get with this though.Forum: Plugins
In reply to: Exhibit 1.0b releaseOk I do have one request:
When choosing more than one preview to show up on the front page with the post, the thumbs go vertical, messing up the layout for me since I usually have the post very short on the front page … so one photo preview is fine, but when adding two or more they run together vertically ( so I put a padding around them in .css to make them look better) but since they are all in one DIV their is no way to make them go horizontal.
So can you re-code the preview part to put a separate div around each preview thumbnail … as it is for all the thumbs on the single post page? Then this way they could go horizontal, and if there was a setting to allow horizontal or vertical … that would be even better than just having it one way or the other … hmmm, or is there a way to make it so that IF there were DIV’s around each preview, .css could make them go vertical … I think I’m getting the idea that it would mean a wrapper DIV around the Image DIV’s, that would make it choosable via .css, but then that’d be an always default situation.
In any case, just looking through the code, it seems like, but I’m not sure, that the part that specifies ex_thumb_preview says to put DIV wrappers around each photo, but then, again I guess since it looks like how I’m putting below, on the source code for the index.php, it wouldn’t be so, since the span for “view more …” is in that one ex_thumb_preview DIV …
Like so it’s written on the index.php:
<div class="ex_thumb_preview_wrap"> <img src="https://www.pastoralfarms.com/weblog/images/2004/May_19_cats/t/P5190018.jpg" alt="Strider ears back ??May 19, 2004" /> <img src="https://www.pastoralfarms.com/weblog/images/2004/May_19_cats/t/P5190019.jpg" alt="Dixie ??May 19, 2004" /><span class="ex_preview_prompt">View more...</span></div>
I’d like to see this as a wrapper<div class="ex_thumb_preview">
then individual DIVS around the img’s<div class="ex_thumb_preview">
inside the wrapper … if that’s possible. Or at least could you supply a “hack” code to do that, since I’m not super good at hacking all php code.
I think this is the relevent portion of the code:
under:function exhibit_content($content)
and under this portion :// The post content is one of many posts on the page
// See if there is a preview picture for this post
// Since there is a preview picture, display it and the content
$ret = '';
if(!$exc->preview_at_top)
{
$ret .= $content;
}
$ret .= '<div class="ex_thumb_preview">';
foreach($previews as $preview)
{
if (preg_match('|post.php|', $_SERVER['SCRIPT_NAME']))
{
$startlink = '<div>';
$endlink = '</div>';
}
else
{
if($exc->previews_link)
{
$startlink = exhibit_thumbnail_link($preview, true);
}
else
{
$startlink = '';
}
$endlink = '';
}
$ret .= $startlink.'<img src="'.get_settings('siteurl').'/'.$preview->thumb.'" alt="'.$preview->caption.'" />'.$endlink;
}
if('' != $exc->preview_prompt)
{
if ((!preg_match('|post.php|', $_SERVER['SCRIPT_NAME']) && (count($previews) != 1)) ||
($exc->thumbnail_popup))
{
$startlink = '';
}
$ret .= "<span class=\"ex_preview_prompt\">{$startlink}{$exc->preview_prompt}{$endlink}</span>";
}
$ret .= '</div>';
if($exc->preview_at_top)
{
$ret .= $content;
}
return $ret;
}
You can see how it affects a front page by viewing my PHOTOGRAPHY category page
That’s the only snaggy kind of thing I’ve run into … so that’s super MeThinks!Forum: Plugins
In reply to: Exhibit 1.0b releaseThank you so very, very much!
It works!
I love the new features!
Multiple previews, able to put thumbs at top of page, exhibit inside post, etc. Inline Display works nicely. [any way to get it to (in the future) exchange the photo instead of reloading the whole page?]
Anyhow here’s an example of how nice it works with INLINE DISPLAY now!
I also like how the admin interface looks, no more mysql error showing with the need to save the post first.
And then the INSERT feature — really great.
That’s as far as I’ve gotten. I simply edited the two other photo posts I had already created under the old EXHIBIT, I was able to choose more previews, which I did for one of them. I hand put the code for< !--exhibit-- >
inside the posts before discovering the insert code … but that’s alright, for I can do that easily when wanting the default config settings. Cool, cool, cool, even with how hot it is today! ??
For those UPGRADING: you’ll need to add a new css class to exhibit.css — like so for what I wanted mine to look like:
.ex_fullsize {border:10px solid #ccc; padding:10px; }
.ex_fullsize img (border:10px solid white;)
That’s the only thing I did, add those two classes in exhibit.css (I make my .css files writable online to quickly edit them as I desire online anywhere I may be) and looked thru the config changes and made them how I wanted, and uploaded exhibit10.php to overwrite the old one.
Fast and easy.Forum: Plugins
In reply to: New image gallery plugin – needs testersOOOOOH I’m excited! I was tearing through some yahoo group archives looking for something and … anyone who’s ever done that since Yahoo changed the group archiving structure knows how torturously impossible it is to find something two or more years ago by searching, or without knowing exactly when it was posted but know it was over two years ago to four years ago … so I grew weary and went to close windows and had Vexme still opened, so I refreshed it and THAT’s how I learned of the awesome features, through interaction on Vexme posts, without having read anything here.
I see Inline Display working, and that’s truly what I want! I love the way you can put the code in the post … I was starting to suggest that in my above post, and deleted that, not wanting to get so complex, but I see that, once again, great minds think alike ??
Whenever you have 1.0b ready, I’m first inline ?? To have choice when posting for HOW Exhibit will be applied is exactly what I was wishing for so cudos so far!
I’ll be super thrilled to see it working for me, and can’t say how much this plugin means already, it’s farly superior to anything else for how well it makes a combo photo/weblog work. I like manually uploading my photos, and make my own thumbs generally, don’t have imagemagic and such, and so this plugin is the only good one available. Really. Even in it’s early stages. I played with Wp-photo before WP 1.2 came out (I liked it, but not fully enough) so I’m glad to see the vast improvement of such things with Exhibit. It sounds like the plan is it’ll work wonderfully for the masses of photos languishing away on my MT Photo Log which I have no desire to switch over due to the heft of changes. To start afresh with photos in their directories usable, whoo hoo!
Silly me. It’s only photo stuff. Why am I so excited? Simple things for shutterbugs are complex though simple and make showing off photos a pure delight. Thanks Ringmaster!Forum: Fixing WordPress
In reply to: Multiple Custom FieldsI posted here with more about how I used
the_meta_key
. Useful to get going on how to use this hack as well.Forum: Plugins
In reply to: New image gallery plugin – needs testers… I can’t seem to get the ‘< !–exhibit– >’ tag to work in the post so I can get a full-sized image to appear as I want it before the text (not suppressed) and the other thumbnails to appear as normal at the bottom of the post. Similar to the thing georgianlady was wanting.
suey, I tried to get that to work as well, and I couldn’t (as you may have read above). I ended up abandoning that aspect of it as I think it’s really not going to work with the current version of how it’s coded.
You can do the suppress text method, but then I find that the photo just goes where it wants to, that’s at the top of the post, right under the date.
Anyway, I ended up doing popups (with the addition of a different popup method as I was talking about in a prior post earlier in this thread), and also can use the exhibit_full.php page option.
I am *hoping* that the display inline feature will come back to work — I like putting a 10px white border around the photo, and a div around that which has a 10px silver border, so the photo sort of has a nice frame … so that’s how I’d truly like to have EXHIBIT work to display inline, and leave all the thumbnails at the bottom as they show up now in posts. Action desired: Click thumbnail, picture shows up in the text where you placed< !--exhibit-- >
in the template, with a div able to be styled, and the thumnails stay and the client can just click thumnails at will for the large photo to be replaced in the div.
Hmmm. Perhaps the right method for this would be for EXHIBIT to append a div onto the end of the post, above the thumbnails, with the first thumnail’s large image in that div … with the clickable thumbnails to replace that image as already stated in prior paragraph. is that possible in a future edition?
—–
Another idea about EXHIBIT for future editions, in the edit interface, is it possible to make photos individually clickable to add into a post … instead of the whole directory only … but give options to do WHOLE DIRECTORY, INDIVIDUAL PHOTO, or MULTIPLE PHOTOS via ctrl-click … ? ?? Also, maybe “whole directory” can be made to check names of photos in post already, and only add new ones? That may be overkill for this plugins functionality, but thought I’d throw that out there anyhow ??Forum: Fixing WordPress
In reply to: Multiple Custom FieldsThanks idahocline, that function code makes
the_meta ()
much more useful! I figured out how to basically usethe_meta ()
last night, so this is the next step in good functionality for it. Thanks! ??Forum: Fixing WordPress
In reply to: Help with custom fieldsOK Here’s How I Did It just now:
I made a post and created a “Reading” key in the custom fields area below the writing area of a post. In the “value” I put a book I’m reading.
I then saved the post, and then chose the drop down “select” to choose “Reading” from the “add a new custom field” and input a second book I’m reading into that value field.
So I had two custom keys there, both called “reading” with different values, a different book each.
On the index.php template I put this:
<?php the_meta() ; ?>
in the same div as holds the post title and categories the post is filed under, etc. I have it placed underneath all that stuff so that it shows up last.
I published the post and this is the output I got:
“Reading: Pendragon Cycle, Mansfield Park”
This is what it looks like on the Source of the web page:
<ul class='post-meta'>- <span class='post-meta-key'>Reading:</span> Pendragon Cycle, Mansfield Park
Posts that have no custom field entries do not show any of the above last code on the source … so only meta data shows up this way in posts that it’s entered as this thread is stating.
I puzzled over this thread and custom fields a few times the last week, and then decided to tackle it today. It took me 5-minutes to finally read, and implement, so I wanted to write this so that anyone else can figure out how to at least put per-post-meta-data in via custom fields.
It was simple. I look forward to seeing further implementation from plugins and new tags!
See it on my post testing MetaForum: Requests and Feedback
In reply to: Categories – What’s the deal?Using (‘children=0’) as you are stating only makes the toplevel AND the subcategories ALL show up in one non-indented list. It’s how I have my categories listed, and I posted about that earlier in this thread, how I found the “0 or 1” functionality with children, when the WIKI says to use “true or false”.
True, False, and 1 all do the same thing, indent subcategories under their toplevel category parent, and ONLY show Toplevels that have posts in them unless you use “hide_empty=0” to show ALL categories Parent with indented children. Otherwise it’s just Parent that has posts in it, and indented children with posts in them.
0 shows ALL categories that have post in them, but ONLY categories that have post in them, even if their toplevel parent has NO post in it. This is the only useful way I’ve found to use the category listing, as I don’t want people not to see a listing that does have content, and also don’t want them to see a link to a page with ”Sorry, no posts matched your criteria.” as the result of clicking the link.
I think it’s a bug, but it’s a bug that I like the “0” functionality of. Just not the “true, false, or 1” parts of it, as they all do the same thing. And since the rule in the WIKI template tags for children in wp_list_cats says this:
children - boolean - TRUE or FALSE; Whether you want to hide or show the children of the main categories (top categories only)
It makes me think it must be a bug. Sigh. I recall when going over my frustration with category listings that time that the other attributes weren’t all right either. So affecting the listing how I did was a delight, and an accident, as I said earlier.
So re-reading the post above I find that in my installation “children=0” take the children and lines them up as-if a top level category, but the only the categories that have at least one post in them show up.
Using “children=”1” makes the children show as sub-level under top level, indented in the list, but only the top categories that have posts in them show, if there are top categories that are empty, but their child categories have posts in them, both top and child are suppressed. You can use hide_empty here, and it gets confusing as to what’s what, as I’m playing with it now on my site. Using Children=0 and hide_empty=1 and the other possibilities with both. Try playing with your site like that, having two identical listings and use the same attributes with opposite effects, or more lists than that just to see what happens all at one time to avoid confusion, as I am in right now ??
All in all, what you are asking, I think is not possible right now. I can’t get the thing to do whatever my first objective was, and so now that I found a way to make everything show up as a toplevel if it’s not empty, then that’s alright.
It’d be helpful if each tag had actual consistent examples of HOW to use each attribute. I get stuck sometimes, and I know that’s what was helpful for me when using MT, the examples of how-to in the manual.
I am guessing that since category stuff is new to 1.2 that it’ll improve over time, but isn’t fully functional yet, though I haven’t seen anywhere state that the “children” thing isn’t working right, ‘cept here, not that I’ve exhaustively searched for it, mind you.
I hope this isn’t too overly redundant, I’ve come back to this multiple times as writing it while messing with the category tags. Another weary-ing thing, dumb to do to myself with all the junk I’ve done today with WP, but hey, when you have a Summer Cold, what more is there to do that mess with ones blog config. ??Forum: Plugins
In reply to: New image gallery plugin – needs testersI’m concerned about JS and Popup Blocking too. My wish would be for a robust script or solution in EXHIBIT that made it all downgrade such as:
Popup photos autosize for all browsers which allow popups autosized.
or else:
exhibit_full.php is used when thumbnail clicked … automatically dependant on whether or not popup or JS working.
Or there may be a good PHP autosizing window code, but I haven’t found it. In any case, that would be good for all allowing Popups only … as I’d like to not bother people that don’t like popups. I like popups for photos, but NOT the kind with ads in them ??
I’ve just now tested my posts with that popup script and using IE6 with the netscape popupblocker toolbar turned on, the pictures all popup nicely, no blocking.
In mozilla Firefox I have pop up blocking turned on, and the photos popped up fine, weren’t blocked.
Hmmm. Fine action for me, as I said, I don’t like ads, that’s why I use Popup blocking, to get rid of Popup Ads. I guess that’ll bother someone or other. But not me.Forum: Plugins
In reply to: New image gallery plugin – needs testersAlright, I’ve hit another snag, I have EXIBIT working alright, as long as I use pop-ups etc., … what I WANT to do is display the photos INLINE when a thumb is clicked.
I have<!--exibit-->
in my index.php but when all is coded right in exibit10.php for inline display, the page reloads with the URI for the post and photo as PHP (instead of friendly url), but the page content doesn’t change at all.
If I change the exibit10.php “suppress content” as this:
//$suppress_content prevents the text content from being shown
//when a full-sized image is displayed in the content area.
$suppress_content = true;
Then if a thumnail is clicked the full image shows up in “place of” the text of the post … but also the other thumbnails disappear, and there is no navigation to either the full text post nor the other thumbnails.
What I want is for the full photo to show up above the line of thumbnails, which would be right below the text content of the post.
How is that done if doing this following code doesn’t work {as it’s shown to be under:4) Display inline
}?
When you click a thumbnail, the full image appears within the post
content in place of the comment: <!--exhibit-->
$thumbnail_popup = false;
$embedded_image = '';
$suppress_content = false;
Is there anything different that should be coded? I’m continuously playing with this now, and nothing will get the photo to display inline with content still there. ??Forum: Plugins
In reply to: New image gallery plugin – needs testersThanks for the help ringmaster. I just starting playing around with it again, and finally just reloaded all the EXIBIT files and retried it all. Finally I found that something on my computer or on the server renamed my thumbnails making the “P” a small “p” and that made everything go funky, so it seemed to be a two-fold problem of some kind.
Basically, I was uterly confused as well when I found that renaming all my thumbs to “thumb-” in front of the regular name, and putting a copy of that in the “t” folder as well as a copy of each thumb into the same directory as the main photos, then EXIBIT recognized it all, but not the main photos … ??
So that told me to keep plugging away, something had to work. My server had messed my photos up, and it had something to do with the “make” feature in EXIBIT, when I clicked that yesterday to see if anything at all would happen … oi.
If that sounds confusing, just know that it’s all working fine now!
And for you others that may have problems:
Upload your photos into your images folder in a new directory: put your thumbs with the SAME EXACT NAME as the full size photos in a folder inside that named “t”. (make a new directory inside of “images” for your photos, to sort them well, by date and subject, for instance) This is the manual way to do it, I do it with SFTP, so however you use a utility to upload onto your site, that’ll work.
If it doesn’t work. Try deactivating the plugin and reloading all the files.
All of the above was messed up at more than one time, causing my frustration. I’m usually very techy about stuff, so it was very frustrating to feel so dumb with this ??