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 ... 22 23 24 25 [26] 27 28 29 30 ... 34
376
If I understand you good, the unswer is yes!

377
On the custom template I used this tags:

Code: [Select]
{image_name_xxx}<br />
{image_name_xxx}<br />
{image_name_xxx}<br />
{image_name_xxx}<br />

xxx is the image ID of DIFFERENT images. For example:
Code: [Select]
{image_name_2}<br />
{image_name_13}<br />
{image_name_100}<br />
{image_name_550}<br />

and the result should be something like:

Foto of spain
Foto of Brazil
Foto of Germany
Foto of USA

When you klik on {image_name_2} (Foto of spain) you go to http://www.website.nl/details.php?image_id=13

378
Sorry Thunderstrike, but I did not understand what do you mean. :oops:

379
@mawenzi
@Thunderstrike
@Trez

It was an impossible request, he? :wink:

Hey guys, can you help me in this?

380
Exactly mawenzi  :)

381
What do you mean? (Do not forget, I am very handy with codes, but I am not a php programmeur :wink:)

382
Hi guys, I have a very difficult request to you:

On my custom page (page1.php) I want to use this tags:

{image_name} {image_hits}. I expected the result, because it turn the value randomly.

Is it possible (of course possible :wink:) to use something like {image_name_id} (just a example)?. You give yourself the image ID value so that the tag {image_name} understand that the result will be the name of the image (image_id).

Many thanks in advance,
Cruxy


383
Quote
Incorrect. Winzip is no read RAR - is read ZIP. If no want for use RAR, please no use this MOD - is too much for you.

Hey guys, what happening now. We come on this forum because we love 4images. So please do not spoil that.
4images is a professional gallery. So please keep it that way.

@Art By Vicky
WinRAR is a basis program for any pc. Thunderstrike is not trying to sell something to you :|

Anyway, here is the member_editprofile.html of the RAR file:

Code: [Select]
{ifno uploaded_images_from_edit_profile}
{lang_edit_profile_msg}<br />
<form method="post" action="{url_member}">
  <table width="100%" border="0" cellspacing="0" cellpadding="1">
    <tr>
      <td valign="top" class="head1">
        <table width="100%" border="0" cellpadding="4" cellspacing="0">
          <tr>
            <td colspan="2" width="50%" align="left" valign="top" class="head1">{lang_profile_of} {user_name}</td>
    <td colspan="2" width="50%" align="right" valign="top" class="row1"><a href="{url_member}?action=show_uploaded_images">{lang_show_uploaded_images}</a></td>
          </tr>
</table>
<table width="100%" border="0" cellpadding="4" cellspacing="0">
          <tr>
            <td width="100%" valign="top" class="row2">&nbsp;</td>    
          </tr>
</table>
<table width="100%" border="0" cellpadding="4" cellspacing="0">
  <tr>
            <td class="row1"><b>{lang_user_firstname}</b></td>
            <td class="row1"><input type="text" name="user_firstname"  size="30" value="{user_firstname}" class="input" /></td>
          </tr>
  <tr>
            <td class="row1"><b>{lang_user_lastname}</b></td>
            <td class="row1"><input type="text" name="user_lastname"  size="30" value="{user_lastname}" class="input" /></td>
          </tr>
          <tr>
            <td class="row1"><b>{lang_email}</b></td>
            <td class="row1"><input type="text" name="user_email"  size="30" value="{user_email}" class="input" /></td>
          </tr>
          <tr>
            <td class="row2"><b>{lang_email_confirm}</b></td>
            <td class="row2"><input type="text" name="user_email2"  size="30" value="{user_email2}" class="input" /></td>
          </tr>
          <tr>
            <td class="row1"><b>{lang_show_email}</b></td>
            <td class="row1">
              <input type="radio" name="user_showemail" value="1"{user_showemail_yes} />
              {lang_yes}&nbsp;&nbsp;&nbsp;
              <input type="radio" name="user_showemail" value="0"{user_showemail_no} />
              {lang_no}</td>
          </tr>
  <tr>
            <td class="row2"><b>{lang_allow_emails}</b></td>
            <td class="row2">
              <input type="radio" name="user_allowemails" value="1"{user_allowemails_yes} />
              {lang_yes}&nbsp;&nbsp;&nbsp;
              <input type="radio" name="user_allowemails" value="0"{user_allowemails_no} />
              {lang_no}
</td>
          </tr>
          <tr>
            <td class="row1"><b>{lang_invisible}</b></td>
            <td class="row1">
              <input type="radio" name="user_invisible" value="1"{user_invisible_yes} />
              {lang_yes}&nbsp;&nbsp;&nbsp;
              <input type="radio" name="user_invisible" value="0"{user_invisible_no} />
              {lang_no}
</td>
          </tr>
          <tr>
            <td colspan="2" class="head1">{lang_optional_infos}</td>
          </tr>
          <tr>
            <td class="row1"><b>{lang_homepage}</b></td>
            <td class="row1"><input type="text" name="user_homepage"  size="30" value="{user_homepage}" class="input" /></td>
          </tr>
          <tr>
            <td class="row2"><b>{lang_icq}</b></td>
            <td class="row2"><input type="text" name="user_icq"  size="30" value="{user_icq}" class="input" /></td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
  <input type="hidden" name="action" value="updateprofile" />
  <p align="center">
    <input type="submit" value="{lang_save}" class="button" />
    <input type="reset" value="{lang_reset}" class="button" />
  </p>
</form>
<br />
<form method="post" action="{url_member}">
  <table width="100%" border="0" cellspacing="0" cellpadding="1">
    <tr>
      <td valign="top" class="head1">
        <table width="100%" border="0" cellpadding="4" cellspacing="0">
          <tr>
            <td colspan="2" valign="top" class="head1">{lang_change_password}</td>
          </tr>
          <tr>
            <td class="row1"><b>{lang_old_password}</b></td>
            <td class="row1"><input type="password" name="current_user_password" size="30" class="input" /></td>
          </tr>
          <tr>
            <td class="row2"><b>{lang_new_password}</b></td>
            <td class="row2"><input type="password" name="user_password" size="30" class="input" /></td>
          </tr>
          <tr>
            <td class="row1"><b>{lang_new_password_confirm}</b></td>
            <td class="row1"><input type="password" name="user_password2" size="30" class="input" /></td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
  <input type="hidden" name="action" value="updatepassword" />
  <p align="center">
    <input type="submit" value="{lang_change_password}" class="button" />
    <input type="reset" value="{lang_reset}" class="button" />
  </p>
</form>
{endifno uploaded_images_from_edit_profile}

{if uploaded_images_from_edit_profile}
<table width="450" border="0" cellspacing="0" cellpadding="0">
  <tr>
  <td class="row2">     
    <table width="100%" border="0" cellspacing="0" cellpadding="4">
    <tr>
    <td class="head1" valign="top">{lang_uploaded_images_from_edit_profile}</td>
    </tr>
    </table>
    <table width="100%" border="0" cellspacing="0" cellpadding="4">
    <tr>
    <td class="row2" align="left" valign="top"><a href="{url_member}?action=editprofile" class="link" />{lang_uploaded_images_go_back}</a></td>
    </tr>
    </table>
  </td>
  </tr>
  <tr>
  <td class="head1">{uploaded_images_from_edit_profile}</td>
  </tr>
</table>
<br />
{endif uploaded_images_from_edit_profile}

Love, make no war :wink:

384
Discussion & Troubleshooting / Re: Conditional User Group template tags
« on: November 11, 2007, 09:12:50 PM »
Hi Thunderstrike,

It is still not working. I used the tags of Jan.
Whould you like to help me in this? :(

I just want to make it work on the user_logininfo.html template.
NOTE: The code is working fine on default templates like member_profile.html.

385
Works excatly the way I wanted. :D

Many thanks Thunderstrike

386
Discussion & Troubleshooting / Re: Conditional User Group template tags
« on: November 11, 2007, 06:30:16 PM »
Hi guys,

The code works perfect on details, categorie...., but NOT on user_logininfo.html template.

On the  user_logininfo.html template and on member_profile.html I added this line:
Code: [Select]
{if is_in_group_photographers} Hello photographers {endif is_in_group_photographers}
On member_profile.html I do not see the text "Hello photographers" (Because I am not in the usergroup photographers), but on the user_logininfo.html the text is showing.

What do I have to change to make it work on user_logininfo.html?

I appreciate any help,
Cruxy

387
Quote
In member_profile.html file, use: {if total_upload_images}{total_upload_images}{endif total_upload_images}

Do you mean member_editprofile.html? because that was my request.


388
Quote
No file exist profile.php in 4images ...

Oh sorry. I mean member.php. :oops:

389
Hi guys,

How can I use this MOD in member_editprofile.html instead of in member_profile.html?

I tried to copy this code to the (edit_profile) section on profile.php, but it does not work. :?

Many thanks in advance,
Cruxy

390
Quote
I no say for find twice ... I say add after line ...

Yes I know, but I added the code after the first (lang_profile_of) in the section edit_profile instead of the (lang_profile_of) of the section show_profile.
My mistake :oops:

It is working now and I am satisfied.
Thank you again ThunderStrike :D

Pages: 1 ... 22 23 24 25 [26] 27 28 29 30 ... 34