Beau Peep Notice Board

Beau Peep Notice Board => Outpourings => Topic started by: The Peepmaster on February 11, 2008, 11:01:48 PM

Title: Question for Mince
Post by: The Peepmaster 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.
Title: Re: Question for Mince
Post by: Mince 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.
Title: Re: Question for Mince
Post by: Mince 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.
Title: Re: Question for Mince
Post by: The Peepmaster on February 11, 2008, 11:41:09 PM
I'll ask Roger. ::)
Title: Re: Question for Mince
Post by: Mince 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.
Title: Re: Question for Mince
Post by: The Peepmaster 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.
Title: Re: Question for Mince
Post by: Mince 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.
Title: Re: Question for Mince
Post by: Tarquin Thunderthighs lll on February 12, 2008, 10:31:00 AM
Can we have a caf
Title: Re: Question for Mince
Post by: Mince on February 12, 2008, 10:52:19 AM
Exactly how would it work?
Title: Re: Question for Mince
Post by: The Peepmaster 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.  ::)
Title: Re: Question for Mince
Post by: Vulture 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.
Title: Re: Question for Mince
Post by: The Peepmaster 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).  ::)
Title: Re: Question for Mince
Post by: Tarquin Thunderthighs lll 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.
Title: Re: Question for Mince
Post by: Colin on February 12, 2008, 12:58:29 PM
And seats that swivel.
Title: Re: Question for Mince
Post by: Tarquin Thunderthighs lll 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?
Title: Re: Question for Mince
Post by: The Peepmaster on February 12, 2008, 01:16:25 PM
Can we have a juke box? Like a nostalgic Wurlitzer kind of thing?
Title: Re: Question for Mince
Post by: Tarquin Thunderthighs lll on February 12, 2008, 01:22:19 PM
Oh, yes. And can you make sure 'Summer (The First Time)' by Bobby Goldsboro is on it?
Title: Re: Question for Mince
Post by: Mince on February 12, 2008, 03:34:55 PM
I'll see what I can do.
Title: Re: Question for Mince
Post by: Tarquin Thunderthighs lll on February 12, 2008, 04:42:30 PM
Great! I'm dying of thirst here.
Title: Re: Question for Mince
Post by: Roger Kettle on February 12, 2008, 06:24:29 PM
Can I be Fonzie?
Title: Re: Question for Mince
Post by: Tarquin Thunderthighs lll on February 12, 2008, 07:41:19 PM
Large cappuccino, please!



http://www.youtube.com/v/mYHEBa6Xx48&rel=1
Title: Re: Question for Mince
Post by: The Peepmaster on February 12, 2008, 07:54:08 PM
Mince has gone very quiet. I have an eerie mental image of him beavering away in his cyber workshop knocking up a caf? for us.
Title: Re: Question for Mince
Post by: Mince on February 12, 2008, 09:45:03 PM
It's nearly past the wishful thinking stage.