[MODDB] me and you and we and us Filter 1.0.4b

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Scam Warning
User avatar
DeViAnThans3
Registered User
Posts: 877
Joined: Sat Oct 08, 2005 10:39 pm
Location: Belgium

Re: [RC1] me and you and we and us Filter 1.0.2

Post by DeViAnThans3 »

Looks like a simple, but funny MOD!
Thanks a lot :)
I only provide support via the appropriate topics! Please no PM or mails! :)
My MODs :: [BETA] Facebook Connect
saaiberke
Registered User
Posts: 1126
Joined: Wed Jul 20, 2005 8:13 am
Location: Gent/Belgium
Contact:

Re: [RC1] me and you and we and us Filter 1.0.2

Post by saaiberke »

Hello Mickroz,

I get these php notices after installing your mod:

Code: Select all

[29-Mar-2008  20:13:53] [phpBB Debug] [client 84.196.131.140] [File ucp.php?i=pm&mode=view&f=0&p=2163&_f_=0x] PHP Notice: in file /var/www/html/forum/includes/ucp/ucp_pm_viewmessage.php on line 78 : Undefined variable:  row
Line 78 =

Code: Select all

$my_username = get_username_string('full', $row['user_id'], $row['username'], $row['user_colour']);
Do you have any idea what goes wrong?

Grtz,

Nic
User avatar
Mickroz
Registered User
Posts: 661
Joined: Thu Mar 06, 2003 11:20 pm
Location: Netherlands
Contact:

Re: [RC1] me and you and we and us Filter 1.0.2

Post by Mickroz »

replace:

Code: Select all

$my_username = get_username_string('full', $row['user_id'], $row['username'], $row['user_colour']);
with:

Code: Select all

$my_username = get_username_string('full', $message_row['user_id'], $message_row['username'], $message_row['user_colour']);
I don't need to "get a life." I'm a Gamer, I have lots of lives!
Q: Whats a hash and a root password?
A: hash gets you high, root password gives you god powers, combine the 2 and you are invincible.
saaiberke
Registered User
Posts: 1126
Joined: Wed Jul 20, 2005 8:13 am
Location: Gent/Belgium
Contact:

Re: [RC1] me and you and we and us Filter 1.0.2

Post by saaiberke »

Okido, thank you!

Nic
Bogey
Registered User
Posts: 419
Joined: Wed Sep 19, 2007 2:31 am

Re: [RC1] me and you and we and us Filter 1.0.2

Post by Bogey »

Before I do this let me asks this so I won't ruin my board and than try to undo it :lol:

Will this work for phpBB Version 3.0.2?

This is what sucks for up-to-date forums... most mods are for older forums :lol:
borninblood
Registered User
Posts: 123
Joined: Wed May 18, 2005 11:10 am
Location: Belfast

Re: [RC1] me and you and we and us Filter 1.0.2

Post by borninblood »

Fantastic mod, exactly what I was looking for!

Is there a way to easily add this feature to viewforum? So you could make a topic like...

ATTN:[you]

Oh the fun that could be had!

I had a look in viewforum.php but had no joy!
borninblood
Registered User
Posts: 123
Joined: Wed May 18, 2005 11:10 am
Location: Belfast

Re: [RC1] me and you and we and us Filter 1.0.2

Post by borninblood »

Bogey wrote:Before I do this let me asks this so I won't ruin my board and than try to undo it :lol:

Will this work for phpBB Version 3.0.2?

This is what sucks for up-to-date forums... most mods are for older forums :lol:
It worked for me on 3.0.2!
borninblood
Registered User
Posts: 123
Joined: Wed May 18, 2005 11:10 am
Location: Belfast

Re: [RC1] me and you and we and us Filter 1.0.2

Post by borninblood »

If anyone wants this to work for signatures as well...

In viewtopic.php

find

Code: Select all

$user_sig = $row['user_sig'];
after add

Code: Select all

	$your_username = get_username_string('full', $user->data['user_id'], $user->data['username'], $user->data['user_colour'], $user->lang['GUEST']);
				$my_username = get_username_string('full', $row['user_id'], $row['username'], $row['user_colour']);
				$find = array('[we]', '[me]', '[you]', '[us]');
				$replace = array(
				"$your_username and $my_username",
				$my_username,
				$your_username,
				'<span style="color: red;">' . $config['sitename'] . '</span>',
				);

				$user_sig = str_replace($find, $replace, $user_sig);
User avatar
MartectX
Translator
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: [RC1] me and you and we and us Filter 1.0.2

Post by MartectX »

So... is this due for release?
User avatar
Mickroz
Registered User
Posts: 661
Joined: Thu Mar 06, 2003 11:20 pm
Location: Netherlands
Contact:

Re: [RC1] me and you and we and us Filter 1.0.2

Post by Mickroz »

im not sure if i will add this to the mods db.
I don't need to "get a life." I'm a Gamer, I have lots of lives!
Q: Whats a hash and a root password?
A: hash gets you high, root password gives you god powers, combine the 2 and you are invincible.
User avatar
MartectX
Translator
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: [RC1] me and you and we and us Filter 1.0.2

Post by MartectX »

Mickroz wrote:im not sure if i will add this to the mods db.
That was not my question (it's your choice after all) - but when will you definitely release v1.0.x?
User avatar
Mickroz
Registered User
Posts: 661
Joined: Thu Mar 06, 2003 11:20 pm
Location: Netherlands
Contact:

Re: [RC1] me and you and we and us Filter 1.0.2

Post by Mickroz »

owh lol didn't understand it, at the moment im very busy with a site, but when i got some more time i will update my mods,most will be released as final.
I don't need to "get a life." I'm a Gamer, I have lots of lives!
Q: Whats a hash and a root password?
A: hash gets you high, root password gives you god powers, combine the 2 and you are invincible.
User avatar
MartectX
Translator
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: [RC1] me and you and we and us Filter 1.0.2

Post by MartectX »

I have a request: It would be great if the BBCodes got replaced by their respective displayed word when one quotes a post.

Example: I quote your post in which you used the [you][/you] code and in my post there's MartectX to be read (not the BBCode).

I could imagine having great fun with that on next year's April 1st... :lol:
User avatar
Mickroz
Registered User
Posts: 661
Joined: Thu Mar 06, 2003 11:20 pm
Location: Netherlands
Contact:

Re: [RC1] me and you and we and us Filter 1.0.2

Post by Mickroz »

im not quite sure i understand you,so if i use this:

hey [you] how are you?

and you quote my text it should say in your quote:

hey MartectX how are you?

so if i would read your quoted text it should still say:

hey MartectX how are you? instead of hey Mickroz how are you?

am i right on this?
I don't need to "get a life." I'm a Gamer, I have lots of lives!
Q: Whats a hash and a root password?
A: hash gets you high, root password gives you god powers, combine the 2 and you are invincible.
User avatar
MartectX
Translator
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: [RC1] me and you and we and us Filter 1.0.2

Post by MartectX »

Exactly!! :)
Locked

Return to “[3.0.x] MODs in Development”