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 - The Sailor

Pages: [1]
1
Hi all,

i used a New Registered User mod by V@no. in include/state.php here is the code:

Code: [Select]
//-----------------------------------------------------
//--- New Member --------------------------------------
//-----------------------------------------------------
$sql = "SELECT *
        FROM ".USERS_TABLE."
        WHERE ".get_user_table_field("", "user_id")." <> ".GUEST."
        ORDER by ".get_user_table_field("", "user_joindate")." DESC";
$row = $site_db->query_firstrow($sql);

$new_member = "Welcome to our new registered user, ".(($row[$user_table_fields['user_id']]) ? " <a href=\"".$site_sess->url(ROOT_PATH."member.php?action=showprofile&user_id=".$row[$user_table_fields['user_id']])."\"><B>".$row[$user_table_fields['user_name']]."</B></a>\n" : "<B>".$row[$user_table_fields['user_name']]."</B>");
$site_template->register_vars("new_member", $new_member);
unset($new_member);

and i use {new_member} in home.html, it show's the new registered member just fine but how can i make it show his Avatar to in same time???? :oops: please :oops:
can anyone modify it?

by the way i think this code can help but i don't no how to use it:
Code: [Select]
$user_avatar = (!$user_row['user_avatar'] || $user_row['user_avatar'] == "blank.gif") ? "" : "<img src=\"".TEMPLATE_PATH."/avatars/".$user_row['user_avatar']."\">";

2
hi all dear friends,

many members don't wont to view there email in frofile
and when they show it eto allow anyone to send an email
thats shows the email like:

admin  at homepage.com

how can i change it to hide the email and
show just [Send email to member]

can anyone help plzzzz

3
hi dear dears freinds,

am looking for a mod which allow members to add there story with pic and show it in home.html
is that posibale?

4
hi all,

How can i show messege for visitors like (you have to register to see the full image) when they clich on the some photos for registered users only?????

thanks

5
when i try to send eCard i see this error:
Code: [Select]
Email Error: HELO invalid mail server response: 220-We do not authorize the use of this system to transport unsolicited,

how can i fix it?

6
how can i add more details about member when he register in 1.7.4 like sex, country , city , work ?

7
Where can i find it for 1.7.4 and from where can i download there files????????????? 8O

8
hi all!
in header folder i have added a logo like this:
Code: [Select]
<img src="{template_url}/images/myimage.jpg" border="0" alt="My WebSite">
how can i call this image from the image language folder like (images_english) and other language folders like this:

Code: [Select]
<img src="{template_url}/{??????????}/myimage.jpg" border="0" alt="My WebSite">
which the right code !  :?:

9
i want extra button to allow any member to Add the picture as a background
when he click on it
Can any one know how can i do this simple feature
i don't know the java script code to try do it myself

10
i find a simple javascript and i think its more useful that the javascript
in header.html becuase when you click (F10) you well disable the Right-Click
protection and you can save any image by Right-Click.
but with this you can not do that.

Please try it to be sure

go to template=>defualt => header.html

Find this code :
Quote

<script language="javascript" type="text/javascript">
<!--
  function opendetailwindow() {
    window.open('','detailwindow','toolbar=no,scrollbars=yes,resizable=no,width=680,height=480');
  }
 
  function right(e) {
    if (navigator.appName == 'Netscape' && (e.which == 2 || e.which == 3)) {
      alert(" Copyright by {site_name}");
      return false;
    }
    else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button==2 || event.button == 3)) {
      alert(" Copyright by {site_name}");
      return false;
    }
    return true;
  }
  document.onmousedown=right;
  if (document.layers) window.captureEvents(Event.MOUSEDOWN);
  window.onmousedown=right;
// -->
</script>

Replace it with this :
Quote

<script language=JavaScript>
var message=" Copyright by {site_name}";
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("alert(message);return false")
// -->
</script>

11
Discussion & Troubleshooting / Right Click and XP
« on: October 26, 2002, 12:27:38 AM »
How can we keep useing the right click protect in 4image if we know
this feature in WindowsXP in this sample:


i think we have to disable this feature if we want all visitors to register
befor saving any pic's...

12
Can I make these Counters it my 4images Gallery in home.html:
1- counter of all eCard has been sent.
2- counter of all members.
3- counter of all downloads.
4- counter of all comments.

13
Discussion & Troubleshooting / Validation error pleazzzzzz help me
« on: October 22, 2002, 11:50:29 PM »
when my visitors upload any images to my 4images .. i go to use Validate
to allow images to be display but this error happend evry time i want to
Validate these pic's
i Set permissions as u tell me and am sure about that , but this what i get:

Quote

Warning: Unable to create './../data/media/16/qandal.jpg': Permission denied in

/home/farasan/public_html/fgallery/admin/admin_functions.php on line 110

Warning: Unable to create './../data/thumbnails/16/.jpg': Permission denied in

/home/farasan/public_html/fgallery/admin/admin_functions.php on line 154
: gandal1 (qandal.jpg)

Warning: Unable to create './../data/media/16/gandall.jpg': Permission denied in

/home/farasan/public_html/fgallery/admin/admin_functions.php on line 110

Warning: Unable to create './../data/thumbnails/16/.jpg': Permission denied in

/home/farasan/public_html/fgallery/admin/admin_functions.php on line 154
Error adding image: gandal2 (gandall.jpg)


14
Discussion & Troubleshooting / How can visitor's know's this
« on: October 12, 2002, 10:14:54 PM »
how can i do this --> in Edit categories for example when i select :
(View Image) and (Upload) and (Send eCard) just for Registered
Users ...
How can visitors knows that they can not use these option's untill they have Registered in my album by clicking on Thumbnailers or eCard button's or even when they click the Upload button (^_^)...

15
Discussion & Troubleshooting / How can i use Permissions plzzz
« on: October 10, 2002, 06:30:07 PM »
its Really the best gallery script i have been seen in my life...
but i need know few things (^_^) Pleazzzzzzzzzz
how can i make many administrators for 4images Gallery ? and how can i edit Permissions
for my 4images members ? i mean for example for some selected users only .because whan
i click Edit User => and i select a user => then [Permissions] for this user i find that the all
cells is empty and all what i do just clicking Save changes.. what all thats mean ? :?:

Pages: [1]
Post your comments here