A Tutorial To Fix A Few Problems You May Get With MyBB

0 Replies, 581 Views

1. Remove Date User Joined In Post

Go to

Admin CP -> Templates & Styles -> "Your Theme" -> Post Bit Templates -> Postbit_author_user

Remove {$lang->postbit_joined} and save.


2. Disable A Attachment Type

Go to

Admin CP -> Configurations -> Attachment Types

Now you can remove / add new attachment types.


3. Disable All Plugins At Once

Go to

Admin CP -> Configurations -> General Configurations

and now go down until you see "Disable All Plugins" and click "Yes" and save.


4. Configure Search Friendly URLs

Go to

Admin CP -> Configurations -> Server and Optimization Options

Then change "Enable search engine friendly URLs?" to "Enable" Once this setting is enabled you need to make sure you have the MyBB .htaccess in your MyBB root directory (or the equivalent for your web server). Automatic detection may not work on all servers. Please see the MyBB Docs for assistance.


5. Database Error
"MyBB has experienced an internal SQL error and cannot continue.
SQL Error:1045 - Access denied for user [email=foo_mybb'@'localhost]'foo_mybb'@'localhost'[/email] (using password: YES)Query:[READ] Unable to connect to MySQL server
Please contact the MyBB Group for technical support."

To fix

~/inc/config.php file consists of database configuration settings. 
your forum's database password needs to be changed in it.
PHP Code:
~/inc/config.php file consists of database configuration settings. 
 your forum's database password needs to be changed in it. 

more details : config.php


6. Make Portal As Home Page

simple method is to use directory index rule in .htaccess file (assuming that server is Apache)
PHP Code:
DirectoryIndex portal.php index.php index.html index.htm 



7. Change The Text on MyBB landing/Login Page

The content is from header_welcomeblock_guest template of the theme.

[templates guidance]


8. Changing The Database Name

You can change database name & its related configuration in ~/inc/config.php file 

see more details => config.php file


9. Can't Login

Open ~/inc/settings.php file & remove / at the end of cookie domain value
then you should be able to login to forum admin panel 
& again remove trailing slash used for cookie domain at Site Details page of Configuration section.


10. Error 44

Error Type: MyBB Error (44)


Error Message: MyBB was unable to load the SQL extension.  

Information: This can occur when the database type is incorrect in inc/config.php file. 

To fix this, open inc/config.php file and check the entry for $config['database']['type'].
A common issue is having mysql instead of mysqli, or having mysqli instead of mysql. 

If you do not know what needs to be here, contact your host provider.


11. Logout A Banned User

In general, forum content is not visible to the banned users & they get banned message for all pages. 


If banned user is logged out then gets guest status & access to forum content unless you have set forced login


12. Change Default Forum avatar

Go to 
Code:
root/images/default_avatar.png


path and add the image you want.

13. Change Max Avatar Size
Go to Admin CP > Configuration > Settings > Show Thread Options > Maximum Avatar Dimensions in Posts.


Go to Admin CP > Configuration > Settings > User Registration and Profile Options > Maximum Avatar Dimensions.

Go to Admin CP > Configuration > Settings > Member List > Maximum Display Avatar Dimensions.

Change all of them to 26x26, unless you want it configured differently.


14. Attachment In Post Larger

forum admin panel >> Configuration (Settings) >> Attachments 
>> Show Attached Thumbnails in Posts >> select full size image & save the settings


15. Remove Date & Time From Post


You can remove {$lastpost_date} from templates => forumbit_depth1_forum_lastpost &  forumbit_depth2_forum_lastpost 


Also you can remove {$lastpostdate} from templates => forumdisplay_thread , search_results_threads_thread , portal_latestthreads_thread ...


16. Edit Post Templates

admin panel >> Templates & Style >> Templates >> [your theme templates] >> 

Edit Post Templates >> editpost_delete



17. Edit Menu Bar

Go to Admin CP -> Templates & Styles -> Templates -> 'Your Theme' -> Header Templates -> header and edit that file


18. Get Rid of Thread Passwords

It is set in the forum settings in forum management section of admin panel. 

you have to edit that forum & remove the password.
[Image: Vu4Z2r4.gif] 


(This post was last modified: 12-12-2021, 03:02 PM by Alioxa.)

Possibly Related Threads…
Thread Author Replies Views Last Post
  HOW TO HACK GMAIL [ FULL TUTORIAL LEAKED ] Astra 35 1,468 04-04-2024, 07:07 AM
Last Post: Justthreer
  BITCOIN CARDING TUTORIAL Astra 8 403 06-28-2023, 12:29 AM
Last Post: ASDasdASDAsdD
  How to refund [Mentorship] - Tutorial Alioxa 0 60 12-22-2022, 04:31 PM
Last Post: Alioxa



Users browsing this thread: 1 Guest(s)