[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!
Suggested Hosts
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 »

nah would be to much work for me,sorry.
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 »

The mod, in its current form, is stable? If so I'll have at it - don't want to invest time into this and then have the base rewritten...

I'll release my findings, of course! :ugeek:
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 »

yes its stable
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
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 »

updated first post.
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:updated first post.
What is new?
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.3

Post by Mickroz »

nothing is new, i just updated the installation file according to the 3.0.4 files.
no updating required ;)
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.
NguyTieuNhan
Registered User
Posts: 96
Joined: Fri Nov 21, 2008 12:31 am

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

Post by NguyTieuNhan »

I want to use this mod in topic title and show on index, can u help me? :D
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.3

Post by Mickroz »

sure, for topic titles try this:
open viewforum.php
find:

Code: Select all

		// Send vars to template
		$template->assign_block_vars('topicrow', array(
before 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['topic_poster'], $row['topic_first_poster_name'], $row['topic_first_poster_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>',
		);

		$row['topic_title'] = str_replace($find, $replace, $row['topic_title']); 
where do you want to show it on index?
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.
NguyTieuNhan
Registered User
Posts: 96
Joined: Fri Nov 21, 2008 12:31 am

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

Post by NguyTieuNhan »

Mickroz wrote: where do you want to show it on index?
I want to show in topic title on index.
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.3

Post by Mickroz »

should be the same edits.
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.
NguyTieuNhan
Registered User
Posts: 96
Joined: Fri Nov 21, 2008 12:31 am

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

Post by NguyTieuNhan »

not work on index.php and topic title in viewtopic.php, plz help me.
Thanks
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.3

Post by Mickroz »

topic title in viewtopic:
open viewtopic.php
find:

Code: Select all

// Send vars to template
$template->assign_vars(array(
	'FORUM_ID' 		=> $forum_id,
before 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['username'], $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>',
);

$topic_data['topic_title'] = str_replace($find, $replace, $topic_data['topic_title']);
if you want it to show in the RE: part find:

Code: Select all

$message = str_replace($find, $replace, $message);
after add:

Code: Select all

$row['post_subject'] = str_replace($find, $replace, $row['post_subject']);
as for the index, i can't test it,so if it still doesn't show, let me know.
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.
Widmo696
Registered User
Posts: 57
Joined: Wed Nov 18, 2009 12:14 am

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

Post by Widmo696 »

Can anyone send this mod once again? Because link is dead :P
Forgive me my English.
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.3

Post by Mickroz »

sorry, forgot to update the links, will do asap!
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.
saharanss
Registered User
Posts: 16
Joined: Wed Aug 31, 2011 9:55 am

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

Post by saharanss »

:(
This mod is not working well. Not compatible with lots of mod
1. mod chat
2. Nv recent topic
subject title can not be used
signature does not work
top5 mod does not work
there are so many things to fix
hope this mod will be released because this is a very basic mod v
sorry I used google translate
Locked

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