![]() |
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? |
All times are GMT. The time now is 03:08 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:
|