Page 3 of 4
Posted: Tue 26. Sep 2006, 19:10
by culda_a
Hi wingover... is possible to have a version that supports flash files to?
some problems...
Posted: Fri 6. Oct 2006, 21:10
by tellus
I am using 1.2.8 and have installed the module. The problem is that it dosent appaer in the module menu, only the bullet. What have I done wrong and how do I fix it?
I have follow the instruktions as followed.
/Anders
Posted: Wed 11. Oct 2006, 20:30
by culda_a
check again the instructions ...you sure have forghet to edit some files
Posted: Sat 14. Oct 2006, 10:27
by jmansa
I have also installed it in 1.2.8 and I get the banner link under modules in backend, but when I click on it nothing happens??? No menu or nothing... Anu idea?!?
Posted: Thu 19. Oct 2006, 12:30
by wingover
Hallo,
I tried to install the Banner MOD in 1.2.8 and it`s working.
In the Version 1.2.8 some things changed in 'phpwcms.php' and 'content.func.inc.php', so you must insert the changes on the correct places.
I think, I must write new instructions for install...
The Flash-Support is in work. But at the moment, I have not enought time. I try to do that as soon as possible...
Grüzli - Andi
Posted: Fri 20. Oct 2006, 11:59
by wingover
Hi, I made some small changes:
- a javascript confirm-box ask you now, before you edit or delete
The download-link is the same...
Grüzli - Andi
Posted: Sun 12. Nov 2006, 15:46
by wingover
Hi,
I made some small changes on 12.11.2006.
Posted: Thu 23. Nov 2006, 13:32
by lady_witchcraft
very nice mod!!! istalled it on my phpwcms 1.2.8 and its running, everything is ok
BUT the link doesn't work, maybe the mod is not ready to be used on a subdomain? or is the search engine friendly .phtml thing the cause for my problem? who can help me? any ideas of fixing my prob?
when i click or on mouse over the banners the statebar (is this the right english word?
) shows (and in the new window an 404 error occures!)
Code: Select all
http://subdomain.mydomain.org/&banner=3
so i think the problem is the path of the elements of a link... any suggestions? thx in advance guys!!!
Posted: Thu 23. Nov 2006, 15:38
by lady_witchcraft
no solution for my problem (above) yet??!!
as i searched the bann.func.inc.php for a solution i found something else missing, just a little change, 'cause the alt tag doesn't appear in firefox and safari...
so i added
title="' . $banner_conf['alt'] . '"
in line 83 after the alt="" code, so the alt tag is shown in every browser now
i know you know
as i mentioned before, only a very little change, maybe someone else needs or likes the title tag
Posted: Sun 26. Nov 2006, 01:23
by wingover
Hi lady_witchcraft,
you can try to change two lines in the 'banner.func.inc.php'.
Replace in line 79 and 83:
$_SERVER['REQUEST_URI']
with
'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']
You need the complete path in the link with all php-variables at the end.
You have something like 'index.php?menu_a' or 'index.php?id=1,2,3,4'.
If you click on a banner you need the complete path with the banner-number at the end. Something like 'index.php?menu_a&banner=3'
Not tested, but it could be a solution.
If not, I will fix it next week... (I try to fix it
)
Grüzli - Andi
Posted: Sun 26. Nov 2006, 13:03
by lady_witchcraft
@wingover:
thx for your suggestion!!!
i've changed the 2 lines and now the mod shows the correct path
BUT it only opens this path in a new window, seems that the mod does not work right (in my case) with the banner-urls...
just for info: i'm using phpwcms 1.2.8, rewrite url = on, and phpwcms is installed in a subdomain folder... testet in safari and firefox on a mac
and when i embed the RT in the startpage the link shows
maybe the rewrite url function is the cause for the disfunction?!
thx for any further suggestions and hints in advance to solve this prob wingover!!!
Posted: Sat 2. Dec 2006, 00:45
by wingover
Hi,
I turned the 'rewrite' on my local Server on to test your 'problem'.
I changed the rewrite-rule in the .htaccess and now it`s working.
RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.phtml$ index.php?id=$1,$2,$3,$4,$5,$6
change to:
RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.phtml(.+)?$ index.php?id=$1,$2,$3,$4,$5,$6&$7
RewriteRule ^(.+)\.phtml$ index.php?$1
change to:
RewriteRule ^(.+)\.phtml(.+)?$ index.php?$1&$2
OR
RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.phtml$ /mysubdir/index.php?id=$1,$2,$3,$4,$5,$6
change to:
RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.phtml(.+)?$ /phpwcms_test/index.php?id=$1,$2,$3,$4,$5,$6&$7
RewriteRule ^(.+)\.phtml$ /mysubdir/index.php?$1
change to:
RewriteRule ^(.+)\.phtml(.+)?$ /mysubdir/index.php?$1&$2
Grüzli - Andi
Posted: Sun 3. Dec 2006, 18:45
by lady_witchcraft
@ andi/wingover:
THX A LOT everything works fine now!!! well done my phpwcms hero
Posted: Thu 4. Jan 2007, 03:14
by StudioZ
@wingover:
I have been waiting for such functionnality inside PhpWCMS...
If I well read/understood this thread, your new Bannner Mod allows us to assign an URL to a clickable image
Is this is really it ?
Cheers,
Yves
Posted: Sun 14. Jan 2007, 20:29
by wingover
Hi Yves,
you can upload images, create groups and banners.
Each banner must be assigned to a group.
The groups you can place in your template or content with the reptag.
Grüzli - Andi