Вторник, 28 Февраль 2012 02:43

Как настроить капчу в Jcomments

Оцените материал
(5 голосов)

Если вас не устраивает стандартный вид капчи в jcomments, вы всегда можете настроить ее внешний вид. Пример такой настройки в моем блоге.

Для этого вам необходимо отурыть файл /components/com_jcomments/libraries/kcaptcha/kcaptcha_config.php

Показать/скрыть php код

Посмотреть код
  1. <?php
  2. $alphabet = "0123456789abcdefghijklmnopqrstuvwxyz";
  3. $allowed_symbols = "23456789abcdeghkmnpqsuvxyz";
  4. $fontsdir = 'fonts';    
  5. $length = 5;
  6. $width = 121;
  7. $height = 60;
  8. $fluctuation_amplitude = 5;
  9. $no_spaces = true;
  10. $show_credits = false;
  11. $credits = 'www.joomlatune.ru';
  12. $foreground_color = array(180, 180, 180);
  13. $background_color = array(246, 246, 246);
  14. $jpeg_quality = 90;
  15. ?>

Итак, по строкам:

  1. Алфавит, то есть те символы, которые будут вводиться.
  2. Символы, которые будут отображаться на картинке капчи
  3. Путь к папке со шрифтами 
  4. Количество выводимых в капче символов
  5. Ширина картинки с капчей
  6. Высота картинки капчи
  7. Амплитуда, то есть насколько сильно буквы будет колбасить
  8. Наличие пробелов (true, false, что значит есть или нет)
  9. Ставить или не ставить ссылкку на производителя
  10. Собственно, ссылка
  11. Цвет символов в RGB 
  12. Цвет бекграунда капчи в RGB
  13. Качество картинки

 Как и что настраивать, думаю, понятно. Для блога я поставил следующие настройки:

Показать/скрыть php код

Посмотреть код
  1. <?php
  2. $alphabet = "0123456789";
  3. $allowed_symbols = "0123456789";
  4. $fontsdir = 'fonts';    
  5. $length = 3;
  6. $width = 121;
  7. $height = 60;
  8. $fluctuation_amplitude = 2;
  9. $no_spaces = true;
  10. $show_credits = false;
  11. $credits = 'www.joomlatune.ru';
  12. $foreground_color = array(0, 0, 0); 
  13. $background_color = array(246, 246, 246); 
  14. $jpeg_quality = 90;
  15. ?>
 

 

 

Прочитано 48728 раз
Твитнуть

Комментарии   

 
Pamela
0 #316 Pamela 25.06.2015 06:48
If you would like to get much from this paragraph then you
have to apply such methods to your won website.

my web blog; zenci: http://sexdifficulty.com/
Цитировать
 
 
Lily
0 #315 Lily 25.06.2015 06:45
Hi! Do you know if they make any plugins to safeguard against hackers?
I'm kinda paranoid about losing everything I've worked hard
on. Any tips?

my web page :: 3gp porno: http://www.sexdifficulty.com/
Цитировать
 
 
Tory
0 #314 Tory 22.06.2015 10:11
Wow! After all I got a weblog from where I know how to really get helpful data concerning my study and knowledge.


my blog post: buy cheap lenses and accessories: http://gadgetsjr.com/lenses-and-accessories
Цитировать
 
 
Lamont
0 #313 Lamont 29.05.2015 10:39
Outstanding quest there. What happened after? Thanks!



My site - rokettube: http://hotwifepornvideos.com
Цитировать
 
 
Alannah
0 #312 Alannah 29.05.2015 10:04
Definitely believe that which you said. Your favorite justification seemed
to be on the net the simplest thing to be aware of.
I say to you, I definitely get irked while people consider
worries that they plainly don't know about. You managed to hit
the nail upon the top as well as defined out
the whole thing without having side effect , people could take a signal.
Will probably be back to get more. Thanks

Here is my site; liseli sikiş: http://hotwifepornvideos.com
Цитировать
 
 
Lois
0 #311 Lois 28.05.2015 18:42
After looking at a few of the articles on your website, I truly
appreciate your way of blogging. I saved it to my bookmark webpage list and will be
checking back soon. Please check out my web site too and
tell me your opinion.

Feel free to surf to my web-site :: Make You Smile: http://www.makingusmile.net/
Цитировать
 
 
Rena
0 #310 Rena 26.05.2015 02:22
Hey would you mind stating which blog platform you're using?
I'm planning to start my own blog in the near future but I'm having
a tough time deciding between BlogEngine/Word press/B2evoluti on and Drupal.

The reason I ask is because your design seems different then most blogs and I'm looking
for something completely unique. P.S Sorry for being off-topic but I had
to ask!

