Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Francis

Pages: [1] 2 3
1
SimpleDesk Support / Re: I request to join BETA
« on: October 30, 2011, 09:52:33 pm »
WOW?! O_O LOL

2
SimpleDesk Support / Re: Insert user fields
« on: January 19, 2011, 06:06:22 pm »
To be honest I would of simply limited the database field to 250 and edited the string for Description to Description (250 characters max.).

3
SimpleDesk Support / Re: Insert user fields
« on: January 19, 2011, 12:45:16 am »
Well, the validation is going to be needed in shd_save_ticket (which is when the error handling is done) - look for the array building of $context['shd_errors']. Add to that, then it'll trigger being redisplayed to the user. Make sure to repopulate $context['ticket_form'] though so it's put back into the template.

Thanks for the answer,  I did before you answer but I apreciate your help,  i do something like this:
@SimpleDesk-Post.php
   @shd_save_ticket


if (!isset($_POST['myvariable']) || $smcFunc['htmltrim']($smcFunc['htmlspecialchars']($_POST['myvariable'])) === ''
   ||$_POST['producto']=="..." )  // this is because my variables ...
   {
      $context['shd_errors'][] = 'no_myvariable';   // this is the name of the error
      $_POST['myvariable'] = '';
   }

then

@Error.english.php
$txt['no_myvariable']     = 'My Error Message ...';//'';


and then everithing works like a charm :) 


Wel Im traying to write all I done because maybe later I will need it again or  maybe help to someone else.

by the way Im trying to add some function to the text area, I need to limit to a #  and nee to display how characters are remaining,  Im stuck with the display  the remaining chars ... if someone could help  pleaase  !!!


Regards,
Displaying the remaining characters can be done with Javascript. Just Google for a characters countdown. :)

4
SimpleDesk Support / Re: Insert user fields
« on: January 16, 2011, 08:33:23 pm »
Use PHP to do:
<?php echo '<script type="text/javascript">alert("' $_REQUEST['myvariables'] . '");<script>'?>
Or maybe -
<?php echo '<script type="text/javascript">alert("' print_r($_REQUEST) . '");<script>'?>

I don't get what fields you want to add, what would they be?

5
SimpleDesk Support / Re: Insert user fields
« on: January 16, 2011, 11:04:51 am »
There's also 6 separate functions you'll have to modify, which is basically every place that $context['ticket_form'] is created.
Well actually, these functions are in the files listed above by Cookie Monster.

6
SimpleDesk Support / Re: Insert user fields
« on: January 15, 2011, 12:31:25 am »
Hi,

Inserting of the tickets is done in Sources\SimpleDesk-Post.php. The very first function contains the parameters to insert in the database, if I remember correctly. $context is defined there as well.

7
SimpleDesk Support / Re: Language
« on: January 13, 2011, 05:56:59 pm »
Clearing the cache usually fixes the language-related problems, unless it is not correctly named (could be a problem if you use UTF-8 but don't have UTF-8 language files).

EDIT: WOW. My page was left open so long, didn't even notice that chilly had answered first.

8
Site Comments / Re: Countdown progress bar...
« on: February 26, 2010, 12:04:33 pm »
that assumes you just want the % figure, not any of the images, right?
Less bandwidth = for the win. ;)

9
Site Comments / Re: Countdown progress bar...
« on: February 26, 2010, 09:10:21 am »
Make the same query and display it just below the theme's menu, above the link tree. A simple edit in index.template.php would work well for the moment, I think. :)

10
Site Comments / Re: Yet another PT bug... D:
« on: February 24, 2010, 01:05:07 am »
Well I didn't know. :) No problem.

11
Site Comments / Yet another PT bug... D:
« on: February 23, 2010, 09:06:33 pm »
Hey peeps, I just found a new bug. It shows the last actions as Guest. While the older ones do not. And these actions were by Arantor. Look at the attached screenshot.

12
General Discussion / Re: Corrupt my wish
« on: February 23, 2010, 08:05:08 pm »
Granted, but how would my grandma update to a new version then?

I wish I had something to translate. :)

13
SimpleDesk Team Blog / Re: The road to 1.0
« on: February 23, 2010, 05:57:35 pm »
No, the confusion is simply over how the front page is arranged. Tickets can only be assigned to one person at a time.

Well, we can throw the language files at you but we'd rather have a translation tool in place first. Trouble is, Nas and I have been busy working on SD itself and not had time to work on the language editor.

Might have to just issue the language files somewhere in the forum for you to get cracking... not sure yet. I'm still adding language strings on an almost daily basis right now!

Perhaps you should expand the team...one or two more people wouldn't hurt, and you'd be able to get them to do things like translation editor or anything else that needs to be done while you and Nas work on the core project. You could even make a "customizer" group for such a task.
That would be a good idea, IMO. :)

14
SimpleDesk Team Blog / Re: The road to 1.0
« on: February 23, 2010, 09:10:48 am »
No, the confusion is simply over how the front page is arranged. Tickets can only be assigned to one person at a time.

Well, we can throw the language files at you but we'd rather have a translation tool in place first. Trouble is, Nas and I have been busy working on SD itself and not had time to work on the language editor.

Might have to just issue the language files somewhere in the forum for you to get cracking... not sure yet. I'm still adding language strings on an almost daily basis right now!
Okay, well, it's up to you. :)

15
SimpleDesk Team Blog / Re: The road to 1.0
« on: February 22, 2010, 09:11:51 pm »
Does that confusion means that a ticket can be assigned to more than one person at once?

Also, is there any change there will be something to translate soon, because I'm the "hold list" for translating SD.

Pages: [1] 2 3