acub
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: AddQuicktag] Is caption adding possible?in case anyone else needs this: i’ve solved it.
because i didn’t need both [img] and [caption] image, i just modified
quicktags.dev.js like this (around line 379):function edInsertImage(myField) { var myUrl = prompt('quicktagsL10n.enterImageURL', 'http://'); if (( myUrl !== 'http://') && ( myUrl !== null)) { var myTitle = prompt('quicktagsL10n.enterImageDescription', ''); var myAlign = prompt('Insert image alignment\n( left | right | center | none )', 'left'); myValue = ' [caption width="200" align="align' + myAlign + '" caption="' + myTitle + '"]<a href="' + myUrl + '" title="' + myTitle + '"><img src="' + myUrl + '" width="200" alt="' + myTitle + '" /></a>[/caption] '; edInsertContent(myField, myValue); } }Of course, would have been nicer to have 4 radio-buttons for selecting the alignment, but since I’m not much of a programmer and couldn’t find a proper example, they’ll just have to type in the alignment. It’s way better than having them type the caption/a/img list of commands.
This is for users who really don’t know their way around HTML.If anyone has a better idea of how to do this in a more elegant way (plugin-like, so it stands to WP upgrades) I’d be quite happy to hear about it.
Cheers.
Forum: Plugins
In reply to: Tweak the wp_get_archives() outputI’d like this deleted. I’ve made some error and was not able to edit it. So I’ve posted it a second time, without the error.
Thank you and sorry for the inconvenience.
Forum: Plugins
In reply to: [Plugin: WP-Cumulus] problem with extended charactersI guess I found the answer here.
Cheers.Forum: Plugins
In reply to: [Plugin: User Community] Gallery outside dashboard?i’m back.
just upgraded the plugin to 0.8 and I think it’s great.
i specifically like that you’ve made styling the list very easy.
I’ll try what you recommended tomorrow and will post again.thank your for the quick response and support.
i would be very interested in the custom code for making thumbnails automatically read singlepic or gallery tags and take the image from there. do you think you can explain how it should be done? i’m not much of programmer, but i got the hang of css and even to modify some php functions where i needed.
Thank you.
For me it worked like this:
<code></code><br /><code></code>
Hell, I’ll try it with backticks too, just out of curisity…
Did it work?