Skip to Content Skip to Menu

Eventlist reg users plugin

  • mpeetsma
  • mpeetsma
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
17 years 3 weeks ago #48996 by mpeetsma
Replied by mpeetsma on topic Re:Eventlist reg users plugin
works just fine!... Love it.. Just have to prettyup Eventlist now.. but its all cool

CB RULES!!
Runs an Adult Site built on Joomla

Advanced Profile Control & JSpaces Make CB1.1 what it needs to be!.. Don't setup without it!

Please Log in or Create an account to join the conversation.

  • ViRiL
  • ViRiL
  • OFFLINE
  • Posts: 15
  • Thanks: 0
  • Karma: 3
16 years 9 months ago #56968 by ViRiL
Replied by ViRiL on topic Re:Eventlist reg users plugin
hey, cool plugin!

thx!!

but i have one question.
how can i show only events in the future?
old events are not interesting on my site.

sorry for my english..... i try to do my very best

Please Log in or Create an account to join the conversation.

  • embasic
  • embasic
  • OFFLINE
  • Posts: 8
  • Thanks: 0
  • Karma: 3
16 years 7 months ago #60654 by embasic
Replied by embasic on topic Re:Eventlist reg users plugin
where can i download the plugin plug_eventlist_reg.zip? The link is broken!

Thanks!

Please Log in or Create an account to join the conversation.

  • kansaj
  • kansaj
  • OFFLINE
  • Posts: 1
  • Thanks: 0
  • Karma: 0
16 years 7 months ago #60758 by kansaj
Replied by kansaj on topic Re:No display of dates in CB-Tab: Solution
work perfect tested on CB 1.1 Joomla 1.0.15 event list 0.8.12 alpha
thank you! try to see if some new functionalities could be included as direct subscription or un form the tab :)

Please Log in or Create an account to join the conversation.

  • embasic
  • embasic
  • OFFLINE
  • Posts: 8
  • Thanks: 0
  • Karma: 3
16 years 7 months ago #61209 by embasic
Replied by embasic on topic Re:Eventlist reg users plugin
I have change the code of eventlis_reg.plugin.php - Replace with the original and only events in the future will shown - exactly only events they are published, but i think that you archive your events in a few days...

the code was changing on line 54 from

$query = "SELECT r.rdid, r.uid, s.titel, s.dates, s.locid, l.club, l.city"
. "\n FROM `#__eventlist_register` r,"
. "\n `#__eventlist_dates` s, `#__eventlist_locate` l"
. "\n WHERE r.uid = ".$user->id .""
. "\n AND r.rdid = s.id AND s.locid = l.id"
. "\n ORDER BY s.dates"
. "\n LIMIT 5";

TO

$query = "SELECT r.rdid, r.uid, s.titel, s.published, s.dates, s.locid, l.club, l.city"
. "\n FROM `#__eventlist_register` r,"
. "\n `#__eventlist_dates` s, `#__eventlist_locate` l"
. "\n WHERE r.uid = ".$user->id .""
. "\n AND r.rdid = s.id AND s.locid = l.id"
. "\n AND s.published = 1 "
. "\n ORDER BY s.dates"
. "\n LIMIT 5";

Post edited by: embasic, at: 2008/04/18 14:38

Post edited by: embasic, at: 2008/04/18 14:39
Attachments:

Please Log in or Create an account to join the conversation.

  • embasic
  • embasic
  • OFFLINE
  • Posts: 8
  • Thanks: 0
  • Karma: 3
16 years 7 months ago #61210 by embasic
Replied by embasic on topic Re:Eventlist reg users plugin
embasic wrote:

I have change the code of eventlis_reg.plugin.php - Replace with the original and only events in the future will shown - exactly only events they are published, but i think that you archive your events in a few days...

the code was changing on line 54 from

$query = "SELECT r.rdid, r.uid, s.titel, s.dates, s.locid, l.club, l.city"
. "\n FROM `#__eventlist_register` r,"
. "\n `#__eventlist_dates` s, `#__eventlist_locate` l"
. "\n WHERE r.uid = ".$user->id .""
. "\n AND r.rdid = s.id AND s.locid = l.id"
. "\n ORDER BY s.dates"
. "\n LIMIT 5";

TO



$query = "SELECT r.rdid, r.uid, s.titel, s.published, s.dates, s.locid, l.club, l.city"
. "\n FROM `#__eventlist_register` r,"
. "\n `#__eventlist_dates` s, `#__eventlist_locate` l"
. "\n WHERE r.uid = ".$user->id .""
. "\n AND r.rdid = s.id AND s.locid = l.id"
. "\n AND s.published = 1 "
. "\n ORDER BY s.dates"
. "\n LIMIT 5";

Post edited by: embasic, at: 2008/04/18 14:38

Post edited by: embasic, at: 2008/04/18 14:39

Attachment eventlist_reg.zip not found

Attachments:

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum