Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 08 Oct 2011, 11:53
cionfs's Avatar
cionfs cionfs is offline
 
Join Date: Jun 2007
Real name: Antonio
How to include a php file for ad rotator?

Hi!
I've a problem to include a php file in my postbit_legacy.

I follow this -> https://www.vbulletin.com/docs/html/..._externalfiles

I create a Plug-in for global_start with these contents:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The file is under adrotator/adrotator.php but when I insert this


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

It not appear.

Have you any suggestion?

PS: sorry for my bad english.

PSS: I use vBulletin 3.8.7
__________________
Cionfs'Forum CMS: CMS Support
Reply With Quote
  #2  
Old 08 Oct 2011, 12:10
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
In the postbit_legacy template, try using $GLOBALS[adrotator]. (Also make sure you are using the same style that you're editing).
Reply With Quote
  #3  
Old 08 Oct 2011, 12:11
cionfs's Avatar
cionfs cionfs is offline
 
Join Date: Jun 2007
Real name: Antonio
I've changed global_start with postbit_display_start and it works.

Originally Posted by kh99 View Post
In the postbit_legacy template, try using $GLOBALS[adrotator]. (Also make sure you are using the same style that you're editing).
Thank you. It works with this solution too.
__________________
Cionfs'Forum CMS: CMS Support
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 07:05.

Layout Options | Width: Wide Color: