News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Slashout Banned Members

Started by vbgamer45, April 11, 2011, 12:13:09 PM

Previous topic - Next topic

vbgamer45

Link to the mod


[glow=black,2,300]Slashout Banned Members[/glow]
Developed by 4kstore for SMFSimple.com
Creator: Project Evolution
SMF 1.1.15 & 2.0.1



[glow=black,2,300]El soporte oficial de los desarrolladores de nuestros mods lo encontraras en SMFSimple.com[/glow]



[glow=black,2,300]Description:[/glow]
The Slashout Banned Members modification is a simple mod which allows administrators to set a slash on the names of banned members

[glow=black,2,300]Descripcion:[/glow]
El Slashout Banned Members Mod es una simple modificacion que permite a los administradores cambiar el aspecto de los usuarios que fueron baneados



[glow=black,2,300]Screenshots | Imagenes[/glow]









Language Support | Lenguajes Soportados
ALL LANGUAGES! | TODOS LOS LENGUAJES!


[glow=black,2,300]Slashout Banned Members[/glow]

[glow=black,2,300]Copyright 2011 | SMFSimple.com[/glow]

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

jack001

sounds interesting..

support on which smf??
i mean smf1 or 2?
https://www.edufor.xyz Edutainment forum - Education with Entertainment!

jack001

oops not compatible with smf2
:(
https://www.edufor.xyz Edutainment forum - Education with Entertainment!

ascaland

Quote from: jack001 on April 11, 2011, 12:20:53 PM
oops not compatible with smf2
:(

You can use this mod in the meantime,
http://custom.simplemachines.org/mods/index.php?mod=2266

Since I just noticed its archived, I will update this for the latest SMF 2.0 version.

Arantor

QuoteSince I just noticed its archived, I will update this for the latest SMF 2.0 version

Yes, you can formally have permission to update that mod for 2.0 RC5.

ascaland

Quote from: Arantor on April 11, 2011, 01:24:33 PM
QuoteSince I just noticed its archived, I will update this for the latest SMF 2.0 version

Yes, you can formally have permission to update that mod for 2.0 RC5.

Would I just have to resubmit the updated package to the mod site?

Arantor

Well, you'll have to ask the team about taking it over, but as the original package author you certainly have my permission to update it.

ascaland

Quote from: Arantor on April 12, 2011, 12:15:29 PM
Well, you'll have to ask the team about taking it over, but as the original package author you certainly have my permission to update it.

Thanks Arantor.  ;D

Branko.

Hello everyone, after installation latest version 1.0 when a guest browsing forum everything become abnormally.View is possible only through Recent Posts, Last post by and View the most recent posts.Other paths like Forum Name>Category Name>Board Name and others displayed error:"Database Error Please try again. If you come back to this error screen, report the error to an administrator." Also in Users Online, unusually, too much guests.Most Online Today: 346 ,in the previous period normally cca 15-25 .For registered everything was ok.
Forum Error Log constantly filled with:Database Error: Unknown column 'banmemf.ID_MEMBER' in 'field list'
File: /home/content/x/x/x/xxxxxxx/html/xxxx/SATFORUM/Sources/MessageIndex.php
Line: 471
When I uninstall this mod everything was OK.
My version is 1.1.13
Best regards,Branko

   
Strong people don't put others down, they lift them up.
A clever person solves a problem. A wise person avoids it.

ascaland

Sorry about that, I have reuploaded the patched modification. :)

Branko.

Strong people don't put others down, they lift them up.
A clever person solves a problem. A wise person avoids it.

Maniacs

Version 1.1 Error on BoardIndex

Not unique table/alias: 'banmem'
File: /home/xxxx/public_html/forum/Sources/BoardIndex.php
Line: 85

Forum version is 1.1.13

ascaland

Can you please attach your BoardIndex.php file? I cant seem to replicate this error.

ascaland

Ok, I have found your problem. Look for this comment,
// Find all boards and categories, as well as related information.  This will be sorted by the natural order of boards and categories, which we control.

And in the query underneath that remove the entire db_query function and replace it with this,
$result_boards = db_query("
SELECT
c.name AS catName, c.ID_CAT, b.ID_BOARD, b.name AS boardName, b.description,
b.numPosts, b.numTopics, b.ID_PARENT, IFNULL(m.posterTime, 0) AS posterTime,
IFNULL(mem.memberName, m.posterName) AS posterName, m.subject, m.ID_TOPIC,
IFNULL(mem.realName, m.posterName) AS realName," . ($user_info['is_guest'] ? "
1 AS isRead, 0 AS new_from" : "
(IFNULL(lb.ID_MSG, 0) >= b.ID_MSG_UPDATED) AS isRead, IFNULL(lb.ID_MSG, -1) + 1 AS new_from,
c.canCollapse, IFNULL(cc.ID_MEMBER, 0) AS isCollapsed") . ",
IFNULL(mem.ID_MEMBER, 0) AS ID_MEMBER, m.ID_MSG,
IFNULL(mods_mem.ID_MEMBER, 0) AS ID_MODERATOR, mods_mem.realName AS modRealName,
IFNULL(banmem.ID_MEMBER, 0) AS isBanned
FROM {$db_prefix}boards AS b
LEFT JOIN {$db_prefix}categories AS c ON (c.ID_CAT = b.ID_CAT)
LEFT JOIN {$db_prefix}messages AS m ON (m.ID_MSG = b.ID_LAST_MSG)
LEFT JOIN {$db_prefix}members AS mem ON (mem.ID_MEMBER = m.ID_MEMBER)" . (!$user_info['is_guest'] ? "
LEFT JOIN {$db_prefix}log_boards AS lb ON (lb.ID_BOARD = b.ID_BOARD AND lb.ID_MEMBER = $ID_MEMBER)
LEFT JOIN {$db_prefix}collapsed_categories AS cc ON (cc.ID_CAT = c.ID_CAT AND cc.ID_MEMBER = $ID_MEMBER)" : '') . "
LEFT JOIN {$db_prefix}moderators AS mods ON (mods.ID_BOARD = b.ID_BOARD)
LEFT JOIN {$db_prefix}members AS mods_mem ON (mods_mem.ID_MEMBER = mods.ID_MEMBER)
LEFT JOIN {$db_prefix}ban_items AS banmem ON (banmem.ID_MEMBER = mem.ID_MEMBER)
WHERE $user_info[query_see_board]" . (empty($modSettings['countChildPosts']) ? "
AND b.childLevel <= 1" : ''), __FILE__, __LINE__);


Like the error said, there were two of the same SQL alias' being used which was why it was displaying 'banmem' as not being unique. :)

Maniacs

#14
Again the same error...

EDIT:
Sorry, i'm make mistake... now work fine :D

Thanks!

ascaland

Quote from: Maniacs on April 19, 2011, 07:18:36 PM
Again the same error...

Can you please attach the file in your post?

Maniacs

It's OK now... without error  :laugh:

thx

Maniacs

hmm... when ban expired, username is like banned user...

ascaland

Quote from: Maniacs on April 19, 2011, 07:43:54 PM
hmm... when ban expired, username is like banned user...

Make sure you remove any ban triggers associated with the expired ban in the meantime.

Maniacs

Do you have a plan in the future update mod to work without remove from ban list?

Advertisement: