vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Major Additions - PhotoPlog: The Lite Gallery (https://vborg.vbsupport.ru/showthread.php?t=101368)

calorie 11-22-2005 10:00 PM

PhotoPlog: The Lite Gallery
 
PhotoPlog: The Lite Gallery

PhotoPlog Lite is a gallery script for GIF, JPG, and PNG images. PhotoPlog Lite comes with categories, permissions, comments, search, moderation. The installation takes care of phrases, templates, tables, etcetera. Just follow the README.txt file for installation.

There is a license agreement that I request that you abide. Thanks!

This thread is organized as follows:
  • Post1 contains this here release.
  • Post2 contains current add-ons.
  • Post3 contains onscreen errors.
Fine Print: see license agreement, no redistribution, copyright retained in full, right reserved to uncheck support box.

Requirements: vB 3.5.0+ (development initially based on having vB 3.5.4 though vB 3.6.0+ and vB 3.7.0+ should be okay, but not every version was personally tested) and MySQL 4.1+ (development based on having MySQL 4.1+ though MySQL 3+ may be okay, but not every version was personally tested) and PHP with GD2 and Safe Mode off

Does it work on vB 3.5 and vB 3.6 and vB 3.7? Yes, it should. See the requirements. Also, there are two product XML files, one for vB 3.5 and one for vB 3.6/3.7, so import the one that matches your vB version.

Live Demo and Official Support: http://www.photoplog.com/

Note on Official Support: With 70 some pages, assuming 15 posts per page, and over 1000 posts, all in one thread, official support for this mod is now held off-site. Apologies in advance for possibly having to register at yet another forum, but IMHO support would be better served elsewhere at this point.

All support requests, except perhaps for proven bugs, may be ignored if posted in this thread.

Comments, suggestions, etcetera are welcome, but please note that further modifications are not being planned, as this is intended as the final release of the lite series.

Fun Fact: PhotoPlog Lite v.2.0.6 had 4330 downloads plus 2262 downloads prior to CSRF protection plus 3031 downloads as of 06 Nov 2010!

calorie 11-23-2005 12:22 AM

Do NOT apply attachments from this thread to PhotoPlog, unless there is a link to them in this post.

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:

<!-- 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:

<!-- 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:

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

Language Translations: may not contain all phrases (thank you for the translations):
  • PhotoPlog French translation by Allan: here
  • PhotoPlog Polish translation by gonzek: here (off-site)

Go to vB ACP -> Languages & Phrases -> Download / Upload Languages -> Import Language XML File to import a language XML file.

If you want to post a translation, see the attached language file, make the translation, and then go to vB ACP -> Languages & Phrases -> Language Manager -> [Download] to download just the language XML bit for posting. Please, do NOT post the product-photoplog.xml file, as it is not for redistribution and may not be the code for the latest version of PhotoPlog. THANKS!

calorie 11-23-2005 12:22 AM

  • Onscreen Error
    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:

    <?php
    echo getcwd();
    ?>

  • Onscreen Error
    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:

    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 http://www.boutell.com/gd/ or in EasyPHP, configuration, PHP extensions, activate php_gd2, restart.
  • Onscreen Error
    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:

    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:

    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:

    global $varname;

joeychgo 11-23-2005 12:40 AM

??? What is this?

HMBeaty 11-23-2005 12:42 AM

Wondering the same thing

nexialys 11-23-2005 12:44 AM

looks promissing...

i would prefer usergroup permissions for the first settings though... easier to manage per usergroup ... we can then use "is_member_of" like of function...

joeychgo 11-23-2005 12:46 AM

well, we got a screenshot. Can we get a second.

HMBeaty 11-23-2005 12:51 AM

OK? So what is it? Another form of a gallery?

The Chief 11-23-2005 12:55 AM

what is this??? he is doing this to hurt us!! lol

can't wait ;)

davidw 11-23-2005 12:56 AM

<font color="SeaGreen">* christianb grabs some popcorn</font>

The Chief 11-23-2005 12:59 AM

Quote:

Originally Posted by christianb
* christianb grabs some popcorn

lol, wonder how much time its going to take him...

If you finish this today you really are a fast coder!

el diablo 11-23-2005 01:11 AM

lol... should be interesting :)

PixelFx 11-23-2005 01:13 AM

Quote:

Originally Posted by el diablo
lol... should be interesting :)

looks for popcorn

Ky Kiske 11-23-2005 01:15 AM

>_> <_< Photos huh? *looks at screens* I see all backend stuff...Ant B needs details baby.

The Chief 11-23-2005 01:26 AM

Quote:

