• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: {date_added}

{date_added} 16 years 5 months ago #1466

  • rubinoae
  • rubinoae's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
I would like to display the date_added data from the table for a particular form. In the mod_forme_list module i tried to use {date_added} just as i would when i want to display a field i have created {myField} but this doesn't work. how can i make this work?
The administrator has disabled public write access.

Re:{date_added} 16 years 5 months ago #1467

  • alex
  • alex's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 443
  • Thank you received: 3
Hi Rubin,

you should try {jos_date_added}.

These are the global replacers in mod_forme_list:

{jos_sitename} = Site name
{jos_siteurl} = Site url
{jos_userip} = User IP
{jos_user_id} = User id(if registered)
{jos_date_added} = date added
{jos_username} = username(if registered)
{jos_email} = email(if registered)
{jos_counter} = number of the insertion
The administrator has disabled public write access.

Re:{date_added} 16 years 4 months ago #1608

  • kingsmen
  • kingsmen's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
alex wrote:
Hi Rubin,

you should try {jos_date_added}.

These are the global replacers in mod_forme_list:

{jos_sitename} = Site name
{jos_siteurl} = Site url
{jos_userip} = User IP
{jos_user_id} = User id(if registered)
{jos_date_added} = date added
{jos_username} = username(if registered)
{jos_email} = email(if registered)
{jos_counter} = number of the insertion

Alex,
I am trying to get the counter and the date added fields to display on my thank you and email pages. I have added them as you indicated above, but it is just printing out as \"{jos_counter}\" (no quotes) instead of a value (the fields I defined are printing out ok, just not the globals). I have a registered version that I purchased. I have installed the module mod_forme_list and the plugin. I like the component but need to be able to do this for it to be helpful I'd be more than happy to recommend it if I could figure this out and get it working. Any ideas on what I might be doing wrong?

thanks
The administrator has disabled public write access.

Re:{date_added} 16 years 4 months ago #1609

  • kingsmen
  • kingsmen's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
alex wrote:
Hi Rubin,

you should try {jos_date_added}.

These are the global replacers in mod_forme_list:

{jos_sitename} = Site name
{jos_siteurl} = Site url
{jos_userip} = User IP
{jos_user_id} = User id(if registered)
{jos_date_added} = date added
{jos_username} = username(if registered)
{jos_email} = email(if registered)
{jos_counter} = number of the insertion

Alex,
I am trying to get the counter and the date added fields to display on my thank you and email pages. I have added them as you indicated above, but it is just printing out as \"{jos_counter}\" (no quotes) instead of a value (the fields I defined are printing out ok, just not the globals). I have a registered version that I purchased. I have installed the module mod_forme_list and the plugin. I like the component but need to be able to do this for it to be helpful I'd be more than happy to recommend it if I could figure this out and get it working. Any ideas on what I might be doing wrong?

thanks
The administrator has disabled public write access.

Re:{date_added} 16 years 3 months ago #1738

  • dniezby
  • dniezby's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 136
  • Thank you received: 2
Hmm, the {jos_date_added} doesn't seem to parse in the eMails or the thank you page.

Are we sure of the syntax?
Dave Niezby
www.nsfilms.com
Nightshade Studios, CEO
The administrator has disabled public write access.

Re:{date_added} 16 years 1 week ago #2893

  • pgeale
  • pgeale's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
I have this issue too. Any thoughts?
{jos_date_added} turns up in email and thank-you page.

Thanks

PeterG
The administrator has disabled public write access.

Re:{date_added} 16 years 1 week ago #2894

  • pgeale
  • pgeale's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Oh, {jos_counter} likewise.
The administrator has disabled public write access.

Re:{date_added} 16 years 3 days ago #2930

  • pgeale
  • pgeale's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
:( Still looking for an answer.

My problem is still that the {jos_date_added} doesn't work as described above.

One thing that is interesting is that the problem DOES NOT occur if I submit directly with the url (like index.php?option=com_forme&fid=8).

The problem does occur when using the {mosforme 3} element in an article.

Any help is much appreciated.

Thanks
The administrator has disabled public write access.

Re:{date_added} 15 years 8 months ago #4406

I'm having the same problem, using the form in a {mosforme} tag on an article....none of the {jos_date_added} or {date_added} tags work.
Also, the {jos_name} in the default area doesn't work. Same goes for any suggested \"//<code> in the default area. It just repeats the tag and nothing else.

The problem goes away if you link to the form directly but I can't do that since the form is for registered users only and there's no option for making the form for certain users only (is there?).

I've already tried the {emailcloak=off} tag, but it just prints that at the top of the form. (Turning it off doesn't help either.)

It it because I'm using RSform! 1.0.4?
Has anyone found a fix for this?
The administrator has disabled public write access.

Re:{date_added} 14 years 2 months ago #9943

  • jacob
  • jacob's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
This problem is caused by 2 missing lines in the plugin file mosforme.php

Add the following lines to solve this:

(line 535) $fields[]->name = 'jos_date_added';
(line 559) $result = $data_row->date_added;

Since these lines of code are not missing in the component file the problem does not occur if the form is used directly (preview).

Hope this helps someone.
The administrator has disabled public write access.

Re:{date_added} 13 years 7 months ago #11668

  • info4057
  • info4057's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
OK, here's what i found after some trial and error:

{global:date_added}

This works!

And i think all "jos_..." codes will work, just remove "jos_" and add "global:"

Good luck.
The administrator has disabled public write access.

Re:{date_added} 13 years 4 months ago #12400

  • ledom
  • ledom's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Same problem as initial post here with mod forme_list on frontend...!

None {jos_date_added} and {global:date_added} work...

Hope someone could help.
Thanks
The administrator has disabled public write access.

Re:{date_added} 13 years 3 months ago #12509

  • jeffhoneyager
  • jeffhoneyager's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 46
  • Thank you received: 8
Same problem.

Tried the hack in the plugin,
in mod_forme_list.php - looks like the code is there

Line 65

$prm = date(_FORME_DATETIME,strtotime($data_row->date_added));

Nothing is working...

Any other ideas?

Thank you.

Peace & Joy,
Jeff Honeyager

integratedextensions.com
The administrator has disabled public write access.

Re:{date_added} 12 years 11 months ago #13746

  • etnr
  • etnr's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Same problem.

the variable jos_date_added also is not shown in mod_forme_list.
Help please!:(
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!