![]() |
Quote:
For example, I want to exclude Admins, but with this mod, unless I also exclude other secondary UserGroups that Admins belong to, then the result of just excluding anyone belonging to the single Admin usergroup on its own is pointless and it doesn't work because the mod wants ALL of them checked or unchecked. ;) Many sites use secondary usergroups to identify things like contributing members etc, so their use that way conflicts with how this mod is coded. Anyway, again... nice effort on behalf of the coder and we appreciate his work, but for us it won't work without a more traditional approach to handling user group exclusions. Regards, Doug |
Hello
maybe I did not understand the problem, due to my bad English Quote:
I have excluded the admin group. my account have as primary group admin as secondary staff (not excluded) and the ads do not see I have change excluded staff group my account have as primary group admin (not excluded) as secondary staff and the ads do not see it properly the instruction I used to check the group is as follows: Code:
if (is_member_of($this->registry->userinfo,$ctads['groups'])) { thanks |
Quote:
You have an option that says: Select the Usergroup to be excluded from ads second post. If I check ALL the boxes but NOT the one that says Administrator, then according to your option, the Administrator group ONLY should be able to view the ads. On our site, any member who belongs to the group Administrator DOES NOT SEE ads. They do not see ads because an Administrator on our site also belongs to other user groups as well, which are checked. So, because those other user groups are checked and kind of process logic you're using, it just doesn't work for us... Thanks for your efforts ... :) Rergards, Doug |
Quote:
in your case probably should create a group no-ads, exclude this, and assigned to admin the secondary group no-ads |
Quote:
Select the Usergroup to be INCLUDED (permitted) to view ads second post. Then, only members belonging to whatever usergroup is checked would see the ads. Solves the problem for us ... ;) Regards, Doug |
hi
should be sufficient to make this admincp ->Plugins & Products ->Plugin Manager search Second Post ADS (press edit) seach this code Code:
Code:
let me know if it works Regards, Asterix |
Quote:
|
hi
I checked quickly, your request requires the variation of one plugin and one or two template admincp ->Plugins & Products ->Plugin Manager search Second Post ADS (press edit) seach this code Code:
if ($ctads['ok'] && $ctads['template'] == 0) Code:
if ($ctads['ok'] && $ctads['template'] == 0) I have not tested but should work Regards Asterix |
Nice, nice nice!! Worked.
This will help a lot, because the human eye looks first at the first content in the screen. Thank you! PD: It's appearing "0 0 0" before the ads example |
Quote:
Ads ONLY appear for selected usergroup membership. Thank you very much for the customization .... Can I assume the Forum Exclude can be reversed in a similar way? Regards, Doug |
Quote:
|
@Digital
sorry my mistake, try this admincp ->Plugins & Products ->Plugin Manager search Second Post ADS (press edit) seach this code Code:
if ($ctads['ok'] && $ctads['template'] == 0) Code:
if ($ctads['ok'] && $ctads['template'] == 0) |
Quote:
So, I changed this: Code:
if (in_array($thread['forumid'],$ctads['forums'])) Code:
if (!in_array($thread['forumid'],$ctads['forums'])) Thanks .. Regards, Doug |
the change applied says: in all forums that are not reported here denies viewing
I sincerely leave ads in all forums and select the excluded, that variable should act on the second ads. Warning: All the plugin code is linked and changing one part may create problems in other options |
Here's an odd request, but feedback with advice from anyone would be appreciated ... :up:
If I wanted to execute the following conditional so that this excellent mod ONLY displayed the ads on the second post under those conditions specified, where in the plugins would I put it? I've tried everywhere including the template and it always seems to still interact with the mod's own settings, or prevents elements of the postbit_legacy bottom bar from displaying properly. Code:
<vb:if condition="is_member_of($bbuserinfo,1,2,3,4,13,17) || in_array($bbuserinfo['userid'],array(2,5539))"> Regards, Doug |
Hi
you could try changing the plugin "Second Post ADS, in it there are all conditions or set no exclusion in the options plugin and act in templates postbit_legacy_ads_ct_2th or postbit_ads_ct_2th Regards Asterix |
Quote:
I did try all those without any success..... I have added a new usergroup which combined with the customization for "including" usergroups you kindly gave me earlier, I think will work. Still have to test it though. Nice mod.... do you do paid customization work on this for a fee? Regards, Doug |
How can you place the ad under the first post and sottol'ultimo post?
|
Hi Ricsca
should be sufficient to change the template or postbit_ads_ct_2th postbit_legacy_ads_ct_2th find Code:
<vb:if condition="$post[postcount] % $vboptions[maxposts] == 1"> Code:
<vb:if condition="$post[postcount] % $vboptions[maxposts] == 1 || $post[islastshown]"> Regards Asterix |
Can I have different ads in different forums for the second post?
For example, forum A has ad X as second post and forum B has ad Y as second post? |
Sorry but the request requires a completely different structure, at the moment you can only have two ads.
|
Hi Asterix:
First, thanks for the mod. I would like to set $post[islastshown] as in post 139, is it posible to show $post[islastshown] just in case of thread with more than 5 replies ? I mean, I do not want a thread with just 3 answers and 2 ads, I would like to set the minimum of 5 answers in order the last ad, included in $post[islastshown], to be shown. Grazie! |
Hi
change template postbit or postbit_legacy find: Code:
<vb:if condition="$post[postcount] % $vboptions[maxposts] == 1"> Code:
<vb:if condition="$post[postcount] % $vboptions[maxposts] == 1 || ($post[postcount] % $vboptions[maxposts] >= 5 AND $post[islastshown])"> regards |
Hello, I added ADS so long time in some sections.
Now I would like to place an ADS in a new section, keeping even the old ADS. It's possible? If I set “yes” in the “Activate the second Ads” The old ads will disappear and only see the new. Thank’s I use the version 2.0.6 |
you can only see one AD for section, you can choose between two scripts, but only one is visible
|
Quote:
Ok thank's ;) |
Quote:
Thanks so much for your answer! |
Hi and thanks for the wonderfull mod.
I use for all my sites a central adserver, the OpenX and this mod dont show the openX banners, the code from openX is: Quote:
|
I do not know the circuit and I can not do the tests
I suggest trying the following code Code:
<script type='text/javascript'> |
1 Attachment(s)
Awesome mod! Thank you very much. I would like to remove the following parts please:
Attachment 131402 Is it possible? Thank you! EDIT: I would also like to bring the ad inside the post a bit down please. It is right at the top. Is it possible to have it completely in the center. From left to right and bottom to top. Thanks. EDIT AGAIN: Sorry, disregard the above. I managed to get it done myself. Thanks again! Attachment 131403 |
Quote:
|
I'm sorry but I do not know the circuit, I could return the entire code that currently uses to insert the ads in vbulletin
In this way I can try to my test vbulletin Thanks |
is this working in 4.1.7 ?
|
This really is a great mod. The only thing missing is the ability to have a different second post add in every forum.
For example, Add X in Forum X. Add Y in Forum Y. Add Z in Forum Z. |
Does not work right with 4.1.7... needs to be updated.
|
On my test forum the addon works fine with vbulletin 4.1.7
Regards |
Quote:
Iquote for example doesn't work for me with it... |
Quote:
you can try to disable or remove my addon and see if iquote works on 4.1.7 regards |
Quote:
|
Great Plugin!!
I have some questions 1. Can you change the avater for a ad? 2. Any advise of how to add the ad to the last post? You can see the example of what i need to do in this url: http://anabolicminds.com/forum/suppl...e-anabeta.html Look the second and last post (the avatar is a ad) |
All times are GMT. The time now is 03:12 PM. |
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:
|