Welcome, Guest. Please Login or Register.
June 16, 2024, 05:24:40 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  User Lock -- GO AWAY « previous next »
Pages: [1] 2 Reply Ignore Print
Author Topic: User Lock -- GO AWAY  (Read 2675 times)
Patty
Full Member
***
Posts: 249


Drat. I caught Darth Llama.

User Lock -- GO AWAY
« on: December 23, 2001, 03:44:08 PM »
Reply with quote

I hate this. I HATE THIS!!! I hate the fact that users can lock their own threads. In three days, I've already had two people lock down their own threads because they said, "Oh, it was a stupid movie thread," only to have heaps of people post to the threads after I unlocked them.

There should be a toggle on/off thing for this feature at the very least. I want this OFF!!! I said I was going t make an invisible button -- I didn't, and now I will. But for the love of God -- someone make this a opt-in feature. I hate it -- again HATE IT -- in its current form.
Logged
Patty
Full Member
***
Posts: 249


Drat. I caught Darth Llama.

Re:User Lock -- GO AWAY
« Reply #1 on: December 23, 2001, 03:49:04 PM »
Reply with quote

Dammit. I can't use a blank button -- it uses the admin lock button.

OK -- I want his mod more than more smilies now. Again, in case you missed it -- I HATE this feature.
Logged
Big P
Mod Team
YaBB God
*****
Posts: 1462


"Back in '68, I don't like you, The End."

ICQ - 76064555pierceward@hotmail.com WWW
Re:User Lock -- GO AWAY
« Reply #2 on: December 23, 2001, 04:05:05 PM »
Reply with quote

Piece of piss! ;)
All it would take is a hide feature, like:
if ($memreply == "1") {
Print <<EOT
EOT; }
else
{
echo "<a href=$cgi;lock$boardnum><img src=$imagedir/lock.gif></a>
}

Done and done. Course just have to add an admin option... Does YaBB count ticked boxes as "1" and "0" or as "on" and "off"? I'm not sure about that...  :)
Logged

PHPNews has been released!!! Download it now!!!
Patty
Full Member
***
Posts: 249


Drat. I caught Darth Llama.

Re:User Lock -- GO AWAY
« Reply #3 on: December 23, 2001, 04:07:46 PM »
Reply with quote

Where? I'm looking at Display.php right now -- I'm a writer, not a dev god.
Logged
Big P
Mod Team
YaBB God
*****
Posts: 1462


"Back in '68, I don't like you, The End."

ICQ - 76064555pierceward@hotmail.com WWW
Re:User Lock -- GO AWAY
« Reply #4 on: December 23, 2001, 04:14:31 PM »
Reply with quote

:P I just made that code up now! :P It was an example of what it would look like :P
I'll have to go look at the files to find exactly where the image appears for the user   ;)
Logged

PHPNews has been released!!! Download it now!!!
Patty
Full Member
***
Posts: 249


Drat. I caught Darth Llama.

Re:User Lock -- GO AWAY
« Reply #5 on: December 23, 2001, 04:21:53 PM »
Reply with quote

Well, part of it is in Display, but I can't figure out how to change it.

It starts with: if(in_array($username,$moderators) --- right?

I honestly don't know what I'm doing when it comes to this sort of thing.

Two mornings in a row I've woken up to locked threads for no good reason. I don't have flame wars on my board -- which was what was cited as being the inspiration for this new "feature" that I currently HATE.

For the moment, an invisible button is in place of the admin_lock.gif -- but that means I can't lock anything.

Logged
Big P
Mod Team
YaBB God
*****
Posts: 1462


"Back in '68, I don't like you, The End."

ICQ - 76064555pierceward@hotmail.com WWW
Re:User Lock -- GO AWAY
« Reply #6 on: December 23, 2001, 04:35:28 PM »
Reply with quote

That's exactly what I was looking at! ;)
But it looks like its going to be harder than I thought, as its linked to another function somewhere else in the script. It puts $username and $moderator in an array.
It tells the script if a moderator or starter of thread is presesnt, display the lock button!
So I think I'll have to look elsewhere in the script for
$topicinfo[posterName]
Which basically tells the script about the thread starter and how s/he should be allowed lock the thread.. sigh  :-\
Logged

PHPNews has been released!!! Download it now!!!
Patty
Full Member
***
Posts: 249


Drat. I caught Darth Llama.

Re:User Lock -- GO AWAY
« Reply #7 on: December 23, 2001, 04:46:03 PM »
Reply with quote

I'll poke around for it, too. I do appreciate you looking into it.

Logged
Patty
Full Member
***
Posts: 249


Drat. I caught Darth Llama.

Re:User Lock -- GO AWAY
« Reply #8 on: December 23, 2001, 04:51:40 PM »
Reply with quote

Does anything in the Lock Thread.php affect this? I looked there first, but since I was searching for the graphic, I let it go.
Logged
Big P
Mod Team
YaBB God
*****
Posts: 1462


"Back in '68, I don't like you, The End."

ICQ - 76064555pierceward@hotmail.com WWW
Re:User Lock -- GO AWAY
« Reply #9 on: December 23, 2001, 05:09:49 PM »
Reply with quote

I wouldn't of thought so,but maybe now that i think about it. But the easiest thing to do would be rmeove the image for new thread starters, which is the problem, I just cant seem to do it, I'm not sure exactly how YaBB SE does all this with the MySQL, it was so much easier with flatfile! :P
Logged

PHPNews has been released!!! Download it now!!!
Patty
Full Member
***
Posts: 249


Drat. I caught Darth Llama.

Re:User Lock -- GO AWAY
« Reply #10 on: December 23, 2001, 10:02:43 PM »
Reply with quote

OK -- any suggestions from the peanut gallery about this? If you point me in the right direction (as in, tell me which files to edit) I'll blow stuff up myself. It's a big deal for me -- maybe not anyone else. Right now, I can't even lock a topic myself -- which is better than the alternative.

I have a neurotic community -- in the past, they've asked me to delete topics because no one replied to them yet and they felt stupid for posting them. So really, user lock is not something I want to offer -- considering that it's already been misused twice in three days for that exact same reason.
Logged
Dave Smulders
YaBB SE Developer
YaBB God
*****
Posts: 608


WWW
Re:User Lock -- GO AWAY
« Reply #11 on: December 24, 2001, 03:14:40 AM »
Reply with quote

I think this is a better solution:

http://www.yabb.info/community/index.php?board=141;action=display;threadid=2927
Logged

Patty
Full Member
***
Posts: 249


Drat. I caught Darth Llama.

Re:User Lock -- GO AWAY
« Reply #12 on: December 24, 2001, 03:30:32 AM »
Reply with quote

I'd still personally want an "on/off" switch.  I think the solution described in the thread above is a bit too opaque -- at least for my group. My guys would want any thread that doesn't get replied to in 24 hours to be a candidate for closure.

But honestly -- anything that will prevent user locking would be appreciated.
Logged
Enc0der
Jr. Member
**
Posts: 90


I love YaBB SE!

WWW
Re:User Lock -- GO AWAY
« Reply #13 on: December 24, 2001, 05:40:35 PM »
Reply with quote

YEAH!

Change it so only the admins can lock the threads! ::)
Logged
jthorpe
Sr. Member
****
Posts: 331


WWW
Re:User Lock -- GO AWAY
« Reply #14 on: December 30, 2001, 04:11:19 AM »
Reply with quote

Hey what ever happened with this?  I haven't tested my board, but I am now.  I definately do not want users to be able to lock their own thread.
Logged
Pages: [1] 2 Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  User Lock -- GO AWAY « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.189 seconds with 20 queries.