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 - Lord Nite

Pages: [1] 2
1
Mods & Plugins (Releases & Support) / [Mod] User upload limits
« on: June 17, 2003, 08:23:03 PM »
Please explain.

2
Mods & Plugins (Releases & Support) / [Mod] User upload limits
« on: June 17, 2003, 01:01:00 PM »
Well, I know that this is what caused my board to error when adding a user from the admin panel.

It might not have actually fixed it, but it did provide a decent workaround.

3
Mods & Plugins (Releases & Support) / [Mod] User upload limits
« on: June 17, 2003, 10:03:20 AM »
Problem found!

change
Code: [Select]
$sql = "INSERT INTO ".USERS_TABLE."
             (".get_user_table_field("", "user_id").get_user_table_field(", ", "user_level").get_user_table_field(", ", "user_name").get_user_table_field(", ", "user_password").get_user_table_field(", ", "user_email").get_user_table_field(", ", "user_showemail").get_user_table_field(", ", "user_allowemails").get_user_table_field(", ", "user_invisible").get_user_table_field(", ", "user_joindate").get_user_table_field(", ", "user_activationkey").get_user_table_field(", ", "user_lastaction").get_user_table_field(", ", "user_lastvisit").get_user_table_field(", ", "user_comments").get_user_table_field(", ", "user_homepage").get_user_table_field(", ", "user_icq").(", user_limit").$additional_field_sql.")
                 VALUES
              ($user_id, $user_level, '$user_name', '$user_password', '$user_email', $user_showemail, $user_allowemails, $user_invisible, $current_time, '$activationkey', $current_time, $current_time, 0, '$user_homepage', '$user_icq', $user_limit".$additional_value_sql.")";

to this:
Code: [Select]
$sql = "INSERT INTO ".USERS_TABLE."
             (".get_user_table_field("", "user_id").get_user_table_field(", ", "user_level").get_user_table_field(", ", "user_name").get_user_table_field(", ", "user_password").get_user_table_field(", ", "user_email").get_user_table_field(", ", "user_showemail").get_user_table_field(", ", "user_allowemails").get_user_table_field(", ", "user_invisible").get_user_table_field(", ", "user_joindate").get_user_table_field(", ", "user_activationkey").get_user_table_field(", ", "user_lastaction").get_user_table_field(", ", "user_lastvisit").get_user_table_field(", ", "user_comments").get_user_table_field(", ", "user_homepage").get_user_table_field(", ", "user_icq").(", user_limit").$additional_field_sql.")
                 VALUES
              ($user_id, $user_level, '$user_name', '$user_password', '$user_email', $user_showemail, $user_allowemails, $user_invisible, $current_time, '$activationkey', $current_time, $current_time, 0, '$user_homepage', '$user_icq', '$user_limit'".$additional_value_sql.")";


Notice the ' around the $user_limit string.  It wasn't there before, and that would cause the errors.  I just discovered this fix by testing on my own live board.

Ah, the joy one gets when he figures out the problem all on his own with absolutely no PHP knowledge.  :P

4
Mods & Plugins (Releases & Support) / Re: [Mod] Mini-Top
« on: June 10, 2003, 11:28:03 AM »
Quote from: ib41

no mention of mini_top_bit_alt.html in the install DOC and where to put it ( would confuse n00bs  :?  )


The mini_top_bit_alt.html template is an alternate way to show the mini top stats.

Examples:
mini_top_bit.html: http://come.no-ip.com
mini_top_bit_alt.html: http://gallery.nitetek.com

5
Quote from: V@no

Lucky u...took me whole lot longer, because there didnt show up anything...:lol:


Well, when I saw a white space between Settings and Templates, and the cursor changed to a hand......I was like....

Then I realized that the link in settings didn't work, so it just clicked after that.

Otherwise, an awesome mod if I can ever figure out the path to ImageMagick  :mrgreen:

6
Quote from: SLL
Quote from: Lord Nite
One thing you forgot to add.

 :oops:  fixed, thanks...


No problem.  Took me a sec to realize that when the link would only show up as a small block with no text.

7
One thing you forgot to add.

Code: [Select]
lang/english/admin.php

Find:
$lang['nav_general_settings'] = "Settings";

Directly Below:
$lang['nav_ann_settings'] = "Annotation Settings";

Code: [Select]
lang/deustch/admin.php

Find:
$lang['nav_general_settings'] = "Einstellungen";

Directly Below Add:
$lang['nav_ann_settings'] = "Annotation Einstellungen";


Seeing as how Russian text doesn't like to show up, do the same in russian/admin.php

8
I had this problem as well, and your fix made it a distant memory. :)

9
Very well done V@no.

Once again, you provide a quality mod to the gallery users. :)

10
then at least a "save as" feature for the templates.  I have the template for each category mod installed, and I want to use the same template for two different subcats, and the save as feature would save me time and headache.

11
To be honest, I'm a little burned out about creating a template file offline, and then having to FTP it to my server.

Is there any way to create an add template feature into 4images?

12
Discussion & Troubleshooting / bug in comments (user profile)
« on: April 04, 2003, 12:13:07 PM »
Here's what I did.

I simply copied the original comment_bit.html over Vienix' template, and it worked perfectly.

I also noticed absolutely no change in the layout or functionality.

Vienix' comment_bit.html
Code: [Select]
<tr>
  <td class="commentrow{row_bg_number}" valign="top" nowrap="nowrap">
    <b>{comment_user_name}</b><br />
{comment_user_info}
{if comment_user_ip}<br /><br /><b>IP:</b> {comment_user_ip}{endif comment_user_ip}
  </td>
  <td width="100%" class="commentrow{row_bg_number}" valign="top">
    <b>{comment_headline}</b>
<br /><br />
    {comment_text}
  </td>
</tr>
<tr>
  <td class="commentrow{row_bg_number}" nowrap="nowrap">
    <span class="smalltext">{comment_date}</span>
  </td>
  <td class="commentrow{row_bg_number}">
  {comment_user_status_img}
  {if comment_user_profile_link}<a href="{comment_user_profile_link}"><img src="{template_url}/images/profile.gif" border="0" alt="{comment_user_name}" /></a>{endif comment_user_profile_link}
  {if comment_user_email}<a href="{comment_user_mailform_link}"><img src="{template_url}/images/email.gif" border="0" alt="{comment_user_email_save}" /></a>{endif comment_user_email}
  {if comment_user_homepage}<a href="{comment_user_homepage}" target="_blank"><img src="{template_url}/images/homepage.gif" border="0" alt="{comment_user_homepage}" /></a>{endif comment_user_homepage}
  {if comment_user_icq}<a href="http://wwp.icq.com/scripts/search.dll?to={comment_user_icq}" target="_blank"><img src="http://web.icq.com/whitepages/online?icq={comment_user_icq}&img=5" width="18" height="18" border="0" /></a>{endif comment_user_icq}
  </td>
</tr>
<tr>
  <td colspan="2" class="commentspacerrow"><img src="{template_url}/images/spacer.gif" width="1" height="1" alt="" /></td>
</tr>

Original comment_bit.html
Code: [Select]
<tr>
  <td class="commentrow{row_bg_number}" valign="top" nowrap="nowrap">
    <b>{comment_user_name}</b><br />
{comment_user_info}
{if comment_user_ip}<br /><br /><b>IP:</b> {comment_user_ip}{endif comment_user_ip}
  </td>
  <td width="100%" class="commentrow{row_bg_number}" valign="top">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td valign="top"><b>{comment_headline}</b></td>
        <td valign="top" align="right">{if admin_links}{admin_links}{endif admin_links}</td>
      </tr>
    </table>
    <hr size="1" />
    {comment_text}
  </td>
</tr>
<tr>
  <td class="commentrow{row_bg_number}" nowrap="nowrap">
    <span class="smalltext">{comment_date}</span>
  </td>
  <td class="commentrow{row_bg_number}">
    {comment_user_status_img}
    {comment_user_profile_button}
    {comment_user_email_button}
    {comment_user_homepage_button}
    {comment_user_icq_button}
  </td>
</tr>
<tr>
  <td colspan="2" class="commentspacerrow"><img src="{template_url}/images/spacer.gif" width="1" height="1" alt="" /></td>
</tr>

And now, even the ICQ button works  :D

14
Thanx a mil, V@no!  Worked perfectly. :)

15
Is it possible to put the images dimensions on the details page?

I would like to have this done, so I can see what dimensions are more commonly used than others.

Pages: [1] 2