vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Moderators Functions - One-touch Spam Ban and Cleanup (https://vborg.vbsupport.ru/showthread.php?t=156444)

Baldrick 12-03-2008 03:26 PM

Quote:

Originally Posted by Alfa1 (Post 1675763)
It would be nice if a 3.7 version would be released making use of vbulletin's functions to clean up spam quickly. vbulletin allows for multiple spammers to be banned and cleaned up in one go. But vb's interface is not as easy / one touch as this one.

I just installed the 1.2b and it works fine on my version 3.7.4 here.

Chachacha 12-11-2008 01:33 PM

It was a bit disturbing to find out what happened to the author of this mod. Very sad.

R.I.P.

Fungsten 12-15-2008 06:36 PM

I found out what was interfering with this MOD. It was the Member Rss Feed. I'll be notifying the author of that MOD.

sherwood 12-16-2008 08:10 AM

Well this works perfectly on vb 3.8 RC 1. .

>RIP<

nectons 12-28-2008 01:35 AM

So sad really :(

R.I.P.

bytheway works so perfect with v3.6.8 pl2. I installed the 1.2b.

Toopac 12-30-2008 05:56 PM

Ideal, one of the best mods, clicked installed.

tiekie 01-01-2009 10:01 AM

Quote:

Originally Posted by Fungsten (Post 1686056)
I found out what was interfering with this MOD. It was the Member Rss Feed. I'll be notifying the author of that MOD.


Thanks dude ... your a star.

My mod was in the graveyard untill you resurrect it

r5e 01-04-2009 09:15 AM

Thanks Quarterbore and CCV Pinto for your suggestions on the template edits, they've saved me a bit of time investigating and they make perfect sense.

As those of you who have read further back though this thread may know, I will try to keep my late brother's mod going as best as I can, but I lack the time and the skills that he had, so I will have to rely on the community in here and do the best I can.

I would like to release an update for this product that allows for the changes made to the user profile page (MEMBERINFO template) since 3.7. However, I want to make sure that I do this properly and not just a "dirty hack" as the original author felt quite strongly about. He was big on making a product that did not require template edits and was easy to keep going after vb upgrades. In some respects, he did a very good job on this, as the product is still going strong even on 3.8, though the change on the MEMBERINFO template since 3.6 has removed part of its functionality.

Whilst I appreciate the suggestions for template edits made so far, ideally, I'd like to do this properly and change the code in his product so that extra template edits are not required and the new version works without requiring them - just import product xml and forget. There seem to be 2 ways of doing this:

1. Have code that specifically looks for the last link in the profile page and adds the link for this product after it. The current code works specifically for the 3.6 template, so ignores the new one. If this option were used, it would still be specific to the 3.7/3.8 template and may need to be updated if this template changes again in the future.

2. Use existing hooks in the postbit and MEMBERINFO templates to insert the links for this product. I have experimented with this already, but the positioning of the existing hooks in the MEMBERINFO templates is not ideal, though functional. This would ultimately be the preferred option as it is a little bit more future-proof, as well as being simpler to code (I think).

This is where I am now stuck. I am not a coder, but I can hack. I can release a quick and dirty hack based on suggestions so far, but I won't do this as it is not in the spirit of what Mark would have done with his code. He had written some very good and detailed tutorials on how to do this properly, but after spending a few hours on this already, my head hurts as this is not my native language.

I was hoping that someone out there could offer me some code to do either option 1 or 2 properly and then I will release it and make everyone's life easier (hopefully).

I welcome your suggestions.

Robert (brother of the late author of this mod)

(P.S. while condolences and appreciation are appreciated, they are not necessary, let's just get some working code instead please.)

Prince 01-04-2009 03:35 PM

very nice, just installed it.

Prince 01-04-2009 11:31 PM

I just tried using this and got this error:

Quote:

Your submission could not be processed because a security token was missing or mismatched.

r5e 01-05-2009 09:48 AM

Quote:

Originally Posted by Prince (Post 1701857)
I just tried using this and got this error:

I know this is a long thread, but if you read back, you'll find this has already been answered. You'll also find that you have not installed the beta version I made to correct this issue that appeared since VB3.7.x. If you installed this beta version instead, you'd find it fixed this problem.

I'd like to release a proper version that took care of this, but as you'll see from my last post in this thread, I'm still waiting for some help.

Prince 01-05-2009 01:23 PM

Quote:

Originally Posted by r5e (Post 1702174)
I know this is a long thread, but if you read back, you'll find this has already been answered. You'll also find that you have not installed the beta version I made to correct this issue that appeared since VB3.7.x. If you installed this beta version instead, you'd find it fixed this problem.

I'd like to release a proper version that took care of this, but as you'll see from my last post in this thread, I'm still waiting for some help.

I installed the beta version, did not get any errors, but it just hung there (server load spiked) and never finished, the user only had one thread/post, nothing else? :confused:

Prince 01-05-2009 01:29 PM

btw, I am running vB 3.6.12

it finally finished, but I don't like how long it took and how it spiked the server load...any idea how to make it more efficient?

proxx 01-13-2009 07:47 PM

Does this work on 3.8 or is there an alternative to this hack for 3.8?

please reply if you know.

tekguru 01-14-2009 06:30 PM

Yep waiting to hear on that one myself!

proxx 01-15-2009 07:17 PM

c'mon guy. This is a SUPER useful mod, if it doesn't work on 3.8, please someone release a new version

Fungsten 01-18-2009 05:24 PM

Quote:

Originally Posted by proxx (Post 1713766)
c'mon guy. This is a SUPER useful mod, if it doesn't work on 3.8, please someone release a new version

I got it working on 3.8. BTW, the author won't be releasing an update.

tekguru 01-18-2009 05:57 PM

Did you have to make any changes to get it working?

Fungsten 01-18-2009 06:33 PM

Quote:

Originally Posted by tekguru (Post 1717097)
Did you have to make any changes to get it working?

There was another MOD that was interfering with it though. I think it was the "Member's RSS Feed." Other than that there was no problem.

tekguru 01-18-2009 08:23 PM

Good news that! We'll be upgrading this coming week with it in place so fingers crossed!

GrendelKhan{TSU 01-21-2009 06:48 AM

I have this working on 3.8 gold with no problems.

but good know there is an update on the way anyway. :)

Dingo14 01-23-2009 07:54 AM

if anyone has this installed I have it on v3.7 Disable Post Count Decrease Per Forum https://vborg.vbsupport.ru/showthread.php?t=140837 I found this also clashes with this mod, but think I have found a fix its in the includes/functions_databuild.php file for Disable Post Count Decrease Per Forum I took out the edits that were there and added these edits instead https://vborg.vbsupport.ru/showthread.php?t=194717 all working fine on my board now hope it will help if someone else has the same problem

RenierZA 02-02-2009 04:59 PM

To show in vB 3.8 member info, I added the following code to the member_profileblock_fetch_unwrapped hook:

PHP Code:

global $vbulletin;
if (
THIS_SCRIPT == 'member' AND $vbulletin->options['spamer_ban_enable'] AND (is_member_of($vbulletin->userinfoexplode(","$vbulletin->options['spamer_ban_can_use'])) OR ($vbulletin->userinfo['userid'] != AND in_array($vbulletin->userinfo['userid'], explode(","$vbulletin->options['spamer_ban_can_use_user'])))))
{
  
$template_hook[profile_stats_pregeneral] .= "<fieldset class=\"statistics_group\"><legend>Ban Member</legend><ul class=\"list_no_decoration\"><li><a href=\"misc.php?$session[sessionurl]do=spamcleanconfirm&amp;u=$userinfo[userid]\">$vbphrase[spammer_ban_member]</a></li></ul></fieldset>";



I prefer not to edit templates, and this seems to work on my forum.

Hope it helps.

tekguru 02-02-2009 06:15 PM

At which point did you add it?

RenierZA 02-02-2009 06:27 PM

Click "Add New Plugin" in admin, select One-touch Ban as product and member_profileblock_fetch_unwrapped as hook location, then add the code above.

Josh_1 02-04-2009 08:12 PM

Hello Everyone,

I just installed vbulletin and want to use this mod. I dont know how to configure it in vb 3.8. Please anyone help me setting this up and running, and if possible i need some kind of tutorial on using this,

Arboristsite 02-06-2009 12:35 PM

Hopefully somebody can resurrect this mod into 3.8. My condolences to the author.

93Corvette 02-12-2009 12:58 AM

I'm using 3.7.4 and am wondering why my non-moderators cannot kill people. And, do I have to wait for these spammers to post something before I can kill them? On my members list I can see that if someone uses a name like "PhotoshoppOEMsoftware" has got to be a spammer. However on the member list I can't kill them.

I have 2 accounts, my admin account which works perfect, and a test account (just a normal user) which doesn't. I have entered the test account user name (who I made as a non-mod) but it doesn't work.

What am I doing wrong? Have you guys ever tried it with a test account?

Fungsten 02-12-2009 05:16 PM

Quote:

Originally Posted by 93Corvette (Post 1741379)
I'm using 3.7.4 and am wondering why my non-moderators cannot kill people. And, do I have to wait for these spammers to post something before I can kill them? On my members list I can see that if someone uses a name like "PhotoshoppOEMsoftware" has got to be a spammer. However on the member list I can't kill them.

I have 2 accounts, my admin account which works perfect, and a test account (just a normal user) which doesn't. I have entered the test account user name (who I made as a non-mod) but it doesn't work.

What am I doing wrong? Have you guys ever tried it with a test account?

Then anyone could delete any user.

proxx 02-12-2009 08:47 PM

sorry to hear about the author.

I hope someone will re-make this hack for 3.8.x it was super useful

93Corvette 02-13-2009 05:01 AM

1 Attachment(s)
Quote:

Originally Posted by Fungsten (Post 1742108)
Then anyone could delete any user.

The way I read this statement:
"Additional Users
Enter a list of additional userids (in addition to the groups specified above), separated by commas, who can use this tool."

So, it seems to me, that these people are not in group 5, 6, 7. This to me means you can put a trusted regular user. Let's say someone that has the trust, but doesn't want to be a moderator (example: A spouse)

Or am I reading this paragraph wrong?

93Corvette 02-15-2009 07:56 AM

Bump...
It's been a couple days, does anyone how to do the limited user bans? (see above post)

putergirl 02-15-2009 08:09 PM

installed

Sweeks 02-17-2009 06:43 PM

Deepest sympathies, installed and thank you.
________
Gang Bang Wife

blaize 02-18-2009 05:16 PM

1 Attachment(s)
Quote:

Originally Posted by proxx (Post 1742267)
sorry to hear about the author.

I hope someone will re-make this hack for 3.8.x it was super useful

Sorry to hear about the mod writer's passing RIP. This is a great mod. I've installed it on a 3.8 board and it seems to be running fine. I just followed the configuration option here and manually edited the MEMBERINFO template to get it showing on the member's profile page.

I searched for
Code:

<if condition="$show['edit_profile']">
                                                <li class="thead"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[edit_user_profile]</a></li>
                                        </if>

And after it added

Code:

<li class="thead"><a href="misc.php?$session[sessionurl]do=spamcleanconfirm&amp;u=$userinfo[userid]">$vbphrase[spammer_ban_member]</a></li>
I don't know if that will work for everyone but it certainly worked for me.

photoads 02-27-2009 02:49 PM

Sorry to hear about the author very sad event...

Installed and working on 3.8.1

I added this to the postbit template

Code:

<if condition="can_moderate()">
<tr><td class="vbmenu_option"><a href="misc.php?$session[sessionurl]do=spamcleanconfirm&amp;u=$post[userid]">$vbphrase[spammer_ban_member]</a></td></tr>
        </if>

now shows in the dropdown

I put it in after

Code:

        <if condition="$show['search']">
                <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
        </if>


pmdpmd 03-02-2009 08:11 AM

When I try blaize's solution, I get:

"Your submission could not be processed because a security token was missing."

When I click Confirm on the one-touch page - any ideas?

furnival 03-06-2009 12:34 PM

Quote:

Originally Posted by pmdpmd (Post 1758303)
When I try blaize's solution, I get:

"Your submission could not be processed because a security token was missing."

When I click Confirm on the one-touch page - any ideas?

Same problem here. Anyone out there know a way to fix this please?

SVTCobraLTD 03-06-2009 01:14 PM

Quote:

Originally Posted by pmdpmd (Post 1758303)
When I try blaize's solution, I get:

"Your submission could not be processed because a security token was missing."

When I click Confirm on the one-touch page - any ideas?

Quote:

Originally Posted by furnival (Post 1761745)
Same problem here. Anyone out there know a way to fix this please?

https://vborg.vbsupport.ru/showpost....&postcount=298

furnival 03-06-2009 02:27 PM

Thanks very much. The lesson is to always read a bit further than the very recent posts.


All times are GMT. The time now is 09:39 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03707 seconds
  • Memory Usage 1,843KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (1)bbcode_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete