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 - Sun Zaza

Pages: 1 2 3 [4] 5 6 7 8 ... 34
46
Feedback & Suggestions / Re: Sending email in html to members
« on: August 14, 2010, 07:10:28 PM »
It works perfect. Thanks man :)

47
Templates & Styles (Requests & Discussions) / Re: Email HTML Formatiert
« on: August 14, 2010, 07:09:57 PM »
It works perfect. Thanks Jan.

48
It doesnt' work!!!


49
Hi V@no,

Because in the first time I got this error:

Code: [Select]
Fatal error: Call to undefined function get_user_table_field() in /hsphere/local/home/******/*******/includes/db_field_definitions.php on line 423
I used this code:

Code: [Select]
<?php $sql "SELECT user_name, user_id
        FROM "
.USERS_TABLE."        
        ORDER BY user_name ASC"
;
$result $site_db->query($sql);
$user_name = array("----------------------");
while (
$user_row $site_db->fetch_array($result))
{
  
$user_name[] = $user_row['user_name']." (ID=" $user_row['user_id'].")";  
}
$additional_test_fields['test_player'] = array($lang['test_player'], "dropdown"0$user_name0000);?>

Do you know why?




50
Thanks V@no for the solution. It's works perfect, but I got another problem.

I want to show this format in the dropdown: user1 (ID= 1), but I want to save only the user_name in the database (user1).

Is that possible?


51
Hi,

After trying without any progress, I want to ask you guys about this issue.

I am using this code to get the name of the users (He is working fine):

Code: [Select]
<?php $sql "SELECT user_name
             FROM "
.USERS_TABLE."
 ORDER BY user_name ASC
 "
;
             
$result mysql_query($sql);
 $user_name = array("----------------------");
 while ($user_row $site_db->fetch_array($result)) {
 $user_name $user_name;
 $user_name[] = current($user_row);
             
$additional_test_fields['test_player'] = array($lang['test_player'], "dropdown"0$user_name0000);
 }
?>

The results is:

ADMIN
user1
user2
user3


Now I want to get also the user_id after the name of the user. Something like:

ADMIN (id=9)
user1 (id=1)
user2 (id=2)
user3 (id=3)



Could you help please?

Many thanks in advance,
Cruxy

52
Mods & Plugins (Releases & Support) / Re: [MOD] similar images
« on: February 18, 2010, 03:07:50 AM »
Finally a related images for 4images. I did not test yet, but I am very happy with it.
Thank you very much dp :D
Cruxy

53
Hi guys,

On my gallery I have an additional field with a birthdate of the user (user_birthdate = "0000-00-00".

How can I send to the user automatically a mail on his birthday. Something like:

When user_birthdate = today_date then send mail

Mayby this is an idea for the version v2.0 of the MOD Birthday v1.0 (http://www.4homepages.de/forum/index.php?topic=11558.0)

Thanks in advance.

54
I already usining on my site. It works perfect. You save us a lot of time.
Many thanks from me.

You are the MAN! :wink:

55
No problem Andy. Many thanks in advance :D

56
Hi guys,

I am trying to add myself some users and I do not understand some stuff over there:

1- When you add an user, why he does not receive a mail to activate his account. Do I have to send it manually to hem? I hope not!

2- When you add an user, why do I have to choose for him a password manually? It should be done automatically, the same way when he register hemself.

Till now I have only those two questions.

Any explanation please?

Thanks in advance,
Cruxy

57
You are the MAN! Very good work. I like it. (I already start using it om my site. I thank you man.

I have another question: Can you take this tweak to a higher level to use it also for RADIO GROUP (More than 2 choices)? I am thinking about a new field name: radio_group. Something like the dropdown mod of V@no.

Thanks in advance:)
 

58
Hello,

If you want to add an additional field to your database as a RADIO, you use this code in db_field_definitions.php file:

$additional_image_fields['image_country'] = array($lang['image_country'], "radio"0);
So you have to choose YES or NOT.

but what about to choose between 2 values? For example: HOLLAND or GERMANY.

I am thinking about something like:

$additional_image_fields['image_country'] = array($lang['image_country'], "radio", array("Holland""Germany"), 0);


I tried to write a new function in admin/admin_function.php, but without success. Can you?

59
Plugins / Re: [Plugin] Simple TODO List for Admin CP v0.23b
« on: January 19, 2010, 01:51:32 PM »
Hi guys,
I just solved a bug in this great plugin.

When you want to delete a tack, you click first on delete button and then you have to choose between YES or NO.

When you click on YES, you delete the tack, but when you click on NO you redirect to /admin/plugins/home.php which it not exist.

The solution:

Open todo.php

Find:
if ($action == "removetodo") {

Add after:
$site_sess->set_session_var('back_url'ROOT_PATH."admin/plugins/todo.php");


Now you will be redirect to the homepage of your todo.php :wink:

60
Programming / Re: category name and then the images in a list
« on: January 19, 2010, 11:46:17 AM »
Any hint, tip or something help me please?

I really need that.

Pages: 1 2 3 [4] 5 6 7 8 ... 34