![]() |
I believe this code provides in showing the banner after the third post in forums 1, 2 and 3. In your case, this code should be placed in the "postbit" or "postbit_legacy" template
PHP Code:
|
Thanks for this! :up:
How do you increase this to more than ten banners or how do you run a 2nd instance of this same mod on the same page? |
Is it possible to add this to CMPS?
|
Quote:
You can place the variable more than once Quote:
|
nice mod..
marked installed....thanks.. |
I understand we can edit our CMPS template and add this, but what I want to be able to do on CMPS is to have this set as a center 'module' so I can rotate a series of images that change with every refresh. I've played with it, but can't figure out how to make that work.
Idea? |
You probably added $tenrandombanners as a BBcode in the module. That variable only works in templates :)
I made a CMPS module which does exactly what you're looking for. I also updated the code of the plugin for better rotation. |
I knew the template code wouldn't work, just wasn't sure where to go from there. Awesome - I'm going to give it a try - thanks for the effort!
|
Working like a charm. Took me a bit to figure out I had to upload the first xml as a 'product', then upload the other xml in the CMPS section as a module, but I got it going. Thanks! Not often you ask for very specific help and get it. Truly appreciated.
|
Will this work on vbulletin version 4??? Anyone tried it?
|
All times are GMT. The time now is 03:42 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:
|