Quantcast
Channel: MyBB Community Forums - General Support
Viewing all 14598 articles
Browse latest View live

Fast Server How to

$
0
0
Hi i know already about vps dedicated etc ..

but I want to know in the mybb admin panel / Configuration / board settings

What i need to Use like in the server and optimization

Send no cache header ? I set to yess or not example ?

i dont understand how i can prevent user to reload the page Every time if is already loaded .. i think is with the cache ? can is cause problems ?


and i see Cdn how is working is Secure or not ? i mean For be hacked by an hacker ?

Is possible to not pay anything and use that function ?

or Can i Use A computer at home To use that function like with ( 20 Mbis upload speed ) and 100 mbits download speed ?

a board like + 5000 user example

what is the options the Dedicated server will be 1 gbs Undeterred ..

how we can have that function when we reply

$
0
0
hi i like that function here english is not my mother tong but this is why if the function already exist i dont know is where ... when we post here some message Is add in 1 Thread (1 post) I dont know how to explain but probably You understand what i mean ... if an user make multiple reply is only made 1 post (1 thread) ...

"This site can't be reached"

$
0
0
I'm trying to import a theme on a new install of MyBB version 1.8.23 and when I press the Import Theme Button it is taking me to a page that says This Site Can't Be Reached (See Screenshot).

I've tried importing it from a local file as well as via URL, I have Ignore Version Compatibility Checked.

No idea what's happening, any thoughts/ suggestions? My network is fine, I've disabled any firewalls etc which could be preventing it and still can't get passed this.



.png   forumerror.png (Size: 18.09 KB / Downloads: 0)

Need help to made Backups and Export 2rd Thread!

$
0
0
Hi , is my second Thread in the good place and Better Explained Because is important For me to Completed the Backups and Export If anyone Can help me ..

I use ubuntu 18.04
Nginx
mysql (mariadb)


I have in my First Computer The Project Fully Fonctional in

/var/www/Forum

is possible for me to have a Backups from the admin menu.

After i Want to move in another computer With the same Operating System.

but Is same To Not Working when i try to connect to the url after is write
sql error upgrade your board or i have a white page is refresh and refresh .. I have fallow the Guide i think correctly to Change in the config file the Correct prefix ,database, username etc ..


i have try in the second computer with the backups file to made an Upgrade but is ask for me to login and is Write invalid (login information) i am Sure to 999 % i dont made error ..

and certain time is just refresh the page without error and nothing is arrived is dont lets me made a new install and replace the file too Is bug at 50 % of the install With nothing loading to the next step.. i have just try to see what is the problem .. but i have the backups of my first computer and i Want to know how to export and import..

-------------------------------------------------------------------------------


Any one Can made A tutorial For install and Use phpmyadmin ?

I am wrong or not is the better way ? if in my first computer i made backups from the admin menu of my sql database and from /var/www/forum the folder ... in my first computer i dont have phpmyadmin.

i have transfer all in my second computer After I can use phpmyadmin

with Nginx + php+mysql like in the first computer .. ?

I find A fully tutorial to understand How to export / Import ..

? if i import in my second computer i click on




From here, select “Import” from the top menu. You will be presented with a page like this:


Select “Choose File”, browse to your backup, and click “Open” on the Windows Prompt.

Generally, the settings on this page can be left as is, but you may alter where appropriate.

Click “Go”. If successful, a message saying so will be presented as well as your tables in the side-menu on the left.


I dont know how to Setup phpmyadmin / install and

if i made this After i made What ? i just put the folder of my Forum in /var/www and I go in the forum config file Change the hostname / password/ prefix etc ? for the second Computer ?

does i need to use the information of phpmyadmin

or Mysql Does i need to Create a Database of mysql ?

How i do this

all help will Be appreciated I have Work a Lot On personalized the forum and I dont wanna loose all..


do you think the problem is because in my first computer the Project i have already a link url and is not the same when i want to connect
because is already enter in site details http://myexample.com/forum

? but is not explained Why i cannot connect to the admin panel login ..
i have a mysql error .. or is refresh to infinite..


and in the forum config file

i need to enter what like i ask because

