![]() |
How to add your own custom adcode blocks in 3 minutes
Download the zip file and open the named php files using a plain text editor (something like MSWord which uses formatting will break the code). Follow the simple instructions below then save, upload and overwrite your existing files. Your new custom adcode block will be at the bottom of the header/footer section of your vB Ad Management settings. You can add as many custom blocks as you like as long as you give each one a different name. They'll work on any page, obey all permissions and work with all features including Ad-Sharing. To name a custom adcode block, just find/replace every instance of the word "custom" in the code below with the new name of your choice. IN FILE vb_ad_management_310.xml, FIND: PHP Code:
ADD BELOW: PHP Code:
IN FILE includes/vb_ad_management/cache_templates.php, FIND: PHP Code:
PHP Code:
IN FILE includes/vb_ad_management/global_start.php,FIND: PHP Code:
PHP Code:
IN FILE includes/vb_ad_management/global_start.php,FIND: PHP Code:
ADD BELOW: PHP Code:
|
how do we update? any instructions on that?
|
It was in the update, titled "Instructions"
Quote:
|
opps :o now I see it. Thank you again.
|
im getting uncached templates postbit_advertisement which is the only one I use for now so I cant tell if the others are showing not cached.
|
Did you upload all the vb_ad_management files?
|
yes I did im using vBMicroStats and right at the bottom it shows that template as uncached.
|
If it's installed correctly there should be no problem, I'm using vBulletin's built-in function that displays uncached templates and there are none. I suppose it's possible that modification runs before the templates for this modification are cached? I don't know.
Add this line to your includes/config.php file along with the rest of the settings then save the file and overwrite the existing config.php file on your setting. Code:
$config['Misc']['debug'] = true; |
strange it dont say it there but it does on his... Do you have the older version of this until he or you can fix it?
|
Well as far as I can see, the problem is with his modification not mine. So there's no reason to use an older version.
|
All times are GMT. The time now is 03:21 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:
|