The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
|||
|
|||
Thanks for this thread and Mark and Sal for the discussion
I built a plugin to go after the 5th post of a thread that is displaying based on this information and works flawlessly! EDIT: I might want to dynamically look to add this to the final post on a displayed thread regardless of the number of posts, but this is something I'll deal with later |
#22
|
|||
|
|||
hmmm - well, I thought it was flawless
when I use the following code (want to do this after post 3, 6 and 10 (I have 3 different plugins) - it is adding addition ads onto the Private Message Inbox in between the message and the Quick Reply section. I already have 1 add that exist, it's adding 1 for each plugin not sure how to put in the Not PM page(s) into this code (or to array the posts) as I could remove the Ad code for the PM's and allow this handle it Code:
global $ids; $excluded = array(88,115); if (!is_member_of($vbulletin->userinfo, $excluded) AND $post['postid'] == $ids[2]) { $template_hook['postbit_end'] .= '<center>AD CODE</center>'; } |
#23
|
||||
|
||||
If you wish to exclude private messages, then add the condition:
PHP Code:
|
#24
|
|||
|
|||
you rock!
thanks Mark |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|