1
ruelluis
AMS and Agenda X
  • 2005/4/16 5:19

  • ruelluis

  • Just popping in

  • Posts: 54

  • Since: 2005/4/6 1


1. I'm using AMS module for my site. i was wondering how to remove the article star rating in every article posted.

2. I'm also using agenda X, but have problems with the timezone. I already set the correct zone - +8 coz i'm from the phils. but the date on the minical is one day behind.

Any help ius very much appreciated...thanks

2
brash
Re: AMS and Agenda X
  • 2005/4/16 13:42

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


For AMS you'll need to clone and then edit the ams_article.html template to remove the rating stars.

3
toddlynn
Re: AMS and Agenda X
  • 2005/5/12 20:45

  • toddlynn

  • Just popping in

  • Posts: 52

  • Since: 2004/1/7 5


Is there a fix for how the dates are layed out? I would like my week to start out on Sunday. AgendaX starts with Monday.

4
VideoDude
Re: AMS and Agenda X
  • 2005/5/12 21:49

  • VideoDude

  • Friend of XOOPS

  • Posts: 60

  • Since: 2004/6/4 1


Regarding Agenda-X... within the file "config.inc.php" there's a line that reads,
$day_start '1';  # 0 for sunday, 1 for monday
Change the one (1) to a zero (0).

Oh, and as a kind piece of advice... You might want to reconsider using Agenda-X. wJue seems to have stopped supporting it. There's a big, BIG problem with his module. Anytime someone posts an event to Agenda-X with a description that includes an apostrophe (single or double), the event basically gets discarded. You'll never see the event show up as a "Pending" event, and your users will not understand why you're not posting their requests.

wJue actually wrote in a post, "oh, mamaya...... I abandon." https://xoops.org/modules/news/article.php?storyid=1692&com_id=9692&com_rootid=9604&com_mode=thread&#comment9692 I'm guessing this means he was abondoning the project all together. He posted that quote on Sept 9, 2004 and was last seen logged onto this site 6 days later. He hasn't been seen since.

So unless someone's willing to pick this up again...

5
VideoDude
Re: AMS and Agenda X
  • 2005/5/13 18:16

  • VideoDude

  • Friend of XOOPS

  • Posts: 60

  • Since: 2004/6/4 1


geoffgibbs made this recommendation regarding the Agenda-X apostrophe/quotation mark bug. I applied it and it seems to have fixed the problem...

Find the file "/modules/agendax/addevent.inc.php" and change:

$query = "insert into ".XOOPS_DB_PREFIX."_agendax_events
values('',NULL,NULL,'$title','$description','$contact','$url',
'$email','$foto','$cat','$startDate','0',$modif_date,
$modif_time,'0','2','0','0','0','$approve', '$submit_by', '$type', '$access')";


to

$query = "insert into ".XOOPS_DB_PREFIX."_agendax_events
values('', NULL, NULL, '".addslashes($title)."','".addslashes($description)."',
'".addslashes($contact)."','".addslashes($url)."',
'".addslashes($email)."','".addslashes($foto)."',
'".addslashes($cat)."','$startDate','0',
$modif_date,$modif_time,'0','2','0','0','0','$approve',
'$submit_by', '$type', '$access')";


I'm guessing the ".addslashes" is a Smarty Template Engine thing.

6
toddlynn
Re: AMS and Agenda X
  • 2005/5/16 20:52

  • toddlynn

  • Just popping in

  • Posts: 52

  • Since: 2004/1/7 5


Fixed!

//$day_start = '0'; # 0 for sunday, 1 for monday
$day_start = '0'; # 0 for sunday, 1 for monday

Thank you,
Todd
GNP Designz

7
Kainaij
Re: AMS and Agenda X
  • 2005/6/2 12:48

  • Kainaij

  • Quite a regular

  • Posts: 256

  • Since: 2004/10/5


Is the AgendaX problem fixed? No more problems with this hack?

Login

Who's Online

205 user(s) are online (162 user(s) are browsing Support Forums)


Members: 0


Guests: 205


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits