Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Can I disable a specific member from having a sig?

Asked Modified Viewed 2,022 times
T
TheSacredLegion
T
  • Junior Member, joined since
  • Contributed 13 posts on the community forums.
  • Started 8 threads in the forums
  • Started this discussions
asked
Junior Member

Hi guys
Yeah so there's this one guy on my site, keeps posting offensive sigs, the guy who owns the site doesn't want to ban him as that's all he's doing wrong, but we don't want the sigs he keeps posting, and it's getting very monotonous to keep censoring them, anyway I can just stop him from having a sig?
Obviously I want everyone else to keep there sigs though
Thanks in advance
TSL
0 replies

7 posts

B
Basti
B
Basti 10
[PHP-Fusion Crew Member & Admin from June 2008 - December 2010]

http://basti2web.de - Support Site for my infusions
  • Veteran Member, joined since
  • Contributed 1,099 posts on the community forums.
  • Started 32 threads in the forums
answered
Veteran Member

There is no mod for this as far as I know.
You would need to make some individual changes in the code.
0 replies
P
PolarFox
P
  • Veteran Member, joined since
  • Contributed 1,633 posts on the community forums.
  • Started 29 threads in the forums
answered
Veteran Member

Something like this (code):

if($userdata['userid'] == '123' ) { //123 - real user id
$usersign = '';
}

use in signature userfield...
and this is only idea, not real code...
0 replies
B
Basti
B
Basti 10
[PHP-Fusion Crew Member & Admin from June 2008 - December 2010]

http://basti2web.de - Support Site for my infusions
  • Veteran Member, joined since
  • Contributed 1,099 posts on the community forums.
  • Started 32 threads in the forums
answered
Veteran Member

yes, something like this.

file: files\includes\user_fields\user_sig_include.php

code:

<?php

//...

if ($profile_method == "input") {
if($userdata['userid'] == '123' ) {
// no input form for user xy
 } else {
   require_once INCLUDES."bbcode_include.php";
   echo "<tr>\n";
   echo "<td valign='top' class='tbl'>".$locale['uf_sig']."</td>\n";
   echo "<td class='tbl'><textarea name='user_sig' cols='60' rows='5' class='textbox' style='width:295px'>".(isset($user_data['user_sig']) ? $user_data['user_sig'] : "")."</textarea><br />\n";
   echo display_bbcodes("300px", "user_sig", "inputform", "smiley|b|i|u||center|small|url|mail|img|color")."</td>\n";
   echo "</tr>\n";
}
} elseif ($profile_method == "display") {
   // Not shown in profile
} elseif ($profile_method == "validate_insert") {
if($userdata['userid'] == '123' ) {
//no insert in db for user xy
 } else {
   $db_fields .= ", user_sig";
   $db_values .= ", '".(isset($_POST['user_sig']) ? stripinput(trim($_POST['user_sig'])) : "")."'";
}
} elseif ($profile_method == "validate_update") {
if($userdata['userid'] == '123' ) {
// no db update for user xy
 } else {
   $db_values .= ", user_sig='".(isset($_POST['user_sig']) ? stripinput(trim($_POST['user_sig'])) : "")."'";
}
}
?>
Edited by Basti on 04-11-2009 22:51,
0 replies
U
Ugleh
U
Ugleh 10
  • Member, joined since
  • Contributed 160 posts on the community forums.
  • Started 27 threads in the forums
answered
Member

This has given me the idea to create a Disable Unique Signature mod.

Ill start now, but im not promising a release soon.
0 replies
T
TheSacredLegion
T
  • Junior Member, joined since
  • Contributed 13 posts on the community forums.
  • Started 8 threads in the forums
  • Started this discussions
answered
Junior Member

Okay, thanks for the help guys :)

Yeah Qwertz, that would be cool :)
0 replies
U
Ugleh
U
Ugleh 10
  • Member, joined since
  • Contributed 160 posts on the community forums.
  • Started 27 threads in the forums
answered
Member

First, Undo whatever you did early in this thread.

Then Download the MOD here:

http://www.phpfusion-mods.com/forum/v...ad_id=9446
0 replies
P
PolarFox
P
  • Veteran Member, joined since
  • Contributed 1,633 posts on the community forums.
  • Started 29 threads in the forums
answered
Veteran Member

Good job comrade :) And great idea also!
0 replies

Category Forum

User Administration - 8

Labels

None yet

Statistics

  • Views 0 views
  • Posts 7 posts
  • Votes 0 votes
  • Topic users 4 members

4 participants

U
U
Ugleh 10
  • Member, joined since
  • Contributed 160 posts on the community forums.
  • Started 27 threads in the forums
B
B
Basti 10
[PHP-Fusion Crew Member & Admin from June 2008 - December 2010]

http://basti2web.de - Support Site for my infusions
  • Veteran Member, joined since
  • Contributed 1,099 posts on the community forums.
  • Started 32 threads in the forums
P
P
  • Veteran Member, joined since
  • Contributed 1,633 posts on the community forums.
  • Started 29 threads in the forums
T
T
  • Junior Member, joined since
  • Contributed 13 posts on the community forums.
  • Started 8 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet