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

how can i make the profile block round


Statistics page not updating !

$
0
0
Hello ,

i am facing one more issue regarding statistics! i have to manually rebuild cache to update stats! also statistics cache time is 0 . Please help!!!

RESULT_CODE_HUNG (out of memory) on client side when writing new post in visual editr

$
0
0
Hello,

today I installed brand new version of MyBB 1.8.33, added a template Duende V3 and czech language. I import the data from old punBB forum. Everything seems to work fine. The problem is, when I'm trying to write a new post in visual editor. It is slowing down my computer and it ends with and RESULT_CODE_HUNG error (out of memory on my PC, not on the server side!). I was trying this on two different PC's, Microsoft Edge and also Mozilla Firefox. Tryed to flush all cache data, everything is on latest version. Please, can somebody help?

The web page is here (you will need to register and try to write a new post (not very short).

Thank you for any help!

[PHP Mail] Mail sending in test script but not for forum.

$
0
0
I had this issue with a previous host; I moved one of my sites to A2Hosting but still having issues with PHP Mail. I'm struggling here and just not sure what else to try



Can't activate accounts or reset password via PHP mail handler.

Tried the mail test script and it sends BUT it doesn't send from the email addressed as the "Admin Email" in board settings. Email is sent from mycpanelname@az1-ts104.a2hosting.com.

Went further to the host restrictions part and the "mail($to, $subject, $message, $headers);" doesn't exist in functions.php but i did find
function my_mail($to, $subject, $message, $from="", $charset="", $headers="", $keep_alive=false, $format="text", $message_text="", $return_email="")
So I added the ini_set parameters above that line.

Still no luck. I'm sort of confused here. Am I doing this incorrectly?

A2 keeps sending me to: https://www.a2hosting.com/kb/developer-c...l-messages

1.8.33 upgrade and PHP 8 warnings

$
0
0
I have successfully upgraded production forum to 1.8.33. Using PHP 7.4 without problems.
After cloning production server for testing purposes using PHP 8.0.27, I am going through and finding warnings. Most occur in plugins.

If I create a post containing a youtube video with a url in the form of https://youtu.be/YfdLh0MHqKw, I get the following messages.
Warning [2] Undefined array key "fragment" - Line: 1494 - File: inc/class_parser.php PHP 8.0.27 (Linux)
Warning [2] Undefined array key "query" - Line: 1505 - File: inc/class_parser.php PHP 8.0.27 (Linux)
Warning [2] Undefined array key 1 - Line: 1510 - File: inc/class_parser.php PHP 8.0.27 (Linux)
Warning [2] Undefined array key 0 - Line: 1587 - File: inc/class_parser.php PHP 8.0.27 (Linux)
Warning [2] Undefined array key "v" - Line: 1591 - File: inc/class_parser.php PHP 8.0.27 (Linux)

I note that line 1485 of inc/class_parser.php uses a native PHP function in the function mycode_parse_video() starting line 1470.
$parsed_url = @parse_url(urldecode($url));

The url does not contain a fragment in line 1494, or a query in line 1505, hence there are no $input keys in line 1510, unable to test the empty fragment array in 1587, as well as testing the $input array in 1591.

First, what purpose does line 1480 have? I think it is superfluous. Defined but not used.
1480 $bbdomain = parse_url($mybb->settings['bburl'], PHP_URL_HOST);

I made several modifications to the mycode_parse_video() function, although unable to post code in its entirety. Community only permits a single video per post, and cannot distinguish examples in comments.

Now, all three variations display.
youtu[dot]be/YfdLh0MHqKw
www[dot]youtube[dot]com/watch?v=YfdLh0MHqKw
www[dot]youtube[dot]com/watch#!v=YfdLh0MHqKw

I've had to obfuscate URLs used as explanation, including the ones used as examples in the code comments.

lines altered as below. By adding three lines, last two line numbers are pushed down.
1494 		if(array_key_exists('fragment', $parsed_url))	//core edit fixes error if no 'fragment' in $parsed_url
1499		if(array_key_exists('query', $parsed_url))	//core edit added to fix if no 'query' in $parsed_url
1500		{						//core edit added for if statement
1516		}						//core edit added for if statement
1590				if(isset($fragments[0]))	//core edit to fix when $fragments is empty
1594				elseif(isset($input['v']))	// core edit to fix when $input is empty

Continuing with checking the warnings. I intend all that I find to be documented in this thread.

If you are using a plugin which relies on PluginLibrary, you'll need to upgrade to an updated version.
Thanks to SvePu. https://community.mybb.com/thread-237593...pid1383414

When searching for Today's Posts
Warning [2] Undefined array key "lastread" - Line: 476 - File: search.php PHP 8.0.27 (Linux)
Warning [2] Undefined property: MyLanguage::$pages - Line: 2 - File: search.php(567) : eval()'d code PHP 8.0.27 (Linux)

The first is fixed in line 476 of search.php
Change
				if($thread['lastread'])
to
				if(isset($thread['lastread']))

The second is apparently fixed by editing template forumdisplay_thread_multipage from
 <span class="smalltext">({$lang->pages} {$threadpages}{$morelink})</span>
to
 <span class="smalltext">({$threadpages}{$morelink})</span>

or by adding an element to search.lang.php
$l['pages'] = "Pages";

I stuck it in the blank line space at line 10 to maintain consistency with other MultiPage formats.

If you are using the absolutetime plugin by doylecc, which is fantastic already, you'll need to modify it so that it does not generate a warning under PHP 8.0 in ACP / Plugins page. If present, but not active, warning is given for undefined array key 'absolutetime'

Change
    if (absolutetime_is_installed()
        && is_array($plugins_cache)
        && is_array($plugins_cache['active'])
        && $plugins_cache['active']['absolutetime'] // this line errors
    ) {
        if (absolutetime_apply() !== true) {
            $absolutetime_info['description'] .= '<br /><span style="color:red; font-size:1.2em;">'
            .$lang->at_warn_core_edit.'</span>';
        }

to

	if (empty($plugins_cache) || !is_array($plugins_cache)) {
		$plugins_cache = $cache->read('plugins');
	}
	$active_plugins = $plugins_cache['active'];

    if (absolutetime_is_installed()
        && is_array($plugins_cache)
        && is_array($plugins_cache['active'])
        && !empty($active_plugins['absolutetime'])
    ) {
        if (absolutetime_apply() !== true) {
            $absolutetime_info['description'] .= '<br /><span style="color:red; font-size:1.2em;">'
            .$lang->at_warn_core_edit.'</span>';
        }

Where do I add meta tags?

$
0
0
I want to add seo tags and other code to the header. Where would I edit MyBB to do that?

Specifically, I want to add:

nofollow,noindex tag
Twitter Cards tags
Facebook Open Graph tags
Google Analytics tag

I need to add the tags to the MyBB forum header.

set up email notifications pm and fourm and threads smtp sendinblue.com

$
0
0
hello can I get a how to guide on setting up the email notifications to make this process faster. I have already set up mail settings in borad settings page. The contact us email sends, but I just found out I have to do something extra to set up the more imporatn imporant notifications. smtp is all set up. Can't use other one 'cause of canel c panel on host which doesnt allow anything except remot remote smtp.

How to show subforums as a list in Forumdisplay?

$
0
0
Hello.
I want to show subforums as a list on the forum display page. How can I do that?

ex:
[Image: eay30re.png]

Default search behavior

$
0
0
Trying to sort out some differences.

A clean install of 1833 on PHP 8 yields
Quote:You did not enter any search terms. At a minimum, you must enter either some search terms or a username to search by.
when I do not enter any search terms. Using default form values. Default template.

A forum upgraded over time from 1.6.8 to 1.8.33 with same search parameters, no plugins, default template, yields result of all posts. File verification shows only language files modified.

Attempting same on community.mybb.com yields a blank page with no results, no message like the clean install.

Mybb unknown file

$
0
0
i run mybb few days ago. that time i notice 1 file auto generate in my file manager of hosting and day by day its size become big. now its 3gb

see the file bellow

[Image: 860ab9aed76ee6a3fed01455973f360f.png]


and also tell me for the requirements for running mybb smoothly. i have perday min 5000 user.

error in import database in phpmyadmin

$
0
0
i try to install my mybb backup on localhost via wampp server but when i try to inport database back up its giving me this error

[Image: 90afb84ba258ffaaabbd6f41ac4e7f39.png]

and i take backup like that way

[Image: 5c0a5697e58f8d686020646f6090f36d.png]

and also in localhost its showing this error "Parse error: syntax error, unexpected identifier "admin_dir" in C:\wamp64\www\mybb\inc\config.php on line 26"

but see in config file

<snip>

mybb error

$
0
0
i upload mybb in localhost and getting this error

Parse error: syntax error, unexpected identifier "admin_dir" in C:\wamp64\www\mybb\inc\config.php on line 26

IP Address and User Lookup

$
0
0
Is there a way to turn off looking up users by IP address? I'm logged in as an admin so maybe that's my issue? Can normal users (registered users, pending users, etc.) lookup members by IP Address? Is there a way to set it to just Administrators and/or Moderators?

Users can post threads after x amount of replies

$
0
0
In my forumd all new users they do is register and start posting advertisements of their products all over the forum. Users should not be allowed to post any threads unless they make x amount of post on the forum. By post I mean, replies to previous threads etc. Once they engage on the forum and start replying to threads, they can start new threads. 

i want a mybb expart who can help me

$
0
0
i modify my theme and some codes. i notice that in my database templates table size become 4.4gb so my site loading very slow. i am ready to pay some for this help.

here is the table
[Image: f62372890ac15a6879bbc84eb66f27c2.png]

Guest username changing disabled, how to solve this

$
0
0
Hi,

during the time we have been getting some user, at times some ask to leave and remove their info and we try to abide with their requests but when we clean everything until they are at the guest user group then we have no manner at all to change the username.

Well at least by using the find system, they don't even show up and when we find them in the forum we can't either.

Can someone help me out in here... I am honestly out of options now.

Thanks

mybb localhost mybb Authorization code mismatch

$
0
0
i host website in localhost via wampp
my url is localhost/me
when i try to login in my website its showing me this error "mybb Authorization code mismatch. Are you accessing this function correctly? Please go back and try again."

but in admin panel its login but when i click on different menu in admin panel its asking for login and nothing happen when i try to login again.

How do I edit the "I Agree" Text

$
0
0
Where do I edit the text registrants read when they press "I Agree" at sign up?

General Questions - MyBB post / reply notifications, announcements

$
0
0
I am considering moving to MyBB but have some 'software requirements' that are a must have issue.

The forum is for members of an outdoor club to  access events.

A category/board specifically for events where people can sign up or ask questions using the reply function. A calendar display is a bonus but not really necessary if the date is in the subject.

Important Feature
When a new topic (event) is made a notification is sent to all members. BUT READ BELOW FIRST.
Notifications for replies are fairly standard so not an issue.


Problems
At present we use phpBB but it stops sending new notifications if people do not log in after one. Unfortunately people are happy getting emails and if it suites them they log in to reply, if not, they don't bother but then do not get further notifications of other topics. It is easy to say, tell them they need to log in or else... but in reality it does not work. The emails stop appearing in their inbox and they think the club is inactive and forget about it.

I could as Administrator, send out mass emails but I do not want to do that all the time - sending copies of posts.
Other plugins like Digest posts work the same way and check last login before sending.

Board notifications work the same way as well it appears.

Result is the forum appears dead to people waiting for emails that do not visit often or log in.

Does MyBB work the same way with notifications? If they do not log in after a notification then no others are sent?



We have also used SMF which had an Announce Topic feature so organizers could send it out to everyone when they posted. Unfortunately SMF development slowed a lot over the years and other bugs and problems were never fixed.

I think MyBB used to have an events calendar...

Thanks in advance,
Andy

what is this - what can it do

$
0
0
Hi, 

I just came across this software ...... I was wondering why you don't have an open place on the site to post a quick question about MyBB but I suspect 
that you guys know more about forums and hosting and having an open question box than i do ...... its probaby a dumb thing to do.

I just built my first Google site .....it went OK and is about what I need but what I want to add is a forum .......

I tried a few times to use Google Groups as a forum and that was a disaster and it looks like crap.

Plus when you ask for help about it you talk to the void because Google isn't going to offer up any help at all since its all free.

I tried links from a google group directly to the site and it works in the Google Site just fine but not from your hosted URL.
So another dead end ......

So here we are:

A - does this software have to be hosted someplace?

B - can it run from inside a google site?

I'm gonna guess it's both no ...... so let me ask you guys - is there a forum software that will run in a google site?

Cheers'
Dave
Viewing all 14667 articles
Browse latest View live


Latest Images