If you are anonymous, you will see our forums in Bulgarian language, so you must know what is written above and under the security image.
Above the image:
Not for Preview!
Under the image:
Insert the code.
The right-hand button is Submit (Прати)
Next to it (on left) is Preview (Преглед)
This button is Reply
Best luck, dear friends
P.S. I use only digits, but the mode is with letters and digits.
Edit: (09.21.2006)The mode is fixed and working with no problems.
No more fixes are required.
Edit: (09.26) Well... there was some more fixes
_________________ .: От всичко, което казах и не казах, най-важното е Онова, което не разбрахте :.
From everything that I wrote, and I didn't write, the most important is That which you couldn't understand.
Гост
Пуснато на:
17 09 2006 11:23 Заглавие: checking
I haven't checked it as anonymous...
Truden ----------
Регистрирация: Aug 01, 2003
Мнения: 2673
Местожителство: Johannesburg
Пуснато на:
17 09 2006 19:39 Заглавие:
In the first ten downloads is missing part of the installation.
I did not include the SQL table creation.
Here it is:
Код:
CREATE TABLE `security_images` (
`ID` int(11) NOT NULL auto_increment,
`insertdate` datetime NOT NULL default '0000-00-00 00:00:00',
`referenceid` varchar(100) NOT NULL default '',
`hiddentext` varchar(100) NOT NULL default '',
PRIMARY KEY (`ID`)
) TYPE=MyISAM;
I apologize to the first ten downloaders!
_________________ .: От всичко, което казах и не казах, най-важното е Онова, което не разбрахте :.
From everything that I wrote, and I didn't write, the most important is That which you couldn't understand.
Truden ----------
Регистрирация: Aug 01, 2003
Мнения: 2673
Местожителство: Johannesburg
Пуснато на:
18 09 2006 17:29 Заглавие:
In securityimage.php you have this:
Код:
//Generate the random string
$chars = array("a","A","b","B","c","C","d","D","e","E","f","F","g",
"G","h","H","i","I","j","J","k",
"K","l","L","m","M","n","N","o","O","p","P","q","Q",
"r","R","s","S","t","T","u","U","v",
"V","w","W","x","X","y","Y","z","Z","1","2","3","4",
"5","6","7","8","9");
$length = 8;
If you change it to this
Код:
//Generate the random string
$chars = array("1","2","3","4",
"5","6","7","8","9","0");
$length = 6;
you will have the check with six digits and no letters.
_________________ .: От всичко, което казах и не казах, най-важното е Онова, което не разбрахте :.
From everything that I wrote, and I didn't write, the most important is That which you couldn't understand.
Truden ----------
Регистрирация: Aug 01, 2003
Мнения: 2673
Местожителство: Johannesburg
Пуснато на:
18 09 2006 19:08 Заглавие:
In a few hours or tomorrow I'll update the mode with the new fixes.
The image will not show on PM and on topic delete.
The only thing that is left, is to keep the text in the text box if wrong code is inserted.
_________________ .: От всичко, което казах и не казах, най-важното е Онова, което не разбрахте :.
From everything that I wrote, and I didn't write, the most important is That which you couldn't understand.
Truden ----------
Регистрирация: Aug 01, 2003
Мнения: 2673
Местожителство: Johannesburg
Пуснато на:
18 09 2006 21:11 Заглавие:
OK, the text disappearance is fixed...
If wrong code is inserted, the text is posted as preview, and you can see it on top, but it still disappears from the text box.
The mode is updated and you can download it again.
_________________ .: От всичко, което казах и не казах, най-важното е Онова, което не разбрахте :.
From everything that I wrote, and I didn't write, the most important is That which you couldn't understand.
Регистрирация: Aug 01, 2003
Мнения: 2673
Местожителство: Johannesburg
Пуснато на:
20 09 2006 19:21 Заглавие:
The mode is completely fixed, and no more work will be done on it by my side. (there are no other sides yet...)
You can download the updated file from the same place.
Gooood Luck
_________________ .: От всичко, което казах и не казах, най-важното е Онова, което не разбрахте :.
From everything that I wrote, and I didn't write, the most important is That which you couldn't understand.
Гост
Пуснато на:
20 09 2006 19:29 Заглавие: Javascript for language buttom!
Hi!
I see that you have a javascript for changing lang (or writing) to change it easy when you are writng in username or/and topics name etc. in the forum here when posting. (I mean the one which shows you EN or BP or BG with 3 diffrent colors).
I've been looking around for this for a time and I appricate if you could tell me how to do it. We have 2 diffrent lang on our forums.
Best Regards.
Ps. your Security Image mod is great!!
Truden ----------
Регистрирация: Aug 01, 2003
Мнения: 2673
Местожителство: Johannesburg
Пуснато на:
20 09 2006 20:50 Заглавие:
You can get the java script for languages from HERE
If the URL gives you Service Unavailable, keep trying (not refreshing). It will open.
_________________ .: От всичко, което казах и не казах, най-важното е Онова, което не разбрахте :.
From everything that I wrote, and I didn't write, the most important is That which you couldn't understand.
Гост
Пуснато на:
22 09 2006 16:15 Заглавие:
Test
NoFantasy Гост
Пуснато на:
23 09 2006 12:44 Заглавие: For Anonymus olny
Great mod! I've been looking for a solution like this
I would like to see this code extended to work for anonymus user only. Registered users should not have to enter code.
Perhaps a configurable code would be ok?
If Anonymus = UseSecImg
if User = !UseSecImg
if ....
I also had problems deleting a single post. I was not able to delete a post, unless i split the topic, and then deleted the new created topic.
I use nuke 7.6, BBtoNuke .21 that might be the problem. I hope to solve this problem so that we will have a great addition to stop spam on our forums!
NoFantasy Гост
Пуснато на:
23 09 2006 13:35 Заглавие: Delete single post
Sorry, i figured out why i was not able to delete a single post.
Here is what i did:
In ../modules/forums/posting.php
$template->set_filenames(array(
// MOD START Sec Image
'confirm_body' => 'confirm_body1.tpl')
// MOD END Sec Image
);
$template->assign_vars(array(
'MESSAGE_TITLE' => $lang['Information'],
'MESSAGE_TEXT' => $l_confirm,
'L_YES' => $lang['Yes'],
'L_NO' => $lang['No'],
// MOD START Sec Image
'SECURITYIMG' => insertSecurityImage('security_refid'),
'SECIMAGE_TOP' => $lang['SecImages_top'],
'SECIMAGE_BOTTOM' => $lang['SecImages_bottom'],
// MOD END Sec Image
'S_CONFIRM_ACTION' => append_sid("posting.$phpEx"),
'S_HIDDEN_FIELDS' => $s_hidden_fields)
);
Now i'm able to delete single post...but im still looking for a way to have the Sec Image showing for anonymus only.
Truden ----------
Регистрирация: Aug 01, 2003
Мнения: 2673
Местожителство: Johannesburg
Пуснато на:
23 09 2006 18:17 Заглавие:
"Delete" works fine for phpNuke 7.3, which we use for Truden Web Site.
I'll check the installation file to see if I missed something, but I'm sure I didn't.
Thank You for the fix, NoFantasy!
Feel free to distribute the code and help the community
It is a good idea to use the code for anonymous only, and I'll see what can be done and when.
_________________ .: От всичко, което казах и не казах, най-важното е Онова, което не разбрахте :.
From everything that I wrote, and I didn't write, the most important is That which you couldn't understand.
Следващата тема Предишната тема Можете да пускате нови теми Можете да отговаряте на темите Не Можете да променяте съобщенията си Не Можете да изтривате съобщенията си Не Можете да гласувате в анкети