[REQ] need instruction installation for - PhotoPlog: The Lite Gallery

Note that the 'Not Available' category has 'off' settings, so move files to a 'real' category in order to do such things as parse BBcode and allow comments.

Use the following to add a link to PhotoPlog in the vB navbar template:
Code:
Code:
<!-- change the text in capitals to your site information -->

<a href="http://www.YOUR-DOMAIN.com/YOUR-PHOTOPLOG-DIR/index.php$session[sessionurl_q]">Gallery</a>

<a href="/YOUR-PHOTOPLOG-DIR/index.php$session[sessionurl_q]">Gallery</a>

Use the following to add a link to a user's PhotoPlog gallery in the vB postbit(_legacy) template:
(see the README.txt file, comments section, if using PhotoPlog Lite v.1.0.8+)

Code:
Code:
<!-- change the text in capitals to your site information -->

<a href="http://www.YOUR-DOMAIN.com/YOUR-PHOTOPLOG-DIR/index.php?$session[sessionurl]u=$post[userid]">Gallery</a>

<a href="/YOUR-PHOTOPLOG-DIR/index.php?$session[sessionurl]u=$post[userid]">Gallery</a>
Use the following to add a link to a user's PhotoPlog gallery in the vB MEMBERINFO template:

Code:
Code:
<!-- change the text in capitals to your site information -->

<a href="http://www.YOUR-DOMAIN.com/YOUR-PHOTOPLOG-DIR/index.php?$session[sessionurl]u=$userinfo[userid]">Gallery</a>

<a href="/YOUR-PHOTOPLOG-DIR/index.php?$session[sessionurl]u=$userinfo[userid]">Gallery</a>

***********


* Onscreen Error
Code:
Code:
      Warning: chdir(): No such file or directory (errno X) in /home/wherever/public_html/photoplog/settings.php on line X

      Warning: main(./global.php): failed to open stream: No such file or directory in /home/wherever/public_html/photoplog/settings.php on line X

      Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/wherever/public_html/photoplog/settings.php on line X
It means that the full path set in the PhotoPlog config file is incorrect. Run this script in your main forum directory to help determine the correct path.
Code:
[code[
<?php
echo getcwd();
?>
[/code]
* Onscreen Error
Code:
Code:
      Sorry, User Name: Bad Open
It means that PhotoPlog cannot fopen the 'images' directory. Check for 777, write and ownership permissions on the 'images' directory. If using v.1.0.6.2 and prior, check that the PhotoPlog directory settings are correct paths, not full links. If using v.1.0.7+ check that the PhotoPlog link and upload settings are correct.

* Onscreen Error
Code:
Code:
      Fatal error: Call to undefined function: imagetypes() in /home/wherever/public_html/photoplog/functions.php on line X
It means that the core GD library is not installed correctly. Visit GD Graphics Library or in EasyPHP, configuration, PHP extensions, activate php_gd2, restart.

* Onscreen Error
Code:
Code:
      Blank page
Check that the full path set in the PhotoPlog config file is correct. If using v.1.0.6.2 and prior, check that the PhotoPlog directory settings are correct paths, not full links. If using v.1.0.7+ check that the PhotoPlog link setting is correct.

* Onscreen Error
Code:
Code:
      Incorrect links / broken images
PhotoPlog v.1.0.6.2 and prior prepends http://www.domain.com/forum to relative links, after removing any duplicate directory if present. It works this way because PhotoPlog can reside outside your forum directory. If you see an incorrect link or broken image, set the absolute links manually in the templates for your skin. PhotoPlog v.1.0.6.2 and prior does not prepend to absolute links or background attributes. The latter is depreciated so use style instead. For PhotoPlog v.1.0.7+ edit the relative and absolute link settings appropriately, as you now have more control over what gets changed from a relative to absolute link.

* Onscreen Error
Code:
Code:
      Another mod (such as nicer greeting on navbar, additional navbar, etcetera) does not show up in PhotoPlog
For PhotoPlog v.1.0.7+ edit the global variables setting to include the variable names from other modifications. For PhotoPlog v.1.0.6.2 and prior, you'll need to globalize the variables creating those extra bits in the photoplog_output_error and photoplog_output_page functions, located in the PhotoPlog functions.php file:
Code:
Code:
      global $varname;
 
Back
Top