is write for the moment

mysql

username

password

prefix

etc does i need to change

mysql for another ?

password and username and prefix ?

i have think to an idea .. i am wrong or not but ? in my first computer is possible to copy the mysql folder / nginx / forum folder with file inside and go in the second computer after a fresh install of nginx /mariadb mysql / etc ..
and replace the folder ? does is working ?

if you understand my idea Is not a problems for me to copy and past the Complete Folder...

if anyone have a Better solution Without phpmyadmin and only With What i use / nginx / mysql mariadb /php etc .. if any know how to Export and import proprely if you can made a full tutorial

and for information I made A backups for the moment and export to a usb drive to my second computer during my test

the copy i made like that

sudo cp -r /var/www/forum /the_patch_to-the-USB

cp -r = Copy the folder maybe i dont copy correctly with the permisions i dont think is that ..

because i have try with cp without the r ..

hi all about what i ask if is possible in ubuntu /etc/mysql , /etc/nginx / etc if is possible to copy the folder complete and to transfert to another ubuntu i have find where is the database is in /var/lib/mysql and inside i have a folder named Forum1 example and inside the folder i see all table of mybb How i can transfert to another ubuntu and made its working is probably possible ?

How to Add an Html page inside the forum Force user to be logued to see !

$
0
0
hi, I have an html page i want to add it on my board like if user go in .com/forum1/test.html

the page is example text.html

i want they see the page but if they are Not logged Is will be Impossible to them to See the html is ask to login before !

advertiser HTML banner

$
0
0
Hello,

I want to add a banner with a long html code that contain java script how can I do that??
the advertiser sent me the file that contain the HTML banner with the .js file too.
how can I do that??

when I try to paste the html code in the my advertisement plugin it gives me an error why?

Upgrade from 1822 to 1823

$
0
0
Hi, I read document for upgrade and installation.
I have one doubt about whether is there upgrade package available ?
Otherwise if I copy all files and upgrade then  I have to modify again many php7 files and templates to work again as same.
Hope you understand.
Thank you.

Is changed file package for 1823 is available? If yes, than how to use it for upgrade.
Thank you.

Reset registered groups permissions?

$
0
0
Hi,

Is it possible to reset a groups permissions back to default by running a query or a setting? 

I can not find one in Users & Groups > Groups.

How to add a Counter of visitor (view)

How i can protect more the index.php version 1.8.23

$
0
0
hi , I made test finnaly with the last version of mybb is a Great job some change and is same to be more powerful and fast to load maybe is just me during a fresh install but , i would like to know when a Member copy the url

http://Example.com

is made Member coming on the index.php page and they have the message

You are either not logged in or do not have permission to view this page etc etc ...

1:
2:
3:
4:

and is offer to Login or register

But if we want to protect more the board for Who received ddos attack And i speak not For me for the moment But Is Change Nothing.. i am here to Received help .. But Certain member received ddos i see that in thread and post and on duckduckgo.com !

For counter ddos we Can use Nginx and reduce the rate speed per second and ip

example with a command line

reducerate per second to 2 request per second to that

/index,php


and Is reduce the rate to the index.php page but the problem with that is if we reduce the rate of the index.php page is reduce the user on the board the speed is possible to just Block access to the user to not access to that page without any message ? like a redirection to the login page at now

member.php?action=login

because for the moment with the last version for login is with that link


example.com/member.php?action=login

,,

Is possible when user go in the link example.com the arrived in the login page Automatically ?

is possible if user are not loged to block Completely access to the page like made An 404 error page if they try to access to the Index.php .. we need i think to secure more that page..

Thanks to understand That Request is for the Last version of mybb and is for make The Board More secure.. wish you Understand.


*note , I have try before in nginx config file of the server in Sites-available and Sites-enabled to put in the index index.html index.php;

i have try to change for only member.php?action=login

but after a restart is continue to Put the member at the index.php

how to log out inactive user or user after x time

$
0
0
hi I think i have already made a request a thread about that but i dont remember how and i cannot find any note about that i have found before in my Total thread and post and i dont see anything i have found in the forum and found a Lot of Post / thread .. is complicated

i think mybb use cookie session to unlimited to disconect user if they click on remember me button never they will be disconect even if they are no Active .. is a problem .. I have found a thread 113435 here in mybb but

i have change the my_Setcookie for TIME_Now 60* 40 .. like the command but After is write This

in Member.php find aroud the line 1071

$remember = -1;

i found and I Dont see Anything is mean what is not working for disconect user after X time ?

Because i dont see that line to replace with the recommend line Time_NOW + (60.*.40);

? i know is a old Thread and Probably the Command line as changed Any can lets me know What i need to Do ?

I will note it and be sure is save thanks you




--------------------------------

Finnaly omg I Think i have found is in inc functions.php

expire = TIME_NOW 60*20); For 20 min ?

elseif($expires == "" bar here and $expires == null )

$expires = TIME_NOW _ (60*20); for logout user after x time inacvtive ?

is not correctly Explained

i have made in member.php the change does i need to back to 60*60 ?

and made this command line in inc functions ?

the thread here are too old I have re check again in the inc fonction i dont see the same command line

multiple htaccess files

$
0
0
While checking files in cpanel,
 I found 4 files of htaccess with a different date in public_html directory.
I had previously updated my 186 to 1822 before 1 month.
Please guide which htaccess files to be removed from my web directory as I want to upgrade now from 1822 to 1823.

.htacess (25 June 2020) Inside this file,there is no any code like <Files "error.log">
Order Deny,Allow
Deny from all
</Files>
Options -MultiViews +FollowSymlinks

#
# If mod_security is enabled, attempt to disable it.
# - Note, this will work on the majority of hosts but on
#  MediaTemple, it is known to cause random Internal Server
#  errors. For MediaTemple, please remove the block below
#

<IfModule mod_security.c>
# Turn off mod_security filtering.
SecFilterEngine Off

# The below probably isn't needed, but better safe than sorry.
SecFilterScanPOST Off
</IfModule>

#
# MyBB "search engine friendly" URL rewrites
# - Note, for these to work with MyBB please make sure you have
#  the setting enabled in the Admin CP and you have this file
#  named .htaccess
#
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)?
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^forum-([0-9]+)\.html$ forumdisplay.php?fid=$1 [L,QSA]
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)?
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^forum-([0-9]+)-page-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2 [L,QSA]

RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)?
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^thread-([0-9]+)\.html$ showthread.php?tid=$1 [L,QSA]
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)?
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^thread-([0-9]+)-page-([0-9]+)\.html$ showthread.php?tid=$1&page=$2 [L,QSA]
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)?
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^thread-([0-9]+)-lastpost\.html$ showthread.php?tid=$1&action=lastpost [L,QSA]
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)?
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^thread-([0-9]+)-nextnewest\.html$ showthread.php?tid=$1&action=nextnewest [L,QSA]
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)?
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^thread-([0-9]+)-nextoldest\.html$ showthread.php?tid=$1&action=nextoldest [L,QSA]
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)?
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^thread-([0-9]+)-newpost\.html$ showthread.php?tid=$1&action=newpost [L,QSA]
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)?
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^thread-([0-9]+)-post-([0-9]+)\.html$ showthread.php?tid=$1&pid=$2 [L,QSA]

RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)?
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^post-([0-9]+)\.html$ showthread.php?pid=$1 [L,QSA]

RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)?
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^announcement-([0-9]+)\.html$ announcements.php?aid=$1 [L,QSA]

RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)?
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^user-([0-9]+)\.html$ member.php?action=profile&uid=$1 [L,QSA]

RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)?
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^calendar-([0-9]+)\.html$ calendar.php?calendar=$1 [L,QSA]
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)?
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)\.html$ calendar.php?action=yearview&calendar=$1&year=$2 [L,QSA]
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)?
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)\.html$ calendar.php?calendar=$1&year=$2&month=$3 [L,QSA]
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)?
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)-day-([0-9]+)\.html$ calendar.php?action=dayview&calendar=$1&year=$2&month=$3&day=$4 [L,QSA]
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)?
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^calendar-([0-9]+)-week-(n?[0-9]+)\.html$ calendar.php?action=weekview&calendar=$1&week=$2 [L,QSA]

RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)?
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^event-([0-9]+)\.html$ calendar.php?action=event&eid=$1 [L,QSA]

<IfModule mod_env.c>
SetEnv SEO_SUPPORT 1
</IfModule>
</IfModule>

#
# If Apache is compiled with built in mod_deflade/GZIP support
# then GZIP Javascript, CSS, HTML and XML so they're sent to
# the client faster.
#

# mod_pagespeed configuration - Do NOT modify the contents
<IfModule pagespeed_module>
    ModPagespeedDomain *
    ModPagespeed on
</IfModule>
# End of mod_pagespeed configuration- Do NOT modify the contents

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php73” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php73 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit


.htaccess.cpmh1140 (28 April 2020)
Options -MultiViews +FollowSymlinks

#
# If mod_security is enabled, attempt to disable it.
# - Note, this will work on the majority of hosts but on
#  MediaTemple, it is known to cause random Internal Server
#  errors. For MediaTemple, please remove the block below
#


<IfModule mod_security.c>
# Turn off mod_security filtering.
SecFilterEngine Off

# The below probably isn't needed, but better safe than sorry.
SecFilterScanPOST Off
</IfModule>

#
# MyBB "search engine friendly" URL rewrites
# - Note, for these to work with MyBB please make sure you have
#  the setting enabled in the Admin CP and you have this file
#  named .htaccess
#
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^forum-([0-9]+)\.html$ forumdisplay.php?fid=$1 [L,QSA]
RewriteRule ^forum-([0-9]+)-page-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2 [L,QSA]

RewriteRule ^thread-([0-9]+)\.html$ showthread.php?tid=$1 [L,QSA]
RewriteRule ^thread-([0-9]+)-page-([0-9]+)\.html$ showthread.php?tid=$1&page=$2 [L,QSA]
RewriteRule ^thread-([0-9]+)-lastpost\.html$ showthread.php?tid=$1&action=lastpost [L,QSA]
RewriteRule ^thread-([0-9]+)-nextnewest\.html$ showthread.php?tid=$1&action=nextnewest [L,QSA]
RewriteRule ^thread-([0-9]+)-nextoldest\.html$ showthread.php?tid=$1&action=nextoldest [L,QSA]
RewriteRule ^thread-([0-9]+)-newpost\.html$ showthread.php?tid=$1&action=newpost [L,QSA]
RewriteRule ^thread-([0-9]+)-post-([0-9]+)\.html$ showthread.php?tid=$1&pid=$2 [L,QSA]

RewriteRule ^post-([0-9]+)\.html$ showthread.php?pid=$1 [L,QSA]

RewriteRule ^announcement-([0-9]+)\.html$ announcements.php?aid=$1 [L,QSA]

RewriteRule ^user-([0-9]+)\.html$ member.php?action=profile&uid=$1 [L,QSA]

RewriteRule ^calendar-([0-9]+)\.html$ calendar.php?calendar=$1 [L,QSA]
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)\.html$ calendar.php?action=yearview&calendar=$1&year=$2 [L,QSA]
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)\.html$ calendar.php?calendar=$1&year=$2&month=$3 [L,QSA]
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)-day-([0-9]+)\.html$ calendar.php?action=dayview&calendar=$1&year=$2&month=$3&day=$4 [L,QSA]
RewriteRule ^calendar-([0-9]+)-week-(n?[0-9]+)\.html$ calendar.php?action=weekview&calendar=$1&week=$2 [L,QSA]

RewriteRule ^event-([0-9]+)\.html$ calendar.php?action=event&eid=$1 [L,QSA]

<IfModule mod_env.c>
SetEnv SEO_SUPPORT 1
</IfModule>
</IfModule>

#
# If Apache is compiled with built in mod_deflade/GZIP support
# then GZIP Javascript, CSS, HTML and XML so they're sent to
# the client faster.
#



# mod_pagespeed configuration - Do NOT modify the contents
<IfModule pagespeed_module>
    ModPagespeedDomain *
    ModPagespeed on
</IfModule>
# End of mod_pagespeed configuration- Do NOT modify the contents


