how to get this to work in a pmx-php block

Started by Cool, 2010 January 26, 05:58:58 pm

previous topic - next topic

0 Members and 1 Guest are viewing this topic.

Cool

*
2010 January 26, 05:58:58 pm

this is the code i try:
Code Select
include_once("/public_html/Forum/tools/banner/banner_ads.php");
echo "<div align='center'>$bannerAd</div>";


it is not more then a banner rotator
|I Use: SMF 2.0.5 | PortaMx 1.51
Q: What do you do when you see a bear in the woods?
A: Play Dead!
H-A-H-L = Happy Admins Have Linux

codebirth

*
#1
2010 January 26, 06:58:58 pm
It works for me.

Maybe the path is incorrect ? Something like /home/account/public_html/Forum/tools/banner/banner_ads.php ?

c o d e b i r t h
http://codebirth.com/smf

nend

*
#2
2010 January 27, 06:35:36 pm
Quote from: Cool, 2010 January 26, 05:58:58 pm

this is the code i try:
Code Select
include_once("/public_html/Forum/tools/banner/banner_ads.php");
echo "<div align='center'>$bannerAd</div>";


it is not more then a banner rotator


Try this.
this is the code i try:
Code Select
include_once("./tools/banner/banner_ads.php");
echo "<div align='center'>$bannerAd</div>";

* Shouts

Feline
2018 Aug. 21, 08:10:46 pm
Today we update our Forum to the Version 1.45
Feline
2018 Jun. 09, 07:54:13 pm
Today we update our Forum to Version 1.4
This release is full compatible with the EU GDPR
Feline
2018 Mar. 28, 11:56:21 am
Update for PortaMx 1.54 ecl released.
With this updates the Portal works with PHP 7.x and SMF 2.0.15
Feline
2018 Mar. 17, 10:35:03 pm
PortaMx Forum 1.3
released !

*
Feline
2017 Dec. 10, 04:30:54 am
Today we switched to PHP 7.2 and activate Opcode caching.
Fast .. Very fast *
Feline
2017 Mar. 03, 11:54:35 pm
Today we upgrade our old SMF 2.0 Forum to PortaMx Forum *

* Calendar

Su
Mo
Tu
We
Th
Fr
Sa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31