News:

SMF 2.1.2 has been released! Take it for a spin! Read more.

Main Menu

Stop Forum Spam

Started by ITA003, December 10, 2008, 11:55:38 AM

Previous topic - Next topic

HR

Nothing on 2.0b4? Come on guy.. just a lil leg up would be wonderful

I can explain this as simply as possible.. If I do it & implement I guarantee it.
If I do it and you implement it its a crap shoot.

ITA003

At the moment my forum works in 1.1.7...
I must download the 2.0b4 and test all my forum and upgrade my mods and other... 

HR

Never the mind.. I got it going  :D validated and working fine!

I can explain this as simply as possible.. If I do it & implement I guarantee it.
If I do it and you implement it its a crap shoot.

HR

OK, help me out here.. I went to expand on this on my site and noticed.. IF the check is enabled its only referencing the email addy, IF the IP is checked and username then they are also validated.. I started to add an amil switch LOL

I can explain this as simply as possible.. If I do it & implement I guarantee it.
If I do it and you implement it its a crap shoot.

ITA003

I don't understand... sorry...  :(

HR

No worries, I figured it out.
Enable == check email only
IP == check email AND IP
Username == check email AND username

For username or IP the email check must be enabled.. any idea how can we add a hit counter to this so that when a spammer is flagged it increments a hit counter. Then in admin under the settings I could put a notice saying "Spam blocked to date: $number"

I can explain this as simply as possible.. If I do it & implement I guarantee it.
If I do it and you implement it its a crap shoot.

ITA003

You can add a new Settings named sfs_counter and then update it in SpammerCheck functions (before return the value).

I can insert the counter in the next release...

HR

ok I've about got a tracking area for 2.0b4 going.. I got bored but hold in mind Im not really a coder.. more a mimic. So far I have the template layout, tab added lang additions and general function in place.. just got to hammer things out

I can explain this as simply as possible.. If I do it & implement I guarantee it.
If I do it and you implement it its a crap shoot.

HR

Ok only thing to get hammered is my brain LOL BUt, cosmetically it looks damn nice LOL

I can explain this as simply as possible.. If I do it & implement I guarantee it.
If I do it and you implement it its a crap shoot.

HR

HAHA I got the hit counter in.. viewable to guests only


I can explain this as simply as possible.. If I do it & implement I guarantee it.
If I do it and you implement it its a crap shoot.

HR


I can explain this as simply as possible.. If I do it & implement I guarantee it.
If I do it and you implement it its a crap shoot.

ITA003


ivantoar

QuoteGo go Forum Admin > Registration > Settings and Enable: Stop Forum Spam Enabled

I'm using SMF 2 RC 1 and so such settings, please help :(

HR

This mod (package) is for 117 not 2.0 revision

I can explain this as simply as possible.. If I do it & implement I guarantee it.
If I do it and you implement it its a crap shoot.

Father Luke

Quote from: HR on February 06, 2009, 09:09:08 AM
HAHA I got the hit counter in.. viewable to guests only


And tracking >: )

What a get addition. Please share how you did this?

- -
Okay,
Father Luke

HR

#55
Im doing posts at home on the alteration however mine is an adaptation of the mod here for 2.0b4. I found a glitch in my conditional statements for the tracking section and plan on resolving that this evening.

**Resolved & added the valid/invalid images

I can explain this as simply as possible.. If I do it & implement I guarantee it.
If I do it and you implement it its a crap shoot.

HR

ITA If you need a hand with the tracking addition I can provide you with my function adaptations or even the files I have for the 2.0 version.. perhaps they will give you a bit of a spark to your imagination as your work has done for me.

I can explain this as simply as possible.. If I do it & implement I guarantee it.
If I do it and you implement it its a crap shoot.

Father Luke

HR:

Well, I'll wait for the mod ;)

But? You have inspired me to experiment with the 2.*
So, that means you've done your best. So thanks for that.

Currently I'm Tech for a forum. The forum is in need of a dusting,
so I have been testing, and experimenting with a dev site. Perhaps
playing with 2.* will be practical.  BTW? Your theme? Outline? Rawks.
It's the one I am going to be using.

So, there. You inspired me twice. Now I have to catch up again.

- -
Okay,
Father Luke

HugeLunatic

This is the code that is giving the errors.  All I am seeing is the :  with the checkboxes.  Is it really supposed to have the same label?  The send_welcomeEmail that is already in use?


Quote
                     <th width="50%" align="right">
                        <label for="send_welcomeEmail_check">' . $txt['sfs_txt_sfsenabled'] . '</label> :
                           <br /><span class="smalltext" style="font-weight: normal;">' . $txt['sfs_txt_sfsenabled_desc'] . '</span>
                     </th>
                     <td width="50%" align="left">
                        <input type="checkbox" name="sfs_enabled" id="sfs_enabled"', !empty($modSettings['sfs_enabled']) ? ' checked="checked"' : '', ' class="check" onclick="sfsEnableCheckIP(this.checked);" />
                     </td>
                  </tr><tr class="windowbg2" valign="top">
                     <th width="50%" align="right">
                        <label for="send_welcomeEmail_check">' . $txt['sfs_txt_ipcheck'] . '</label> :
                        <br /><span class="smalltext" style="font-weight: normal;">' . $txt['sfs_txt_ipcheck_desc'] . '</span>
                     </th>
                     <td width="50%" align="left">
                        <input type="checkbox" name="sfs_ipcheck" id="sfs_ipcheck"', !empty($modSettings['sfs_ipcheck']) ? ' checked="checked"' : '', ' class="check" onclick="sfsEnableSFS(this.checked);" />
                     </td>
                  </tr><tr class="windowbg2" valign="top">
                     <th width="50%" align="right">
                        <label for="send_welcomeEmail_check">' . $txt['sfs_txt_usernamecheck'] . '</label> :
                        <br /><span class="smalltext" style="font-weight: normal;">' . $txt['sfs_txt_usernamecheck_desc'] . '</span>
                     </th>
                     <td width="50%" align="left">
                        <input type="checkbox" name="sfs_usernamecheck" id="sfs_ipcheck"', !empty($modSettings['sfs_usernamecheck']) ? ' checked="checked"' : '', ' class="check" onclick="sfsEnableSFS(this.checked);" />
                     </td>


I  am also receiving error messages in my logs.

8: Undefined index: sfs_txt_usernamecheck_desc
File: /home/.../Themes/default/Register.template.php (admin_settings sub template - eval?)
Line: 664


8: Undefined index: sfs_txt_ipcheck_desc
File: /home/.../Themes/default/Register.template.php (admin_settings sub template - eval?)
Line: 656


8: Undefined index: sfs_txt_sfsenabled_desc
File: /home/.../Themes/default/Register.template.php (admin_settings sub template - eval?)
Line: 648

I installed through SMF and I have a custom template.  Could you tell me how to fix the errors and the missing text?

HR

Confirm your lang files are in place and can you specify if your using UTF8 or simple straight english (or whatever).

Also, were the re any warning messages at the time of the install AND is this a one hit install or have you tried it a few times.

I can explain this as simply as possible.. If I do it & implement I guarantee it.
If I do it and you implement it its a crap shoot.

Advertisement: