Posts: 143
Threads: 18
Joined: Aug 2012
Reputation:
1
Hi. I am using Square theme. I am added Google Adsense adds after the post with Template Conditionals plugin. Here is the code on postbit:
<if (($postcounter - 1) % $mybb->settings['postsperpage'] == 0) || (($postcounter - 5) % $mybb->settings['postsperpage'] == 0) then>
<div align="center">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- ForumPostBit -->
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-7546617587444289"
data-ad-slot="2966195976"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</if>
But when users want to click edit button, popup not seems because of adds. How i fix that problem?
Posts: 1,114
Threads: 42
Joined: Jul 2013
Reputation:
148
(2015-07-11, 09:12 PM)bekircem Wrote: Hi. I am using Square theme. I am added Google Adsense adds after the post with Template Conditionals plugin. Here is the code on postbit:
<if (($postcounter - 1) % $mybb->settings['postsperpage'] == 0) || (($postcounter - 5) % $mybb->settings['postsperpage'] == 0) then>
<div align="center">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- ForumPostBit -->
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-7546617587444289"
data-ad-slot="2966195976"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</if>
But when users want to click edit button, popup not seems because of adds. How i fix that problem?
![[Image: pg7WML.png]](https://camo.mybb.com/d19fe3e8b1754a87f22d241cc232d965290da41c/687474703a2f2f692e68697a6c69726573696d2e636f6d2f706737574d4c2e706e67)
I don't give support for plugins.
To fix that, use z-index and positioning on the adsense class.
I don't give support on PM.
Posts: 1
Threads: 0
Joined: Jul 2015
Reputation:
0
2015-07-29, 11:35 PM
(This post was last modified: 2015-07-29, 11:38 PM by kuzyn.)
Hey! I have a problem. Why it's blank?
edit and also how I can add/change default font? Because original font of this theme doesnt have letters like: ą ć ę ź ż ó ń ł ś
Posts: 1,114
Threads: 42
Joined: Jul 2013
Reputation:
148
(2015-07-29, 11:35 PM)kuzyn Wrote: Hey! I have a problem. Why it's blank?
![[Image: si3EPZc.png]](https://camo.mybb.com/ce715c71ce12eb3b1cdab6054b4d2f83bcdd6d6b/687474703a2f2f692e696d6775722e636f6d2f73693345505a632e706e67)
edit and also how I can add/change default font? Because original font of this theme doesnt have letters like: ą ć ę ź ż ó ń ł ś
Install the plugin that comes with the theme. The font is "Exo 2" and have that simbols, check on Google Fonts: https://www.google.com/fonts
Cheers.
I don't give support on PM.
Posts: 2
Threads: 0
Joined: Jul 2015
Reputation:
0
2015-07-30, 07:45 AM
(This post was last modified: 2015-07-30, 07:50 AM by DunAsk.)
You might have to check if your var language file is in the right folder. To check if it's just the font issue, highlight the field > Inspect Element (With Google Chrome).
I forgot to say thank you to eNvy. You did a great job.
Many Many Thanks.
Your theme just beat any premium ones I found on the internet. But too sad, it's not (yet) responsive. If you could convert it to responsive it'll be like the most popular mybbtheme.
Thanks again for your hard work.
Posts: 1,114
Threads: 42
Joined: Jul 2013
Reputation:
148
(2015-07-30, 07:45 AM)DunAsk Wrote: You might have to check if your var language file is in the right folder. To check if it's just the font issue, highlight the field > Inspect Element (With Google Chrome).
I forgot to say thank you to eNvy. You did a great job.
Many Many Thanks. 
Your theme just beat any premium ones I found on the internet. But too sad, it's not (yet) responsive. If you could convert it to responsive it'll be like the most popular mybbtheme.
Thanks again for your hard work. 
Well some people use bootstrap to convert themes into responsive but I don't like it, I prefer to make the responsive myself... but that take too much time with 1.8 version of MyBB (A lot of tables used). At least, 2.0 (I think) will be responsive.
I don't give support on PM.
Posts: 2
Threads: 0
Joined: Jul 2015
Reputation:
0
mybb standard-theme 2.0 will absolutely be responsive
Posts: 35
Threads: 9
Joined: Jul 2015
Reputation:
0
2015-08-02, 02:43 AM
(This post was last modified: 2015-08-02, 03:14 AM by ecoo.)
Hey there, great theme! I have a couple of questions:
1. How do I add another sidebox below/above the current "Latest Activity" sidebar?
2. When logging in, the fields are prefilled. The problem is, you have to manually erase the prefilled characters. I would prefer if I could just get rid of prefilling or when the user clicks in the field the characters disappear.
3. There are boxes when viewing threads that are dark blue, such as the "reply" or "multiquote" box. How do I change their colors (where exactly is their theme/template?).
Thanks!
Posts: 1,114
Threads: 42
Joined: Jul 2013
Reputation:
148
2015-08-02, 03:15 AM
(This post was last modified: 2015-08-02, 03:17 AM by eNvy.)
(2015-08-02, 02:43 AM)ecoo Wrote: Hey there, great theme! I have one questions, and is it, how do I add another sidebox below/above the current "Latest Activity" sidebar?
Thanks!
Look inside the index template, you will see this:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse.png" id="ths_img" class="expander" alt="[-]" title="[-]" /></div>
<strong>{$lang->xstyled_latestactivity}</strong>
</td>
</tr>
<tr>
<td style="{$collapsed['ths_e']} padding: 0;" id="ths_e">
<div class="latestthreads float_left"></div>
</td>
</tr>
</table>
<div class="theadend"></div>
If you want to add another sidebox, just copy the same table, but before, adds a <br /> tag, and after paste the same table with the last <div class="theadend"> tag, and just change the title / content there.
The title is here:
[size=small][font=Monaco, Consolas, Courier, monospace]<strong>{$lang->xstyled_latestactivity}</strong>[/font][/size]
And the content is here:
[size=small][font=Monaco, Consolas, Courier, monospace]<div class="lates[/font][/size][size=small][font=Monaco, Consolas, Courier, monospace]tthreads float_left"></div>[/font][/size]
Cheers.
I don't give support on PM.
Posts: 35
Threads: 9
Joined: Jul 2015
Reputation:
0
2015-08-02, 03:33 AM
(This post was last modified: 2015-08-02, 04:01 AM by ecoo.)
(2015-08-02, 03:15 AM)eNvy Wrote: (2015-08-02, 02:43 AM)ecoo Wrote: Hey there, great theme! I have one questions, and is it, how do I add another sidebox below/above the current "Latest Activity" sidebar?
Thanks!
Look inside the index template, you will see this:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse.png" id="ths_img" class="expander" alt="[-]" title="[-]" /></div>
<strong>{$lang->xstyled_latestactivity}</strong>
</td>
</tr>
<tr>
<td style="{$collapsed['ths_e']} padding: 0;" id="ths_e">
<div class="latestthreads float_left"></div>
</td>
</tr>
</table>
<div class="theadend"></div>
If you want to add another sidebox, just copy the same table, but before, adds a <br /> tag, and after paste the same table with the last <div class="theadend"> tag, and just change the title / content there.
The title is here:
[size=small][font=Monaco, Consolas, Courier, monospace]<strong>{$lang->xstyled_latestactivity}</strong>[/font][/size]
And the content is here:
[size=small][font=Monaco, Consolas, Courier, monospace]<div class="lates[/font][/size][size=small][font=Monaco, Consolas, Courier, monospace]tthreads float_left"></div>[/font][/size]
Cheers.
Hey there, thanks for the reply. What would the code be for if I want to put a specific thread in the sidebar, just like how the threads are formatted in the "Latest Activity" sidebar.
Thank you!
I started with one question, but now I have another!
Is there a way to disable the feature where when you put your mouse over a link a small black box appears that gives you a description of the link? I want to disable it because it causes mobile users to have to double tap a link to open it.
Thanks!
|