Witam!
Jestem w posiadaniu moda photoplog pro.
Chciałem zrobic coś takiego, żeby na stronie głównej pojawiła mi się tabela z losowymi wybranymi miniaturkami jak jest to np na > http://se-center.info < ale nie wychodzi mi to jakoś :/
Oto mój readme:
Kod:
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++ PhotoPlog Copyright © 2001-2006 ThinkDing LLC - All Rights Reserved ++++++++++++
++++++++++++ This file may not be redistributed in whole or significant part ++++++++++++
++++++++++++ PhotoPlog Pro is NOT free software :: visit photoplog.com for details ++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
============================================================================================
Backup, backup, backup. Now proceed. :)
============================================================================================
============================================================================================
PhotoPlog Pro NEW Installation
============================================================================================
1) In the ZIP archive find the /photoplog directory, open the PhotoPlog
config.php file in a TEXT ONLY editor, and set the server path to your main forum
directory (check with your host if you are not sure of the server path)
2) In the ZIP archive again find /photoplog and FTP all the contents
inside the /photoplog directory into a directory named photoplog on your server,
keeping the same structure as in the ZIP file
3) Set 777 permissions on the photoplog 'images' directory on your server, as necessary
(use chmod or FTP to set 777 permissions on the photoplog 'images' directory if needed)
4) In the ZIP archive find /forum and note how the directory structure is the same as it
is on your vB board, so FTP the files inside the PhotoPlog /forum
subdirectories into the equivalent vB directories
5) In the ZIP archive find product-photoplog.xml and import the product-photoplog.xml
file as a product via the vB ACP
(vB ACP -> Plugin System -> Manage Products -> Add/Import Product)
6) Go to vB ACP, refresh your index page, and look for the PhotoPlog group
(set your setting/usergroup permissions/etcetera via the PhotoPlog group)
============================================================================================
PhotoPlog Pro UPGRADE Installation
============================================================================================
1) In vB ACP, revert any changed PhotoPlog templates
2) Delete the old PhotoPlog ZIP file (do not use anything inside the old file - do not
follow the old README.txt - nothing - just disregard it all)
3) In the new ZIP archive find /photoplog and FTP all the contents inside
the /photoplog directory (except config.php) into the photoplog directory on your
server, keeping the same structure as in the ZIP file, overwriting old files
4) In the new ZIP archive find /forum and note how the directory structure
is the same as it is on your vB board, so FTP all files inside the PhotoPlog /forum
subdirectories into the equivalent vB directories, overwriting old files
5) In the new ZIP archive find product-photoplog.xml and import the product-photoplog.xml
file as a product via the vB ACP (do not uninstall the old version - do allow overwrite)
(vB ACP -> Plugin System -> Manage Products -> Add/Import Product)
6) Go to vB ACP, refresh your index page, and look for the PhotoPlog group
(set your setting/usergroup permissions/etcetera via the PhotoPlog group)
============================================================================================
PhotoPlog Pro UN-Installation
============================================================================================
1) Go to the vB ACP -> Plugin System -> Manage Products and uninstall the
"PhotoPlog Pro: The Pro Gallery" product
(vB ACP -> Plugin System -> Manage Products -> Uninstall "PhotoPlog Pro: The Pro Gallery")
2) Delete all the PhotoPlog files you FTPed on install from your server
(if you have shell access carefully try 'rm -r [photoplog directory]' to delete the
photoplog directory, and remember to delete the PhotoPlog files from /forum too)
3) Call admincp/index.php?do=buildbitfields from your browser to ensure its occurrence
============================================================================================
PhotoPlog Pro Comments
============================================================================================
1) Do not mess with the files in the 'images' directory as PhotoPlog
considers names to prevent duplicates
2) File types currently uploadable: GIF, JPG, PNG, gif, jpg, png
3) Want thumbnails on forum home and/or member info? Use $photoplog[thumbnails]
and/or $photoplog[minithumbnails] right after $navbar appears in the
FORUMHOME and/or MEMBERINFO templates
4) If you accidentally bunk the install/upgrade, redo it and then call the
following: admincp/index.php?do=buildbitfields
5) Accidentally UN-installing product-photoplog.xml via vB ACP will ruin
your gallery without a MySQL backup available to reinstate
6) Want a gallery link in postbit with count?
Edit the vB postbit(_legacy) template:
Find:
<div>
$vbphrase[posts]: $post[posts]
</div>
After add:
<div>
$vbphrase[photoplog_gallery]:
<if condition="$post[photoplog_filecount]">
<a href="/photoplog/index.php?$session[sessionurl]u=$post[userid]">$post[photoplog_filecount]</a>
<else />
$post[photoplog_filecount]
</if>
</div>
7) Want a gallery comment count in postbit too?
Edit the vB postbit(_legacy) template:
Find:
<div>
$vbphrase[posts]: $post[posts]
</div>
After add:
<div>
$vbphrase[photoplog_comments]: $post[photoplog_commentcount]
</div>
8) Want a thumbnail popup selector of your images under the smilies box when making a forum post?
Edit the vB editor_smiliebox template, placing the following at the very end of the template:
<div class="smallfont" align="center">[<a href="#" onclick="openWindow('$vboptions[photoplog_bbcode_link]/selector.php?$session[sessionurl]e=$editorid', 585, 215, 'selector'); return false;">$vbphrase[photoplog_images]</a>]</div>
============================================================================================
Enjoy!
============================================================================================
Bawiłem się z tymi $photoplog[thumbnails] / $photoplog[minithumbnails] w forumhome ale bez zmian
O co chodzi?