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)

mfyvie 01-07-2008 07:04 AM

Catching up on some old posts here...

Quote:

Originally Posted by Seiyaboy (Post 1388709)
This looks very nice indeed, but I have a question about this before I install it. Do this modification require admins and mods to be logged into their admin/mod cps in order for the banning and thread/post deleting to take place? Or as long as the usergroup permission matches, no extra login is needed? Thanks in advance.

No, they do not have to be logged into the admincp/modcp first. It's a single-file .xml install, it would have actually been faster to try for yourself than type your question :)

Quote:

Originally Posted by weeno (Post 1400713)
An issue that we've seen.

If you try to "one touch ban" from a user's name in the postbit, it tries to ban the 1st poster in the thread, not the user whose name you've clicked on.

Obviously, it's the wrong variable is being used.

arn

I haven't seen that before, nor had anyone else report this. Is this issue still current, if so please PM me with the details of your setup to see if I can figure out why that might happen.

Quote:

Originally Posted by DssCrazy (Post 1400718)
something needs to be added!

Look at the pic! i pointed it out!

Well I looked at the pic you posted and could see nothing other than the fact you drew a box around the forum name used in the example. I'm afraid you'll have to be more specific about what you are trying to say, because I've no idea.

Quote:

Originally Posted by tekguru (Post 1408540)
Any ideas why we are getting this message when trying to run?

PHP Code:

Database error in vBulletin 3.6.8:

Invalid SQL:

                
DELETE FROM vb_pm WHERE pmtextid IN (SELECT pmtextid FROM vb_pmtext WHERE fromuserid 21443);

MySQL Error  Got error 134 from storage engine
Error Number 
1030
Date         
MondayDecember 24th 2007 08:37:24 PM
Script       
http://www.4winmobile.com/forums/misc.php
Referrer     http://www.4winmobile.com/forums/misc.php?do=spamcleanconfirm&u=21443 

It's been running flawlessly for ages...

When I took that error message and put it into google I found people suggesting that this indicates possible problems with your tables, and suggesting running repair / optimise on them. This message has nothing to do with this mod.

Quote:

Originally Posted by telc (Post 1413497)
Can you please fix the addon so it will work with MySQL > 4.0.16 the same as VBulletin requirements?

There is no requirement that mods must be compatible with the same versions of older software that the current version of vbulletin allows. That's why a system of minimum version numbers was built into the plugin system. In fact, starting from vbulletin 4.0 I'd be very surprised if they allow MySQL 4.0 to be used. See this post.

This mod uses sub queries. Sub queries are not possible in 4.0. There are a whole host of things which are possible in 4.1 and not in 4.0, as well as performance issues. In fact, many times when I try to do something useful with mysql I find that it is not possible with 4.0. Very small numbers of people still use 4.0 (since the arguments to upgrade, at least from my perspective, are good ones), so I don't really see the sense in committing the additional time required to rewrite what is essentially a simple query into a larger chunk of code to avoid using sub queries.

If someone else wants to undertake the work to rewrite that code to work in mysql 4.0 then I will include it into a new version, but I have limited resources at the moment, so I didn't ever plan to undertake such work.

Since this question seems to come up over and over I'll add it to a FAQ at the start of this thread.

DjLuv 01-10-2008 05:09 PM

awesome, hack installed and banned 2 members as they requested it

WiseOne38221 01-10-2008 10:47 PM

AWESOME! Installing now and thank GOD (and mfyvie) for this hack, LOL.

:)

AndyPandy 01-15-2008 11:46 PM

hey thanks for the great hack. One problem which has been mentioned: the postbit drop down part is not showing. How do I add my custom template to the hook?
Added: $template_hook[postbit_user_popup]
but still nothing ^

Sorry I am totally new to this*

cmeinck 01-16-2008 10:46 PM

This completely rocks. It saves me so much time and effort each day. Thank you, thank you, thank you!

nyqnzguju 01-18-2008 08:20 PM

Hi. thanks for sharing wonderful hack.

I have installed it but i cant see anything when i click on the user. Please let me out. I followed whatever u said but still didnt see anything.

http://i168.photobucket.com/albums/u...er/nothing.jpg

Please PM or Reply. I want this hack badly. ;) lol thanks in adv.

mfyvie 01-19-2008 10:02 AM

Quote:

Originally Posted by nyqnzguju (Post 1423985)
I have installed it but i cant see anything when i click on the user. Please let me out. I followed whatever u said but still didnt see anything.

Like the others, there is probably something non-standard in your template that is causing this (if you have followed the instructions elsewhere in this thread).

I suggest that if the postbit drop down menu doesn't work for you, then simply click through to the members profile page, then click on the one-touch spam ban and clean option that appears on the profile page to do the same thing.

jbd 01-19-2008 01:37 PM

I'm not convinced that is the issue here. I've tried installing this on a fresh board and I still don't see the link in postbit legacy. Does this work with both postbit and postbit legacy?

Amenadiel 01-19-2008 02:31 PM

I second the motion to add IP banning as an option in the mod configuration.

Thanks for a great hack anyway.

joshbond 01-21-2008 01:52 AM

I really love this mod. Thank you very much.
It makes it so quick and easy to get rid of "unwanted" users.


All times are GMT. The time now is 04:26 PM.

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.02282 seconds
  • Memory Usage 1,754KB
  • 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
  • (1)bbcode_php_printable
  • (6)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