?
1 2006-06-09 00:23
Topic: how do i disallow ascii chars? (1 replies, posted in PunBB 1.2 troubleshooting)
4 2006-06-08 01:29
Re: How to forbid certain characters from being in subject title & body? (3 replies, posted in PunBB 1.2 troubleshooting)
bump
5 2006-06-07 17:33
Re: How do I remove the "Online" "Offline" text under usernames? (1 replies, posted in PunBB 1.2 troubleshooting)
N/M figured it out.
6 2006-06-07 16:28
Topic: How do I remove the "Online" "Offline" text under usernames? (1 replies, posted in PunBB 1.2 troubleshooting)
I don't want anyone to know who is online, and who is offline. I've already disabled it on the index page, but it still shows under their usernames in threads.
How do I remove that?
TIA
7 2006-06-05 05:17
Topic: punBB and IE7 (1 replies, posted in PunBB 1.2 discussion)
Don't know if this issue is being addressed in the 1.3 release, but punBB when using IE7 is very skewed.
8 2006-06-03 01:19
Re: How can I limit the amount of emoticons(smilies) that can be posted in (32 replies, posted in PunBB 1.2 troubleshooting)
Awesome! Thank you SO much for taking the time to help me!
9 2006-06-03 01:09
Topic: How to forbid certain characters from being in subject title & body? (3 replies, posted in PunBB 1.2 troubleshooting)
I get spammed a lot with a ? character, and want it to not allow posting if that character is in either the subject title, or body
TIA
10 2006-06-03 01:07
Re: How can I limit the amount of emoticons(smilies) that can be posted in (32 replies, posted in PunBB 1.2 troubleshooting)
Hm. Nope. Same thing.
11 2006-06-03 00:47
Re: How can I limit the amount of emoticons(smilies) that can be posted in (32 replies, posted in PunBB 1.2 troubleshooting)
You added the function in the correct place (at the end of parser.php, outside of anything else)?
You added the edits to post.php and edit.php in the right place?What version of PHP are you using?
Yep, everything added in correct locations.
I'm running 4.4.2
12 2006-06-03 00:18
Re: How can I limit the amount of emoticons(smilies) that can be posted in (32 replies, posted in PunBB 1.2 troubleshooting)
viperjosh wrote:Smartys wrote:Can you email me a copy of your parser.php (smartys@gmail.com)
on its way
The copy you sent me doesn't have the new function in it
Yeah, I took it out after the code wasn't working - remember it was giving the error if you tried to use a registered username
13 2006-06-03 00:07
Re: How can I limit the amount of emoticons(smilies) that can be posted in (32 replies, posted in PunBB 1.2 troubleshooting)
Can you email me a copy of your parser.php (smartys@gmail.com)
on its way
14 2006-06-02 23:57
Re: How can I limit the amount of emoticons(smilies) that can be posted in (32 replies, posted in PunBB 1.2 troubleshooting)
Nope. Re entering the code did nothing. Also, I did see that error when trying to use a registered username, this was after entering your code.
15 2006-06-02 23:52
Re: How can I limit the amount of emoticons(smilies) that can be posted in (32 replies, posted in PunBB 1.2 troubleshooting)
Hmm.. I restored the code back to original. I'll try to re-enter it and see what happens.
16 2006-06-02 23:46
Re: How can I limit the amount of emoticons(smilies) that can be posted in (32 replies, posted in PunBB 1.2 troubleshooting)
I'm getting a bunch of errors like this
Warning: Wrong parameter count for preg_replace() in /home/.ester/million1/ffc.fcstuff.com/include/parser.php on line 922
Hm. I didn't get those when I tested...
17 2006-06-02 23:43
Re: How can I limit the amount of emoticons(smilies) that can be posted in (32 replies, posted in PunBB 1.2 troubleshooting)
18 2006-06-02 23:38
Re: How can I limit the amount of emoticons(smilies) that can be posted in (32 replies, posted in PunBB 1.2 troubleshooting)
And when you try and post more than 5 smilies it allows it?
Yes
19 2006-06-02 23:30
Re: How can I limit the amount of emoticons(smilies) that can be posted in (32 replies, posted in PunBB 1.2 troubleshooting)
Smartys,
I appreciate your help, but I can't figure out why it isn't working for me! I'm doing it exactly as you say...
20 2006-06-02 23:09
Re: How can I limit the amount of emoticons(smilies) that can be posted in (32 replies, posted in PunBB 1.2 troubleshooting)
Smartys,
WOW, thanks for the quick reply.
However, that still isn't doing anything.
21 2006-06-02 22:27
Re: How can I limit the amount of emoticons(smilies) that can be posted in (32 replies, posted in PunBB 1.2 troubleshooting)
Oh, whoops, I know why
Yeah, it's not a simple thing to do that
I guess the easiest way would be to write a new function (or mod do_smilies) to tell you how many smilies are in a post and use that knowledge in post.php and edit.php to reject posts that are over
I hate to ask, but i'm not really good enough in php to be able to do that. If you (or anyone else) has some free time, maybe helping me out with creating that code?
TIA!
22 2006-06-02 22:25
Re: How do you get rid of the "Redirecting" part when you submit a post? (2 replies, posted in PunBB 1.2 troubleshooting)
Oh, duh.
Thanks!
23 2006-06-02 21:28
Topic: How do you get rid of the "Redirecting" part when you submit a post? (2 replies, posted in PunBB 1.2 troubleshooting)
I just want it to redirect without the whole loading page.
TIA
24 2006-06-02 02:22
Re: How can I limit the amount of emoticons(smilies) that can be posted in (32 replies, posted in PunBB 1.2 troubleshooting)
I'd try
FIND$num_smilies = count($smiley_text);
AFTER, ADD
if ($num_smilies > 5) $num_smilies = 5;
That didn't quite do it. I was messing around with it a bit and couldn't get it.
Anyone got any ideas? :confused:
25 2006-06-01 23:15
Topic: How can I disallow certain characters from being registered? (1 replies, posted in PunBB 1.2 troubleshooting)
(preg_match('#\[b\]|\[/b\]|\[u\]|\[/u\]|\[i\]|\[/i\]|\[color|\[/color\]|\[quote\]|\[quote=|\[/quote\]|\[code\]|\[/code\]|\[img\]|\[/img\]|\[url|\[/url\]|\[email|\[/email\]#i', $username))
How do I edit that line to include both "." and "%"
I don't want to allow dots and percentage signs to be allowed in usernames.
thanks