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

Pages: [1] 2 3 4
1
Mods & Plugins (Releases & Support) / Re: [Mod] Paging for Detail site
« on: August 16, 2011, 10:22:02 AM »
How can i modify this mod so i can just show number of images in this category and which picture is showed ?
Now it shows :  1 2 3 ... 50 .. 100
But I just want to show this : 5/100

2
Mods & Plugins (Releases & Support) / Re: [MOD] Left Gallery QuickList
« on: April 01, 2011, 09:20:51 AM »
I made a little addon to this mod.
If some1 needs to be showed no. of pictures for each category, then find in functions.php



	
	
if (
$with_folder){
	
	
$category_list .= "<li><span class='folder'><a href='".$site_sess->url('categories.php?'.URL_CAT_ID.'='.$category_id)."'>".$quick_cat_name."</a></span>";
	
	
}
	
	
else {
      
$category_list .= "<li><a href='".$site_sess->url('categories.php?'.URL_CAT_ID.'='.$category_id)."'>".$quick_cat_name."</a>";
      }


and replace it with :


	
	
if (
$with_folder){
	
	
$category_list .= "<li><span class='folder'><a href='".$site_sess->url('categories.php?'.URL_CAT_ID.'='.$category_id)."'>".$quick_cat_name."&nbsp;(".$cat_cache[$category_id]['num_images'].")</a></span>";
	
	
}
	
	
else {
      
$category_list .= "<li><a href='".$site_sess->url('categories.php?'.URL_CAT_ID.'='.$category_id)."'>".$quick_cat_name."&nbsp;(".$cat_cache[$category_id]['num_images'].")</a>";
      }



3
I have tried installing this : Topic: [Mod] Add/Remove image to/from lightbox without page refresh (2009-07-29)

Is it possible to refresh lightbox count aswell, like this lightbox button ?

EDIT : got it work somehow. It now refreshes whole page, but it wont go top of the page after refresh ;) (EDIT 2: it will work like this in FF only, in IE it goes top of page  :roll:)

changed in functions.php

Code: [Select]
    $lightbox_button = "<a href=\"".$site_sess->url($lightbox_url)."\" onclick=\"this.firstChild.src='".$site_sess->url(ROOT_PATH."lightboxaction.php?id=".$image_row['image_id'])."&ilu='+this.firstChild.src; return false;\"><img src=\"".get_gallery_image("lightbox_yes.gif")."\" border=\"0\" alt=\"\" /></a>";

to this
Code: [Select]
    $lightbox_button = "<a href=\"".$site_sess->url($lightbox_url)."\" onclick=\"this.firstChild.src='".$site_sess->url(ROOT_PATH."lightboxaction.php?id=".$image_row['image_id'])."&ilu='+this.firstChild.src; window.location.reload(); return false;\"><img src=\"".get_gallery_image("lightbox_yes.gif")."\" border=\"0\" alt=\"\" /></a>";

and this code

Code: [Select]
    $lightbox_button = "<a href=\"".$site_sess->url($lightbox_url)."\" onclick=\"this.firstChild.src='".$site_sess->url(ROOT_PATH."lightboxaction.php?id=".$image_row['image_id'])."&ilu='+this.firstChild.src; return false;\"><img src=\"".get_gallery_image("lightbox_no.gif")."\" border=\"0\" alt=\"\" /></a>";

into this :

Code: [Select]
    $lightbox_button = "<a href=\"".$site_sess->url($lightbox_url)."\" onclick=\"this.firstChild.src='".$site_sess->url(ROOT_PATH."lightboxaction.php?id=".$image_row['image_id'])."&ilu='+this.firstChild.src; window.location.reload(); return false;\"><img src=\"".get_gallery_image("lightbox_no.gif")."\" border=\"0\" alt=\"\" /></a>";

tried to surround {lightbox_total_count} with DIV tags, but refreshing DIV needs another page inside DIV (ex. lightbox_total_count.php), as I understand. If we could make a page which showing {lightbox_total_count} inside it would be cool and then could refresh it without refreshing whole page.

EDIT3 : got it to work ;)

4
I have installed this : [MOD] Multi-Language support for any text (updated 05-11-2005)

Now user selects different language, adds images into lightbox. Then goes to quotation.php. So far so good, language stays correct. But after (s)he hits "Submit" button, it goes to index.php not index.php?l=language. How to modify
Code: [Select]
$inPHormer_err = "http://www.site.com/index.php"; and
Code: [Select]
$inPHormer_ok = "http://www.site.com/index.php"; so that language stays correctly after mail sent? Have tried
Code: [Select]
$inPHormer_ok = "".$site_sess->url(ROOT_PATH."index.php")."";but getting this error :
Code: [Select]
Fatal error: Call to a member function url() on a non-object in /****/****/quotation_send.php on line 22
Is it possible to make it work like this?

EDIT : Nevermind, solved myself ;)

5
Yes, I tested this MOD in 1.7.3 and it works (at least for image description, that is the part I'm interesting in).
Saddly, I get this:

Code: [Select]
Notice: Undefined index: date_format in global.php on line 139

Notice: Undefined index: language_dir in includes\functions.php on line 1853

Notice: Undefined index: language_list in includes\functions.php on line 1853

Notice: Undefined index: language_list in includes\functions.php on line 1857

Notice: Undefined index: language_dir_default in includes\functions.php on line 1861

Notice: Undefined index: language_list in includes\functions.php on line 1861

Notice: Undefined index: time_format in global.php on line 140

Notice: Undefined index: language_dir in includes\functions.php on line 1853

Notice: Undefined index: language_list in includes\functions.php on line 1853

Notice: Undefined index: language_list in includes\functions.php on line 1857

Notice: Undefined index: language_dir_default in includes\functions.php on line 1861

Notice: Undefined index: language_list in includes\functions.php on line 1861

Warning: Cannot modify header information - headers already sent by (output started at global.php:139) in global.php on line 442

But as I said, it works, and if you configure 4images to not to show notices and warnings, then everything should be fine. However, I would like to know how to get rid of those annoying noticies...

Regards.

I got same notices (except that warning). What to do to get those notices disappear ?

6
Discussion & Troubleshooting / Re: Category view / Category bit
« on: March 09, 2010, 10:33:17 PM »
I have exactly the same problem....

7
Mods & Plugins (Releases & Support) / Re: [MOD] Left Gallery QuickList
« on: March 08, 2010, 12:56:04 PM »
@urmasmuld,

It has to be something simple I overlooked...

Modified
I think I got it this time. At least it works on my local computer server now so see how the attached file works on your site and let me know so I can modify my original post.

I still see one minor bug with this version...
If you are on a details page of a item that was on any page of the category except page 1 then it still does not work.
I had an image on page 2 or my test site and when I hovered over the navigation at the top of the page the link had the &l=spanish at the end of the link and the &page comes before it but in the gallery quicklist the &l=spanish comes before the &page=   :?: :?: :?: not sure why if if your users will notice but I may dig deeper into it later...

Worked great !
Million times : thank you, thank you, thank you....  :mrgreen:

Only a little problem (really a little one  :)). When choosed default language and going to category's 2nd page and then choosing another language, then qicklist wont show anything. But when going after that to 3rd or 1st page, its working again. See it in action here

8
Mods & Plugins (Releases & Support) / Re: [MOD] Left Gallery QuickList
« on: March 07, 2010, 09:19:04 PM »
@ budduke

Won't work  :cry:

Darn, Wil have to setup a test site with V@no's multi lang mod along with mine to see what is happening.
I think I know what it is doing but not sure how to fix it just yet.

Modified

Backup your jquery.treeview.js file and Replace it with the modified one attached to this reply and let me know if it fixes it. It should.
My brain works better when food is in me  :)

Well, uploaded this file, now all subcategories have been lost (with both languages) from list :S (you can see it here)
Trying to find solution myself too. If found, let you know. But thanx for helping :D

9
Mods & Plugins (Releases & Support) / Re: [MOD] Left Gallery QuickList
« on: March 07, 2010, 07:10:25 PM »
@ budduke

Won't work  :cry:

10
Mods & Plugins (Releases & Support) / Re: [MOD] Left Gallery QuickList
« on: March 07, 2010, 03:13:57 PM »
in here i see a cool sliding effect ;)

http://jquery.bassistance.de/treeview/demo/prerendered.html

how to add this feature to the qucklist ? i mean the cool sliding effect  :wink:

tnx !

Open header.html in templates folder and find
Code: [Select]
$("#left_quicklist_nav").treeview({
collapsed: true,
unique: true,
persist: "location"
replace with :
Code: [Select]
$("#left_quicklist_nav").treeview({
collapsed: true,
unique: true,
animated: "medium",
persist: "location"

11
Mods & Plugins (Releases & Support) / Re: [MOD] Left Gallery QuickList
« on: March 06, 2010, 11:34:21 PM »
Sure, link is here
It doesnt matter how many pages of pics I have, result always the same. If using default language list is working, but when changing to english, it wont strip the list. Sorry for my bad english  :roll:

12
Mods & Plugins (Releases & Support) / Re: [MOD] Left Gallery QuickList
« on: March 06, 2010, 10:22:53 AM »
What if I have [MOD]Language select (Version B) installed ?
I tried installing it, and when I choose another language, all works (it translates quicklist). But when i click in category in quicklist, it goes back to default language. Maybe i did something wrong in installation ?

EDIT :
got it work partially.

I changed in functions.php
Code: [Select]
 global $site_db, $drop_down_cat_cache, $cat_cache;to this :
Code: [Select]
global $site_db, $drop_down_cat_cache, $cat_cache, $site_sess;
also changed :

Code: [Select]
$category_list .= "<li><span class='folder'><a href=categories.php?cat_id=".$category_id.">".$quick_cat_name."</a></span>";
}
else {
      $category_list .= "<li><a href=categories.php?cat_id=".$category_id.">".$quick_cat_name."</a>";
to this :
Code: [Select]
$category_list .= "<li><span class='folder'><a href=\"".$site_sess->url(ROOT_PATH."categories.php?cat_id=".$category_id."")."\">".multilang($quick_cat_name)."</a></span>";
}
else {
      $category_list .= "<li><a href=\"".$site_sess->url(ROOT_PATH."categories.php?cat_id=".$category_id."")."\">".multilang($quick_cat_name)."</a>";

Sorry, seems that V@no already made fix for this :S. But i have more problems.

Now it doesnt change language to default (it stays to language, which user choosed), but in quicklist it doesnt show category I'm currently viewing (It shows correctly only when default language selected).
categories.php?cat_id=10&l=english  - doesnt work
categories.php?cat_id=10  -  works
 Any help with this ?

13
Does it have newsletter function ?

Quote
I have this Newsscript: http://network-13.com/home
Integrated with a Bridge for Users.

14
I have this cutenews integrated into 4images. Its amazing news script.

15
wow, it works now. Thanx again V@no  :lol:

Pages: [1] 2 3 4