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

Pages: 1 [2]
16
Mods & Plugins (Requests & Discussions) / Re: Google Maps integration
« on: January 26, 2006, 12:41:30 PM »
I am intrested also in such integration :)

and for now also made this by hand: http://www.otdyh.crimea.ua/vt-webf.html
fulscren map of Crimea Ukraine, text in Russian - but not more:)

not a familiar with php/mysql, could some one help as?
sure, from this integration 4images only better!

I think this info should be useful:
http://sourceforge.net/projects/phpgooglemaps/
http://www.xml.com/lpt/a/2005/08/10/google-maps.html

as Vano pointed - visitors will not get latidute longitude numbers, but we can simplifier this task with showing map and asking them to click on map where the foto was shot - and then pas lan/lot value to the form
I use myself this map: http://www.mapki.com/index.php?title=Get_Lon_Lat

Vano глянь плиз, может это не сложно совсем?

Either no one else is interested in a mod like this or its too difficult to code.

?


Вот тут есть некое решение такого
http://coppermine-gallery.net/forum/index.php?topic=26571.0



17
Mods & Plugins (Releases & Support) / Re: Signature image v2.21
« on: January 23, 2006, 01:46:58 PM »
very nice mod!

18
Mods & Plugins (Releases & Support) / Re: [MOD] Ban v1.6.2
« on: December 19, 2005, 02:36:13 PM »
I look trouble:

Step 4
Open includes/sessions.php
Find:
Code: [Select]
$user_info = $site_sess->return_user_info();

And I had to insert a code after a line

Code: [Select]
$site_template = new Template(TEMPLATE_PATH);
//--- End Templates -----------------------------------

Now works!
:lol:

19
Mods & Plugins (Releases & Support) / Re: [MOD] Ban v1.6.2
« on: December 19, 2005, 12:09:23 PM »
Please help me :)

install this MOD
Add IP is Ban and click "Test" in Action

open page:
Fatal error: Call to a member function on a non-object in /_____/includes/page_header.php on line 33

page_header.php :

28 // Cache Templates
29 $template_list = 'header,footer,category_dropdown_form,user_logininfo,user_loginform';
30 if (isset($templates_used) && $templates_used != "") {
31   $template_list = $template_list.",".$templates_used;
32 }
33 $site_template->cache_templates($template_list);

How to solve this problem?


20
Mods & Plugins (Releases & Support) / Re: [Mod] Mini-Top
« on: November 09, 2005, 12:25:27 PM »
What to deduce on page the table with two lines (an example here: http://gallery.krugozor.ru), it is necessary to make the following:

1. Find:
Code: [Select]
$num_of_cells = $config['image_cells'];
Change:
Code: [Select]
$num_of_cells = 6;
2. Find:
Code: [Select]
$mini_top_images .= "\n</td>\n";Add after:
Code: [Select]
if ($cnt==2)  {
$mini_top_images .= "\n</tr><tr>\n";
}

 :wink:

21
The field "user_comments" in the table "4images_user" has casually been cleared.
There was a necessity to restore data.

I think, it is meaningful in ACP to add plugin
" Synchronization of quantity of comments of users "

The similar module is in phpbb (admin_post_count_resync.php)
It is pasted below.

22
 :?
Yes, a question such:
How to change a name of a file if such file already is.

23
Hi!

if download remote image in one category:

http://wwwwwww/image22.jpg
--> create thumbnailer "image22.jpg"

next download
http://yyyyyyyyyyy/image22.jpg
--> create thumbnailer "image22.jpg"

Result:
one thumbnailer "image22.jpg" for two remote image.

24
Look stats only admin.

Open search_stats.php

find
Code: [Select]
include(ROOT_PATH.'includes/page_header.php');

add after

Code: [Select]
if ($user_info['user_level'] != ADMIN) {
  show_error_page($lang['no_permission']);
}

Pages: 1 [2]