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)

tekguru 04-26-2008 04:47 AM

To fix the security issue edit the template to add :

PHP Code:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]/> 

after:

PHP Code:

<form action="misc.php" method="post" name="spamconfirm" id="spamconfirm"


BigDog56 04-30-2008 01:35 AM

Works now, thanks!

bplinson 04-30-2008 06:40 AM

Fix works great.

adblaze 05-02-2008 12:06 AM

Is this working with 3.7. I have no menu options in posts for the one click options after upgrading.

Black Tiger 05-02-2008 10:09 PM

I have it installed on 3.7, did not test it yet, but I did implement the template modification as suggested by Mark.B.
Great mod and Mark, thanks for the explanation!

weitalia 05-04-2008 07:01 AM

1 Attachment(s)
this version works on 3.7
i only add the line for securitycode on form template

BigDog56 05-04-2008 07:29 PM

When i updated to 3.7, it stopped working. I un-installed it, re-installed it, works fine now. thank you! (I don't have a link in the profile of the member anymore, but just in the drop-down menu.)

gabrielt 05-05-2008 09:08 PM

In order for this mod to show up on the member's profile page on vBulletin 3.7 you need to edit the following template and add the code in red:

Member Info Templates, MEMBERINFO

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>
<li class="thead"><a href="misc.php?$session[sessionurl]do=spamcleanconfirm&amp;u=$userinfo[userid]">$vbphrase[spammer_ban_member]</a></li>
</if>

I hope this helps other people on the same situation.

Cheers,
Gabriel Torres

BigDog56 05-05-2008 10:08 PM

Quote:

Originally Posted by gabrielt (Post 1509822)
In order for this mod to show up on the member's profile page on vBulletin 3.7 you need to edit the following template and add the code in red:

Member Info Templates, MEMBERINFO

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>
<li class="thead"><a href="misc.php?$session[sessionurl]do=spamcleanconfirm&amp;u=$userinfo[userid]">$vbphrase[spammer_ban_member]</a></li>
</if>

I hope this helps other people on the same situation.

Cheers,
Gabriel Torres

Got it, works, thank you!

nova4708 05-08-2008 08:25 AM

I tried using this on a spammer, and it said it was going to use the action against MY ADMIN ACCOUNT! It was trying to delete the ADMIN, not the SPAMMER!

I'm using 3.7

I would not recommend this product!


All times are GMT. The time now is 09:27 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.02376 seconds
  • Memory Usage 1,740KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (1)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