Version: 1.1.3, by Leftenant
Developer Last Online: Dec 2022
Category: Profile Enhancements -
Version: 4.2.x
Rating:
Released: 11-10-2012
Last Update: 11-15-2012
Installs: 19
Uses Plugins Auto-Templates
Additional Files Translations
No support by the author.
Desc:
Show ban info on user profile..
Installation:
Download Lt_Ban_Info_113.zip.
Copy 'Leftenant' folder to Forum root directory
Import product-lacyc_ban_bilgileri_english.xml file on Product Manamegent.
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
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.
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.
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.
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,1 320438,1320483,1323953,1325486,1326748,1326766,132 7288,1330991,1335287,1335964,1336122,1336131,13361 45,1336482,1336526,1336957,1337061,1337303,1337893 ,1339027,1339483,1340754,1340832,1341819,1342339,1 356457,1356473,1356505,1356621,1358098,1358567,135 8909,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 :
Excellent, problem with queries is fixed, so I started using your mod.
But, there's still bug with postbit.
Just tested it, showing info in pop-up is "stuck", no matter what option I choose, I see information about banning there, even if I choose that there's no info in postbit.
And, to repeat my feature request, could you disable showing info for permanently banned users? As an option, of course, not for all, some of us would like to show that information.
Excellent mod and quick and good support. :up: Giving 5 stars and nominating it for mod of the month.
Not showing information for permanently banned users works as it should. :up:
Information in postbit pop-up is still stuck, no matter what I select, there it is (I consider it small bug, but want to inform you about it).
Also, you changed product id (from Turkish to English), which resulted in having older version and newer after I tried to upgrade. When I found this out, I uninstalled both versions and installed only new one. Everything works, phrases wasn't lost (if anyone needs translation to Croatian of front end, ask).
Small suggestion, for next version, you have at settings for permanently banned users text:
Only Show As Profile (and Postbit)
As should be in.
Also phrase: Appearance At Permanent Ban User would better sound as Appearance for Permanently Banned Users.
These are just minor corrections, but just to mention them.