vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Moderators Functions - Ban Users From a Thread (https://vborg.vbsupport.ru/showthread.php?t=259017)

BSViper 04-02-2011 07:20 PM

I guess we all ignored..

fishmaster 04-03-2011 04:48 PM

Voted MOTM.

Excellent tool..

8thos 04-03-2011 08:56 PM

Installed.

SeanMT 04-05-2011 08:21 PM

+1 For allowing mods to ban...seeing as that's what mods are there for.

futureaudio 04-07-2011 07:05 PM

1 Attachment(s)
Quote:

Originally Posted by BaanFarsang (Post 2163824)
VB4.1.2 errors

Code:

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 4097

Parse error: syntax error, unexpected T_STRING in /home/baanfars/domains/baanfarsang.com/public_html/postings.php(212) : eval()'d code(122) : eval()'d code on line 1

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: btu_bans in [path]/includes/functions.php on line 4097


I've fixed the error and attached the updated .xml product file.
Please edit/remove this post if this is against the rules.

All credit to OP. I've just updated it to be compatible with recent version of vblulletin. ( Simple fix )

grc 04-08-2011 08:45 PM

I had to edit the image path in the xml file but aside from that it installed and runs fine on 4.0.8 (that's as far as I'm going - wish I'd stopped at 3.8 - but that's for another thread).

bwheelock 04-11-2011 07:56 PM

Quote:

Originally Posted by futureaudio (Post 2182061)
I've fixed the error and attached the updated .xml product file.
Please edit/remove this post if this is against the rules.

That definitely removes the error for me (on 4.1.0), but the page layout is still a little messy. I can probably work that out, but it'd be great if the next release addresses this alongside the other mentions:

Quote:

Originally Posted by AcidX (Post 2164876)
To-Do:

- Allow Mods/Supermods to use thread bans [optional];
- Time ban [hours, days, weeks...];
- Display ban reason when user tries to enter thread;
- Notification for banned users via PM.

Quote:

Originally Posted by Dennis Olson (Post 2177083)
Two things:

1) All staff levels need to be able to ban/unban (as has been stated)
2) There needs to be an indicator on the banned persons post(s) in the thread letting us know that he is banned from it.


G0F0RBR0KE 05-03-2011 04:59 AM

Can section mod have the ability to do this?

Danny M 05-30-2011 03:21 PM

Hey,

I get this error at the top of the page on "View all thread bans":

Code:

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 3957

Parse error: syntax error, unexpected T_STRING in /home/dannym/public_html/forums/postings.php(210) : eval()'d code(92) : eval()'d code on line 1

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: btu_bans in [path]/includes/functions.php on line 3957


rfsforums 05-31-2011 05:04 PM

Installed and works on vBulletin 4.0.7 Patch Level 1 - Thanks!!!

bryanb 07-28-2011 01:22 PM

Does this work with 4.1.5? Getting ready to upgrade.

nerbert 08-09-2011 04:09 AM

Quote:

Originally Posted by bryanb (Post 2226019)
Does this work with 4.1.5? Getting ready to upgrade.

Works for me with one minor change to btu_link template: I removed alt="{vb:rawphrase btu_unban}" from the img tag. For some reason I don't get the little image to work and so I get the alt text "UNBAN USER' or something like that, which causes the link to disappear.

And that's for another post.

diettalk 08-09-2011 01:25 PM

Quote:

Originally Posted by nerbert (Post 2231200)
Works for me with one minor change to btu_link template: I removed alt="{vb:rawphrase btu_unban}" from the img tag. For some reason I don't get the little image to work and so I get the alt text "UNBAN USER' or something like that, which causes the link to disappear.

And that's for another post.

If I'm remembering right, you have to go into the xml file and change this line... to take out the slash in front of images.

<img src="/images/site_icons/ignore.png" alt="{vb:rawphrase btu_unban}" />

to

<img src="images/site_icons/ignore.png" alt="{vb:rawphrase btu_unban}" />

and it should work.

Dragaon 08-17-2011 01:55 AM

Quote:

Originally Posted by Danny M (Post 2201729)
Hey,

I get this error at the top of the page on "View all thread bans":

Code:

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 3957

Parse error: syntax error, unexpected T_STRING in /home/dannym/public_html/forums/postings.php(210) : eval()'d code(92) : eval()'d code on line 1

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: btu_bans in [path]/includes/functions.php on line 3957


Same here, running 4.1.5
Code:

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 4183

Parse error: syntax error, unexpected T_STRING in /home//public_html/forum/postings.php(212) : eval()'d code(102) : eval()'d code on line 1



The second issue is ok, the fix below for the missing postbit graphic and link worked perfectly.

Other than the error above and the fix posted below for the separate issue the mod works on 4.1.5

Quote:

Originally Posted by diettalk (Post 2231362)
If I'm remembering right, you have to go into the xml file and change this line... to take out the slash in front of images.

<img src="/images/site_icons/ignore.png" alt="{vb:rawphrase btu_unban}" />

to

<img src="images/site_icons/ignore.png" alt="{vb:rawphrase btu_unban}" />

and it should work.


Successfulsteps 08-17-2011 05:02 AM

Looks good, I'll wait until the bugs are out and this one is updated for mods to use besides admins. It would just make better sense also so the mods all know and can see. Until then it may just be too confusing.

OturanBoğa 08-24-2011 10:04 AM

i need using this hack by our moderators, not only administrators.. Can someone help?

Thanks

And:


Quote:

Originally Posted by AcidX (Post 2164876)
[...]
However, I must advise you to be patient. Both features you mentioned are in my to-do list.

To-Do:

- Allow Mods/Supermods to use thread bans [optional];
- Time ban [hours, days, weeks...];
- Display ban reason when user tries to enter thread;
- Notification for banned users via PM.


EdQ 08-27-2011 02:31 PM

Quote:

Originally Posted by diettalk (Post 2231362)
If I'm remembering right, you have to go into the xml file and change this line... to take out the slash in front of images.

<img src="/images/site_icons/ignore.png" alt="{vb:rawphrase btu_unban}" />

to

<img src="images/site_icons/ignore.png" alt="{vb:rawphrase btu_unban}" />

and it should work.

Thanks for this :)

EdQ 08-27-2011 08:35 PM

Quote:

Originally Posted by OturanBoğa (Post 2237353)
i need using this hack by our moderators, not only administrators.. Can someone help?

Thanks

And:

Yes, needed by Moderators

attroll 08-30-2011 05:02 PM

What would be nice is once you ban a user from a thread, when you click on there name in the postbit it would display a Banned icon instead of the Thread Ban/Unban icon. There is no way of a quick reference to know if the user is already banned from the thread.

Dragaon 09-07-2011 11:14 AM

Quote:

Originally Posted by futureaudio (Post 2182061)
I've fixed the error and attached the updated .xml product file.
Please edit/remove this post if this is against the rules.

All credit to OP. I've just updated it to be compatible with recent version of vblulletin. ( Simple fix )

The fix posted above works on both errors mentioned on this thread, installed on 4.1.5 PL1 with allow overwrite checked in the upload plug-in form.

great mod btw!

thenashy 09-09-2011 02:22 AM

Update for 4.1.5. I don't go an buy a TV and have to fix it when I first buy it.

rollerman 09-10-2011 01:04 AM

Looks like a very cool mod. I like the concept a lot, even though I don't think I would have to use it much on my board, but it's always nice to have another tool in the box when you need one.

As I'll be doing some much-delayed upgrading this weekend, I'll try to give it a shot on the latest and report back. That's on the list with about 478 other things to do, but I'll try.

RedDevil 09-25-2011 07:03 AM

On feature would be nice logging who uses it in mods log, currently unable to track who dunnit.

steeler7 09-27-2011 07:53 PM

Any word on the Moderator Permissions for this? Has anyone that has installed this hack, figure out a way to allow for Moderators?

sdebank 10-01-2011 08:39 AM

Is this mod dead? Shame as it looks handy.

Daman01 01-12-2012 11:28 AM

Quote:

Originally Posted by oatsy (Post 2167081)
So, open the xml file in a text editor, go to line 62 and change it from ...

<img src="/images/site_icons/ignore.png" alt="{vb:rawphrase btu_unban}">

to

<img src="images/site_icons/ignore.png" alt="{vb:rawphrase btu_unban}">

Save, and reinstall.

Thank you, that fixed the problem.

GameOverViper 01-12-2012 07:51 PM

Looks like a mod that would be put to good use on one of my forums if it were updated to the latest version of vbulletin.

barcena 05-10-2012 07:14 AM

Is it possible to ban Guests?

By IP maybe from a thread?

GameOverViper 05-27-2012 06:00 PM

Quote:

Originally Posted by barcena (Post 2327918)
Is it possible to ban Guests?

By IP maybe from a thread?

You can ban guests by finding there IP in the users online now section at the bottom of your forum. There's a mod that I've seen as well that allows you to ban certain users from a specific thread. However, if you just want to ban all guests from viewing a forum/thread, change the forum permissions for that forum.

Raakin 06-15-2012 07:25 PM

vB 4.1.5

Cannot view 'Clear this thread bans', 'Clear all thread bans' & 'View All Thread Bans' links in the Administrative tools.

Any fix for this?

Pure Dope 06-20-2012 05:28 PM

work for 4.2?

Toshinobu 06-20-2012 06:47 PM

Quote:

Originally Posted by Pure Dope (Post 2341511)
work for 4.2?

I tested it in 4.2 and the menu option in the screenshot below doesn't appear.

https://vborg.vbsupport.ru/attachmen...5&d=1297946220

However, I tried banning a user from a thread and received a confirmation message. I didn't actually test if the user could post in the thread though after being banned.

Looks like the mod will need to be updated regardless.

jluerken 09-12-2012 07:43 AM

Waiting also for an update for 4.2.x.
Interesting addon

Danny M 02-08-2013 09:29 AM

Please update for 4.2

titan90 02-17-2013 04:10 PM

Using in 4.2 and it works - with some of the errors already posted.
Donated some funds to the dev. Would really like to see some upgrades and additions to this mod.

vsforums 09-10-2013 12:42 PM

Will this mod work on 4.1.8? :)

yesfans 09-10-2013 09:42 PM

I wish someone would tidy up the issues in this mod and update it for the latest 4.x.x. This is an awesome tool I would love to use.

Bubble #5 09-13-2013 12:43 AM

4.2.1

Receiving this error at the top of the forum:

Code:

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 4591

Parse error: syntax error, unexpected T_STRING in /home/loveforum/public_html/4um/postings.php(208) : eval()'d code(92) : eval()'d code on line 1

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: btu_bans in [path]/includes/functions.php on line 4591

Can anyone figure this out? :confused:

Paul. 10-30-2013 08:57 PM

I get the error shown above, only when I view who is banned from a thread.
Other than that, works fine on 4.2.0 PL3

dawges 10-31-2013 02:54 AM

Thanks! Works for me on 4.2.0 just fine. Not sure what i did right or wrong but it works for me and this is just what i needed.


All times are GMT. The time now is 04:42 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.01414 seconds
  • Memory Usage 1,829KB
  • 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
  • (5)bbcode_code_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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