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.


Topics - TIMT

Pages: 1 2 3 [4]
46
Hi everybody

I need a list with the following information of the lightbox for a specific user:

  • Username (who belongs to the image in the lightbox)
  • Name of the image
  • Filename of the image
  • Category

I'd like to enter a username of a specific lightbox and get the list with the information above.

Thanks

47
Hi everybody

When a new user is activated, I'd like the radion button "email from admin" per default = YES. Now it is = NO.
It has already happend, that I forgot to set the radio button = YES and the user hasn't got my e-mails.

How can I change this default?

Thanks
TIMT

48
Hi everybody

My 4images, installed on the server of my provider, works fine.
Now I have installed 4images on my local PC.

I get the following Error Messages:
Code: [Select]
Notice: Undefined index: user_images in C:\Inetpub\wwwroot\photofrontal\includes\page_header.php on line 90

Notice: Undefined index: porto in C:\Inetpub\wwwroot\photofrontal\includes\page_header.php on line 489

Notice: Undefined index: bearbeitung in C:\Inetpub\wwwroot\photofrontal\includes\page_header.php on line 490

Notice: Undefined index: porto in C:\Inetpub\wwwroot\photofrontal\includes\page_header.php on line 494

Notice: Undefined index: bearbeitung in C:\Inetpub\wwwroot\photofrontal\includes\page_header.php on line 495

The indicated fields "porto" and "bearbeitung" are fields I have implemented with the MOD Online Shop

What is wrong?

Thank you for your help!

Serge

49
Hi everybody

When I save a specific  image with keywords, then I get the following message.

DB Error: Bad SQL Query: INSERT INTO 4images_wordmatch (image_id, word_id, name_match, desc_match, keys_match) SELECT DISTINCT 126, word_id, 0, 0, 1 FROM 4images_wordlist WHERE word_text = 'café'
Duplicate entry '126-2666' for key 1
Bild erfolgreich hinzugefügt: more time for living (IMG_4934.jpg)

I have a Keyword "cafe" and "café". Is that the problem?

Thank you for helping me.

Serge

50
Chit Chat / CGI
« on: May 05, 2005, 09:31:43 AM »
Hi everybody

View days ago, I read some information about cgi. I've never heard before something about cgi.

Is cgi used in images4? And when not, why is it not used? What is the advantage using cgi or not using cgi?

Thank you for answering me.

Serge

51
Hi everybody

when I save a modification of a picture (e.g. description), I get the following error-message:

DB Error: Bad SQL Query: REPLACE INTO 4images_wordmatch (image_id, word_id, name_match, desc_match, keys_match, vorname_match, name2_match) VALUES (92, 1298, 0, 1, 0), (92, 880, 0, 1, 0), (92, 1303, 0, 1, 0), (92, 1306, 0, 1, 0), (92, 889, 0, 1, 0)
Column count doesn't match value count at row 1
Bild erfolgreich bearbeitet

What is the problem?

Thank you for helping me!

Serge

52
Hi everybody

When I click on "new registration", than I have to accept conditions before I get to the loginform. That's standard.
Know I have on the registerform a checkbox for accepting the conditions implemented.

So I'd like to be navigated directly to the loginform, without the register_signup.html.

How can I do that?

Thanks for helping me!

Serge

53
Hi everybody

Customers can order postcards with their own picture on the front. The customers are member of a usergroup "customer".
This usergroup should be able to upload pictures in only one special category, but without seeing this category.
See category: No
See details: No
Upload: Yes

On the other hand, the customer should see all other categories, but not be allowed to upload pictures in this categories.
See category: Yes
See details: Yes
Upload: No

So the customer should only see the special category in the dropdownlist "category" on the upload form. The category, which he can not see, but which he has access for uploading the picture.

Unfortunately there are all categories displayed, for which the customer has the permission to see the categories but not the permission for uploading and can not see the category for which he has the permission for uploading. It should only displayed the category, for which he has the permission of uploading pictures.

I hope I have explained the problem clearly enough. Otherwise... ask me.

Thank you for helping me.

Serge

54
This Theme was discussed before hack

Hi together Is it possible to define a default usergroup for new registered users? As soon as the new user has activated his account, he should be linked to the usergroup "new user". thanks for helping me.
Serge



from Jan:

Try this:

1.) Open register.php and search for Code:

Code: [Select]
$sql = "SELECT ".get_user_table_field("",
"user_name").get_user_table_field(", ",
"user_email").get_user_table_field(", ",
"user_activationkey")."

Replace it with Code:
Code: [Select]
$sql = "SELECT ".get_user_table_field("",
"user_id").get_user_table_field("",
"user_name").get_user_table_field(", ",
"user_email").get_user_table_field(", ",
"user_activationkey")."

2.) Then search for Code:
Code: [Select]
$msg = $lang['activation_success'];

Add the following code below Code:
Code: [Select]
$group_id = [group_id];
$sql = "INSERT INTO ".GROUP_MATCH_TABLE."
         (group_id, user_id, groupmatch_startdate,
groupmatch_enddate)
         VALUES
         ($group_id, ".$row[$user_table_fields['user_id']].",
".time().", 0)";
$site_db->query($sql);

Replace [group_id] with the id of the goup id you want the user link with. To find out the id, go to Control Panel -> Usergroups and point your cursor over the edit link of the usergroup. Then look at the status bar of the browser and check the group_id= parameter in the url. The value of the parameter is the group id.

Jan
Zuletzt bearbeitet von Jan am 10.01.2005, 13:21, insgesamt 2 Male bearbeitet



TIMT wrote:

Hi Jan Now I get the following error-message:

 "DB Error: Bad SQL Query: SELECT user_iduser_name, user_email,
user_activationkey FROM 4images_users WHERE user_activationkey =
'0fa67cf43fd1dd0e1176a1d2ddedbc7b'
Unknown column 'user_iduser_name' in 'field list'"



v@no wrote:

@Jan: that what u get when u put things at the beginning of line, instead of end   j/k

TIMT hat folgendes geschrieben::
Code: [Select]
"DB Error: Bad SQL Query: SELECT user_iduser_name, user_email, $
user_activationkey FROM 4images_users WHERE user_activationkey =
'0fa67cf43fd1dd0e1176a1d2ddedbc7b'
Unknown column 'user_iduser_name' in 'field list'"


@TIMT: First line u changed should looks like this:
Zitat:
Code: [Select]
$sql = "SELECT ".get_user_table_field("",
"user_id").get_user_table_field(", ", "user_name").get_user_table_field(",
", "user_email").get_user_table_field(", ", "user_activationkey")."



Jan wrote:
V@no is right. Forgive me, its monday  


TIMT wrote:
Thank you Jan, Thank you V@no! Now it works perfect!    

55
Hi together

I have implemented two radio-buttons in the register_form.html.

The user must chose one the usergroupes "Customer" or "Photographer" befor he can register.

This information should be stored in the database.
I have installed the MOD "default usergroup". This MOD wouldn't be used anymore, if the user has to chose the groupe at the moment of registration.

How can I do that?

56
Discussion & Troubleshooting / Showing the usergroup in logininfo
« on: March 17, 2005, 08:15:17 PM »
Hi together

How can I show the usergroup of a logged in user?

I'd like to show the usergroup in the logininfo.

Thanks!!

Serge

57
Hi everybody

The tag {user_box} works proberly in every template, which is located in the folder "templates".
In index.php is the loginform shown, but after the login, the user_logininfo is not displayed.
Instead of the user_logininfo, the user_loginform is displayed.

What do I have to modify?

Thank you for helping me.

Serge

58
Discussion & Troubleshooting / Conditional User Group template tags
« on: March 10, 2005, 01:14:39 PM »
Hi everybody

4images knows 4 types of users:

user logged out  ('GUEST', -1);
registered user, but not activatet  ('USER_AWAITING', 1);
user logged in ('USER', 2);
administrator ('ADMIN', 9);

with the following tags it is possible to define the layout of pages:
Code: [Select]
{if user_loggedout}
{endif user_loggedout}

{if user_loggedin}
{endif user_loggedin}

 {if is_admin}
{endif is_admin}

My homepage is addressed to customers and to photographers. Each of them has other needs (customer: shop cart, e-card, … / photographer: upload, control-center…).

That’s why I need a new “userlevel” for photographers.

I’d like to design the pages with new tags
Code: [Select]
{if photograph_loggedout}
{endif photograph _loggedout}

Two register-forms and two login-forms should be available. One for the customer and one for the photographer. In the database it should be stored, if a user is “registered” / “logged in” as a customer or as a photographer. And of course should functions like "e-Mail convermation after upload a picture" still be available.

I have already createt new templates for {user_box2}: user_loginform2.html and user_logininfo2.html.

I have installed the following MOD’s:


I hope, somebody can help me! This MOD is very important for me.

Thank you!

Serge

Pages: 1 2 3 [4]