Search found 2065 matches

by Joe Belmaati
Wed Feb 13, 2008 12:45 am
Forum: [2.0.x] MOD Database Releases
Topic: [01/12/06] Spam Words
Replies: 643
Views: 157406

Re: [01/12/06] Spam Words

where did you get this piece of code from? if ($userdata['user_spam_warnings'] = $spam_config['user_warnings'] && $spam_config['user_warnings'] != 0 && $userdata['user_level'] != ADMIN) it should be if ($userdata['user_spam_warnings'] > $spam_config['user_warnings'] && $spam_config['user_warnings'] ...
by Joe Belmaati
Sun Jan 27, 2008 9:17 pm
Forum: [2.0.x] MOD Database Releases
Topic: Change Poster
Replies: 79
Views: 14084

Re: Change Poster

Joe Belmaati wrote:It is unlikely that I will be updating this MOD for phpbb3.
by Joe Belmaati
Sun Jan 27, 2008 12:29 pm
Forum: [2.0.x] MOD Database Releases
Topic: Change Poster
Replies: 79
Views: 14084

Re: Change Poster

I haven't had the time to look into phpb3 code architecture nor will I anytime soon. It is unlikely that I will be updating this MOD for phpbb3.
by Joe Belmaati
Wed Dec 26, 2007 8:09 pm
Forum: [2.0.x] MOD Database Releases
Topic: [01/12/06] Spam Words
Replies: 643
Views: 157406

Re: [01/12/06] Spam Words

Great stuff! I'm sure a lot of people will be thrilled with the 3.0 version. Please check your PM in box. I replied to your PM of last week.
by Joe Belmaati
Sun Dec 09, 2007 6:10 pm
Forum: [2.0.x] MOD Database Releases
Topic: [01/12/06] Spam Words
Replies: 643
Views: 157406

Re: [01/12/06] Spam Words

That is correct. The function is called once for each array element, so 11 times I guess. So, essentially you're right, 11 queries...

I'm sure it could be rewritten to something more efficient. Maybe it was just a quick fix that I posted.
by Joe Belmaati
Thu Dec 06, 2007 7:39 pm
Forum: [2.0.x] MOD Database Releases
Topic: [01/12/06] Spam Words
Replies: 643
Views: 157406

Re: [01/12/06] Spam Words

OPEN rss.php

FIND

Code: Select all

                ORDER BY t.topic_last_post_id DESC
BEFORE, ADD

Code: Select all

                AND p.post_flagged <> " . TRUE . "
by Joe Belmaati
Thu Dec 06, 2007 7:14 pm
Forum: [2.0.x] MOD Database Releases
Topic: [01/12/06] Spam Words
Replies: 643
Views: 157406

Re: [01/12/06] Spam Words

Can't remember the exact code segment, but normally I would never write code that runs more than one query. Does the function spamcheck() run a query? Logic would be that the spamwords table is read once and the result shoved into an array. The idea is then to read the array, not run another query. ...
by Joe Belmaati
Wed Dec 05, 2007 5:48 pm
Forum: [2.0.x] MOD Database Releases
Topic: [01/12/06] Spam Words
Replies: 643
Views: 157406

Re: [01/12/06] Spam Words

Hi,
sure, that's possible. I think I posted a hack for one of the RSS mods a while back. Look back through the pages and you should find it. Anyhow it's just a matter of adding a clause to the query that fetches posts for the feed.
by Joe Belmaati
Wed Oct 31, 2007 8:09 pm
Forum: [2.0.x] MOD Database Releases
Topic: Change Poster
Replies: 79
Views: 14084

Re: Change Poster

Whoooops! Too fast there. Please change each instance (2) of

Code: Select all

$userdata['user_level'] == FOUNDER
to

Code: Select all

$userdata['user_id'] == FOUNDER
...apologies.... :oops:
by Joe Belmaati
Wed Oct 31, 2007 5:21 pm
Forum: [2.0.x] MOD Database Releases
Topic: Change Poster
Replies: 79
Views: 14084

Re: Change Poster

I do have the BBCode HTML MOD In that case OPEN viewtopic.php FIND $change_poster = ($userdata['user_level'] == ADMIN) ? '<a href="' . append_sid("changeposter.$phpEx?post_id=" . $postrow[$i]['post_id']) . '" class="gensmall"><img src="' . $images['icon_change_poster'] . '" alt="' . $lang['Change_p...
by Joe Belmaati
Wed Oct 31, 2007 11:42 am
Forum: [2.0.x] MOD Database Releases
Topic: Change Poster
Replies: 79
Views: 14084

Re: Change Poster

quahappy wrote:Is it possible so that only the founder of the board can have this option available (Change poster) to them, therefore not showing for all other Administrators?
Sure it is. Just got back from a vacation but will conjure up something for you soon.
by Joe Belmaati
Fri Oct 05, 2007 12:55 pm
Forum: [2.0.x] MOD Database Releases
Topic: [01/12/06] Spam Words
Replies: 643
Views: 157406

Re: [01/12/06] Spam Words

Hi, sorry about the silence. Unfortunately I will not be able to rewrite the MOD for phpBB 3.0 - There simply aren't enough hours in the day for me to get familiar with phpbBB3 core code. As for the log, lancevance probably means that the log page never gets around to loading, therefore he can't use...
by Joe Belmaati
Tue Sep 25, 2007 1:31 pm
Forum: [2.0.x] MOD Database Releases
Topic: Change Poster
Replies: 79
Views: 14084

Re: Change Poster

That image is so small that I can't see what's going on on the screen
by Joe Belmaati
Sat Sep 22, 2007 6:11 pm
Forum: [2.0.x] MOD Database Releases
Topic: Change Poster
Replies: 79
Views: 14084

Re: Change Poster

Can someone please help me..... I've added this mod and I'm getting this..... {L_SELECT_NEW_POSTER} {L_USERNAME} {L_MOVE_ALL} {L_AUTHOR} {L_SUBJECT}: {SUBJECT} {POSTER} {AVATAR} {MESSAGE} I think I've gone wrong somewhere... any ideas please? Kind regards, Wezzie Hi, that looks strange. Could you d...
by Joe Belmaati
Thu Sep 20, 2007 6:14 pm
Forum: [2.0.x] MOD Database Releases
Topic: [01/12/06] Spam Words
Replies: 643
Views: 157406

Re: [01/12/06] Spam Words

Post the entire line and I will correct it fo you.

Go to advanced search