Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Lt - Ban Info Details »
Lt - Ban Info
Mod Version: 1.1.3, by Leftenant (Member) Leftenant is offline
Developer Last Online: Oct 2018 I like it Show Printable Version Email this Page

vB Version: 4.2.x Rating: (3 votes - 5.00 average) Installs: 18
Released: 11 Nov 2012 Last Update: 16 Nov 2012 Downloads: 137
Not Supported Uses Plugins Auto-Template Additional Files Translations  

Desc:
Show ban info on user profile..
Installation:
  1. Download Lt_Ban_Info_113.zip.
  2. Copy 'Leftenant' folder to Forum root directory
  3. Import product-lacyc_ban_bilgileri_english.xml file on Product Manamegent.
  4. Go to vBulletin Options/Lt - Ban Info and change variables.

Note:if you upgrade for Lt - Ban Info 1.1.1, go to forum root directory and rename Lt folder to Leftenant or copy Leftenant folder to Forum root...
This product id is changed. Please don't forget to delete the others version before your install version 1.1.3

Change Log:
Version 1.0:
  • First release.
Version 1.1:
  • Added vBulletin 4 compatible.
  • Added Lift ban and edit reason options.

Version 1.1.1:
  • Unnecessary query's removed.
  • Some bugs fixed.
  • Lt folder renamed to Leftenant.

Version 1.1.2:
  • Query problems fixed.

Version 1.1.3:
  • Added Appearance At Permanent Ban User Option.

For vBulletin 3.8: http://www.vbulletin.org/forum/showthread.php?t=235675

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	lt_ban_info_acp.jpg
Views:	220
Size:	154.1 KB
ID:	142224   Click image for larger version

Name:	lt_ban_info_mem.jpg
Views:	415
Size:	89.1 KB
ID:	142225   Click image for larger version

Name:	lt_ban_info_msc.jpg
Views:	402
Size:	32.2 KB
ID:	142226   Click image for larger version

Name:	lt_ban_info_pbt.jpg
Views:	350
Size:	16.3 KB
ID:	142227  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Miscellaneous Hacks Lt - Ban Info Leftenant vBulletin 3.8 Add-ons 19 19 Aug 2012 06:34

Comments
  #2  
Old 13 Nov 2012, 04:56
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Excellent mod.

But, you have few small bugs. In zip you named your directory Lt, but in product you reference directory lt. Unix server differentiate between small and capital letters. It's easy to change, but as it is now, this reports error.

Also, I disabled in postbit pop-up, but it is still visible.

These are relatively small problems. A bigger problem is that you're not using English in variable names, so it is a bit of a problem to know what templates and variables actually do (so I have much harder time to correct such mistakes). Anyway, thank you very much...

Could you maybe add option that permanently banned users don't show this information about banning? I try to make them less obvious from those that are only banned for a certain period of time.

Last edited by Alan_SP; 13 Nov 2012 at 05:02.
Reply With Quote
  #3  
Old 13 Nov 2012, 05:14
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Just noticed serious problem with queries. It adds about 130 queries on my index page, also adds queries on threadshow pages.

Till you solve this problem, I'm disabling this mod. When you solve it, I'll use it again, it looks really good, but so many queries is a too big problem.
Reply With Quote
  #4  
Old 13 Nov 2012, 11:40
Leftenant Leftenant is offline
 
Join Date: Jul 2009
Take care of the problems. Thank you for attention.
Reply With Quote
  #5  
Old 13 Nov 2012, 11:59
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
like this mod, tagged it for later use, would like to see an option
to only show it to admins,mods,supermods
__________________
http://www.multihunters.co.uk - all your coding needs
Reply With Quote
  #6  
Old 13 Nov 2012, 16:31
Leftenant Leftenant is offline
 
Join Date: Jul 2009
This plugin upgraded.
Reply With Quote
  #7  
Old 13 Nov 2012, 16:31
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Real name: Md Tajirul Islam
Does it work on 4.1.10 without manual template edit ?
Reply With Quote
  #8  
Old 13 Nov 2012, 16:45
Leftenant Leftenant is offline
 
Join Date: Jul 2009
Originally Posted by Nirjonadda View Post
Does it work on 4.1.10 without manual template edit ?
this hack tested and working on vB 4.0, 4.2 without having to change template.
Reply With Quote
  #9  
Old 13 Nov 2012, 17:56
GPOClan GPOClan is offline
 
Join Date: Oct 2010
Looks very good, tagged for later
Reply With Quote
  #10  
Old 13 Nov 2012, 18:44
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Originally Posted by TheSupportForum View Post
to only show it to admins,mods,supermods
Actually, this option is already in it. You need to select usergroups that will see banning info, if you don't no one will see it.
Reply With Quote
  #11  
Old 13 Nov 2012, 19:01
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Originally Posted by Leftenant View Post
Take care of the problems. Thank you for attention.
Just tested it for queries. Problem isn't solved.

My index page (forum.php) now has 149-150 queries, but without your mod I have 21-24 queries (it depends). It also rises a bit (about 5-10%) page generation time, but it is maybe because all this queries.

On showthread pages, each post has two queries, so, as I have 25 post per page, I have additional 50 queries if that thread page has all posts.

This is too much queries. Please, try to solve it. If not, however I like your mod and it's usefulness, it's a too big impact on server for my liking.

Didn't tested other things (queries are too serious problem for me). And, if you be able to sort this queries out, please add check if user is permanently banned and option that such user's don't show banning info.

I really hope you'll be able to solve this problem with queries, like your mod very much.
Reply With Quote
  #12  
Old 13 Nov 2012, 19:12
Leftenant Leftenant is offline
 
Join Date: Jul 2009
Originally Posted by Alan_SP View Post
Just tested it for queries. Problem isn't solved.

My index page (forum.php) now has 149-150 queries, but without your mod I have 21-24 queries (it depends). It also rises a bit (about 5-10%) page generation time, but it is maybe because all this queries.

On showthread pages, each post has two queries, so, as I have 25 post per page, I have additional 50 queries if that thread page has all posts.

This is too much queries. Please, try to solve it. If not, however I like your mod and it's usefulness, it's a too big impact on server for my liking.

Didn't tested other things (queries are too serious problem for me). And, if you be able to sort this queries out, please add check if user is permanently banned and option that such user's don't show banning info.

I really hope you'll be able to solve this problem with queries, like your mod very much.
Event is now realized. Just interested...
Reply With Quote
  #13  
Old 13 Nov 2012, 22:23
Leftenant Leftenant is offline
 
Join Date: Jul 2009
Originally Posted by Alan_SP View Post
Just tested it for queries. Problem isn't solved.

My index page (forum.php) now has 149-150 queries, but without your mod I have 21-24 queries (it depends). It also rises a bit (about 5-10%) page generation time, but it is maybe because all this queries.

On showthread pages, each post has two queries, so, as I have 25 post per page, I have additional 50 queries if that thread page has all posts.

This is too much queries. Please, try to solve it. If not, however I like your mod and it's usefulness, it's a too big impact on server for my liking.

Didn't tested other things (queries are too serious problem for me). And, if you be able to sort this queries out, please add check if user is permanently banned and option that such user's don't show banning info.

I really hope you'll be able to solve this problem with queries, like your mod very much.
Ok. Problem is fixed. Thank you for attention.
Reply With Quote
  #14  
Old 14 Nov 2012, 11:01
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Installed, though currently disabled.

By Visiting a "&mode=threaded" URL, this pops up:


Database error in vBulletin 4.2.0:

Invalid SQL:

SELECT
post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted,
user.*, userfield.*, usertextfield.*,
icon.title as icontitle, icon.iconpath,
avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,


editlog.userid AS edit_userid, editlog.username AS edit_username, editlog.dateline AS edit_dateline,
editlog.reason AS edit_reason, editlog.hashistory,
postparsed.pagetext_html, postparsed.hasimages,
sigparsed.signatureparsed, sigparsed.hasimages AS sighasimages,
sigpic.userid AS sigpic, sigpic.dateline AS sigpicdateline, sigpic.width AS sigpicwidth, sigpic.height AS sigpicheight,

IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, infractiongroupid

, lt_userban.userid AS lt_ban_id
FROM post AS post
LEFT JOIN user AS user ON(user.userid = post.userid)
LEFT JOIN userfield AS userfield ON(userfield.userid = user.userid)
LEFT JOIN usertextfield AS usertextfield ON(usertextfield.userid = user.userid)
LEFT JOIN icon AS icon ON(icon.iconid = post.iconid)
LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)


LEFT JOIN editlog AS editlog ON(editlog.postid = post.postid)
LEFT JOIN postparsed AS postparsed ON(postparsed.postid = post.postid AND postparsed.styleid = 3 AND postparsed.languageid = 1)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 3 AND sigparsed.languageid = 1)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)

LEFT JOIN userban AS lt_userban ON ( lt_userban.userid = post.userid )
WHERE post.postid IN (1312708,1315013,1316647,1317613,1317778,1319370,1320438,1320483,1323953,1325486 ,1326748,1326766,1327288,1330991,1335287,1335964,1336122,1336131,1336145,1336482 ,1336526,1336957,1337061,1337303,1337893,1339027,1339483,1340754,1340832,1341819 ,1342339,1356457,1356473,1356505,1356621,1358098,1358567,1358909,1359817,1360056 );

MySQL Error : Column 'displaygroupid' in field list is ambiguous
Error Number : 1052
Request Date : Wednesday, November 14th 2012 @ 03:55:22 AM
Error Date : Wednesday, November 14th 2012 @ 03:55:23 AM
Script : http://xxx.xxx.com/threads/109622-Lo...&mode=threaded
Referrer :
Username : Unregistered
Classname : vB_Database
MySQL Version :
Reply With Quote
  #15  
Old 14 Nov 2012, 13:52
Leftenant Leftenant is offline
 
Join Date: Jul 2009
Originally Posted by FF|Skyrider View Post
Installed, though currently disabled.

By Visiting a "&mode=threaded" URL, this pops up:
Temporary Workaround:
Goto AdminCp->plugin management->Lt - Ban Info - SQ
Replace All to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Note: Hack only work on normal mode.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 15:31.

Layout Options | Width: Wide Color: