PDA

View Full Version : Major Additions - PhotoPlog: The Lite Gallery


Pages : [1] 2 3 4 5 6 7 8

calorie
11-22-2005, 10:00 PM
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 (https://vborg.vbsupport.ru/showpost.php?p=828201) contains this here release.
Post2 (https://vborg.vbsupport.ru/showpost.php?p=828203&postcount=2) contains current add-ons.
Post3 (https://vborg.vbsupport.ru/showpost.php?p=828204&postcount=3) 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:

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

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

<!-- 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 (https://vborg.vbsupport.ru/member.php?u=36046): here (https://vborg.vbsupport.ru/showpost.php?p=1242014&postcount=1297)



PhotoPlog German translation by Maddrax (https://vborg.vbsupport.ru/member.php?u=8618): here (https://vborg.vbsupport.ru/showpost.php?p=933399&postcount=874)



PhotoPlog Italian translation by pollon (https://vborg.vbsupport.ru/member.php?u=179865): here (https://vborg.vbsupport.ru/showpost.php?p=1203519&postcount=1224)



PhotoPlog Norwegian translation by ambumann (https://vborg.vbsupport.ru/member.php?u=57150): here (https://vborg.vbsupport.ru/showpost.php?p=911200&postcount=814)



PhotoPlog Polish translation by gonzek (https://vborg.vbsupport.ru/member.php?u=235282): here (http://se-center.info/language_photoplog-Polish.xml) (off-site)



PhotoPlog Russian translation by Kent100 (https://vborg.vbsupport.ru/member.php?u=74721): here (https://vborg.vbsupport.ru/showpost.php?p=1369032&postcount=1475)



PhotoPlog Russian translation by butch3r (https://vborg.vbsupport.ru/member.php?u=226757): here (https://vborg.vbsupport.ru/showpost.php?p=1552543&postcount=1787)



PhotoPlog Spanish translation by ociosos (https://vborg.vbsupport.ru/member.php?u=149713): here (https://vborg.vbsupport.ru/showpost.php?p=1112402&postcount=1086)


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

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.

<?php
echo getcwd();
?>




Onscreen Error

Sorry, User Name: Bad Open

It means that PhotoPlog cannot fopen (http://www.php.net/manual/en/function.fopen.php) 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

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

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

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

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:

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
* 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
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
>_> <_< 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
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 ? :(

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
@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...

<?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.

G-Force 199
11-23-2005, 05:44 AM
Thank you very much, I'm finding a solution for a Gallery.
Clicked Install.

calorie
11-23-2005, 07:42 AM
You're welcome. Glad you like. :D

leevoth
11-23-2005, 08:08 AM
white page ??? how ??? :(
http://www.f1community.net/community/PhotoPlog/index.php

peterska2
11-23-2005, 08:14 AM
probably not installed the template for some reason. If it's a manual creation then check you have done it in all styles. If it's done via the plugin/product then just check it has set the templates up in each style. If not, re-import the plugin/product ensuring you set it to overwirte existing.

nitro
11-23-2005, 09:10 AM
Looks cool. Is this able to have gallery categories or is more a personal/user photo log ?

Shame about the license aswell, really is very harsh. Most of its fine but your current license rules out users here making any custom blocks etc for other vb addon products ie a CMS. This is covered in two elements of the existing license refering to the specifics of not permitted for use in other products and any part of the code, as a specific table or field is part of the code it cannot be used.

Aaron RV
11-23-2005, 12:23 PM
@Aaron RV: PhotoPlog cannot fopen so set the 'images' directory with 777 permissions.


"images" directory now 777 but not work :disappointed: "Sorry, xxx: Bad Open"

calorie
11-23-2005, 07:05 PM
Aaron RV, does your PHP have safe mode on or off?

dirtycrow
11-23-2005, 07:50 PM
calorie, this is what the hoster told me

home/xxx/public_html/forums

when i put that into the config.php, i still get the error. thoughts?

thanks in advanced.

calorie
11-23-2005, 08:37 PM
Use it like this...

define('PHOTOPLOG_FWD','/home/xxx/public_html/forums');

Chris M
11-23-2005, 10:51 PM
So is this user-specific or is this just one big everyone contributes gallery? :)

Chris

dirtycrow
11-23-2005, 11:22 PM
Use it like this...

define('PHOTOPLOG_FWD','/home/xxx/public_html/forums');


i did that. all it does now is clock out and ramp up the server loads.

could this be conflicting with any other hacks?

calorie
11-23-2005, 11:26 PM
It's for those users in the usergroups set in the PhotoPlog options.

calorie
11-23-2005, 11:36 PM
dirtycrow, it shouldn't conflict. Do you see the PhotoPlog options via the ACP?

FleaBag
11-24-2005, 01:13 AM
Hey calorie, great work! I already have a gallery, but I may one day make the switch. Keep up the good work! :D

Chris M
11-24-2005, 01:32 AM
It's for those users in the usergroups set in the PhotoPlog options.

I take that as not being for an individual user, i.e. a personal gallery of their own, seperate from everyone elses ;)

Correct?

Chris

PennylessZ28
11-24-2005, 01:48 AM
I take that as not being for an individual user, i.e. a personal gallery of their own, seperate from everyone elses ;)

Correct?

Chris

That would be step #1 in a myspace hack.

Chris M
11-24-2005, 01:52 AM
Well that's alright - The inspiration to write my own Gallery Software is still there then :)

Chris

mdoolittle
11-24-2005, 09:38 AM
i'm having this trouble , hope its a simple fix.......registered members are showing as unregistered (Posted By Unregistered [Profile] [Gallery])

calorie
11-24-2005, 10:44 AM
It looks like you have it so guests can upload. Maybe the user who uploaded wasn't logged in when s/he uploaded?

Allan
11-24-2005, 10:54 PM
Great i like !!

Click Install

Attach file: French language ;)

GuaRRand
11-25-2005, 08:44 AM
I'll wait for the full released version :D
Cant wait though...photogallery is the #1 thing on my list of things i wanna implement.
But most free stuff sucks....so i'll be keeping close tabs on this one.

Things i would luv to see are (and dont know if this is implemented in this one yet)
- User galleries
- random images on forum home..

flaregun
11-25-2005, 04:54 PM
Things i would luv to see are (and dont know if this is implemented in this one yet)
- random images on forum home..

I'd really like random images on forum home, has anyone tried that with this hack?

Snake
11-25-2005, 05:00 PM
This is a nice mini gallery hack lol. Thanks!

calorie
11-25-2005, 10:09 PM
FYI: Get PhotoPlog thumbnails on forum home here (https://vborg.vbsupport.ru/showpost.php?p=828203&postcount=2).

bmoods
11-26-2005, 06:54 AM
Hello,

I didn't install Photoplog of problem except that when I download a picture 300x200 (in gif) I have this message:


Fatal error: Call to undefined function: imagetypes () in c:\program on line files\easyphp1-8\www\forum\photoplog\functions.php 35

And do I have the same style of problem for the another one types of pictures??


Could tell me why!!!

Thank you very much

calorie
11-26-2005, 09:30 AM
In EasyPHP, configuration -> PHP extensions, activate php_gd2, restart.

bmoods
11-26-2005, 11:10 AM
In EasyPHP, configuration -> PHP extensions, activate php_gd2, restart.


Ok thank you that works really well.

Other question?

How to make to integrate a picture of the gallerie with the help of a beacon (IMG).


Thank you and good weekend

calorie
11-26-2005, 11:14 AM
You mean like this (https://vborg.vbsupport.ru/showpost.php?p=828203&postcount=2)?

bmoods
11-27-2005, 05:12 AM
You mean like this (https://vborg.vbsupport.ru/showpost.php?p=828203&postcount=2)?


Hello Calorie,


I believe that I explained myself badly at the time of my previous message.

Veils is him possible at the time of the downloading of a picture that your program displays at the same time as the relative information to the picture a beacon of the type [IMG]url of the picture [/ IMG] and that this url takes the picture of the index (medium) of the user.

This demand so that this beacon can be integrated directly in the posts by the members.


In all cases bravo that works very well

Good day

wii
11-27-2005, 07:06 AM
Looks very nice, is there a live demo somewhere ?

calorie
11-27-2005, 07:59 AM
wii, mine is currently on a test board, maybe someone will post a link for you.

defi
11-27-2005, 06:26 PM
Is there anyway to make this display the user's uploaded photos in their profiles as thumbnails?

calorie
11-27-2005, 07:39 PM
defi, see the attached...

defi
11-28-2005, 03:12 AM
defi, see the attached...
Perfect! Thank you so much! :nervous:

calorie
11-28-2005, 03:22 AM
Has anyone forgotten to click https://vborg.vbsupport.ru/ (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=101368)

* calorie wonders if the install button is scary

bmoods
11-28-2005, 03:34 AM
Hello Calorie it is again I!

Well with regard to the beacon (IMG) does it very well function except that the picture displayed a midget is how to make to have a picture (large or medium or small)?.

When one suppresses a picture the index gets badly up to date (the details remain but more of picture).

Veils otherwise it is impeccable and bravo.

Good day to all and all.

defi
11-28-2005, 03:35 AM
Works perfect and will look great with the project I am working on.

One question is, could there be a way to limit the amount of pictures users can upload to prevent... spamming pictures in a sense?

calorie
11-28-2005, 06:58 AM
...how to make to have a picture (large or medium or small)?.

When one suppresses a picture the index gets badly up to date (the details remain but more of picture).
Sorry, not sure what this means.

Has anyone forgotten to click install (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=101368)? Thanks.

calorie
11-28-2005, 07:25 AM
...limit the amount of pictures users can upload to prevent... spamming pictures in a sense?
See the attached...

wii
11-28-2005, 09:26 AM
Does anyone have a demo of this? It looks perfect for my needs (screenshots), but I would like to see it live ?

Thanks a lot.

funinthesun
11-28-2005, 09:32 AM
This is also similar to what I'm looking for, any idea how long til it's out of beta stage? :)

calorie
11-28-2005, 10:15 AM
wii, I still currently have this on my test board, so if no one provides a link, just set up your own dev board so you can give things a test run before sticking them on your pro site.

funinthesun, there was a small bug fix the same day the mod was posted, but other than that things seem okay, save the onscreen errors listed here (https://vborg.vbsupport.ru/showpost.php?p=828204&postcount=3). The 'Last Update' date in the mod release post is sort of a misnomer b/c it updates the date even if you just edit text or attachemnts of the post. Perhaps a better way to check for code changes would be to look at the file dates in the ZIP archive.

wii
11-28-2005, 12:03 PM
Ok, you´re right - I will setup a testforum and try this.

Thank you.

nitro
11-28-2005, 03:00 PM
Has anyone forgotten to click https://vborg.vbsupport.ru/ (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=101368)

* calorie wonders if the install button is scary

Could be the restricive licence where only yourself is able to create addons etc and no one is permitted to make an element appear in say for eg. a CMS page.

Also not sure if you can disable hack update email notifies per hack on this site as this may also put some off clicking install. 100 hacks/mods installed = a lot of mail.

calorie
11-29-2005, 01:54 AM
nitro, sorry you don't like the PhotoPlog license, but the quote of me you use was mainly meant as encouragement to those receiving support. As for the PhotoPlog license, just as I can instantiate vB classes, call vB functions, use vB variables, or query vB tables in PhotoPlog, you can instantiate PhotoPlog classes, call PhotoPlog functions, use PhotoPlog variables, or query PhotoPlog tables in your add-on, but just don't copy code. There is a difference between integrating code to work with something else and copying code to use in something else.

bmoods
11-29-2005, 06:38 AM
Hello Calorie,

All functions very well.

Small question?

- He is possible that when a member downloads a picture in the gallerie that it can by the mediator of a slot to nick to make so that it is only visible by it even.

Indeed the member can download a picture to ornament these posts without for it that this picture is visible in the gallerie.

Good day

LoOnEyToOnZ
11-29-2005, 12:39 PM
Will this work for 3.5.0 ?

icemann
11-29-2005, 03:18 PM
I see the Photoplog page but when I click on Home or Upload I get this:

404 not found

The requested resource could not be found.

calorie
11-30-2005, 05:04 AM
@bmoods: those options are not currently available.

@LoOnEyToOnZ: probably, but I have not tested it.

@icemann: check the directory path in the options.

icemann
11-30-2005, 05:54 AM
The links were looking for photoplog folder NOT PhotoPlog (with capital P's).

Robru
11-30-2005, 07:13 AM
Are there plans for a watermark?

lordnex
11-30-2005, 07:46 PM
I'd just like to have some categories with access restricted per usergroup. So I can have general family stuff and adult stuff all seperate without worry. That or some form of moderation of pictures from admins so that we can make sure no one sees anything insulting or worse before we get a chance to remove it.

calorie
12-01-2005, 07:52 PM
Right now categories are being finished. See attachment if interested. More add-ons are planned, time permitting, like better usergroup control, comments, etcetera.

Allan
12-01-2005, 08:39 PM
Hey Calorie :)
are you out a final version ?

Lamby1973
12-02-2005, 07:25 AM
Installed this and got it working, but when i upload a picture, i only get a red x's appearing... any ideas on how to fix?

calorie
12-02-2005, 08:53 AM
@Allan: not yet, moving usergoup stuff out of options and into usergroup manager.

@Lamby1973: check the image path, see if it agrees with the path set in options.

Lamby1973
12-02-2005, 06:25 PM
Now i cant upload anything, just get "Sorry, Jon: Bad Open" and ive checked the permissions!

lordnex
12-02-2005, 06:44 PM
Right now categories are being finished. See attachment if interested. More add-ons are planned, time permitting, like better usergroup control, comments, etcetera.


Fantastic. Nice and functional.
I know i have some people itching to post the photoshops they've done of their friends in various rude sexual positions but are holding off until I can flag them .. heh. God I love photoshop.

calorie
12-02-2005, 07:17 PM
@Lamby1973: it means that PhotoPlog cannot do the PHP fopen() so it's a permission or ownership issue. Do you have PHP in safe mode by chance?

@lordnex: lol, creative individuals. The usergroup permissions are now in the usergroup manager, so moderation is coming as soon as time permits.

calorie
12-03-2005, 04:45 AM
PhotoPlog has been updated to allow for categories and different usergroup permissions. Whether upgrading or doing a fresh install, just follow the instructions in the readme file. With the way table stuff is now separated from other stuff, it shouldn't pose a loss to file information when upgrading. The screenshots in the release post have been updated, should you like a preview.

Lamby1973
12-03-2005, 07:11 AM
Im not sure, i already had my server change something in safe mode for me when i got an error message before. So im not sure going to have a play around!

funinthesun
12-03-2005, 09:15 AM
yup, more details would be really interesting!

This mod is looking better and better all the time. This is going to be excellent once it's finished but I'm installing it now anyway *clicks install* :)

Allan
12-03-2005, 09:30 AM
Congrat Calorie, very good job ;)

MissKalunji
12-03-2005, 11:21 AM
is there an importer from vbadvanced to this?

Thanks

lordnex
12-03-2005, 03:05 PM
Calorie can you update the version number (so it doesn't look like you've made changes) and perhaps put the version number in the zip of the hack so we know which version is which please? :)

r6bbie
12-03-2005, 06:36 PM
I cant figure this one out for the life of me...
I will donate or pay for help.

PM me

lordnex
12-03-2005, 06:42 PM
there's something wrong with the upgrade procedure. I don't have the Photoplog menu group.

and actually when I go to view it on the webpage, it logs me out. Hmpf.

funinthesun
12-03-2005, 06:45 PM
It's not working for me? It just shows a login page and every time I try to login it takes me back to the login page? I also get an error when I try to change the user permissions? Help please! :)

lordnex
12-03-2005, 07:17 PM
It's not working .. I tried an upgrade first .. no. Uninstalled everything and did a fresh install.. no. Reinstalled the first version and it's fine. Hmpf.

calorie
12-04-2005, 01:47 AM
If you don't see a PhotoPlog group menu, make sure you FTPed the stuff in the forum directory into the correct forum folders.

If it logs you out, you probably need to set your usergroup permissions as they're all set to no on PhotoPlog install or upgrade.

You need to have canadminforums level access to your board for the PhotoPlog menu group. If you get any errors, what are they?

There are currently no importers from other gallery scripts to PhotoPlog.

ChrisBaktis
12-04-2005, 04:42 AM
Problem:

Main page works fine - when I click on upload I get page cannot be found. The file is there and the paths must be ok since I go to the main page - any ideas?

calorie
12-04-2005, 05:38 AM
In settings, make sure that the PhotoPlog directory matches the directory you have for the main page.

bmoods
12-04-2005, 06:17 AM
Hello Calorie,

Veils I installed the news version and him there to a small problem.

Don't I manage to display the categories and under categories is not the screen displayed with the alphabetic ordering?

You could help myself!

Thank you

calorie
12-04-2005, 06:25 AM
You can change the display order in the category manager. Currently all subcategories within a main category are all listed according to display order, and the main categories are listed by their display order.

bmoods
12-04-2005, 07:16 AM
You can change the display order in the category manager. Currently all subcategories within a main category are all listed according to display order, and the main categories are listed by their display order.

In spite of it nothing changes.

On the forumhome I have the pictures (random).

But when I display the list of files doesn't have anything not not of pictures of categories?.

He/it must miss something.

calorie
12-04-2005, 07:47 AM
The list of files is ordered by time, most recent upload first. It doesn't use display order or categories to order the list.

bmoods
12-04-2005, 08:12 AM
The list of files is ordered by time, most recent upload first. It doesn't use display order or categories to order the list.

All my escuses.

It is now of my mistake that functions.


Thank you very much

calorie
12-04-2005, 09:28 AM
No problem, good to ask just in case there's a bug.

FYI: bug, setting category to itself as parent, fix:

1) Re-download the PhotoPlog.zip archive in thread

2) FTP photoplog_category.php overwriting old file

3) Import product-photoplog.xml allowing overwrite

smokering
12-04-2005, 09:47 AM
followed all the steps as stated got this far

1) In the ZIP archive find /photoplog/mysql/product-photoplog_install.xml and
upload the product-photoplog_install.xml file as a product via the vB ACP
(vB ACP -> Plugin System -> Manage Products -> Add/Import Product)

2) Now go and uninstall (yes uninstall) "PhotoPlog: Install" via the vB ACP
(vB ACP -> Plugin System -> Manage Products -> Uninstall "PhotoPlog: Install")

when doing step 2. this is the error i recieved

Fatal error: Call to undefined function: fetchtableinfo() in /home/xxxeditedxxx/public_html/forum/admincp/plugin.php on line 1033

can you help me?

tia

ChrisBaktis
12-04-2005, 10:33 AM
In settings, make sure that the PhotoPlog directory matches the directory you have for the main page.

Main Dir: /photoplog (www.site.com/photoplog)
photoplog dir setting: /photoplog

looks good to me.

funinthesun
12-04-2005, 10:44 AM
It's when I try to set the usergroup permissions that I get the error??

calorie
12-04-2005, 11:01 AM
@ChrisBaktis: When you click on upload, what link/page does it take you to?

@smokering: drat, the instructions were out of order (move four to one)

@funinthesun: run domain.com/forum/admincp/index.php?do=buildbitfields

My vB plugin.php file has fetch_table_info (not fetchtableinfo) but I'm wondering because I messed up the order of the instructions, whether that is causing smokering's problem. For funinthesun, it is because bitfields weren't rebuilt using the new group.

FYI: Instructions have been updated.

funinthesun
12-04-2005, 11:11 AM
Thank you, that worked :) Maybe you should add to rebuild bitfields in the instructions ;)

calorie
12-04-2005, 11:22 AM
It should have done it automatically, but because the instructions were out of order, it didn't rebuild bitfields using the new group. Instructions are now fixed.

bmoods
12-04-2005, 12:07 PM
Small problem:


The tables categories and upload are empty, but the view of the categories on the index always indicates elder categories.

How to make to repair?

Thank you very much

funinthesun
12-04-2005, 12:23 PM
How do I link this onto the navbar?

ChrisBaktis
12-04-2005, 02:08 PM
@ChrisBaktis: When you click on upload, what link/page does it take you to?

@smokering: drat, the instructions were out of order (move four to one)

@funinthesun: run domain.com/forum/admincp/index.php?do=buildbitfields

My vB plugin.php file has fetch_table_info (not fetchtableinfo) but I'm wondering because I messed up the order of the instructions, whether that is causing smokering's problem. For funinthesun, it is because bitfields weren't rebuilt using the new group.

FYI: Instructions have been updated.

In the status bar it takes me to www.site.com/photoplug/upload.php - it takes a minute or two then comes back page cant be found.

lordnex
12-04-2005, 05:11 PM
How do I link this onto the navbar?

I can answer this one.. :)
Open up your nav bar and search for something that's on your particular Nav bar. Like say "Log Out" ..
should look like:

<td class="vbmenu_option"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td>

put

<td class="vbmenu_control"><a href="/photoplog/index.php">Photo Gallery</a></td>

Save and reload and in another view see if it's where you want it to be. Until you're used to adding things to your nav bar have 2 browsers open and look at the changes as you do them.

smokering
12-04-2005, 05:11 PM
It should have done it automatically, but because the instructions were out of order, it didn't rebuild bitfields using the new group. Instructions are now fixed.

I did as you said and it again failed so i checked my plugin.php file and found it was the 3.5.0 version then checked my orig download of the 3.5.1 update it was also a 3.5.0 version so i re-downloaded vb 3.5.1 and yep you guessed it the plugin.php is diferent so i manually replaced it and that fixed the problem thanks for all the help off to now install the hack

Allan
12-04-2005, 08:53 PM
The BBcode don't with if we upload not in a precise category.

Suggestion:
- what would be very well would be to be able to have the image of origin when one clicks above
- One cannot make comments on the images, it's a pity

But, it's a great job Calorie :)

File attach: French Language for actual version ;)

calorie
12-04-2005, 11:29 PM
@bmoods: if you make a category or subcategory, it will show even if there are no files, sort of like how a forum shows even if it contains no posts.

@ChrisBaktis: it looks to be a loop. Maybe you have been affected by the category as its own parent now fixed bug. Run the following query and let me know what you see:

SELECT * FROM photoplog_categories WHERE catid = parentid;

@Allan: how does the BBcode not work? Can you make a screenshot for me to see?

ChrisBaktis
12-04-2005, 11:38 PM
@bmoods: if you make a category or subcategory, it will show even if there are no files, sort of like how a forum shows even if it contains no posts.

@ChrisBaktis: it looks to be a loop. Maybe you have been affected by the category as its own parent now fixed bug. Run the following query and let me know what you see:

SELECT * FROM photoplog_categories WHERE catid = parentid;

@Allan: how does the BBcode not work? Can you make a screenshot for me to see?

I get this error:

An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'xrustysoaptraders.photoplog_categories' doesn't exist

calorie
12-05-2005, 12:04 AM
Okay, download PhotoPlog again to make sure you have the latest version and in the readme file redo the install or upgrade instructions because a step or two got missed in there.

ChrisBaktis
12-05-2005, 12:45 AM
Okay, download PhotoPlog again to make sure you have the latest version and in the readme file redo the install or upgrade instructions because a step or two got missed in there.

I downloaded - reinstalled and now when I go to the forums page it is down and I get this error


Invalid SQL:
SELECT *
FROM photoplog_fileuploads
WHERE moderate = 0
ORDER BY RAND()
LIMIT 5;

MySQL Error : Table 'xrustysoaptraders.photoplog_fileuploads' doesn't exist
Error Number : 1146
Date : Sunday, December 4th 2005 @ 09:44:23 PM
Script : http://rustysoaptraders.com/forums/index.php?
Referrer :
IP Address :
Username : poongamer
Classname : vb_database

calorie
12-05-2005, 02:19 AM
I'd guess that you used the upgrade XML instead of the install XML this time around, so the photoplog_fileuploads table wasn't created. Do the uninstall procedure as in the readme, and then do the new install procedure.

Allan
12-05-2005, 04:46 AM
screenies ;)

calorie
12-05-2005, 05:14 AM
Right, if a file is uploaded but no category is selected, then it shows 'not available' because there is no category name to show.

Allan
12-05-2005, 09:51 AM
which is the relationship with the fact that the bbcodes are not taken into account when one does not select categories

calorie
12-05-2005, 10:17 AM
Oh oh oh, I see what you mean. Yeah, when you set categories, there aren't options for 'No one / Not available' so nothing is done for BBcode, but if you edit the functions.php file...


$do_html = false;
$do_smilies = false;
$do_bbcode = false;
$do_imgcode = false;
$do_parseurl = false;
$do_comments = false;
$do_ratings = false;

You can set the defaults to whatever, true or false, for the 'No one / Not available' category.

nitro
12-05-2005, 05:27 PM
Now it has categories I have tried it on my test box. Full path is set, photoplog path is set in cp settings, photoplog page is taking sometime to load, it has no header (seems to be adding wierd doubleups to the paths: http://192.168.xxx.xxx/portal-35x/forums/portal-35x/forums/images/misc/vbPortal_logo_white.gif)

Maybe this is also linked to the cant load page when I try and select a category or upload page ?

calorie
12-05-2005, 06:21 PM
It's probably the absolute links function doubling up the paths. What is the relative path in the HTML source to your logo on a non PhotoPlog page, and what is your vB options bburl set to? Not yet sure about that other page load problem: the require vB global.php is made, but it doesn't seem to return.

r6bbie
12-05-2005, 06:38 PM
Calorie rocks!!

Works great...again thanks for everything

nitro
12-05-2005, 07:30 PM
Logo path for the style I was in is <img src="/portal-35x/forums/images/misc/vbPortal_logo_white.gif"

Title image path is set to /portal-35x/forums/images/misc/vbPortal_logo_white.gif in vb css, has to be this way so the title image displays in vbportal pages aswell as forum pages, same as all other css image paths for the various buttons icons etc, require the full webpath there.

forums url in adminCP is http://192.168.xxx.xxx/portal-35x/forums

calorie
12-05-2005, 07:44 PM
For now, in the absolute links function, set the following right near the top of the function to hardcode in what it needs for your setup.

$src_link = "http://192.168.xxx.xxx";

nitro
12-06-2005, 12:10 AM
Heh :oooops:

Sorry Calorie I think I had better start again, I had the IP set 1 digit out in bburl which really was not helping, was still set to the old range I used to use and then I switched sometime ago as it happens.

Ok portal-35x is my portal dir and I have placed photplog dir here, if I set in admincp photoplog settings /portal-35x/photoplog the links in photoplog have a double up of the portal-35x dir ie /portal-35x/portal-35x/photoplog. Setting that setting to just /photoplog and the links are dandy. :)