htaccess-nginx.txt (29 Dec 2019)

# Note: You are able to choose a different name in the Admin CP. If you've done that you need to change it here too
location ~ /error.log 
{ 
    deny all; 
}

# Note: You are able to rename the admin directory. If you've done that, you need to change it here too
location /admin/backups {
    deny all;
}

rewrite ^/forum-([0-9]+).html$ /forumdisplay.php?fid=$1 last;
rewrite ^/forum-([0-9]+)-page-([0-9]+).html$ /forumdisplay.php?fid=$1&page=$2 last;
rewrite ^/thread-([0-9]+).html$ /showthread.php?tid=$1 last;
rewrite ^/thread-([0-9]+)-page-([0-9]+).html$ /showthread.php?tid=$1&page=$2 last;
rewrite ^/thread-([0-9]+)-lastpost.html$ /showthread.php?tid=$1&action=lastpost last;
rewrite ^/thread-([0-9]+)-nextnewest.html$ /showthread.php?tid=$1&action=nextnewest last;
rewrite ^/thread-([0-9]+)-nextoldest.html$ /showthread.php?tid=$1&action=nextoldest last;
rewrite ^/thread-([0-9]+)-newpost.html$ /showthread.php?tid=$1&action=newpost last;
rewrite ^/thread-([0-9]+)-post-([0-9]+).html$ /showthread.php?tid=$1&pid=$2 last;
rewrite ^/post-([0-9]+).html$ /showthread.php?pid=$1 last;
rewrite ^/announcement-([0-9]+).html$ /announcements.php?aid=$1 last;
rewrite ^/user-([0-9]+).html$ /member.php?action=profile&uid=$1 last;
rewrite ^/calendar-([0-9]+).html$ /calendar.php?calendar=$1 last;
rewrite ^/calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+).html$ /calendar.php?calendar=$1&year=$2&month=$3 last;
rewrite ^/calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)-day-([0-9]+).html$ /calendar.php?action=dayview&calendar=$1&year=$2&month=$3&day=$4 last;
rewrite ^/calendar-([0-9]+)-week-(n?[0-9]+).html$ /calendar.php?action=weekview&calendar=$1&week=$2 last;
rewrite ^/event-([0-9]+).html$ /calendar.php?action=event&eid=$1 last;


htaccess.txt (29 Dec 2019)
Options -MultiViews +FollowSymlinks -Indexes

#
# If mod_security is enabled, attempt to disable it.
# - Note, this will work on the majority of hosts but on
#  MediaTemple, it is known to cause random Internal Server
#  errors. For MediaTemple, please remove the block below
#
<IfModule mod_security.c>
# Turn off mod_security filtering.
SecFilterEngine Off

# The below probably isn't needed, but better safe than sorry.
SecFilterScanPOST Off
</IfModule>

#
# MyBB "search engine friendly" URL rewrites
# - Note, for these to work with MyBB please make sure you have
#  the setting enabled in the Admin CP and you have this file
#  named .htaccess
#
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^forum-([0-9]+)\.html$ forumdisplay.php?fid=$1 [L,QSA]
RewriteRule ^forum-([0-9]+)-page-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2 [L,QSA]

RewriteRule ^thread-([0-9]+)\.html$ showthread.php?tid=$1 [L,QSA]
RewriteRule ^thread-([0-9]+)-page-([0-9]+)\.html$ showthread.php?tid=$1&page=$2 [L,QSA]
RewriteRule ^thread-([0-9]+)-lastpost\.html$ showthread.php?tid=$1&action=lastpost [L,QSA]
RewriteRule ^thread-([0-9]+)-nextnewest\.html$ showthread.php?tid=$1&action=nextnewest [L,QSA]
RewriteRule ^thread-([0-9]+)-nextoldest\.html$ showthread.php?tid=$1&action=nextoldest [L,QSA]
RewriteRule ^thread-([0-9]+)-newpost\.html$ showthread.php?tid=$1&action=newpost [L,QSA]
RewriteRule ^thread-([0-9]+)-post-([0-9]+)\.html$ showthread.php?tid=$1&pid=$2 [L,QSA]

RewriteRule ^post-([0-9]+)\.html$ showthread.php?pid=$1 [L,QSA]

RewriteRule ^announcement-([0-9]+)\.html$ announcements.php?aid=$1 [L,QSA]

RewriteRule ^user-([0-9]+)\.html$ member.php?action=profile&uid=$1 [L,QSA]

RewriteRule ^calendar-([0-9]+)\.html$ calendar.php?calendar=$1 [L,QSA]
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)\.html$ calendar.php?calendar=$1&year=$2&month=$3 [L,QSA]
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)-day-([0-9]+)\.html$ calendar.php?action=dayview&calendar=$1&year=$2&month=$3&day=$4 [L,QSA]
RewriteRule ^calendar-([0-9]+)-week-(n?[0-9]+)\.html$ calendar.php?action=weekview&calendar=$1&week=$2 [L,QSA]

RewriteRule ^event-([0-9]+)\.html$ calendar.php?action=event&eid=$1 [L,QSA]

<IfModule mod_env.c>
SetEnv SEO_SUPPORT 1
</IfModule>
</IfModule>

#
# If Apache is compiled with built in mod_deflade/GZIP support
# then GZIP Javascript, CSS, HTML and XML so they're sent to
# the client faster.
#
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/css text/html application/xhtml+xml text/xml application/xml text/plain text/x-component application/javascript application/x-javascript application/rss+xml application/atom+xml application/json application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject application/font-sfnt application/font-woff application/font-woff2 image/svg+xml image/x-icon
</IfModule>

# Note: You are able to choose a different name in the Admin CP. If you've done that you need to change it here too
<Files "error.log">
Order Deny,Allow
Deny from all
</Files>


Please guide which file I can remove and which file I should rename to .htaccess.
As I have to upgrade from 1822 to 1823 and I have to restrict access to others to my board while upgrade.

Thank you.

Below 3 files in root directory.

.htaccess.cpmh1140 (28 April 2020)
<IfModule mod_deflate.c>
    SetOutputFilter DEFLATE
    <IfModule mod_setenvif.c>
        # Netscape 4.x has some problems...
        BrowserMatch ^Mozilla/4 gzip-only-text/html
        
        # Netscape 4.06-4.08 have some more problems
        BrowserMatch ^Mozilla/4\.0[678] no-gzip
        
        # MSIE masquerades as Netscape, but it is fine
        # BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
        
        # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48
        # the above regex won't work. You can use the following
        # workaround to get the desired effect:
        BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
        
        # Don't compress images
        SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary
    </IfModule>
    
    <IfModule mod_headers.c>
        # Make sure proxies don't deliver the wrong content
        Header append Vary User-Agent env=!dont-vary
    </IfModule>
</IfModule>

.htaccess.montool.1595144913.bak (Yesterday 1.18 PM)
<IfModule mod_deflate.c>
    SetOutputFilter DEFLATE
    <IfModule mod_setenvif.c>
        # Netscape 4.x has some problems...
        BrowserMatch ^Mozilla/4 gzip-only-text/html
        
        # Netscape 4.06-4.08 have some more problems
        BrowserMatch ^Mozilla/4\.0[678] no-gzip
        
        # MSIE masquerades as Netscape, but it is fine
        # BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
        
        # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48
        # the above regex won't work. You can use the following
        # workaround to get the desired effect:
        BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
        
        # Don't compress images
        SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary
    </IfModule>
    
    <IfModule mod_headers.c>
        # Make sure proxies don't deliver the wrong content
        Header append Vary User-Agent env=!dont-vary
    </IfModule>
</IfModule>

# php -- BEGIN cPanel-generated handler, do not edit
# eig_rock_conv
# Set the "ea-php56" package as the default "PHP" programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php56 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit

.htaccess_ (Yesterday 1.18 pm)
#BEGIN HOST BLOCK
# The following configuration has been set by your hosting provider,
# and has been put in place for the benefit of the server.
#
# Any modification or removal by non-authorized individuals may
# result in corrective action.
#
# If you have any questions you may contact your provider for information.
order deny,allow
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
allow from xxx.xxx.xx.xx/xxx
ErrorDocument 401 'Access Denied!'
AuthUserFile "/home1/[b]xxxxxx(mycpanel username)[/b]/.htpasswds/home1/[b]xxxxxx(mycpanel username)[/b]/.htaccess/.hgpwrestrict"
AuthName "Access Restricted (suspend)"
AuthType Basic
require valid-user
satisfy any
deny from all
#END HOST BLOCK
<IfModule mod_deflate.c>
    SetOutputFilter DEFLATE
    <IfModule mod_setenvif.c>
        # Netscape 4.x has some problems...
        BrowserMatch ^Mozilla/4 gzip-only-text/html
        
        # Netscape 4.06-4.08 have some more problems
        BrowserMatch ^Mozilla/4\.0[678] no-gzip
        
        # MSIE masquerades as Netscape, but it is fine
        # BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
        
        # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48
        # the above regex won't work. You can use the following
        # workaround to get the desired effect:
        BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
        
        # Don't compress images
        SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary
    </IfModule>
    
    <IfModule mod_headers.c>
        # Make sure proxies don't deliver the wrong content
        Header append Vary User-Agent env=!dont-vary
    </IfModule>
</IfModule>

# php -- BEGIN cPanel-generated handler, do not edit
# eig_rock_conv
# Set the "ea-php56" package as the default "PHP" programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php56 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit

Yesterday 1.18 pm files .htaccess.montool.1595144913.bak and .htaccess_ may be created by hosting provider for checking as yesterday I was not able to access phpmyadmin.

Bug in thread

$
0
0
Can anyone help me with this bug? I can't use the <p> </p> or other tags

[Image: Xl03auu.png]

Signature Edit can't be seen.

$
0
0
[Image: rZcBiD5.png]and can anyone help me putting shoutout box? or how to enable or add it?

Template diff report interpretation.

$
0
0
In Template diff report, there is red color code and green color code.

I am interpretating as Green color code is new in my updated mybb version but it is not added in updated mybb templates and i have to update manully.
and Red color code suggestive of present code in my template so i can change that red color code with green color code.
Am I right? As i try to see same template in new window but it does not showing green color codes which i show in diff report. It show red colored code.
e.g
see below image

.jpg   diff report.jpg (Size: 293.92 KB / Downloads: 7)

Here 
src="{$mybb->asset_url}/jscripts/usercp.js?ver=1804"></script> is in red color means it is present in my template at present.
src="{$mybb->asset_url}/jscripts/usercp.js?ver=1821"></script> in green color means it is updated in my new mybb update version So I HAVE TO replace above red color code with this green color code.

href="#" is in red color.
so I have to replace that with href="javascript:void(0)"

Am I right or wrong?
Thank you.

Not able to add icon for general browser tabs

$
0
0
Sorry,
I've  looked through all the directions to add an icon to browser tab when page is opened but have had no success. 
Yes, I've cleared browsing image cache, etc. Tried various size ico files, etc.
Tried through themes standard and advanced in global css, etc. Also tried alternative method loading to root.

All those methods were from 3 years to a decade back. None seem to work.

What's the trick using the newest version of mybb?

Just to be clear... I'm referencing changing the aforementioned, indicated by arrow in attached screenshot. 

[Image: Screenshot-20200720-104325-Chrome.jpg]



Thanks.

Update... all the other methods used did work.
Unfortunately, I've been racking my head against a Google chrome browser that refuses to update any such changes,
All my other browsers show the changes.

So, be advised, Google Chrome is real PITA when it comes to the favicon updates.

Signature Edit

$
0
0
Whenever I edit my signature and save it, this is what it shows

Forbidden
You don't have permission to access this resource.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the reques

how to see how many Kb is take everyday , month

$
0
0
Hi , How we can see how many kb is take by user or for all of the forum everyday

with ubuntu and nginx i know about monitor on ubuntu but i find for better on forum like plugin , or a command line

php error

Question about security questions

$
0
0
Is there any way i can get more than 3 answers on 1 security question? that'd be awesome
Viewing all 14598 articles
Browse latest View live