Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Mar 2002
Posts: 305
Enthusiast
Enthusiast
Offline
Joined: Mar 2002
Posts: 305
Sorry! I can't answer if the users like it or not, as they haven't seen it yet. I set it up on my test board and it seems to work, but I am getting an error. I'm not sure if I'm reading the install directions wrong or not though.

When you click to view a person's profile, it says, "Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/ffd2/public_html/forums_copy/showprofile.php on line 335". That's the area that has this:
Code
// Ignore User Mod <br />   if ( in_array($UNumber, $IgnoreList) ) { <br />      $unign = "{$config['phpurl']}/ignoremod.php?Cat=$Cat&amp;Board=$Board&amp;Number=$Number&amp; <br />page=$page&amp;view=$view&amp;sb=$sb&amp;o=$o&amp;vc=1&amp;fpart=$fpart&amp;what=showprofile <br />&amp;who=$UNumber&amp;action=remove"; <br />      $ignorelink = "<a href=\"$unign\">Unignore this user</a>"; <br />   } <br />   else { <br />      $unign = "{$config['phpurl']}/ignoremod.php?Cat=$Cat&amp;Board=$Board&amp;Number=$Number&amp; <br />page=$page&amp;view=$view&amp;sb=$sb&amp;o=$o&amp;vc=1&amp;fpart=$fpart&amp;what=showprofile <br />&amp;who=$UNumber&amp;action=add"; <br />      $ignorelink = "<a href=\"$unign\">Ignore this user</a>"; <br />   }

(I added line breaks above so it didn't scroll so much)

The next section:
Code
$ignorelink <br /> | 

I figured probably belonged in the template file instead? The reason I am unsure if it's just the instructions - your instructions say the mod changes showprofile.tmpl, but the instructions don't list that file (only under files changed.)

Even with the error, it puts the person into ignore, and doesn't show the text, so it's working properly in that respect (at least I think!)

Also, a nice thing to add could be a small link/icon in the post itself that adds the person to the ignore list, but only if it doesn't add a lot of queries or download time. Also, it might be important for mods and admin NOT to be able to be ignored. I'm sure there are plenty who may want to, but sometimes we actually have something important to say.

I'm almost scared to see how our users will sworm down on this. I wonder how a "Top ten ignored users" list would go over? (just kidding! )

Last edited by Lisa_P; 05/18/2003 4:05 AM.

[:"red"]Lisa[/]
Sponsored Links
Entire Thread
Subject Posted By Posted
Beta-[6.2] Ignore User PhotoPost 05/13/2003 3:57 PM
Re: Beta-[6.2] Ignore User Hal9000 05/13/2003 6:39 PM
Re: Beta-[6.2] Ignore User PhotoPost 05/13/2003 6:56 PM
Re: Beta-[6.2] Ignore User AKD96 05/13/2003 10:39 PM
Re: Beta-[6.2] Ignore User Dslam 05/14/2003 12:42 AM
Re: Beta-[6.2] Ignore User Ian_W 05/14/2003 8:40 PM
Re: Beta-[6.2] Ignore User PhotoPost 05/18/2003 6:19 AM
Re: Beta-[6.2] Ignore User AKD96 05/18/2003 6:44 AM
Re: Beta-[6.2] Ignore User Lisa_P 05/18/2003 11:03 AM
Re: Beta-[6.2] Ignore User Lisa_P 05/18/2003 11:10 AM
Re: Beta-[6.2] Ignore User PhotoPost 05/19/2003 2:18 AM
Re: Beta-[6.2] Ignore User Ian_W 05/23/2003 12:25 AM
Re: Beta-[6.2] Ignore User JoshPet 05/23/2003 12:28 AM
Re: Beta-[6.2] Ignore User AKD96 05/23/2003 12:28 AM
Re: Beta-[6.2] Ignore User kaspar 07/22/2003 8:50 PM
Re: Beta-[6.2] Ignore User AKD96 07/23/2003 1:25 AM
Re: Beta-[6.2] Ignore User AKD96 07/23/2003 1:47 AM
Re: Beta-[6.2] Ignore User kaspar 07/23/2003 1:57 AM
Re: Beta-[6.2] Ignore User AKD96 07/23/2003 2:09 AM
Re: Beta-[6.2] Ignore User AKD96 07/23/2003 2:22 AM
Re: Beta-[6.2] Ignore User PhotoPost 07/23/2003 6:10 AM
Re: Beta-[6.2] Ignore User AKD96 07/23/2003 9:27 AM
Re: Beta-[6.2] Ignore User PhotoPost 07/23/2003 4:03 PM
Re: Beta-[6.2] Ignore User AKD96 07/24/2003 12:25 AM
Re: Beta-[6.2] Ignore User PhotoPost 07/24/2003 8:33 PM
Re: Beta-[6.2] Ignore User AKD96 07/24/2003 10:07 PM
Re: Beta-[6.2] Ignore User ericgtr 07/29/2003 6:20 AM
Re: Beta-[6.2] Ignore User AKD96 07/29/2003 6:49 AM
Re: Beta-[6.2] Ignore User AKD96 07/29/2003 6:58 AM
Re: Beta-[6.2] Ignore User ericgtr 07/29/2003 6:59 AM
Re: Beta-[6.2] Ignore User AKD96 07/29/2003 7:01 AM
Re: Beta-[6.2] Ignore User ericgtr 07/29/2003 3:35 PM
Re: Beta-[6.2] Ignore User ericgtr 07/29/2003 4:50 PM
Re: Beta-[6.2] Ignore User PhotoPost 08/02/2003 3:51 AM
Re: Beta-[6.2] Ignore User ericgtr 08/05/2003 4:36 PM
Re: Beta-[6.2] Ignore User ericgtr 08/18/2003 4:20 AM
Re: Beta-[6.2] Ignore User DrChaos 11/13/2003 9:30 PM
Re: Beta-[6.2] Ignore User ericgtr 11/13/2003 10:03 PM
Re: Beta-[6.2] Ignore User ericgtr 11/13/2003 10:11 PM
Re: Beta-[6.2] Ignore User Twisty 11/16/2003 6:52 PM
Re: Beta-[6.2] Ignore User omegatron 11/16/2003 7:51 PM
Re: Beta-[6.2] Ignore User Twisty 11/16/2003 8:22 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
AllenAyres
AllenAyres
Texas
Posts: 21,079
Joined: March 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)