Placing your fix as the top line inside that function would appear to have repaired the style image paths what I have seen so far.

Meaning I'm really down to a single problem now which is when uploading a pic I get Sorry Nitro bad file. Does this use vb image file size restrictions as I have changed the photoplog large thumb to cater for the images width/height. I will backtrack thru the thread as I know this has come up before, but my photoplog/images dir is definately world writeable.

Scrap that photoplog file size perms are in usergroup permissions.

Seem to be looking all good. I shall test some more over the next days

Allan
12-06-2005, 05:33 AM
Calorie, changed the link to french language please (https://vborg.vbsupport.ru/showpost.php?p=828203&postcount=2)

the new link: https://vborg.vbsupport.ru/showpost.php?p=840230&postcount=130

;)

wii
12-06-2005, 10:04 AM
Any idea when this is out of beta ?

Looks really good.

zsmom
12-06-2005, 12:53 PM
Working great for me, thanks!

Just one thing I noticed -- when I use the supplied bbcode under the photos in PhotoPlog in a post elsewhere on the board, it only shows the thumbnail, not the full size picture. Is this something with PhotoPlog or maybe just my settings? (I've checked them and don't see an obvious problem...)

Thanks!

Lamby1973
12-06-2005, 12:56 PM
I still keep getting Sorry ... : Bad Open...

Its not the permissions and its not Safe Mode....what can i be???

calorie
12-06-2005, 02:53 PM
@nitro: glad you having it working. I might add an option to specifiy path to remove double path cases.

@Allan: post2 is the original stuff, nothing there for the current version. Next version I'll rearrange stuff.

@wii: not until I get the add-ons like the attached working for the current beta version.

@zsmom: see this attachment: https://vborg.vbsupport.ru/attachment.php?attachmentid=38510

@Lamby1973: that 'bad open' message only happens when the following in edit or upload fails.

$photoplog_handle = @fopen($photoplog_directory_name."/index.html","w")

// try taking off the @ to see what error message PHP gives

funinthesun
12-06-2005, 03:55 PM
I'm still having problems with this mod :( When I click on upload it justs goes to a "this page cannot be displayed" page and since installing this a lot of my members can't seem to log in? They say it shows them as logged in but when they try to reply to a post of send a PM it redirects them back to the login page? :confused:

calorie
12-06-2005, 04:07 PM
Wouldn't think this mod would mess with logins.
For 404s check the PhotoPlog directory setting:

// examples
http://www.example.com/photoplog/index.php => /photoplog
http://www.example.com/wherever/photoplog/index.php => /wherever/photoplog

Lamby1973
12-06-2005, 06:34 PM
$photoplog_handle = @fopen($photoplog_directory_name."/index.html","w")

Where bouts am i looking for this?

Lamby1973
12-06-2005, 06:44 PM
Ok tried that in both of those files and it still comes up the same. Just gonna delete this and find something else....if there is something else... lol not many free galleries around tho!

warrez
12-06-2005, 07:01 PM
pls help http://downfresh.com/photoplog/ its not working for me i try to add all paths in my forum but failed pls help

funinthesun
12-06-2005, 07:08 PM
OK Calorie but you haven't answered my question about why I get a "page cannot be displayed" page when I click on upload or home ;) Thanks ;)

Robru
12-06-2005, 07:18 PM
Thanks for this great hack, it's works really perfect, also the upgrade works fine :speechless:

calorie
12-06-2005, 08:01 PM
@warrez: check the PhotoPlog directory setting:

// correct examples
http://www.example.com/photoplog/index.php => /photoplog
http://www.example.com/wherever/photoplog/index.php => /wherever/photoplog

// incorrect examples
http://www.example.com/photoplog/index.php => /photoplog/index.php
http://www.example.com/wherever/photoplog/index.php => /wherever/photoplog/index.php

@funinthesun: it's hard to say without seeing your setup, maybe running some tests.

Allan
12-06-2005, 08:39 PM
highly a final version bus has each update, I loses the data to enter :(

Jrain157
12-07-2005, 01:01 PM
OK, this is kind of a wierd issue. I have photoplog installed and am able to create categories and set permissions. I'm even able to go to the photoplog gallery and see the categories I've made, but when I go to upload a file, as soon as I hit upload the entire page goes blank. The files are being uploaded properly and are being put into a directory called "1". The problem is, none of the photos show up in the gallery. Is there a setting somewhere I'm missing?

MissKalunji
12-07-2005, 01:09 PM
will this work on 3.5.2?

pauloo
12-07-2005, 02:05 PM
I have a problem for icon et images in header and footer when the page PhotoPlog is open.

See the screen. ( screen 1 is in forum and screen 2 is in PhotoPlog)

Ps: i work's with portal , my files images is in root ftp and not in directory in "forum". But the portal and forum work fine with my skin.

Where is the problem?

Thank you

Jrain157
12-07-2005, 02:15 PM
Resolved my issue, GD was not installed!

funinthesun
12-07-2005, 02:35 PM
OK, this is kind of a wierd issue. I have photoplog installed and am able to create categories and set permissions. I'm even able to go to the photoplog gallery and see the categories I've made, but when I go to upload a file, as soon as I hit upload the entire page goes blank.

This is the same problem that I have. It does the same thing when you click on home as well :(

Jrain157
12-07-2005, 03:27 PM
Onscreen Error
Code:

Fatal error: Call to undefined function: imagetypes() in /home/wherever/public_html/forum/photoplog/functions.php on line 35


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.


This was on Calorie's 3rd post about on screen errors. Followed the instructions and it is working flawless now. Thank you Calorie!

calorie
12-07-2005, 05:58 PM
@Allan: sorry, this mod is still beta.

@MissKalunji: yes, it'll work on vB v.3.5.2.

@pauloo: it's a path issue - look at the the SRC elements of the IMG tags in the HTML source - there may be duplicate directories in the links. Use 1.0.2+ and look at the PhotoPlog settings for how to remove the duplicate directories from the links.

@funinthesun: are files being uploaded as Jrain157 had going on?

To everyone saying thanks, you are welcome. :)

Allan
12-07-2005, 06:25 PM
What are the made modifications please ?

calorie
12-07-2005, 06:51 PM
Changes in the PhotoPlog v.1.0.2 release include...

everything changed in /photoplog except config and /images
/forum directory may be new to you depending on old version
the product-photoplog and readme files are upgraded to 1.0.2

Follow the new README.txt and you should be fine.

Jrain157
12-07-2005, 07:51 PM
I've been experiencing users being automatically logged out since the 1.0.2 update any time they try to view or upload an image.

calorie
12-07-2005, 07:54 PM
Are your PhotoPlog usergroup permisisons still set to your preferences?

Jrain157
12-07-2005, 08:02 PM
Yes, I even reset the usergroup permissions just to double check.

calorie
12-07-2005, 08:20 PM
Is it all users or some users who are being logged out? Is it when users click the PholoPlog navbar or when they click a link elsewhere?

Jrain157
12-07-2005, 09:03 PM
Define the PhotoPlog navbar? It happens on the Home, Upload, and whenever a user tries to click an already uploaded photo. I've been able to upload pictures on my account while logged into the admincp, but other people from the same usergroup as I am get logged out.

calorie
12-07-2005, 09:14 PM
The PhotoPlog navbar is that simple horizontal bar containing Home, Upload, etcetera, that appears under the vB navbar.

Try running the following from your browser in case it didn't happen on upgrade:

http://www.YOUR-DOMAIN.com/YOUR-FORUM/YOUR-ADMINCP/index.php?do=buildbitfields

pauloo
12-08-2005, 08:27 AM
I have a problem for icon et images in header and footer when the page PhotoPlog is open.

See the screen. ( screen 1 is in forum and screen 2 is in PhotoPlog)

Ps: i work's with portal , my files images is in root ftp and not in directory in "forum". But the portal and forum work fine with my skin.

Where is the problem?

Thank you

Calorie, have you one solution for me please?
https://vborg.vbsupport.ru/showpost.php?p=842701&postcount=162

Thank you

calorie
12-08-2005, 10:32 AM
check https://vborg.vbsupport.ru/showpost.php?p=842911&postcount=166

MissKalunji
12-08-2005, 12:02 PM
n e one cares to show me ad emo plz

nitro
12-08-2005, 05:56 PM
Well plonked v 1.02 on the live site for testing now and all looks pretty good :)

Have one minor problem Calorie, the top most breadcrumb link in my install drops the subdirs and goes to domain.bla/index.php instead of portal/forums/index.php

Aside from that it seems to be working great, I had to drop that fix in again but a little lower down the function this time as the code has changed a bit.

Couple of suggestions that could make this a very very nice mod, A category jump drop down and a previous and next picture links.

Now all I have to do is work out why and how to enable the vbportals left column in photoplog pages and maybe a vbportal block or two. :)
I have tried placing the extra vbportal variables in the output functions global as I did with ibproarcade but that didnt do the trick for the leftcolumn this time.

Apart from the arcade this mod is getting to be pretty much what I was looking for as the other main element, great job, has to be a HOTM candidate here :)

calorie
12-08-2005, 06:09 PM
Thanks for the feedback. Can you take out the dupe dir setting and then see what full links correctly and what has dupes. Maybe it's just the images that need the dupe dir setting, but as it is now dupe dir removal is applied to everything. It's hard for me to tell without the same setup.

lordnex
12-08-2005, 09:18 PM
Calorie are we going to have the option eventually to mark particular categories to be restricted to specific usergroups?

Or if it's there where is it? :)

I got it all working.. I don't know what I did wrong but ahwell. I think this is awesome. don't let problems discourage you ..

zsmom
12-08-2005, 10:35 PM
@zsmom: see this attachment: https://vborg.vbsupport.ru/attachment.php?attachmentid=38510

Thank you! Works great...

VB-STYLE
12-09-2005, 09:02 AM
I got this error

Fatal error: Maximum execution time of 30 seconds exceeded in /home/xxxxx/public_html/forum/photoplog/functions.php on line 171

I'm using vBulletin Version 3.5.2

allstar55
12-09-2005, 10:45 AM
My URLs aren't right.

Home:
http://www.xxxxxxx.de/index.php/photoplog/index.php

Upload:
http://www.xxxxxxx.de/index.php/photoplog/upload.php

A:
http://www.xxxxxxx.de/index.php/photoplog/index.php?q=a

What is this ?? /index.php/
I'm using 3.5.1

calorie
12-09-2005, 11:17 AM
@VB-STYLE: it's a server timeout, meaning that your server timed out prior to absolute links being done. What action were you doing when that happened?

@allstar55: what are your PhotoPlog directory and your vB Forum URL settings?

VB-STYLE
12-09-2005, 11:24 AM
just when I try to go in
www.xxxxxx.com/photoplog

allstar55
12-09-2005, 11:48 AM
@VB-STYLE: it's a server timeout, meaning that your server timed out prior to absolute links being done. What action were you doing when that happened?

@allstar55: what are your PhotoPlog directory and your vB Forum URL settings?

seite.com/photoplog/
seite.com/forum/

define('PHOTOPLOG_FWD','/home/www/privat/xxxxxx/html/forum');

EDIT: URL Setting was adsad.de/index.php
I have remove index.php , now the url is right

calorie
12-09-2005, 12:19 PM
Some tests on the absolute links function gave the following process times, but that's on my machine:

0.322336 secs on run 1
0.395830 secs on run 2
0.347106 secs on run 3
0.327901 secs on run 4
0.373469 secs on run 5
----------------------
0.3533284 average secs

To see if the function is the issue on your machine, in functions.php find:

function photoplog_absolute_links($src_input, $src_output, $src_link)
{

And temporarily replace with the following:

function photoplog_absolute_links($src_input, $src_output, $src_link)
{
return $src_output;
}

function photoplog_absolute_links_original($src_input, $src_output, $src_link)
{

Note that links will be incorrect, but we're doing this to see if you still get a timeout.

VB-STYLE
12-09-2005, 12:32 PM
it's working now after replace.

calorie
12-09-2005, 01:08 PM
Okay, can you PM me a link to your PhotoPlog page so I can see the HTML source?

VB-STYLE
12-09-2005, 01:17 PM
PM sent.

calorie
12-09-2005, 02:06 PM
Okay, mod updated. To upgrade, just FTP the two files indicated in the README.txt file.

Robru
12-09-2005, 03:50 PM
================================================== ==========================================
PhotoPlog Lite UPGRADE Installation: FROM 1.0.2 to 1.0.2.1 ONLY!
================================================== ==========================================
1) In the new ZIP archive find /photoplog and FTP in ASCII mode just two
files (settings.php and functions.php) into the photoplog directory on
your server, overwriting the old files - that's it.
When I Upgrade these two files, PhotoPlog don't works anymore for me:surprised:
I get this message:
Not Found

The requested URL /photoplog/index.php was not found on this server.
....and ofcourse index.php is really in this dir :tired:

CongTuDepTrai
12-09-2005, 03:51 PM
I found a little bug here, if the usergroup that doesn't have permission to view the image, then in the forumhome it show up like the picture below. So can you make it like, if they don't have permission, so the default picture will show up.

nitro
12-09-2005, 04:37 PM
The feed back you requested Calorie

Without the duplicate dir setting having an entry vb style css images suffer double dirs which have to have path from web root
Also the custom navbar link for vbportal home suffers the issue.
Seems most vb links like navbar and popups, contact us links are ok and photoplog links appear fine without.

With the duplicate dir setting in place css images are fixed So far I can only find one bad photoplg link which is the profile link when viewing a picture, but it seems all regular vb links ie navbar links and the links in the contact us area drop all sub dirs from the path. The custom vbportal home link in the navbar is ok with this setting tho.

Still havent worked out how to get vbportals left column to show up but iv not really tried hard yet.

allstar55
12-09-2005, 04:52 PM
calorie, please release this comment system.

I need that so :)

calorie
12-09-2005, 06:20 PM
@Robru and @nitro: First upgrade to 1.0.2.2 and then look at your vB Homepage URL and PhotoPlog directory settings.

They might look something like this...

vB Homepage URL PhotoPlog directory
--------------- -------------------
http://www.example.com /photoplog

so together they make the link to PhotoPlog

If you happen to have more than just the domain as your vB Homepage URL like...

vB Homepage URL PhotoPlog directory
--------------- -------------------
http://www.example.com/somewhere /wherever_else/photoplog

ignore the somewhere part, just consider the http://www.domain.com part

so http://www.domain.com with /wherever_else/photoplog links to PhotoPlog

Are things now linking correctly?

@CongTuDepTrai: upgrade to 1.0.2.2 and that should take care of it.

@allstar55: patience please ;)

FYI: mod updated to 1.0.2.2. To upgrade, just import the product indicated in the README.txt file.

da420
12-09-2005, 06:32 PM
Cool! This looks really nice calorie. Looks like this will be the gallery I will be integrating with my forum when you get a comment system integrated and all the bugs are worked out.

*Bookmarked for future use*

allstar55
12-09-2005, 06:35 PM
@allstar55: patience please

Ohhhhh, how long?

calorie
12-09-2005, 06:57 PM
Maybe a couple of days, maybe a couple of weeks, who knows, so the real answer is when I get it done. ;)

Just think, "Good things come to those who wait, good things come to those who wait, good things come to..."

allstar55
12-09-2005, 07:16 PM
good things come to...
christmas :)

CongTuDepTrai
12-10-2005, 12:15 AM
well i use 1.0.2.2

not the old one

CongTuDepTrai
12-10-2005, 12:26 AM
ok well done, thanks calorie

one more question

before i install "PhotoPlog 1.0.0 PhotoPlog: Uninstall" and "PhotoPlog 1.0.0 PhotoPlog: Install"

do i have to keep them or just remove it?

calorie
12-10-2005, 12:37 AM
With 1.0.2+ when you go to ACP -> Plugin System -> Manage Products, the only PhotoPlog product in the list should be PhotoPlog: The Lite Gallery. Recycle bin all earlier ZIP archives. Only follow the README.txt in the current ZIP archive here (https://vborg.vbsupport.ru/showpost.php?p=828201).

allstar55
12-10-2005, 12:59 AM
Ok here is my Site with your Script:
http://www.nfs-center.de/showroom/index.php

How can i remove the File List on the index Page?
Newest Pics on the header is enough.

calorie
12-10-2005, 01:30 AM
The thumbs at the top are random in order, not always the newest, but if you want to be rid of the file list on home, which does order newest first, just edit the PhotoPlog file list template, sticking the following condition around the last table in that template:

<if condition="empty($photoplog_random_bits)">

</if>

nitro
12-10-2005, 04:30 AM
Cant see any real change for the links in 1.02.2 m8

Settings are as:
Homepage http://www.domain.com <- this is how it allways has been
Forum url http://www.domain.com/portal/forums

the photoplog dir is inside /portal not /portal/forums maybe it would be better if it was a subdir of the forums ? or maybe it would be better if photoplog dir was also in the root like the portal ?

Photoplog dir setting has /portal/photoplog

Without the duplicate dir having an entry css images duplicate what I would have in the setting: /portal/forums
With it having one the css is fine but the navbar and most links from vb templates are without any subdir for instance the usercp navbar link = http://www.domain.com/usercp.php
I can only see one photoplog link suffering the same as this and thats the users "profile" link when veiwing an image in the "posted by" entry the "gallery" link next to the profile link there is correct.

VB-STYLE
12-10-2005, 06:44 AM
I'll tray the upgrade and let you now.

allstar55
12-10-2005, 06:47 AM
The thumbs at the top are random in order, not always the newest, but if you want to be rid of the file list on home, which does order newest first, just edit the PhotoPlog file list template, sticking the following condition around the last table in that template:

<if condition="empty($photoplog_random_bits)">

</if>


Nice, it works :)
And how can i make the random pictures to newest?

Robru
12-10-2005, 08:29 AM
[QUOTE=calorie]@Robru and @nitro: First upgrade to 1.0.2.2 and then look at your vB Homepage URL and PhotoPlog directory settings.

They might look something like this...

vB Homepage URL PhotoPlog directory
--------------- -------------------
http://www.example.com /photoplog

so together they make the link to PhotoPlog

If you happen to have more than just the domain as your vB Homepage URL like...

vB Homepage URL PhotoPlog directory
--------------- -------------------
http://www.example.com/somewhere /wherever_else/photoplog

ignore the somewhere part, just consider the http://www.domain.com part

so http://www.domain.com with /wherever_else/photoplog links to PhotoPlog

Are things now linking correctly?
Sorry Calorie,

The path was: http://www.domain.com/forum/photoplog(index.php) with v1.0.2, that works good for me!
and with v1.0.2.1 and v1.0.2.2 the path is now?: http://www.domain.com/photoplog This path don't works for me!

allstar55
12-10-2005, 09:00 AM
Other question,

i think i have a bug, sometimes when i visit the gallery i'm logged out only
from the gallery. When i visit the forums i'm logged in. Than i visit to
the gallery and i'm logged in again.

calorie
12-10-2005, 10:47 AM
@nitro and @Robru: thanks for the info, that should be enough for me to figure were paths are breaking, will work on a fix later today.

@allstar55: look for random bits in settings.php and ORDER BY dateline DESC instead of ORDER BY RAND() and make sure your vB cookie settings (admincp/options.php?do=options&dogroup=http) allow for both /forum and /showroom directories, plus for linking to PhotoPlog in a vB template use:

<a href="http://www.nfs-center.de/showroom/index.php$session[sessionurl_q]">Showroom</a>

calorie
12-10-2005, 11:46 AM
@nitro and @Robru: try 1.0.2.3, does it fix the paths?

nitro
12-10-2005, 04:05 PM
@Calorie :) That is looking a whole lot better m8. all but one from what I can see with some hovering and clicking is bad and thats the generic portal home custom link in the navbar which for some reason has /portal/forums/portal/module.php
all the css images appear tio be fine still aswell.

I shall have to see what I can do about that portal home link, any advice as it does appear to be connected to the duplicate dirs ?

For now with the portal home link I have changed $vboptions[portalhome] to $vboptions[homeurl]/portal/index.php which seems better, but maybe theres a better way ?

calorie
12-10-2005, 05:33 PM
My guess is that your portalhome setting is a relative link like /portal/index.php so PhotoPlog absolute links it to vB_Forum_URL/portal/index.php, which makes the /portal/forums/portal part you see. Basically, PhotoPlog prepends the vB Forum URL setting to relative links, so if you want to link to something not relative to the vB Forum URL setting, then using the absolute link is the way to go in PhotoPlog.

Robru
12-10-2005, 05:50 PM
@nitro and @Robru: try 1.0.2.3, does it fix the paths?No Calorie,

It's the same problem!

The path was: http://www.domain.com/forum/photoplog(index.php) with v1.0.2, that works good for me!
and with v1.0.2.1, v1.0.2.2 and v1.0.2.3 the path is now?: http://www.domain.com/photoplog This path don't works for me!

calorie
12-10-2005, 05:57 PM
What path, i.e., what link is it? Also,
what are your settings for these:

vB Homepage URL
vB Forum URL
PhotoPlog Directory
Duplicate Directory

nitro
12-10-2005, 06:21 PM
My guess is that your portalhome setting is a relative link like /portal/index.php so PhotoPlog absolute links it to vB_Forum_URL/portal/index.php, which makes the /portal/forums/portal part you see. Basically, PhotoPlog prepends the vB Forum URL setting to relative links, so if you want to link to something not relative to the vB Forum URL setting, then using the absolute link is the way to go in PhotoPlog.

Not sure how to utilise your absolute links function myself but I have found a slightly better method using $vbpoptions[homeurl]/module.php?

Funny as ../index.php? also works or ../module.php? :D

VB-STYLE
12-10-2005, 07:04 PM
Thanks calorie, it's working now after upgrade. :squareeyed:

VB-STYLE
12-10-2005, 07:52 PM
How I can make the $photoplog_random_bits
work in FORUMHOME?

CongTuDepTrai
12-10-2005, 07:55 PM
one more thing here. it work JPG, PNG, GIF, but not the lower case?

how about JPGE?

calorie
12-10-2005, 08:08 PM
@VB-STYLE: the readme tells you how to do that.

@CongTuDepTrai: yes, lowercase, didn't test JPGE.

VB-STYLE
12-10-2005, 08:20 PM
Thanks.

Robru
12-11-2005, 07:52 AM
What path, i.e., what link is it? Also,
what are your settings for these:

vB Homepage URL
vB Forum URL
PhotoPlog Directory
Duplicate Directory



vB Homepage URL http://www.domain.com/forum
vB Forum URL http://www.domain.com/forum
PhotoPlog Directory /photoplog
Duplicate Directory blank

Rhoads
12-11-2005, 10:18 AM
Firstly, thanks for sharing this beautiful product.
I have done everything such as described, but have problems with my icons.
I have a double forum dir in my url ?
my.url/forum/forum/images/statusicon/post_new.gif
Everything work perfectly, be possible uploaden, editten etc.... only my icons do not reflect (see attachment)

Thnx ;)

nitro
12-11-2005, 11:16 AM
@drl2005 have you set in admincp -> photoplog settings -> Duplicate directory setting the dir thats being duplicated ?

Rhoads
12-11-2005, 11:48 AM
@drl2005 have you set in admincp -> photoplog settings -> Duplicate directory setting the dir thats being duplicated ?
Oke thank, I had forum stand, but it had /forum being, thnx nitro.
For now, only my name on the navbar is not visible ?

calorie
12-11-2005, 01:10 PM
@Robru: change the PhotoPlog Directory to: /forum/photoplog

@drl2005: is there anything in the HTML source where name should be:

<strong> ??? </strong><br />
You last visited: 11-12-05 at <span class="time">02:53</span>

Rhoads
12-11-2005, 01:28 PM
@Robru: change the PhotoPlog Directory to: /forum/photoplog

@drl2005: is there anything in the HTML source where name should be:

<strong> ??? </strong><br />
You last visited: 11-12-05 at <span class="time">02:53</span>

Sorry, I am forget tell that I use theNicer Greeting On NavBar hack (https://vborg.vbsupport.ru/showthread.php?t=100993), when I turn that off, however, well, is there a solution for this.

calorie
12-11-2005, 02:10 PM
Stick $ng_greeting as a global in the output error and output page functions.

Rhoads
12-11-2005, 02:31 PM
Stick $ng_greeting as a global in the output error and output page functions.
I cant find the output page, only the photoplog_error_page.
Where can I find it !

calorie
12-11-2005, 03:27 PM
They are in the same file, next to each other.

Rhoads
12-11-2005, 03:50 PM
Stick $ng_greeting as a global in the output error and output page functions.


They are in the same file, next to each other.
Sorry, I understand it not entirely

calorie
12-11-2005, 04:06 PM
Not the templates, in the functions.php file:

// in the photoplog_output_error &
// photoplog_output_page functions
// add the following line near top

global $ng_greeting;

anarx
12-11-2005, 04:11 PM
Will the Gallery work for vB 3.5.1 ?
It looks nice btw :)

Rhoads
12-11-2005, 04:17 PM
Not the templates, in the functions.php file:

// in the photoplog_output_error &
// photoplog_output_page functions
// add the following line near top

global $ng_greeting;

Thnx calorie, it's work fine now ;)

calorie
12-11-2005, 04:27 PM
@anarx: should be fine on vB 3.5.1 or vB 3.5.2.

anarx
12-11-2005, 04:33 PM
Thx :)

LJR
12-11-2005, 06:19 PM
When I click the UPLOAD link it just refreshes the page (although it does show upload.php in the address bar). No upload form though. I have set the usergroup to have upload permissions, etc.

Any ideas anyone?

*goes off to click INSTALL button*

LJR
12-11-2005, 07:01 PM
Okay, so I must have screwed up somehow the first time round because I just reinstalled and I can upload now!

Superb plugin matey!

Thanks

Robru
12-11-2005, 07:20 PM
@Robru: change the PhotoPlog Directory to: /forum/photoplog

Thanks Calorie, that's was the solution for me ;)

bmoods
12-12-2005, 07:29 AM
Hello Calorie,


Veils I have a problem with photoplog:

I have on my forum trains it installed ARIA (vbstyle.com) that uses some effects on the rod of navigation.

when I am on the index photoplog and that I overfly the buttons of the navigation rod disappear.

Is it the only Hack that makes it?.

Merci

calorie
12-12-2005, 10:35 AM
In the Aria skin, find the following and make the relative links into absolute links:

JSFX.Rollover("register", "images/aria/misc/register_over.gif");
JSFX.Rollover("usercp", "images/aria/misc/usercp_over.gif");
JSFX.Rollover("faq", "images/aria/misc/faq_over.gif");
JSFX.Rollover("members", "images/aria/misc/members_over.gif");
JSFX.Rollover("calendar", "images/aria/misc/calendar_over.gif");
JSFX.Rollover("daily", "images/aria/misc/daily_over.gif");
JSFX.Rollover("new", "images/aria/misc/new_posts_over.gif");
JSFX.Rollover("search", "images/aria/misc/search_over.gif");
JSFX.Rollover("links", "images/aria/misc/links_over.gif");
JSFX.Rollover("logout", "images/aria/misc/logout_over.gif");

apollooooooo
12-12-2005, 01:01 PM
Hey

Warning: chdir(): No such file or directory (errno 2) in /home/*****/public_html/forum/photoplog/settings.php on line 77

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

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/local/lib/php') in /home/*****/public_html/forum/photoplog/settings.php on line 78

Can Anone Tell me Whats Wrong put in the Correct Path to my Forum Dir still not workin

Any Ideas

bmoods
12-12-2005, 02:46 PM
In the Aria skin, find the following and make the relative links into absolute links:

JSFX.Rollover("register", "images/aria/misc/register_over.gif");
JSFX.Rollover("usercp", "images/aria/misc/usercp_over.gif");
JSFX.Rollover("faq", "images/aria/misc/faq_over.gif");
JSFX.Rollover("members", "images/aria/misc/members_over.gif");
JSFX.Rollover("calendar", "images/aria/misc/calendar_over.gif");
JSFX.Rollover("daily", "images/aria/misc/daily_over.gif");
JSFX.Rollover("new", "images/aria/misc/new_posts_over.gif");
JSFX.Rollover("search", "images/aria/misc/search_over.gif");
JSFX.Rollover("links", "images/aria/misc/links_over.gif");
JSFX.Rollover("logout", "images/aria/misc/logout_over.gif");


Ok merci beaucoup (in french)

calorie
12-12-2005, 02:57 PM
@apollooooooo: you should have it like this:

define('PHOTOPLOG_FWD','/home/*****/public_html/forum');

apollooooooo
12-12-2005, 06:17 PM
cheers calorie,

Your a Star mate.......

allstar55
12-12-2005, 07:35 PM
++++ MEGA BUG!!

I have edited 2 cars "the cat.",
ok than i have click on the upload button and i must approve the cars too in Admin Center.

PhotoPlog doesn't count the pictures correct now.
http://www.nfs-center.de/showroom/index.php?c=1

See Page 2 is death! Database Error Please help

Datenbankfehler in vBulletin 3.5.2:

Invalid SQL:
SELECT *
FROM photoplog_fileuploads
WHERE moderate = 0
AND catid = 0
ORDER BY dateline DESC
LIMIT -15,15;

MySQL-Fehler : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-15,15' at line 6
Fehler-Nr. : 1064
Datum : Monday, December 12th 2005 @ 10:42:00 PM
Skript : http://www.nfs-center.de/showroom/index.php?u=0&page=2
Referrer : http://www.nfs-center.de/showroom/index.php?c=1

calorie
12-12-2005, 08:22 PM
@allstar55: don't panic, lol, I'll figure it out. ;)

allstar55
12-12-2005, 08:27 PM
@allstar55: don't panic, lol, I'll figure it out. ;)

Ok nice :)
But now i go sleep, i hope you find the error.

calorie
12-12-2005, 08:32 PM
Already found it, working on a fix.