MyBB Community Forums

Full Version: My Responsive, after upgrade the rate button do not work
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, on an old installation I use this theme: my responsive.
https://community.mybb.com/mods.php?action=view&pid=303

After updating mybb to 1.8.24, certain scripts, for example, the rate button do not work.

I checked "headerinclude", compared to the standard, deleted

<script type = text / javascript>
jQuery.noConflict ();
</script>

updated to 4.7.0:

<link rel = "stylesheet" href = "http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.2.0/css/font-awesome.min.css">

but it does not work.

What can it depend on? The problem is with the theme because it works with other themes.

Thank you.

I have also added this in global.css, as recommended here:
https://community.mybb.com/thread-213964...pid1288154


/** Modal Start **/

.modal {
	display: none;
	width: 400px;
	text-align: left;
	background: #fff;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	-o-border-radius: 8px;
	-ms-border-radius: 8px;
	border-radius: 8px;
	-webkit-box-shadow: 0 0 10px #000;
	-moz-box-shadow: 0 0 10px #000;
	-o-box-shadow: 0 0 10px #000;
	-ms-box-shadow: 0 0 10px #000;
	box-shadow: 0 0 10px #000;
}

.modal a.close-modal {
	position: absolute;
	top: -12.5px;
	right: -12.5px;
	display: block;
	width: 30px;
	height: 30px;
	text-indent: -9999px;
	background: url(images/close.png) no-repeat 0 0;
}

.modal-spinner {
	display: none;
	width: 64px;
	height: 64px;
	position: fixed;
	top: 50%;
	left: 50%;
	margin-right: -32px;
	margin-top: -32px;
	background: url(images/spinner_big.gif) no-repeat center center;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	-o-border-radius: 8px;
	-ms-border-radius: 8px;
	border-radius: 8px;
}

/** Modal End **/
The problem is with javascript. Not all functions that use it work.

How can I update the theme manually?
One option for you is to revert the templates but that will lose of the template customizations.
The best option is to Find Updated Templates and then check the updated templates for Javascript modifications. This will list some templates but now all, you can get this as a starting point. Once you made those changes, start testing various parts of your forum and fix the parts where there are bugs and incorrect templates.

Regards
WallBB
(2020-12-05, 05:30 AM)WallBB Wrote: [ -> ]One option for you is to revert the templates but that will lose of the template customizations.
The best option is to Find Updated Templates and then check the updated templates for Javascript modifications. This will list some templates but now all, you can get this as a starting point. Once you made those changes, start testing various parts of your forum and fix the parts where there are bugs and incorrect templates.

Regards
WallBB

Rather laborious. I'll try.
Thanks