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 - IzyB

Pages: 1 [2] 3 4
16
Thank you so very much V@no!!!! You truly are a life saver! :D At least a saver of my sanity! LOL

But I also have the same problems that everyone else posted about having trouble with the search results. If I click on the Category name, that category does show. But if I click on the number it brings up all new pictures. I double checked and even triple checked with the help of my husband and still nothing. I'll post my 2 bits of code that was told to be changed in the search.php with a few lines before and after to see if there was something like "whitespace" or something going on.

Code: [Select]

if (isset($HTTP_POST_VARS['search_fields'])) {
  $search_fields = trim($HTTP_POST_VARS['search_fields']);
}
else {
  $search_fields = "all";
}
//-----------------------------------------------------
//---Show New Image count in category Mod -------------
//-----------------------------------------------------

if (isset($HTTP_GET_VARS['sub_cat'])) {
 $sub_cat = trim($HTTP_GET_VARS['sub_cat']);
}

if (isset($HTTP_GET_VARS['cat_id'])) {
 $search_cat = intval($HTTP_GET_VARS['cat_id']);
}
else {
$search_cat = (isset($HTTP_POST_VARS['cat_id']) ) ? intval($HTTP_POST_VARS['cat_id']) : 0;
}
//----------------------------------------------------------------------------
//---End of Show New Image count in category Mod -----
//----------------------------------------------------------------------------

$search_cat = (isset($HTTP_POST_VARS['cat_id']) ) ? intval($HTTP_POST_VARS['cat_id']) : 0;





Code: [Select]

if (!empty($search_id['search_cat']) && $search_id['search_cat'] != 0) {
    $cat_id_sql = 0;
    $sub_cat_ids = get_subcat_ids($search_id['search_cat'], $search_id['search_cat'], $cat_parent_cache);
     if (check_permission("auth_viewcat", $search_id['search_cat'])) {
      $cat_id_sql .= ", ".$search_id['search_cat'];
      if ($sub_cat != "no") { // Show New Image count in category Mod
      if (!empty($sub_cat_ids[$search_id['search_cat']])) {
        foreach ($sub_cat_ids[$search_id['search_cat']] as $val) {
          if (check_permission("auth_viewcat", $val)) {
            $cat_id_sql .= ", ".$val;
          }
        }
      }
    }  // Show New Image count in category Mod
  }
}
  else {
    $cat_id_sql = get_auth_cat_sql("auth_viewcat");
  }




Also, (sorry  :oops:), how to I go about adding the Title (New Images Added, etc.) to the top like it is for Random Images (screen shot attached). And how do I make it so that the number of the new images stays where they are, but move back the category names so they are more to the left?

Thank you so much!!

17
Thanks for the reply V@no! Just to clarify so I understand: Move that to my header.html? And then I would add the {new_image_cats} in header.html?

Thanks!
just move the code in page_header.php above
Code: [Select]
//-----------------------------------------------------
//--- Parse Header & Footer ---------------------------
//-----------------------------------------------------

18
I cannot get this to work because my template's left side is located in my templates header.html because it was a PHPBB template converted to 4images. I have tried everything I can think of to get it to show on the left side in my header.html but nothing works. I can get it to show in home.html but only in the center areas (where categories, whos online, etc. are).

Is there a change I need to make somewhere in this mod so that it will work for me when I add {new_image_cats} to my header.html?

19
Thanks Vincent!  :D I use the "SlideshowII" Mod.

20
I created this slideshow button to match my site a little better and to have it in English. I figured others might be interested in it, especially if they have the FI_Apple_Blue template like I do. I also attached the files in png so you can edit them easily if you want. I used Fireworks MX to do them. I also wouldn't mind doing some editing for others if they know what font, etc. they want:) Just PM me.
Tina

21
Templates & Styles (Requests & Discussions) / Need Template Help
« on: August 02, 2005, 06:21:14 AM »
I have the FI_Apple_Blue template from Komy. I would post this question to his forum but he hasn't answered questions on there for about a year now.

I am trying to install the "New Images In Category Mod v2" http://www.4homepages.de/forum/index.php?topic=5654.0.
I have everything else done, but when it comes to:

Code: [Select]
In your home.html file

 :arrow: Add:

{new_image_cats}

where you want the "New images in Category" to appear.

It doesn't work because this template doesn't show the left column in the home.html. But the left column does show in the FI_Apple_Blue header.html.
I was told by a friend that I would probably have to add something to the header.html since this template was converted from PHPBB. I was hoping
someone here could tell me what I needed to put in and where so that it shows below my "Random Images"? This is the code to header.html.
Below that I'll post my home.html so you can see what it looks like. I would be forever grateful for any help!

Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<head>
<title>{site_name}</title>
<meta http-equiv="content-type" content="text/html; charset={charset}" />
<link rel="stylesheet" href="{template_url}/style.css" />
<link rel="stylesheet" href="{template_url}/fiappleblue.css" type="text/css" />
<script language="JavaScript" type="text/javascript" src="{template_url}/../../scripts/4images.js"></script>
<!--
window.status="Log in to check your private messages"
// -->
<script language="javascript" type="text/javascript">
<!--
   
  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;

//-----------------------------------------------------
//--- Slideshow changes -------------------------------
//-----------------------------------------------------
function openslideshow(url,window_width,window_height,new_window) {
  if (new_window == 2 || new_window == 1) {
    var width_avail = screen.availWidth-15;
    var height_avail = screen.availHeight-60;
    var width_full = screen.width;
    var height_full = screen.height;

    // Callculate the spaces from left and top to center the new window:
    var left_space = ((width_avail - window_width) > 0) ? parseInt((width_avail - window_width) / 2) : 0;
    var top_space = ((height_avail - window_height) > 0) ? parseInt((height_avail - window_height) / 2) : 0;
    if (new_window == 2) {
      window_width = width_avail;
      window_height = height_avail;
      left_space = 0;
      top_space = 0;
      url += "&maw="+(window_width-97)+"&mah="+(window_height-194)+"&msw="+width_full+"&msh="+height_full;
    } // if complete picture (whole window)

    slideshow_window = window.open(url,"slideshowwindow","resizable=yes,dependent=yes,hotkeys=no,location=no,menubar=no,scrollbars=yes,status=yes,toolbar=no,width="+window_width+",height="+window_height+",left="+left_space+",top="+top_space+"");
  } // if new_window
  else {
    window.location.href=url;
  } // else new_window
} // openslideshow


// -->
</script>
</head>
<body><a name="top" id="top"></a>
<!-- Top Menu Table Cell -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%">


<!-- Top Menu Table -->
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><a href="index.php"><img src="{template_url}/images/spacer.gif" width="10" height="26" border="0" alt="" /></a></td>
<td><a href="index.php"><img src="{template_url}/images/top_bar_home.gif" width="80" height="26" border="0" alt="Forum Images Forum Index" title="Forum Images Forum Index" /></a></td>
<td><a href="{url_top_images}"><img src="{template_url}/images/top_bar_top.gif" width="80" height="26" border="0" alt="Forum Images Forum Index" title="Forum Images Forum Index" /></a></td>
<td><a href="{url_new_images}"><img src="{template_url}/images/top_bar_new.gif" width="80" height="26" border="0" alt="Forum Images Forum Index" title="Forum Images Forum Index" /></a></td>
{if cp_link}
<td><a href="admin/index.php"><img src="{template_url}/images/top_bar_admin.gif" width="80" height="26" border="0" alt="Forum Images Forum Index" title="Forum Images Forum Index" /></a></td>
{endif cp_link}
</tr>
</table>
</td>
</tr>
</table>

<!-- {lang_registered_user} -->
<table border="0" cellpadding="0" cellspacing="0" class="ttb">
<tr>
<td><img src="{template_url}/images/tt12_l.gif" width="10" height="12" alt="" /></td>
<td class="tt12bkg"><img src="{template_url}/images/spacer.gif" width="200" height="12" alt="" /></td>
<td><img src="{template_url}/images/tt12_r.gif" width="10" height="12" alt="" /></td>
</tr>
</table>

<table class="bodyline" width="100%" cellspacing="0" cellpadding="10" border="0">
<tr>
<td valign="top" width="1">

<!-- Login Column -->
<table border="0" cellpadding="0" cellspacing="0" class="ttb">
<tr>
<td><img src="{template_url}/images/tt12_l.gif" width="10" height="12" alt="" /></td>
<td class="tt12bkg"><img src="{template_url}/images/spacer.gif" width="150" height="12" alt="" /></td>
<td><img src="{template_url}/images/tt12_r.gif" width="10" height="12" alt="" /></td>
</tr>
</table>

<table width="170" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td class="cat">{lang_registered_user}</td>
</tr>
<tr>
<td class="row1" align="center">

{user_box}
{new_image_cats}
</td>
</tr>
</table>

<table border="0" cellpadding="0" cellspacing="0" class="ttb">
<tr>
<td><img src="{template_url}/images/tb12_l.gif" width="10" height="12" alt="" /></td>
<td class="tb12bkg"><img src="{template_url}/images/spacer.gif" width="150" height="12" alt="" /></td>
<td><img src="{template_url}/images/tb12_r.gif" width="10" height="12" alt="" /></td>
</tr>
</table>

<br />

<!-- {lang_random_image} -->
{if random_image}
<table border="0" cellpadding="0" cellspacing="0" class="ttb">
<tr>
<td><img src="{template_url}/images/tt12_l.gif" width="10" height="12" alt="" /></td>
<td class="tt12bkg"><img src="{template_url}/images/spacer.gif" width="150" height="12" alt="" /></td>
<td><img src="{template_url}/images/tt12_r.gif" width="10" height="12" alt="" /></td>
</tr>
</table>

<table width="170" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td class="cat">{lang_random_image}</td>
</tr>
<tr>
<td class="row1" align="center">
<br />
{random_image}
<br />
<br />
</td>
</tr>
</table>

<table border="0" cellpadding="0" cellspacing="0" class="ttb">
<tr>
<td><img src="{template_url}/images/tb12_l.gif" width="10" height="12" alt="" /></td>
<td class="tb12bkg"><img src="{template_url}/images/spacer.gif" width="150" height="12" alt="" /></td>
<td><img src="{template_url}/images/tb12_r.gif" width="10" height="12" alt="" /></td>
</tr>
</table>
{endif random_image}
<!-- End Left Column -->
</td>
<td valign="top">

<table border="0" cellpadding="0" cellspacing="0" class="scrn">

<tr>
<td><img src="{template_url}/images/scrn_tl.gif" alt="" width="14" height="14" /></td>
<td colspan="2" width="100%" class="scrntbkg"><img src="{template_url}/images/spacer.gif" alt="" width="10" height="14" /></td>
<td><img src="{template_url}/images/scrn_tr.gif" alt="" width="14" height="14" /></td>
</tr>

<tr>
<td class="scrnlbkg"><img src="{template_url}/images/spacer.gif" alt="" width="14" height="60" /></td>

<td class="scrnm">
<span class="maintitle">{site_name}</span>
<br />

</td>

<form method="post" action="{url_search}">
<td class="scrnm">
<input type="text" name="search_keywords" size="15" class="searchinput" />
<input type="submit" value="{lang_search}" class="button" name="submit" />
&nbsp;
<a href="{url_search}" class="smalltext">{lang_advanced_search}</a>
</td>
</form>

<td class="scrnrbkg"><img src="{template_url}/images/spacer.gif" alt="" width="14" height="60" /></td>
</tr>

<tr>
<td><img src="{template_url}/images/scrn_bl.gif" alt="" width="14" height="14" /></td>
<td colspan="2" width="100%" class="scrnbbkg"><img src="{template_url}/images/spacer.gif" alt="" width="10" height="14" /></td>
<td><img src="{template_url}/images/scrn_br.gif" alt="" width="14" height="14" /></td>
</tr>

</table>

<br />

<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left">{clickstream}&nbsp;</td>
<td align="right">
<a href="{url_top_images}"><b>{lang_top_images}</b></a>&nbsp;
<a href="{url_new_images}"><b>{lang_new_images}</b></a>&nbsp;

</td>
</tr>
</table>


Code: [Select]
{header} {if user_loggedout}{lang_no_permission}{endif user_loggedout} {if user_loggedin}

{if msg}<b>{msg}</b>{endif msg}

<br />

{if categories}

<table border="0" cellpadding="0" cellspacing="0" class="ttb">
<tr>
<td><img src="{template_url}/images/tt12_l.gif" width="10" height="12" alt="" /></td>
<td class="tt12bkg"><img src="{template_url}/images/spacer.gif" width="200" height="12" alt="" /></td>
<td><img src="{template_url}/images/tt12_r.gif" width="10" height="12" alt="" /></td>
</tr>
</table>

<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="cat">{lang_categories}</td>
</tr>

<tr>
<td class="row1" width="100%">
{categories}
</td>
</tr>

</table>

<table border="0" cellpadding="0" cellspacing="0" class="ttb">
<tr>
<td><img src="{template_url}/images/tb12_l.gif" width="10" height="12" alt="" /></td>
<td class="tb12bkg"><img src="{template_url}/images/spacer.gif" width="200" height="12" alt="" /></td>
<td><img src="{template_url}/images/tb12_r.gif" width="10" height="12" alt="" /></td>
</tr>
</table>

<br />
{endif categories}{lang_site_stats}<br />
<br />

<table border="0" cellpadding="0" cellspacing="0" class="ttb">
<tr>
<td><img src="{template_url}/images/tt12_l.gif" width="10" height="12" alt="" /></td>
<td class="tt12bkg"><img src="{template_url}/images/spacer.gif" width="200" height="12" alt="" /></td>
<td><img src="{template_url}/images/tt12_r.gif" width="10" height="12" alt="" /></td>
</tr>
</table>

<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="cat">{lang_new_images}</td>
</tr>

<tr>
<td class="row1" width="100%">
{new_images}
</td>
</tr>

</table>

<table border="0" cellpadding="0" cellspacing="0" class="ttb">
<tr>
<td><img src="{template_url}/images/tb12_l.gif" width="10" height="12" alt="" /></td>
<td class="tb12bkg"><img src="{template_url}/images/spacer.gif" width="200" height="12" alt="" /></td>
<td><img src="{template_url}/images/tb12_r.gif" width="10" height="12" alt="" /></td>
</tr>
</table>

<br />

{whos_online}

<br />

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left">{category_dropdown_form}</td>
<td align="right">{setperpage_dropdown_form}</td>
</tr>
</table>

{endif user_loggedin} {footer}


22
Mods & Plugins (Releases & Support) / Re: [MOD] Slideshow II
« on: August 01, 2005, 07:10:40 AM »
Is there a way, and if so how, to add text on the window that pops up for the slideshow (under the pictures)? I'd like to be able to put something like:

Please click on an image to view its details, send comments, vote, etc..

Thanks!

23
Because it took me several hours because of things that went wrong. I'd rather figure it out this way.

Edit: Got it fixed:)

24
That fixed it V@no! Thanks! Now I have a space I need to close. I've fiddled with a few things and they didn't work. I don't want to make another mess out of things :lol: Can you tell me where in that code I need to fix to close the space? I attached a picture. I colored the space that needs to be closed red.

25
Well, I finally found the offending file. It is categories.html in my template. I uploaded a "clean" version and it disappeared. Yesterday I installed the "SlideshowII" mod and a friend was helping me. This was one file that was changed. Can someone tell me what needs to be changed to get rid of the random image in here without killing my slideshow?

Code: [Select]
{header} {if user_loggedin}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left">
<b class="title">{cat_name}</b>
<br />
{cat_description} (Hits: {cat_hits})
</td>
<td align="right">{slideshow_button}  {upload_button}</td>
</tr>
</table>

<br />

{if categories}
<table border="0" cellpadding="0" cellspacing="0" class="ttb">
<tr>
<td><img src="{template_url}/images/tt12_l.gif" width="10" height="12" alt="" /></td>
<td class="tt12bkg"><img src="{template_url}/images/spacer.gif" width="200" height="12" alt="" /></td>
<td><img src="{template_url}/images/tt12_r.gif" width="10" height="12" alt="" /></td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0"><tr><td>

{thumbnail}
</td><td valign="top" width="7" class="ds_right" ></td></tr><tr height="7"><td align="left" height="7" class="ds_bottom" ></td><td width="7" height="7" class="ds_corner"></td></tr></table>
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="cat">{lang_categories}</td>
</tr>

<tr>
<td class="row1" width="100%">
{categories}
</td>
</tr>

</table>

<table border="0" cellpadding="0" cellspacing="0" class="ttb">
<tr>
<td><img src="{template_url}/images/tb12_l.gif" width="10" height="12" alt="" /></td>
<td class="tb12bkg"><img src="{template_url}/images/spacer.gif" width="200" height="12" alt="" /></td>
<td><img src="{template_url}/images/tb12_r.gif" width="10" height="12" alt="" /></td>
</tr>
</table>

<br />
{endif categories}{paging_stats}
<br />
{if msg}<b>{msg}</b><br /><br />{endif msg}

{if thumbnails}

<table border="0" cellpadding="0" cellspacing="0" class="ttb">
<tr>
<td><img src="{template_url}/images/tt12_l.gif" width="10" height="12" alt="" /></td>
<td class="tt12bkg"><img src="{template_url}/images/spacer.gif" width="200" height="12" alt="" /></td>
<td><img src="{template_url}/images/tt12_r.gif" width="10" height="12" alt="" /></td>
</tr>
</table>

<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="cat">&nbsp;</td>
</tr>

<tr>
<td class="row1" width="100%">
{thumbnails}
</td>
</tr>

</table>

<table border="0" cellpadding="0" cellspacing="0" class="ttb">
<tr>
<td><img src="{template_url}/images/tb12_l.gif" width="10" height="12" alt="" /></td>
<td class="tb12bkg"><img src="{template_url}/images/spacer.gif" width="200" height="12" alt="" /></td>
<td><img src="{template_url}/images/tb12_r.gif" width="10" height="12" alt="" /></td>
</tr>
</table>

{endif thumbnails}
<br />
{paging}
<br />
<br />

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left">{category_dropdown_form}</td>
<td align="right">{setperpage_dropdown_form}</td>
</tr>
</table>

{endif user_loggedin} {footer}

26
Last night I realized something different that didn't happen before. Whenever I go into a Category that has subcategories (empty or not) the Random Image appears in the category. It doesn't happen in any other Category, only those with subcats. I included a picture of what is happening. This does not happen in the 4images default template so it must be something in the FI_Apple_Blue template I am using. Can someone tell me where this may be occuring in the files and how to fix it? I am using v1.71.

Thanks!
Tina

27
Mods & Plugins (Releases & Support) / Re: [MOD] Slideshow II
« on: July 31, 2005, 07:02:38 AM »
New problem I just noticed. It doesn't matter what setting I have things set at, the slideshow will not do the pictures in order.Sometimes it starts with the 2nd page of pictures, does the rest in order....and other times just does it however it wants.

28
Mods & Plugins (Releases & Support) / Re: [MOD] Slideshow II
« on: July 31, 2005, 02:46:46 AM »
Thanks V@no!

29
Mods & Plugins (Releases & Support) / Re: [MOD] Slideshow II
« on: July 31, 2005, 12:19:43 AM »
I just finished installing this Mod and got all these errors:

//----------------------------------------------------- //--- Slideshow Settings ------------------------------ //----------------------------------------------------- require("main_slideshowII.inc");
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/izyb/public_html/4images/lang/english/main.php:385) in /home/izyb/public_html/4images/includes/sessions.php on line 84

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/izyb/public_html/4images/lang/english/main.php:385) in /home/izyb/public_html/4images/includes/sessions.php on line 84

Warning: Cannot modify header information - headers already sent by (output started at /home/izyb/public_html/4images/lang/english/main.php:385) in /home/izyb/public_html/4images/includes/sessions.php on line 92

Warning: Cannot modify header information - headers already sent by (output started at /home/izyb/public_html/4images/lang/english/main.php:385) in /home/izyb/public_html/4images/includes/sessions.php on line 92

Warning: Cannot modify header information - headers already sent by (output started at /home/izyb/public_html/4images/lang/english/main.php:385) in /home/izyb/public_html/4images/includes/sessions.php on line 92

And this shows just above the "Categories"

//----------------------------------------------------- //--- Slideshow changes ------------------------------- //----------------------------------------------------- function openslideshow(url,window_width,window_height,new_window) { if (new_window == 2 || new_window == 1) { var width_avail = screen.availWidth-15; var height_avail = screen.availHeight-60; var width_full = screen.width; var height_full = screen.height; // Callculate the spaces from left and top to center the new window: var left_space = ((width_avail - window_width) > 0) ? parseInt((width_avail - window_width) / 2) : 0; var top_space = ((height_avail - window_height) > 0) ? parseInt((height_avail - window_height) / 2) : 0; if (new_window == 2) { window_width = width_avail; window_height = height_avail; left_space = 0; top_space = 0; url += "&maw="+(window_width-97)+"&mah="+(window_height-194)+"&msw="+width_full+"&msh="+height_full; } // if complete picture (whole window) slideshow_window = window.open(url,"slideshowwindow","resizable=yes,dependent=yes,hotkeys=no,location=no,menubar=no,scrollbars=yes,status=yes,toolbar=no,width="+window_width+",height="+window_height+",left="+left_space+",top="+top_space+""); } // if new_window else { window.location.href=url; } // else new_window } // openslideshow

I also cannot get into my Admin CP. I see this error there:

//----------------------------------------------------- //--- Slideshow Settings ------------------------------ //----------------------------------------------------- require("main_slideshowII.inc");
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/izyb/public_html/4images/lang/english/main.php:385) in /home/izyb/public_html/4images/includes/sessions.php on line 84
//----------------------------------------------------- //--- Slideshow Settings ------------------------------ //----------------------------------------------------- require("admin_slideshowII.inc");

30
I dont know how could u miss the very first message of this topic...

No, I did see the first message and did try it just as it was stated and nothing worked. I do have IE6. I tried for 30 mins.+ to get it to work last night.

Pages: 1 [2] 3 4