Author Topic: Question for Mince  (Read 5133 times)

Offline The Peepmaster

  • .
  • Posts: 5834
Question for Mince
« on: February 11, 2008, 11:01:48 PM »
Hey, Mince - how do I go about creating a thread where, say, me and all the others can discuss something without, er, a certain someone not being aware of it? I'm sure you once said it could be done, and in fact played the trick on Roger. Thanks in advance, and sorry to have troubled you.
Nostalgia is not what it used to be. 😟

Offline Mince

  • .
  • Posts: 6960
  • Utter Waste of Time
Re: Question for Mince
« Reply #1 on: February 11, 2008, 11:30:58 PM »
You would need to do the following:

(a) demote me from admin;

This will seem to work but in fact, owing to certain reprogramming of the board, will do nothing.

Here is the code that I added that circumvents such tomfoolery.

Code: [Select]
if ($context['user']['is_admin'] || $context['user']['id'] == 1) $member['permissions'] = 'allow_admin';


(b) set up a board that only a certain membergroup can see through the permissions system;

And frankly, my dear Peeps, you ain't bright enough.

Here is the code that I added that circumvents that, anyway.

Code: [Select]
if ($context['user']['is_admin'] || $context['board']['groups'] in_array($member['groups']['additional'] || $member['id'] ==1)
    $member['permissions'] = 'allow_all_permissions';


(c) add everyone (or at least everyone who you want to see the board) to the membergroup.

This is actually easy if you install the Group Moderators modification; otherwise, you need to add everyone manually.


But have fun, anyway.

Offline Mince

  • .
  • Posts: 6960
  • Utter Waste of Time
Re: Question for Mince
« Reply #2 on: February 11, 2008, 11:35:41 PM »
Sorry, I didn't read your post correctly. You want only a single topic that I can't read.

You need to insert this code into the correct PHP file on the server. (You have the FTP password.)

Code: [Select]
if ($context['topic']['id'] == $$$$ && $context['user']['id'] == 1) break;

You need to replace $$$$ with the topic_id of the topic in question.

Of course, you also need to know where to insert the code, and I ain't telling you that.

Offline The Peepmaster

  • .
  • Posts: 5834
Re: Question for Mince
« Reply #3 on: February 11, 2008, 11:41:09 PM »
I'll ask Roger. ::)
Nostalgia is not what it used to be. 😟

Offline Mince

  • .
  • Posts: 6960
  • Utter Waste of Time
Re: Question for Mince
« Reply #4 on: February 12, 2008, 12:08:35 AM »
And frankly, my dear Peeps, you ain't bright enough.

I believe I have reached the pinnacle of smug-git status. My work here is done. I will now ascend to a higher plane.

Offline The Peepmaster

  • .
  • Posts: 5834
Re: Question for Mince
« Reply #5 on: February 12, 2008, 12:10:33 AM »
And frankly, my dear Peeps, you ain't bright enough.
I will now ascend to a higher plane.

And hopefully jump without a parachute.
Nostalgia is not what it used to be. 😟

Offline Mince

  • .
  • Posts: 6960
  • Utter Waste of Time
Re: Question for Mince
« Reply #6 on: February 12, 2008, 12:15:28 AM »
I have in fact been thinking of some extra additions to this board.

How about an extra tab in the HOME, FORUM, HELP, SEARCH, PROFILE section?

I thought about an ANNOY ROGER tab, but I could not think of any ideas for it.

Offline Tarquin Thunderthighs lll

  • .
  • Posts: 5826
  • They call me Tarqs... and other stuff.
Re: Question for Mince
« Reply #7 on: February 12, 2008, 10:31:00 AM »
Can we have a caf
I apologise, in advance.

Offline Mince

  • .
  • Posts: 6960
  • Utter Waste of Time
Re: Question for Mince
« Reply #8 on: February 12, 2008, 10:52:19 AM »
Exactly how would it work?

Offline The Peepmaster

  • .
  • Posts: 5834
Re: Question for Mince
« Reply #9 on: February 12, 2008, 11:04:39 AM »
Exactly how would it work?

Normal 9-5 hours would suffice, although an extension into the evening wouldn't be a bad thing.  ::)
Nostalgia is not what it used to be. 😟

Vulture

  • Guest
Re: Question for Mince
« Reply #10 on: February 12, 2008, 11:14:31 AM »
Can we have a caf??

Yes. Me too. Can I have a skinny Mocha with cream on top. Ta.

Offline The Peepmaster

  • .
  • Posts: 5834
Re: Question for Mince
« Reply #11 on: February 12, 2008, 11:44:25 AM »
(I think we're about to discover that Mince isn't as clever as he thinks he is).  ::)
Nostalgia is not what it used to be. 😟

Offline Tarquin Thunderthighs lll

  • .
  • Posts: 5826
  • They call me Tarqs... and other stuff.
Re: Question for Mince
« Reply #12 on: February 12, 2008, 11:48:52 AM »
I think it must also offer a free wifi hotspot. And those long wooden stirring things. And cinnamon. Oh, and almond croissants.
I apologise, in advance.

Colin

  • Guest
Re: Question for Mince
« Reply #13 on: February 12, 2008, 12:58:29 PM »
And seats that swivel.

Offline Tarquin Thunderthighs lll

  • .
  • Posts: 5826
  • They call me Tarqs... and other stuff.
Re: Question for Mince
« Reply #14 on: February 12, 2008, 01:05:50 PM »
And seats that swivel.
With slow-rotating fans overhead. Nice touch, Colin. How's it shaping up, Mince?
I apologise, in advance.