The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
insert an ad on each post
I want to insert a code of an advertisement to the right of all my posts (see capture).
can someone tell me or put the code, I think it's on the template (postbit_legacy) Thanks for your help here is a catch to be more explicit |
#2
|
|||
|
|||
just from a user experience standpoint, i am not sure I would not do this. As a suggestion have a couple of slots that add ads after certain posts that appear below the posts
see the attached image if you want to do this - build a plug-in off postbit_display_complete Code:
global $ids; $excluded = XX; // for any usergroups to exclude if (!is_member_of($vbulletin->userinfo, $excluded) AND $post['postid'] == $ids[POST NUMBER] AND THIS_SCRIPT !== 'private') { $template_hook['postbit_end'] .= '<center> AD CODE GOES HERE } if you think this can help you, use it. |
#3
|
|||
|
|||
thanks a lot for your answer and help scottkoz20
but unfortunately it is not the place that suits me I want the place as in the capture if it's possible thanks again |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|