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)

LeatherNeck 10-13-2008 03:52 AM

working 3.8.0 beta.

RIP.

rbrashear68 10-15-2008 12:43 PM

This is ONE AWESOME tool!!!

I realize this isn't supported (R.I.P!!!), but I'd like this link to be seen on my user's profile page. We use interactive profiles on ver. 3.6.8 but I'm not sure how to add this. Any ideas anyone?

sherwood 10-22-2008 02:18 PM

This works with vb 3.8 beta.

This is a awesome hack.

RIP

pedigree 10-23-2008 11:50 AM

This is a great hack, I use it myself but I was hoping on some feedback from its users. Im writing the vbStopForumSpam plugin (https://vborg.vbsupport.ru/showthread.php?t=176481) and was wondering if 1touch users would mind me incorporating some of its cleanup/ban code into my plugin?

This would allow admins to submit spamming users to the stopforumspam.com website and then cleanup users, thus merging the functionality of two plugins, into one.

I would normally ask the author but as this isnt possible and as the mod doesnt display "reusable code", Im hoping for honest (and frank) feedback about its reuse.

Quarterbore 10-29-2008 05:42 PM

Here is a simple modification for vBulletin 3.7 that makes it easier to remove a member from their profile page:

Open Template: MEMBERINFO

FIND:

PHP Code:

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

AFTER ADD:

PHP Code:

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

Now, one potential issue that I did not test is the permissions that are based on the "can_moderate" variable. So, this link may be shown to staff that are not allowed to use this depending on your permissions settings but that is not an issue I need to worry about on my site!

If someone updates this we should likely put the permissions check in a hook to allow this to be used in more places! I would also love to see the main file moved to a physical php file and add some hooks so that plugins could be added to allow the spam-and-ban script to delete other common spam that a member might drop onto our sites.

GrendelKhan{TSU 11-02-2008 06:22 AM

RIP mfyvie

installed working.
3.8.0 beta

brvheart 11-09-2008 11:27 PM

RIP - Hope the best for the family :(

Anyone know if this works on 3.7.x?

stanleys 11-10-2008 01:38 AM

Quote:

Originally Posted by brvheart (Post 1662638)
RIP - Hope the best for the family :(

Anyone know if this works on 3.7.x?

Yes, works just fine on 3.7.3

SVTCobraLTD 11-14-2008 02:57 PM

Quote:

Originally Posted by Outbackmark (Post 1637488)
My condolences to Mark's family, may he rest in peace.

This is a wonderful mod, I only had to insert security tokens into the template -
Open the template "onetouchban" in Styles and Templates/edit templates -
Find


On the NEXT line insert -


Save and edit the same in other styles if you have more that one running.
No more errors - Remember to turn off the IP ban for your test run or you may ban your own IP!!

This worked for 3.6.11. Thank you

brvheart 11-14-2008 03:53 PM

Quote:

Originally Posted by stanleys (Post 1662691)
Yes, works just fine on 3.7.3

thank you, I installed, but can not see the one touch in the members profile - anyone have a fix for that? I am sure that it is just a template edit....


All times are GMT. The time now is 09:33 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.04116 seconds
  • Memory Usage 1,748KB
  • 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
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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