The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
The second post is advertising Details »» | |||||||||||||||||||||||||||||||||||||||||||
I know that there are many addons but I like the special needs, sorry for my bad English
With this addon the second post is not necessarily a post Google Adsense ADS as to release the users was chosen to allow free insertion of HTML Ads. The addon has the following functions: 1) automatically uses the style of postboard (postbit o postbit_legacy) 2) it is possible to exclude some forum posts from viewing ads 3) it is possible to exclude some groups of users from viewing post ads 4) it is possible to exclude some discussions based on prefix 5) it is possible to customize the user profile virtual ads - nickname and avatar (usertitle ? Location - Join Date ecc. need to modify the phrase) I hope it will be useful to some of you. Regards Install: Import product_second_post_ads.xml Configure in vBulletin Options -> Ads Second Post This plugin adds: 2 template postbit_ads_ct_2th postbit_legacy_ads_ct_2th 2 plugin Second Post ADS Cache template 10 phrase Changelog 2.0.0 only post nr.2 is ads 2.0.1 Added option on every page is the second post ads (post 11) 2.0.2 fixed two error template postbit_legacy - change admin option 2.0.3 fix the code for compatibility vb. 4.0.4 or higher 2.0.4 add option align post ads 2.0.5
the second option ads is strongly bound by the general filters: Forums to be Excluded 2.0.6 fix inline mod select/deselect all 2.0.7 fix mini bug 2.0.8 fix dependency version - add two phrases - fix folder upload 2.0.9 fix bug option exclude prefix - fix ads on pm - change dependency version Translations Italian Collectiontricks.it Arabic - Dr.osamA (vers. 2.0.2) German - Igel1 (vers. 2.0.3) Download Now
Screenshots
Show Your Support
|
7 благодарности(ей) от: | ||
findingpeace, hugh_, m!dn!ght, mapleleaffans, mohammadxxx, sodasusu, SWSUSA |
Comments |
#122
|
|||
|
|||
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 |
#123
|
||||
|
||||
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 |
#124
|
|||
|
|||
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 |
#125
|
||||
|
||||
Quote:
in your case probably should create a group no-ads, exclude this, and assigned to admin the secondary group no-ads |
#126
|
|||
|
|||
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 |
#127
|
||||
|
||||
hi
should be sufficient to make this admincp ->Plugins & Products ->Plugin Manager search Second Post ADS (press edit) seach this code Code:
if (is_member_of($this->registry->userinfo,$ctads['groups'])) { $ctads['ok'] = false; } Code:
if (!is_member_of($this->registry->userinfo,$ctads['groups'])) { $ctads['ok'] = false; }
let me know if it works Regards, Asterix |
#128
|
|||
|
|||
Any one? Thank you
|
#129
|
||||
|
||||
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) { $templater = vB_Template::create('postbit_ads_ct_2th'); $templater->register('post', $post); $templater->register('ctads', $ctads); $template_hook['postbit_end'] .= $templater->render(); } if ($ctads['ok'] && $ctads['template'] == 1) { $templater = vB_Template::create('postbit_legacy_ads_ct_2th'); $templater->register('post', $post); $templater->register('ctads', $ctads); $template_hook['postbit_end'] .= $templater->render(); } Code:
if ($ctads['ok'] && $ctads['template'] == 0) { $templater = vB_Template::create('postbit_ads_ct_2th'); $templater->register('post', $post); $templater->register('ctads', $ctads); $ctads['template'] .= $templater->render(); } if ($ctads['ok'] && $ctads['template'] == 1) { $templater = vB_Template::create('postbit_legacy_ads_ct_2th'); $templater->register('post', $post); $templater->register('ctads', $ctads); $ctads['template'] .= $templater->render(); } vB_Template::preRegister('postbit',array('ctads' => $ctads)); vB_Template::preRegister('postbit_legacy',array('ctads' => $ctads)); I have not tested but should work Regards Asterix |
#131
|
|||
|
|||
Worked perfect .... :up:
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 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|