Search found 136 matches

by JensZ
Mon 10. Jul 2006, 13:48
Forum: hacks & enhancements
Topic: Web Poll Content Type
Replies: 36
Views: 23997

johnn,

1) Just do an update of the web poll content type
2) In the database table phpwcms_articlecontent, column acontent_form.

Cheers
by JensZ
Wed 21. Jun 2006, 13:43
Forum: hacks & enhancements
Topic: Web Poll Content Type
Replies: 36
Views: 23997

fopulu:
Sorry, can't change the width of the bars (1px = 1%).

culda_a:
The IP addresses does not get reset after 24h. Maybe your internet provider changed your IP so you could vote a second time? All IP addresses are saved until the web poll content part is updated.

Cheers,
Jens
by JensZ
Wed 24. May 2006, 14:59
Forum: hacks & enhancements
Topic: Web Poll Content Type
Replies: 36
Views: 23997

Hi Velo,

I believe you can do it when you add the content part. Next to where you set the button text there is a field ("style") where you can set the CSS style of the button.

Cheers,

Jens
by JensZ
Mon 13. Mar 2006, 17:09
Forum: hacks & enhancements
Topic: {NAV_MENUBAR} Dropdown menubar
Replies: 68
Views: 50296

I think it could be done quite easily with a few changes. I'm just guessing here, but try the following. change #1: function getHorizMenuBar($startLevel = 0) change #2: // Root level if($struct == $startLevel) change #3: if( ! ( strpos($content["all"],'{NAV_MENUBAR')===false ) ) { $content...
by JensZ
Fri 27. Jan 2006, 16:25
Forum: hacks & enhancements
Topic: News MOD
Replies: 67
Views: 44220

Ok, Now I have played around with it some more and I like it a lot. I have looked for something like this. Some users need an easy way to quickly write some text without having to worry about fancy content types, etc, and this mod would be the perfect solution. Here are a few enhancement suggestions...
by JensZ
Fri 27. Jan 2006, 10:52
Forum: hacks & enhancements
Topic: News MOD
Replies: 67
Views: 44220

After a first look, this looks really promising. I had to make some changes to get it to work, as I already have modules with IDs 2 and 3. I also had to comment out the following: if (stristr($_SESSION["wcs_usr_access"], "news_rw_")) { I suspect that is meant to prevent users wit...
by JensZ
Tue 24. Jan 2006, 17:01
Forum: hacks & enhancements
Topic: {NAV_MENUBAR} Dropdown menubar
Replies: 68
Views: 50296

You can always hide the structure levels that you don't want to see.
by JensZ
Tue 17. Jan 2006, 08:05
Forum: hacks & enhancements
Topic: Statistic for Visitor, Host, OS etc.
Replies: 91
Views: 90414

I updated a while back and had no problems. The structure is the same and I think that the phpwcms specific files lie outside. I don't remember running into any problems.

JZ
by JensZ
Mon 19. Dec 2005, 16:45
Forum: hacks & enhancements
Topic: News Flash Content Type [Updated 2.0.4]
Replies: 40
Views: 32996

Oops, is it possible to delete duplicate posts?
by JensZ
Mon 19. Dec 2005, 16:43
Forum: hacks & enhancements
Topic: News Flash Content Type [Updated 2.0.4]
Replies: 40
Views: 32996

UPDATED to version 2

Hi I've updated the news flash content type to allow selection of whole article categories. Actually it is a completely new content type because the changes would cause all previous news flash contents to not work anymore. Instructions and downloads: http://www.ikfrej.se/index.php?downloads http://w...
by JensZ
Thu 15. Dec 2005, 17:26
Forum: hacks & enhancements
Topic: {TEASER_EX} Replacement tag v1.90 - 10.1.2007
Replies: 398
Views: 181675

Hi All, If you don't want the updated version of the reptag_teaser_ex file to cause your old reptags to crash then ADD this line $content["all"] = preg_replace('/\{TEASER_EX:(.*?):(.*?):(.*?):(.*?):(.*?):(.*?):(.*?)\}/ie', 'get_teaser_ex_content("$1", "$2", "$3&quo...
by JensZ
Thu 15. Dec 2005, 16:29
Forum: hacks & enhancements
Topic: {NAV_MENUBAR} Dropdown menubar
Replies: 68
Views: 50296

Dear Ondergang,

I am not sure what you expect to see, but it doesn't look like you have any sublevels. Hence, you will not see submenues. The menubar seems to be working just fine.

Best Regards,

Jens
by JensZ
Mon 28. Nov 2005, 14:16
Forum: hacks & enhancements
Topic: {TEASER_EX} Replacement tag v1.90 - 10.1.2007
Replies: 398
Views: 181675

Hey Kobos,

Looks like you're not using the right format. There should be 7 colons.

Cheers,

Jens
by JensZ
Mon 28. Nov 2005, 12:26
Forum: phpwcms Support English
Topic: how to use a template for article listing for news?
Replies: 36
Views: 12631

Hi, I haven't read the whole thread, but it seems like it has something to do with showing article created in an article listing. I made a very simple hack a couple of weeks ago. Maybe there's already a better solution. This one allows you to use a new reptag {CREATEDATE} in article templates. In in...
by JensZ
Thu 24. Nov 2005, 10:33
Forum: hacks & enhancements
Topic: {NAV_MENUBAR} Dropdown menubar
Replies: 68
Views: 50296

I don't know exactly. I guess something would need to trigger an F event, like a time delay or something. For now, keep the onclick="return F(...);" so you can close it with a mouseclick. Check http://www.brainjar.com to see if can find your solution. Let me know if you find a solution. Ma...