MyBB Community Forums

Full Version: 1point8 Theme generating js error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
As I told you earlier that its on my local pc only.

(2014-09-05, 02:24 AM)iAndrew Wrote: [ -> ]any chance you can send me your forum url so i can see. send it through pm if you want


Can you please tell if this is the correct order of .js file or not?

=============================
<script type="text/javascript" src="images/1point8/restive.min.js"></script>

<script type="text/javascript">
$(document).ready(function () {
$('selector').restive(options);
});
</script>
<script>
jQuery.noConflict();
</script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.js?ver=1800"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1800"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1800"></script>
<script type="text/javascript" src="images/1point8/jquery.cookie.js"></script>
<script type="text/javascript" src="images/1point8/tipsy.js"></script>
==============================

I found one more small problem on showthread.php page. With each thread we are showing links like "Edit, Quote, Delete, Report and Warn"

Delete link is is not displaying because the selector used to change the .style.display setting of link is referencing to the id with "#" so that is why link is not visible.

Existing: $('quick_delete_52627').style.display = '';
Correct: $('#quick_delete_52627').style.display = '';

I really liked the 1point8 theme with my forum so that is why I am testing it thoroughly before uploading it on live server. Although I have cleared these small issues at my end but just wanted to tell you about the problems.

Can you please tell me what is the purpose of restive.min.js and where are you using it then it would be easier for me to correct the error related to this .js file also.

There is one function binding to "selector" tag. But there is no selector tag exist on page.

Is it tag, class or id?

$('selector').restive(options); This giving error of options undefined.

.style.display = '' not working its .css('display', ''); which is working

CHANGED $('quick_delete_52627').style.display = '' $('#quick_delete_52627') .css('display', '');
CHANGED $('multiquote_link_52627').style.display = '' $('#multiquote_link_52627') .css('display', '');

on postbit_mutiquote extra image tag is still there which is not needed because class="fa fa-quote-left fa-fw" is already added for icon.

EXTRA TAG: <img src="{$theme['imglangdir']}/postbit_multiquote.gif" id="multiquote_{$post['pid']}" />
The js is fine in order

Restive.js is what i'm using to hide certain stuff on smaller screens

I already have multiquote fixed along with report and forum display breaking with announcements, i'll update the quick delete now. thanks for reporting these.
(2014-09-05, 01:53 PM)iAndrew Wrote: [ -> ]The js is fine in order

Restive.js is what i'm using to hide certain stuff on smaller screens

I already have multiquote fixed along with report and forum display breaking with announcements, i'll update the quick delete now. thanks for reporting these.

Ya its all working fine now... I checked you added the rating also it was not working earlier but restive.js is still generating .js file error. you can check it by using the google chromes "Developer tools" or any other debugger like firebug.

For now I have commented the restive.js file.

Attached the screen shot of error I am getting on google chrome.
Not sure why it's giving errors but restive is what keeps the forum in shape while using smaller screens

i'll look into the js error once i've updated rush and finished some custom work, let me know if you find anything else.
On registration page

You have removed some options like if user want to receive email notification for different things or not.

And you have added one blank field and it says leave this field blank. What is the purpose of adding this field.

if you have any url where I can check the demo of "1point8" kindly send it to me so that I could verify if restive.js error is coming only on my system.
(2014-09-05, 04:48 PM)maviss Wrote: [ -> ]On registration page

You have removed some options like if user want to receive email notification for different things or not.

And you have added one blank field and it says leave this field blank. What is the purpose of adding this field.


if you have any url where I can check the demo of "1point8" kindly send it to me so that I could verify if restive.js error is coming only on my system.

I haven't added anything on registration, i just removed the options so it's a quicker process for users

http://i.imgur.com/JRGcdoT.png
(2014-09-05, 05:26 PM)iAndrew Wrote: [ -> ]
(2014-09-05, 04:48 PM)maviss Wrote: [ -> ]On registration page

You have removed some options like if user want to receive email notification for different things or not.

And you have added one blank field and it says leave this field blank. What is the purpose of adding this field.



if you have any url where I can check the demo of "1point8" kindly send it to me so that I could verify if restive.js error is coming only on my system.

I haven't added anything on registration, i just removed the options so it's a quicker process for users

http://i.imgur.com/JRGcdoT.png


See what I am getting on my registration page.

(2014-09-05, 05:46 PM)maviss Wrote: [ -> ]
(2014-09-05, 05:26 PM)iAndrew Wrote: [ -> ]
(2014-09-05, 04:48 PM)maviss Wrote: [ -> ]On registration page

You have removed some options like if user want to receive email notification for different things or not.

And you have added one blank field and it says leave this field blank. What is the purpose of adding this field.




if you have any url where I can check the demo of "1point8" kindly send it to me so that I could verify if restive.js error is coming only on my system.

I haven't added anything on registration, i just removed the options so it's a quicker process for users

http://i.imgur.com/JRGcdoT.png


See what I am getting on my registration page.

Do I need to activate something to show image captcha through config or admin panel?

I tried to activate the plugin named "re-Captcha" but it says its not compatible with myBB 1.8.. Do I have to install any other plugin for image captcha to work?
I just installed MyBB, never had to activate nothing for my security questions so i'm not sure. Try ask in 1.8 support forums?

Try revert the template back to default and see if it appears.

1point8 > Member Templates > member_register
Image captcha is not coming even after reverting to original
I'm gonna take a wild guess and assume it's because you're on localhost? upload it onto your site as a demo and see if you have any problems
Pages: 1 2 3 4