09-23-2015, 08:41 PM
09-23-2015, 09:26 PM

It would help significantly if you actually shared the template as asked. Then I can see how you have that laid out.
Regarding the location of the modal.js it is in the general.js
PS - Why not be expat here as you are on myBB forums?
09-23-2015, 09:27 PM
Code:
|
how do i use that?
Code:
|
09-23-2015, 09:35 PM
I think I remember why I have you on my "list" at MyBB Community....
Please answer the question:
1) Why are you wanting to use the bootstrap modal when there is a modal included with the MyBB core?
Try this code in your template:
Please answer the question:
1) Why are you wanting to use the bootstrap modal when there is a modal included with the MyBB core?
Try this code in your template:
Code:
|
09-23-2015, 09:44 PM
did you see the image i put up? there is nowhere there that mybb modal is seen.
You really need to listen to what people are saying, rather than what you want them to say LOL
And i have tried your "solution" already....
is the same theme on both hosts, one uses mybb modal and the other decides to use bootstrap's
You really need to listen to what people are saying, rather than what you want them to say LOL
And i have tried your "solution" already....
is the same theme on both hosts, one uses mybb modal and the other decides to use bootstrap's
09-23-2015, 10:06 PM
You wont give a link to the theme on the web so I cant look at it. I cant look on your localhost. You still havent answered the question of why you want to use the bootstrap modal. You haven't said if you have tried a custom build. You havent confirmed if bootstrap is loading on your localhost.
Not really anything to listen to
I actually do want to try and help you, but it is difficult.
Looking at that screenshot - it might be the MyBB modal - its quite hard to tell the two apart from a screenshot - the live site would be better.
Not really anything to listen to

I actually do want to try and help you, but it is difficult.
Looking at that screenshot - it might be the MyBB modal - its quite hard to tell the two apart from a screenshot - the live site would be better.
09-23-2015, 10:35 PM
OK custom bootstrap allow the modal to pop up BUT there are some other weird things happening, like the close button doesnt show on both hosts. Pretty sure i replaced css on both hosts
09-23-2015, 10:56 PM
Ok, so now the modal works, yay for that.
Just so I understand - can you show a picture of the modal on localhost and on the live web?
Why it wasnt working:
The MyBB modal uses the word modal in its classes - so does bootstrap. As both of the js's are using the same class selectors things get confused. This is why I asked if you wanted to use the bootstrap modal; ie was it a conscious decision or was it that you wanted a responsive theme, chose bootstrap and then the modal broke?
Depending on the answer its a different solution. To use the MyBB modal with bootstrap you have to use a custom build of the js (as you have now). To replace the MyBB modal with the bootstrap you have to edit a fair few templates.
Just so I understand - can you show a picture of the modal on localhost and on the live web?
Why it wasnt working:
The MyBB modal uses the word modal in its classes - so does bootstrap. As both of the js's are using the same class selectors things get confused. This is why I asked if you wanted to use the bootstrap modal; ie was it a conscious decision or was it that you wanted a responsive theme, chose bootstrap and then the modal broke?
Depending on the answer its a different solution. To use the MyBB modal with bootstrap you have to use a custom build of the js (as you have now). To replace the MyBB modal with the bootstrap you have to edit a fair few templates.
09-23-2015, 11:17 PM
really did NOT want to spend time on a stupid modal LOL.....but it s a login so it cannot be used on live site....
BUT since one of the two needed to go so the conscious choice was to take the most pleasing one on the eye
Thanks for your time. My guess is the theme i am basing on, wasnt tested well enough and it depends on other plugins which of the two modal is activated first
BUT since one of the two needed to go so the conscious choice was to take the most pleasing one on the eye

Thanks for your time. My guess is the theme i am basing on, wasnt tested well enough and it depends on other plugins which of the two modal is activated first
09-23-2015, 11:19 PM
Yea, its hard if you are building a theme based on someone else's work. I know that when I first started making themes I just made my own header, and changed a few colors for the thead. Happy days.
is this case closed then or do you need more help?
is this case closed then or do you need more help?