Web Hosting Talk







View Full Version : To: WHT admin - Phpadsnew configuration in Webhostingtalk.com


DJ
05-08-2002, 06:11 AM
I realised that WHT is using phpadsnew. I was wondering which version are you using and are you using local mode invocation?

If you are using version beta 6.1, could you share with me your configuration? What do you have in your php include template?

I have the following and it got a database error.

require
("/home/chikopek/public_html/phpads/phpadsnew.inc.php"
);
$ads = view_raw('468x60', 1, '', '', '0');

Then i used the following in the template.

$ads[html]

Thank you.

MattF
05-08-2002, 07:56 AM
We don't use the VBulletin template phpinclude we've hacked global.php and /admin/functions.php to give accurate statistics.

I don't have a local copy of the configuration and no longer have root access to the server, but the above informations should get you started/exploring.

padders
05-08-2002, 10:58 AM
There are loads of threads at vbulletin.org if not at vbulletin.com about how to do this. I know i did it once and posted there.