My web site; türk pornosu: http://arzular.net
Цитировать
 
 
Jesenia
0 #309 Jesenia 25.05.2015 09:20
I seriously love your blog.. Great colors & theme. Did you make this
web site yourself? Please reply back as I'm wanting to create my
own website and would like to find out where you got this
from or what the theme is named. Kudos!

Have a look at my blog ... Mobil porno: http://arzular.net
Цитировать
 
 
Dannielle
0 #308 Dannielle 25.05.2015 08:48
Thanks for finally talking about >Как настроить капчу в Jcomments
Цитировать
 
 
Nicolas
0 #307 Nicolas 24.05.2015 20:15
Incredible points. Solid arguments. Keep up the great work.



Also visit my page; porno: http://arzular.net
Цитировать
 
 
Amanda
0 #306 Amanda 24.05.2015 19:30
Heya i'm for the first time here. I came across this board and I find It truly useful & it
helped me out much. I hope to give something back
and aid others like you aided me.

Feel free to visit my blog post porno izle: http://arzular.net
Цитировать
 
 
Hudson
0 #305 Hudson 24.05.2015 09:44
We are a group of volunteers and opening a new scheme in our community.
Your website offered us with valuable info to work on. You have
done an impressive job and our entire community will be grateful to you.


Visit my homepage türk
pornosu: http://arzular.net
Цитировать
 
 
Julius
0 #304 Julius 24.05.2015 08:52
Wonderful blog! I found it while browsing on Yahoo News.
Do you have any suggestions on how to get listed in Yahoo News?
I've been trying for a while but I never seem to get
there! Cheers

my weblog :: porno: http://arzular.net
Цитировать
 
 
Lynda
0 #303 Lynda 23.05.2015 12:37
I've been exploring for a bit for any high-quality
articles or blog posts in this sort of area . Exploring in Yahoo
I ultimately stumbled upon this web site. Reading this information So i am satisfied to express that I have an incredibly excellent uncanny feeling I found out exactly what I needed.

I so much indubitably will make certain to don?t disregard this website and give it a
look on a constant basis.

Also visit my web site: porno izle: http://arzular.net
Цитировать
 
 
Brigida
0 #302 Brigida 23.05.2015 07:24
You ought to be a part of a contest for one of the finest websites on the internet.
I'm going to recommend this web site!

Here is my website; sbobet: http://penyerang.com/mengenal-pasaran-sbobet-untuk-para-pemula/
Цитировать
 
 
Jonna
0 #301 Jonna 23.05.2015 03:18
I got this site from my pal who informed me on the topic of this website and
now this time I am visiting this web page and reading very informative articles or reviews at
this place.

Feel free to visit my homepage porno izle: http://arzular.net
Цитировать
 
 
Jaime
0 #300 Jaime 20.05.2015 06:03
Outstanding post but I was wanting to know if
you could write a litte more on this topic? I'd be very grateful if you could elaborate a
little bit further. Appreciate it!

Also visit my webpage: porno izle: http://arzular.net
Цитировать
 
 
Alvaro
0 #299 Alvaro 19.05.2015 19:11
What a information of un-ambiguity and preserveness of valuable experience concerning unexpected
emotions.

Also visit my blog; Mobil porno: http://arzular.net
Цитировать
 
 
Louis
0 #298 Louis 19.05.2015 18:57
Fantastic beat ! I wish to apprentice even as you amend your
website, how could i subscribe for a blog website?
The account helped me a acceptable deal. I have been a little bit familiar of this your
broadcast provided brilliant clear idea

Also visit my blog - türk pornosu: http://arzular.net
Цитировать
 
 
Florine
0 #297 Florine 19.05.2015 10:15
Very good article. I'm facing a few of these issues as well..


my blog :: porno: http://arzular.net
Цитировать
 
 
Kay
0 #296 Kay 19.05.2015 10:10
Just desire to say your article is as astonishing. The clarity to your submit is simply spectacular
and i can assume you're an expert in this subject. Well
together with your permission allow me to clutch your RSS feed to stay up to date with imminent post.
Thank you one million and please continue the enjoyable work.


my website - gay porno: http://arzular.net
Цитировать
 
 
Chastity
0 #295 Chastity 17.05.2015 16:34
Great beat ! I would like to apprentice whilst you amend your site, how
can i subscribe for a weblog website? The account helped me
a appropriate deal. I have been a little bit acquainted
of this your broadcast provided shiny clear concept

My web page ... türk pornosu: http://arzular.net
Цитировать
 

Добавить комментарий

Защитный код
Обновить

joomla 1.7

Не получаются доработки?

Становитесь партнером студии Millor! Быстро и недорого эти ребята помогут решить практически любую проблему.

Хотите подзаработать?

Если да, то вам сюда! Партнерская программа студии MyWebSite. Получи 20% за каждого клиента! Работаем по всей России и СНГ!

Рекламное место свободно.