Od večeras se na sajtu WordPress.org nalazi još jedan moj plugin. Ovog puta to je dodatak pod imenom “Did you know?”
Funkcija ovog plugina je da vam omogući izdvajanje nekih najzanimljivijih citata iz teksta i njihovo slučajno prikazivanje u sidebaru, uz link ka tekstu. Kako dodatak radi u praksi možete videti na ovom sajtu, sa desne strane. Citate birate i dodajete sami, u posebnom delu na stranici za pisanje teksta. Tu je i, trenutno nezavršena, mogućnost prikazivanja citata ili “beskorisnih činjenica” bez pratećeg linka.
Nešto ovakvo mi je odavno trebalo, pa se nadam da će još nekome da koristi. U planu su još neke dopune za naredne verzije, ali o tome kad dođe vreme.
24 Comments
Hello!
Thanx for a plugin.
there’s a problem with cyryllic sympols (letters). they are shown as ?.
is it possible to fix?
Yes, it’s possible. I have tested it here with Serbian Cyrillic and it worked.
I think it’s a problem with table (wp_mmdyk_quote) character set and collation. You can try to change it manually to utf8_unicode_ci (if you have phpMyAdmin or any other access to MySQL). I’ll try to fix it in next version.
i changed link and quotes, but i don’t know how to change it there down in statistic block…
You can change it in Operations menu for the table.
New version (0.2.1) will be avaliable in a few minutes, so you can upgrade and it sould solve the problem.
Unfortunately it will not correct old quotes, but it should work with new one.
When I change the default quotes to my own in the php file on the server and save it… the quotes are still appearing on the site as the originals? Is there another file I should edit if I just want to set the quotes there as I’m trying to do instead of in the posts.
Thanks!
You don’t need to change php file. There is new menu in Settings, there you can add new quotes as text (one quote per line).
It you want a quote with link to some of your posts just add it in the new “Did you know” filed on edit screen.
Thanks for the plugin. Been looking for something like this all day. Work perfectly on one of my blog. Thanks
why you create new table for the quotes, when you can use custom fields?
I had a problem with quotes that are not conneced to any post. I thought about creating table only for that kind of post, but left it all together for now.
The website is using the plugin to capture contact info from potential clients. Currently there are 3 offices that each do different procedures. Is it possible to have the forms forwarded to specific email addresses based on the selections the user makes prior to submission? Example: Visitor selects Office 1 and that displays a set of procedures. Based on the procedure selected an email is sent only to the appropriate employee at Office 1.
I don’t see any relation between your question and this plugin. I’m sure it can be done but not with this plugin.
@Milan Milošević
I thought this comment area was for the cformsII plugin. Clearly I was mistaken, but this is the page that it links to.
I dont’t know why.
Hello – great widget… can you tell me what to add if I wanted the like to open in a separate tab, and can I change the colour or the text?
Hi,
sure you can, but you have to edit file mm-did-you-know.php. In line 184 find A HREF=… and change it to: A TARGET=”_blank” HREF=… To change the color you can use CSS.
If you have a problem in changing this let me know and I’ll send you corrected file.
Thank it opens within a separate tab – can you tell me the line to add to the Stylesheet to edit the color? is it possible to have the fact heading in one color and the more link in another?
@Milan Milošević
Hey, How would i use the stylesheet to change the colour?
Sorry for late answer.
You can set properties for id “mmdyk-1” (number can be different for your website, check it before on the page).
I’ll update a plugin as soon as I can to make it easier to configure.
I’m sorry I’m unfamiliar with that… can you explain further? How would I change the fact color within the stylesheet? @Milan Milošević
Can I display more than one fact at a time?
Unfortunately, at time at the moment it’s possible to display only one fact.
Is your e-mail address correct? I can send you a modified file to solve your problem with colors.
You can upgrade to version 0.3. Now there are everything you asked and it’s very easy to change a color of that (open a main php file of plugin and there is a comment there how to do that)
Yes please send it to /e-mail address is removed/
Thank you
Please, upgrade to the new version of plugin, it should be available for automatic upgrade.
Thanks for idea to upgrade the plugin.