2014-09-05, 02:34 AM
As I told you earlier that its on my local pc only.
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']}" />
(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']}" />