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

Pages: [1]
1
I have no idea what happened, but all of a sudden none of my regular users (which has confirmed through email) can see the rating form, the image comments or the form in which to post comments on the details.html page. It's like they are unregistered users which I've set to not comment, rate or add to the lightbox (although the lightbox works). I've added several mods though

- http://www.4homepages.de/forum/index.php?topic=3842.0 [Mod] Let visitors to chose how to sort images(date,name,..)
- http://www.4homepages.de/forum/index.php?topic=3978.0 [Mod] Avatar v2.01
- http://www.4homepages.de/forum/index.php?topic=28819.0 [TUT] How to add a new, custom PHP page
- http://www.4homepages.de/forum/index.php?topic=10625.0 [MOD] Multi-Lightboxes v1.03.2 (2011-09-20) and the dropdown mod which I had to for using this mod

I'm guessing the issue must be when I did something wrong when adding one of these mods but I have no idea where to start looking. The regular users can't see "Comments: 0" underneath the thumbnail either in the categories.html page so something is probably iwrong with the permissions. Anyone got any tips?

2
Hi!
This script is fantastic, but for some reason my footer gets stuck in an inframe on the lightbox_manage page. I can't figure out how fix this as I'm guessing lightbox.html is the problem as it's got {footer} at the end which lightbox_manage.html for some reason uses at the end (along with the dropdown list of folders and the headline). Anyone know how I can fix this?

3
After two days of trying to tweak and edit I think I can make one of these mods myself (which I can post here if it's a success) but I'm wondering if it's possible to separate subcategories from sub-subcategories? The main categories are on one page (home.html) and then all the subcategoriers are in categories.html but if my main category is called nature (on home.html) is it possible to put the categories under nature (for example plants and tress, mountains, sky, mineral etc.) and then when you click on one of them you get a whole new page (for example categories2.html)?

I'm only asking because I don't think I can have drop down menus for only the sub-subcategories if the script is as it is right now.

4
I don't know if this already exist but is there a way to have a "defined search" in the subcategories?

For example if my category is called Nature
Then the next subcategory is called Plants and trees
Then the final subcategory is called Flowers

Is there a way to have drop-down menus to choose what you want to see in the Flowers category? For example drop-down 1: Types of flowers, drop-down 2: Colours

So if a member decide that s/he wants to view only Roses in the flower category, you can choose that in a drop-down menu and all images of roses will appear. Then s/he wants to view purple flowers so s/he clicks (in the colour drop down) the colour purple to view all images of purple roses. To reset or choose something else you just use the drop down again.

I also want the drop downs to be different for each subcategory, so the first subcategory is Flowers with drop down options such as types of flowers, colours etc and the next subcategory is Trees with drop down options such as different countries, seasons etc (basically only sub-sub-categories showing for each sub-category).

What I'm looking for is something similar to what they have at fanfiction.net (main category with books, movies, tv-shows etc., then a subcategory with different tv-shows for example where you can choose to define it more: http://www.fanfiction.net/book/Harry-Potter/)

5
Mods & Plugins (Releases & Support) / Re: [Mod] Avatar v2.01
« on: March 15, 2013, 08:51:58 PM »
Hi!

I'm having issues after installing this MOD. The problem seems to be with this code that goes into member.php

//----------------------- 
//------ Avatar --------- 
//----------------------- 
  
if ($config['avatar_use']){ 
   
$images ""
  
$checked = ($user_avatar == "blank.gif" || $user_avatar == "") ? " selected" ""
  
$images .= "\n<option value=\"blank.gif\"$checked>none</option>\n"
  
$dir opendir(TEMPLATE_PATH."/avatars/users/"); 
  
$contents = array(); 
  while (
$contents[] = readdir($dir)){;} 
  
closedir($dir); 
  
natcasesort ($contents); 
  foreach (
$contents as $line){ 
   
$filename substr($line,0,(strlen($line)-strlen(strrchr($line,".")))); 
   if (
$filename == $user_info['user_id']) { 
     
$checked = (stristr($user_avatar"users/")) ? " selected" ""
     
$images .= "\n<option value=\"users/$line\"$checked>".$lang['custom']."</option>\n"
   } 
  } 
   
$dir opendir(TEMPLATE_PATH."/avatars/"); 
   
$contents = array(); 
   while (
$contents[] = readdir($dir)){;} 
   
closedir($dir); 
   
natcasesort ($contents); 
   
$checked ""
   foreach (
$contents as $line){ 
      
$filename substr($line,0,(strlen($line)-strlen(strrchr($line,".")))); 
      
$extension substr(strrchr($line,"."), 1); 
      
$checked ""
      if (
$line == $user_avatar) { $checked " selected"; } 
      if (
strcasecmp($extension,"gif")==|| strcasecmp($extension,"jpg")==|| strcasecmp($extension,"jpeg")

==
|| strcasecmp($extension,"png")==){ 
         if (
$line != "blank.gif") { 
        
$filename str_replace("_"" "$filename); 
        
$images .= "<option value=\"$line\"$checked>$filename</option>\n"
       } 
      } 
   } 
  } 
//---------------------- 
//----- End Avatar ----- 
//---------------------- 

  
$site_template->register_vars(array( 
   
"lang_avatar" => $lang['avatar'], 
   
"lang_avatar_file" => $lang['avatar_file'], 
   
"lang_avatar_dim" => $lang['avatar_max_dim']." ".$config['avatar_width']."x".$config['avatar_height'].

$lang['px'], 
   
"lang_avatar_select" => $lang['avatar_select'], 
   
"user_avatar_images" => $images
   
"user_avatar_current" => ($config['avatar_use']) ? "<img src=\"".TEMPLATE_PATH."/avatars/".(($user_avatar 

== "") ? "blank.gif" $user_avatar)."\" name=\"icons\" border=\"0\" alt=\"\">" ""
   
"lang_or" => $lang['or'], 
   
"user_avatar_file" => $config['avatar_user_custom'], 
    
"user_name" => htmlspecialchars(stripslashes($user_name)),


The issue is ONLY on my editprofile.php page and this is the error:

Parse errorsyntax errorunexpected $end in /home/xxxxxx/public_html/includes/template.php(101) : eval()'d code on line 244

I know it's got something to do with my template but I can't figure out how to fix it. If I remover the code entirely from members.php everything seems to be fine so it's obviously something wrong there.

Anyone know how to fix this problem? I've already looked through this but as I don't know where to look, I don't know how to fix it. Line 244 in template is this so it can't be the reason for the error:

$footer $this->parse_template("footer");

Any help would be highly appreciated!

6
I have an issue which wasn't here before. When submitting videos from other websites (such as Youtube) they won't show up in any category at all. It says that there is a new video but the video is not showing up at all (and neither does the information about the video, the page is just blank with the h1 text).

I'm using this script as I'm only using the gallery for videos and not images. I've CHMOD'ed everything correctly and checked through Chrome, Safari and Firefox but none of them are showing the videos.

I thought it might be something with the category folders as I'm using Main folder -> sub-category -> sub-sub-category (and in some cases) -> sub-sub-sub-categories and I've put the settings to only allow members to submit to the sub-sub-category or the sub-sub-sub-category (All permissions in the other categories are for Admins only except view category and view video which is for all).

Anyone know what might be wrong?

7
Is it possible to remove

'Found: 0 images(s) on 0 page(s). Displayed: video 0 to 0.   
There are no images in this category.'


from the main folder and first sub-folder? I just want the folders to be displayed there as every image will be carefully sorted into sub-sub-folders.

8
Discussion & Troubleshooting / How to make clickstream not a link?
« on: February 15, 2013, 03:52:25 AM »
I want the clickstream to not be a link but more of a overview of which folder my members are viewing.
Let's say I have a main folder, then a sub-folder and then another sub-folder in that sub-folder. I want my visitors to see main folder / sub-folder / sub-folder in a h1 tag and not as a clickable link. How do I do this?

Is there also a way to remove "Home" from the clickstream?

Pages: [1]