Current time: 05-24-2012, 03:18 PM Hello There, Guest! (LoginRegister)


 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] Reputation Limit and bbcodes in rep [R]
10-26-2008, 03:54 AM (This post was last modified: 10-27-2008 11:43 PM by Dennis Tsang.)
Post: #1
[F] Reputation Limit and bbcodes in rep [R]
This user has been denied support. This user has been denied support.
There doesn't seem to be a character limit for reputations. Is it set the same as post character limit. People have started to use bbcode in reputations too..is that suppose to happen?

So...not sure if you want to count this as an official but I hope you do. People could use reps to spam.

EDIT: Found out that people are getting around a character limit. Shouldn't the database just hard code the character limit? If it's set to text but why not varchar(255)?

EDIT 2: Here is text from the exploiters:

Quote:how do you get over the character limit
Nyx- says (8:55 PM):
for reps
Jesse says (8:56 PM):
Tamperdata
Jesse says (8:57 PM):
Set up your rep to be + or -... Start Tamper data... Edit the rep
Nyx- says (8:58 PM):
ohtite
Nyx- says (8:58 PM):
kk
Jesse says (8:58 PM):
Set up your rep to be + or -... Start Tamper data... Submit..... Edit the rep

(that Jesse is not me)

New MyBB plugin is "My Awards 2.0".
[Image: 468x60_SF.gif]
Visit this user's website Find all posts by this user
10-26-2008, 12:07 PM
Post: #2
RE: Reputation Limit and bbcodes in rep
Unfortunately, I'm going to probably say that this is a limitation. For one, there's no option in the AdminCP to specify limits for reputation comments (there's a hard coded minimum length however).

(10-26-2008 03:54 AM)labrocca Wrote:  EDIT: Found out that people are getting around a character limit. Shouldn't the database just hard code the character limit? If it's set to text but why not varchar(255)?
Because that restricts lengths to 255 characters. You could alter your table to be VARCHAR(255) to impose a limit (it should work fine).


As for bbCode, the parsing code couldn't have been added in by mistake, so that's intentional.
Visit this user's website Find all posts by this user
10-26-2008, 07:01 PM
Post: #3
RE: Reputation Limit and bbcodes in rep
This user has been denied support. This user has been denied support.
Quote:Because that restricts lengths to 255 characters. You could alter your table to be VARCHAR(255) to impose a limit (it should work fine).

Yes that's what I did.

Quote:As for bbCode, the parsing code couldn't have been added in by mistake, so that's intentional.

Hmm...mistake or intentional it should be considered for removal. There isn't a need for bbcode in reps. Someone can even use basic tags like img tag to screw up the reps page.

New MyBB plugin is "My Awards 2.0".
[Image: 468x60_SF.gif]
Visit this user's website Find all posts by this user
10-30-2008, 01:55 AM (This post was last modified: 10-30-2008 01:57 AM by Ryan Gordon.)
Post: #4
RE: Reputation Limit and bbcodes in rep [R]
Fixed the BBcode. in reputation.php find:

PHP Code:
$reputation_parser = array(
            
"allow_html" => "no",
            
"allow_mycode" => "no",
            
"allow_smilies" => "yes",
            
"allow_imgcode" => "no"
        
); 

replace with

PHP Code:
$reputation_parser = array(
            
"allow_html" => 0,
            
"allow_mycode" => 0,
            
"allow_smilies" => 1,
            
"allow_imgcode" => 0
        
); 
Visit this user's website Find all posts by this user
11-02-2008, 04:35 PM
Post: #5
RE: Reputation Limit and bbcodes in rep [R]
I've added a character limit for it to 1.6, since it's not ideal to be adding settings during a maintenance release.

Ryan
Visit this user's website Find all posts by this user
11-02-2008, 04:35 PM
Post: #6
[F] Reputation Limit and bbcodes in rep [R]
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

With regards,
MyBB Group
Visit this user's website Find all posts by this user


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication