более плотная интеграция с Coppermine
-
- phpBB 1.0.0
- Сообщения: 5
- Стаж: 19 лет 11 месяцев
более плотная интеграция с Coppermine
есть ли мод который позволяет на форуме показывать последние добавления сделанные в галереи?
-
- phpBB 1.4.0
- Сообщения: 32
- Стаж: 19 лет 8 месяцев
есть мод который позволяет выводить последние и любые фото добавленные в фотогаллерею в любом удобном месте сайта. я думаю вполне можно его как то добавить и в phpbb
мод этот называется cpmfetch и здесь на форуме он обсуждался. воспользуйтесь поиском по форуму.
мод этот называется cpmfetch и здесь на форуме он обсуждался. воспользуйтесь поиском по форуму.
http://www.deti-pogodki.ru -мой проект. Информационный, полезный, о детях-погодках.
-
- phpBB 1.4.4
- Сообщения: 199
- Стаж: 20 лет 3 месяца
- Откуда: Kiev.UA
-
- phpBB 1.4.0
- Сообщения: 32
- Стаж: 19 лет 8 месяцев
AlexWB
а тут вы егои не найдете. это мод не форума а мод фотогаллереи. не поленитесь. была тут тема и я там все ссылки выкладывала. мод лежит в разделе аддонов официального сайтагаллереи.
я попробывала его. не понравилось.но может вам подойдет.
Добавлено спустя 7 минут 11 секунд:
нет, зря я вас в поиск гнала, тема была на myphp.com.ru
извиняюсь и даю данные
По адресу http://cpmfetch.fistfullofcode.com лежит скрипт CpmFetch который позволяет по желанию (лучшее, часто просматриваемое и т.д.) вытягивать фото из Coppermine на любую страницу сайта.
http://coppermine-gallery.net/forum/ind ... ic=19564.0 - вот тема этому моду посвещана, но я ее не очень -то читала. не сильна в языке...
а вот прямо вам последняя версия в зипе http://cpmfetch.fistfullofcode.com/proj ... -1.6.2.zip
а вот ктото из профи расщежрился на расшифровку доков для выбора того что вам именно надо отображать
cpm_viewLastAddedMedia ($rows, $columns, [array $options = ""])
Shows the photos last added to the gallery.
cpm_viewLastAddedMediaFrom ( $rows, $columns, $source, [array $options = ""])
Shows the photos last added to the albums and categories specified in the $source string
cpm_viewMediaByPid($pid, [array $options=""])
This function allows one image to be retrieved from the gallery and displayed by calling its PID number.
cpm_viewRandomMedia ( $rows, $columns, [array $options = ""])
Shows random images from the gallery
cpm_viewRandomMediaFrom ( $rows, $columns, $source, [array $options = ""])
Shows random images from albums and categories specific in the $source string
cpm_viewRandomMostViewedMediaFrom ($source, $rows, $columns, $options)
When you request images this function does a few things: 1. Gets the total number of images available to that source 2. Mutiples the number by a percent to qualify (currently 10% for viewed) 3. Gets that many back from the database sorted by views (depending) 4. Randomly grabs the count you want from there.
cpm_viewRandomTopRatedMediaFrom ($
source, $rows, $columns, $options)
This function will display the photos with the highest rankings. This is decided on the number stored in the database. It is based on the newer approach that allows for semi free form source to be specified. If you want the whole gallery $source must be set as "".
cpm_viewTopRatedMediaFrom ($source, $rows, $columns, [array $options=""])
This function will display the photos with the highest rankings. This is decided on the number stored in the database. It is based on the newer approach that allows for semi free form source to be specified. If you want the whole gallery $source must be set as "".
cpm_viewMostVotedMediaFrom ($source, $rows, $columns, [array $options = ""])
When you request images this function does a few things: 1. Gets the total number of images available to that source 2. Mutiples the number by a percent to qualify (currently 25% for rated) 3. Gets that many back from the database sorted by rating (depending) 4. Randomly grabs the count you want from there.
а тут вы егои не найдете. это мод не форума а мод фотогаллереи. не поленитесь. была тут тема и я там все ссылки выкладывала. мод лежит в разделе аддонов официального сайтагаллереи.
я попробывала его. не понравилось.но может вам подойдет.
Добавлено спустя 7 минут 11 секунд:
нет, зря я вас в поиск гнала, тема была на myphp.com.ru
извиняюсь и даю данные
По адресу http://cpmfetch.fistfullofcode.com лежит скрипт CpmFetch который позволяет по желанию (лучшее, часто просматриваемое и т.д.) вытягивать фото из Coppermine на любую страницу сайта.
http://coppermine-gallery.net/forum/ind ... ic=19564.0 - вот тема этому моду посвещана, но я ее не очень -то читала. не сильна в языке...
а вот прямо вам последняя версия в зипе http://cpmfetch.fistfullofcode.com/proj ... -1.6.2.zip
а вот ктото из профи расщежрился на расшифровку доков для выбора того что вам именно надо отображать
cpm_viewLastAddedMedia ($rows, $columns, [array $options = ""])
Shows the photos last added to the gallery.
cpm_viewLastAddedMediaFrom ( $rows, $columns, $source, [array $options = ""])
Shows the photos last added to the albums and categories specified in the $source string
cpm_viewMediaByPid($pid, [array $options=""])
This function allows one image to be retrieved from the gallery and displayed by calling its PID number.
cpm_viewRandomMedia ( $rows, $columns, [array $options = ""])
Shows random images from the gallery
cpm_viewRandomMediaFrom ( $rows, $columns, $source, [array $options = ""])
Shows random images from albums and categories specific in the $source string
cpm_viewRandomMostViewedMediaFrom ($source, $rows, $columns, $options)
When you request images this function does a few things: 1. Gets the total number of images available to that source 2. Mutiples the number by a percent to qualify (currently 10% for viewed) 3. Gets that many back from the database sorted by views (depending) 4. Randomly grabs the count you want from there.
cpm_viewRandomTopRatedMediaFrom ($
source, $rows, $columns, $options)
This function will display the photos with the highest rankings. This is decided on the number stored in the database. It is based on the newer approach that allows for semi free form source to be specified. If you want the whole gallery $source must be set as "".
cpm_viewTopRatedMediaFrom ($source, $rows, $columns, [array $options=""])
This function will display the photos with the highest rankings. This is decided on the number stored in the database. It is based on the newer approach that allows for semi free form source to be specified. If you want the whole gallery $source must be set as "".
cpm_viewMostVotedMediaFrom ($source, $rows, $columns, [array $options = ""])
When you request images this function does a few things: 1. Gets the total number of images available to that source 2. Mutiples the number by a percent to qualify (currently 25% for rated) 3. Gets that many back from the database sorted by rating (depending) 4. Randomly grabs the count you want from there.
http://www.deti-pogodki.ru -мой проект. Информационный, полезный, о детях-погодках.