Search found 286 matches

by Peekay
Tue 27. Jul 2010, 21:20
Forum: phpwcms Templates English
Topic: Force template selection using PHP
Replies: 1
Views: 7649

Force template selection using PHP

Can I overide the template that is allocated to each section of the site structure by using raw PHP? For example, say I added a script that detected the Opera browser. Could I then change the homepage template from 'example_template' to 'opera_template' using a conditional statement like: if($isOper...
by Peekay
Sat 21. Nov 2009, 22:40
Forum: phpwcms Support English
Topic: Form Tracking - what's it doing?
Replies: 6
Views: 7473

Re: Form Tracking - what's it doing?

Code: Select all

$phpwcms['form_tracking']     = 1;
Many thx flip-flop. Didn't spot that. :)

If this could be read by a module to do some stats it would be great, provided the records are based on form submissions and not just hits.
by Peekay
Sat 21. Nov 2009, 18:57
Forum: phpwcms Support English
Topic: Image Cache - how to disable?
Replies: 1
Views: 642

Image Cache - how to disable?

I have a few sites running PHPWCMS 1.3.9 and noticed the 'phpwcms_imgcache' table filling up fast.

In config I have cache 'off' but is this the same cache?

Code: Select all

$phpwcms['cache_enabled']     = 0;        //cache On/Off - 1 = caching On / 0 = caching Off (default)
$phpwcms['cache_timeout']     = 0;
by Peekay
Sat 21. Nov 2009, 18:00
Forum: phpwcms Support English
Topic: Form Tracking - what's it doing?
Replies: 6
Views: 7473

Form Tracking - what's it doing?

I exported a database recently and came across the 'phpwcms_formtracking' table. It was quite large. What exactly is this recording? -- Edit -- OK, I can see from the server log it's recording requests for the contact form. There are in some cases several concurrent requests. Is this triggered on an...
by Peekay
Sat 4. Jul 2009, 17:23
Forum: phpwcms Support English
Topic: Multiple File Upload problem
Replies: 19
Views: 4976

Re: Multiple File Upload problem

That's great news Oliver. Many thx. :D
by Peekay
Thu 2. Jul 2009, 21:28
Forum: phpwcms Support English
Topic: Multiple File Upload problem
Replies: 19
Views: 4976

Re: Multiple File Upload problem

I don't suppose anyone has found a way of getting this feature to work with Flash 10 plugin yet? Also, does anyone know if it is even possible to fix? (I mean is it worth me trying to hack the code myself). It's just that a client of mine asked me if it was broke for good and I'm not sure what to te...
by Peekay
Sat 13. Jun 2009, 15:00
Forum: phpwcms Support English
Topic: Multilingual website
Replies: 4
Views: 1143

Re: Multilingual website

You create one site structure as usual, but add tags to the structure names, e.g. [en]Home[/en][de]Startseite[/de][fr]Accueil[/fr] And then do the same with articles, e.g. Title: [en]Welcome[/en][de]Wilcommen[/de][fr]Bonjour[/fr] WYSIWYG Text: [en]Our extensive range of equipment from leading manufa...
by Peekay
Sat 13. Jun 2009, 14:39
Forum: phpwcms Support English
Topic: Multilingual website
Replies: 4
Views: 1143

Re: Multilingual website

A site with 10 language options is going to be an interesting challenge I think! It may not be suitable for this project, but the PHPWCMS 1.39+ built-in multilanguage feature is great. To summarise the instructions: In '/config/phpwcms' Open 'conf.inc.php' Change: $phpwcms['allowed_lang'] = array('e...
by Peekay
Thu 4. Jun 2009, 22:25
Forum: phpwcms Support English
Topic: Multiple File Upload problem
Replies: 19
Views: 4976

Re: Multiple File Upload problem

The Flash 10 plugin is a piece of garbage. If you Google it, you'll find that it broke features in Joomla, WordPress, Drupal and now PHPWCMS. I'm sure that Flash designers love it, but it delivered nothing of value to most people and screwed things up for lots of people. Adobe should be ashamed of t...
by Peekay
Mon 1. Jun 2009, 13:31
Forum: phpwcms Support English
Topic: Copy and paste article - only admin works?
Replies: 3
Views: 869

Re: Copy and paste article - only admin works?

OK. If you want to allow ordinary users to cut, copy and paste articles: include/inc_act/act_structure.php line 43 change: if($_SESSION["wcs_user_admin"] == 1) { to: if(($_SESSION["wcs_user_admin"] == 1) || ($_SESSION["wcs_user_admin"] == 0)) { This doesn't appear to affect editing or deletion permi...
by Peekay
Mon 1. Jun 2009, 01:39
Forum: phpwcms Support English
Topic: Copy and paste article - only admin works?
Replies: 3
Views: 869

Re: Copy and paste article - only admin works?

Can anyone point me at the code that sets the permissions for the cut/copy article function? I'm trying to find it, but having no luck at present. :?
by Peekay
Mon 25. May 2009, 23:32
Forum: phpwcms Support English
Topic: Copy and paste article - only admin works?
Replies: 3
Views: 869

Copy and paste article - only admin works?

PHPWCMS 1.3.9

I have discovered that Admin users can copy and paste articles from the Article screen, but ordinary users cannot?.

Anyone know a fix? :?
by Peekay
Mon 18. May 2009, 03:18
Forum: phpwcms Support English
Topic: invalid cookie path showing up in lynx
Replies: 4
Views: 1460

Re: invalid cookie path showing up in lynx

I always had the 'accept invalid cookie path=' issue when testing sites using Lynx with PHPWCMS 1.28 and earlier (even on localhost with no Apache redirect). The set cookies were: Cookie: bb2_screener_ . Content: 1232606733+127.0.0.1 Cookie: PHPSESSID Content: 2b5fc1d96a8... With the current version...
by Peekay
Sun 1. Mar 2009, 02:44
Forum: phpwcms Support English
Topic: Creating different User Groups
Replies: 28
Views: 5059

Re: Creating different User Groups

The idea of groups on the admin side certainly appeals to me. Recently, a 'normal' user employed by one of my clients went on holiday and my client wanted to be able to edit their articles (they had published something incorrectly). To resolve the issue I had to give admin status to another 'ordinar...
by Peekay
Tue 26. Aug 2008, 21:07
Forum: phpwcms Support English
Topic: 1.2.9 (pre) : {NAV_LIST_UL:VCSS} Not working in IE7
Replies: 1
Views: 1028

Re: 1.2.9 (pre) : {NAV_LIST_UL:VCSS} Not working in IE7

This is IE being (typically) pedantic about height and width values. A width will do in this case. You need to do the math based on the width of your particular menu. phpwcms_template/inc_css/specific/nav_list_ul_vcss.css Say the width value of your 'vcss_menu li ul class' is 229px. The default padd...