Originally Posted by Ky Kiske
>_> <_< Photos huh? *looks at screens* I see all backend stuff...Ant B needs details baby.

yup, more details would be really interesting!

joeychgo 11-23-2005 01:28 AM

So is he coding while we wait?

peterska2 11-23-2005 01:36 AM

Me thinks the hack needs to be released when the threads created. Not at some point in the future. I mean like, how can you have a release thread without a release. And more to the point, who the heck has been hitting install when there is nowt to install?

teamgofast 11-23-2005 01:38 AM

i personally like diet coke better then tab, but i to want to see!! :)

COBRAws 11-23-2005 01:41 AM

some kind of fotolog maybe?

lol ill grab some popcorn too
I hope this doesnt end like the Confesionary Hack, so many msgs from the author and we never got anything.

Chris M 11-23-2005 01:42 AM

Hrm...

Looks nice, just one question :p

Are you actually writing up the documentation and install files for this or are you writing this as you go?

Depending on which answer you give determines the length of life of this thread as a hack release ;)

Chris

Corriewf 11-23-2005 01:44 AM

He is alive..... I dont need details.....Do your thang.

joeychgo 11-23-2005 01:44 AM

strange

The Chief 11-23-2005 01:44 AM

lol, its not even released yet and its already 2 pages long o_o'

nexialys 11-23-2005 01:54 AM

Quote:

Originally Posted by Chris M
Depending on which answer you give determines the length of life of this thread as a hack release ;)
Chris

the file was deleted lately, because at first, the complete hack was in the first post as usually done... and i was taking a look at the code, seems to be working properly...

The Chief 11-23-2005 01:59 AM

yay! some new pics!! lookin great!

Ky Kiske 11-23-2005 02:10 AM

Yes yes Ant B likes.

Chris M 11-23-2005 02:12 AM

Hrm looks very nice calorie :)

I look forward to seeing this expand :)

Chris

Xeonext 11-23-2005 02:17 AM

Screenshots seems to be nice... waiting for more details and download the file in the mean time.

hydrostatic 11-23-2005 02:28 AM

Great hack. Loving it so far :)

Thanks.

calorie 11-23-2005 02:41 AM

Okay, everyone, wow, while I certainly didn't expect it to take this long to post, I happen to have lost all my screenies so I had to remake them, ugh. :dead:

Anyway, there is an upside, as I found a minor bug I hadn't noticed before, so for anyone who downloaded before the date of this here post, redownload.

Now, off to see about that description in the first post... :banana:

Slave 11-23-2005 02:54 AM

Coding in real time? .. you have to laugh :)

Nice one calorie .. I hope that you have time to expand the hack. I think we need it.

dirtycrow 11-23-2005 03:06 AM

hmmm. . . any suggestions ? :(

Quote:

Warning: chdir(): No such file or directory (errno 2) in /home/xxx/public_html/forums/PhotoPlog/settings.php on line 68

Warning: main(./global.php): failed to open stream: No such file or directory in /home/xxx/public_html/forums/PhotoPlog/settings.php on line 69

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/public_html/forums/PhotoPlog/settings.php on line 69

calorie 11-23-2005 03:22 AM

@dirtycrow: the full path set in PhotoPlog's config.php file is incorrect.

memorex 11-23-2005 03:33 AM

I have it loaded, no errors, can change settings but can't locate a link to it on the forums and get Invalid page Specified http://moskrayt.org/forums/PhotoPlog

any idea?

dirtycrow 11-23-2005 03:37 AM

Quote:

Originally Posted by calorie
@dirtycrow: the full path set in PhotoPlog's config.php file is incorrect.

I'm having a bear of a hard time figuring out the correct path. i know. . . .sad:(

calorie 11-23-2005 03:41 AM

@memorex: try -> moskrayt.org/forums/PhotoPlog/ or -> moskrayt.org/forums/PhotoPlog/index.php

memorex 11-23-2005 03:43 AM

sweet, thanx! I love it, clicking install. Also I wonder if it would be hard to make a mod for vbadvanced? hmm you need a donate button :D

calorie 11-23-2005 03:44 AM

@dirtycrow: run this tiny script in your main forum directory...
Code:

<?php
echo getcwd();
?>


Aaron RV 11-23-2005 04:10 AM

Hi,

sorry but wheh submit upload image: "Sorry, xxx: Bad Open" :confused:

calorie 11-23-2005 04:47 AM

@Aaron RV: PhotoPlog cannot fopen so set the 'images' directory with 777 permissions.


All times are GMT. The time now is 06:13 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02422 seconds
  • Memory Usage 1,832KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (12)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete