Current time: 05-23-2012, 10:29 PM Hello There, Guest! (LoginRegister)


 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] Just noticed.....
08-08-2008, 05:20 AM (This post was last modified: 08-08-2008 05:20 AM by DalinS.)
Post: #1
[F] Just noticed.....
I have just come to notice that if your forum has the horizontal postbit as the default, the users can change it to vertical through the usercp but if your forum has vertical as the default your users cant change it to horizontal....whats up with that. Its not a rant or anything but i just wanted to know why.

I Heart Yumi and MrD.
Find all posts by this user
08-08-2008, 07:03 AM
Post: #2
RE: Just noticed.....
It looks like a bug to me... changing this code in /inc/class_session.php fixes the problem.

Find:
PHP Code:
if($mybb->user['classicpostbit'])
{
    
$mybb->settings['postlayout'] = 'classic';

Replace with:
PHP Code:
$mybb->settings['postlayout'] = ($mybb->user['classicpostbit']) ? 'classic' 'horizontal'

That will make the default setting only apply to guests. An alternative fix would be to give each user 3 options: Classic, Horizontal, or Use Default Undecided
Visit this user's website Find all posts by this user
08-09-2008, 05:07 PM
Post: #3
[F] Just noticed.....
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.
Visit this user's website Find all posts by this user
08-12-2008, 06:26 AM
Post: #4
RE: [F] Just noticed.....
nice dude Big Grin
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