![]() |
Also easier if you make the <adsense code here> into a phrase like $vbphrase[postadvert]
and then it would be easy to update and not search through code everytime to change. |
I put this in postbit_legacy and when I use firefox to post a quick reply it goes to a Blank page. Now that I have removed it from postbit_legacy it has started working fine again.
It happens with KirbyDEs code as well. Is there another way to get this working? or do we know why this is happening? This was working okay before I updated. thanks :) |
After getting this running.. I've noticed that my QUICK EDIT no longer works?
I used the following code: Code:
<!-- Google Ads for NON members --> |
Question: Why does the </if> go before the </td> rather then placing it after the </div> tag?? would this fix this?
(I'll test and see) |
PUT THE </if> after $spacer_close and everything is working fine now.
PS: postbit_legacy template. |
Never mind.
|
Quote:
This still has not fixed the issue when you save though. |
One thing that I noticed is that if you use the quick reply, you'll get a second instante of the Sponsored Links table, but without the google adsense code. It goes away when you refresh.
Not a big deal, but something I discovered. Probably just my forums :P |
Use this code:
Code:
</div> |
Quote:
Do you know how to put the ads in the first and last post of each page of the thread, instead of just the first post of the first page.. I'm also having a problem with using the quick reply. The ads don't show in the last post unless the page is refreshed.. |
Yes, you have an extra </if> in the code. Just take it out like so:
HTML Code:
<if condition="!$GLOBALS['FIRSTPOSTID']"> |
are you guys using quick reply? My forum seems to hang with this code and quick reply..
|
is there a way to get this to post after the first post on each page, page2,3.4. etc ?
|
Quote:
If you notice, you can probably click on the quick reply in the first post, however, everything after the first post will not work. If your thread has multiple pages, you will notice that you can click on the quick reply of the first post of every page and it will work. All others do not :( |
Quote:
|
Quote:
Or can they just start typing? |
Quote:
|
Quote:
|
Quote:
|
Try this code to eliminate the problem with the quick reply button not working.
After submitting a reply via the QR box, FireFox hangs on me unless I use the smaller, "link unit" google ads. Code:
|
i have confirmed now too that the following code hangs in firefox using the quick reply, anyone know a way to fix it?
Code:
<if condition="!is_member_of($bbuserinfo, 6, 7, 17, 18) AND !$GLOBALS['FIRSTPOSTID']"> |
Quote:
|
Similar hack but does random positioning
https://vborg.vbsupport.ru/showthread.php?t=98057 |
not work. :disappointed:
|
Quote:
Demo: http://www.vimaru.org/forum/showthre...7120#post27120 |
Hi,
I agree to Funchiestz and dsotmoon, Quick Reply is not working after the adsense for all usergroups who 'must' see it :D In the first post its working fine, the ads quick reply stops working. I removed the adsense code to test if it has something to do with this but it has not. I tested with IE and Firefox and in both Quick Reply is not working after the first post. Must have something to do with: PHP Code:
|
Untested, but what about
Code:
<if condition="!is_member_of($bbuserinfo, 5,6,7) AND !$GLOBALS['FIRSTPOSTID'] AND !$_POST['ajax']"> |
Quote:
I deleted the whole IF statement and only entered a simple text line. Even then then quick reply is not working anymore after the first post. Seems to be deeper in vBulletin |
Ok its working for me now.
It seems that it had something to do with the <div> Tags. Here my solution: At the end of the postbit template at: HTML Code:
<!-- ADs after first forum post --> Remove the whole TD tag if you don't want this. |
have version for vbb 3.03 ?
|
that code still hangs up on QR for me in firefox :ermm:
|
Quote:
regards |
Good news and bad news. I have a fix, but it does not stop at the first post! If you use this be advised it will place Ads between EVERY post!
REPLACE PHP Code:
PHP Code:
EDIT:On second notice, it places full ads under the first 3 posts. Then it apears to form a empty sponsored link table under the rest of the post. This happen in FireFox. IN IE..it apers after the first post, and using the quick reply forms an empty table under the last post. |
Quote:
|
Quote:
regards |
Quote:
Improving your AdSense targeting and revenue is really a science unto itself; I recommend you read up on the topic on forums such as Digital Point or Site Point. |
Quote:
|
Well I finally have found the fix. This is tested and working in firefox, and does not create any more of those anoying empty tables when you edit.
REPLACE PHP Code:
PHP Code:
PHP Code:
|
**Installed**
Works great thanks, has anyone notices an increas in revenue from this add-in? I average only $5 a day right now not sure if that is good or bad but I will be curious if I get more revenue because of this or not. I know I get ads on some threads that have nothing to do with my site because of some off-topic threads. |
i've been going through this thread but can't seem to find code that works. :/ i see a bunch of different versions posted up.
i'm just looking to place 1 ad after the first post. |
All times are GMT. The time now is 04:20 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|