PDA

View Full Version : PhotoPlog: The Lite Gallery


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

calorie
23 Nov 2005, 01:21
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 (http://www.vbulletin.org/forum/showpost.php?p=828201) contains this here release.
Post2 (http://www.vbulletin.org/forum/showpost.php?p=828203&postcount=2) contains current add-ons.
Post3 (http://www.vbulletin.org/forum/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
23 Nov 2005, 01:22
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:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


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 is only visible to licensed users, and only when logged into the forums.
---------------


Use the following to add a link to a user's PhotoPlog gallery in the vB MEMBERINFO template:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


Language Translations: may not contain all phrases (thank you for the translations):

PhotoPlog French translation by Allan (http://www.vbulletin.org/forum/member.php?u=36046): here (http://www.vbulletin.org/forum/showpost.php?p=1242014&postcount=1297)



PhotoPlog German translation by Maddrax (http://www.vbulletin.org/forum/member.php?u=8618): here (http://www.vbulletin.org/forum/showpost.php?p=933399&postcount=874)



PhotoPlog Italian translation by pollon (http://www.vbulletin.org/forum/member.php?u=179865): here (http://www.vbulletin.org/forum/showpost.php?p=1203519&postcount=1224)



PhotoPlog Norwegian translation by ambumann (http://www.vbulletin.org/forum/member.php?u=57150): here (http://www.vbulletin.org/forum/showpost.php?p=911200&postcount=814)



PhotoPlog Polish translation by gonzek (http://www.vbulletin.org/forum/member.php?u=235282): here (http://se-center.info/language_photoplog-Polish.xml) (off-site)



PhotoPlog Russian translation by Kent100 (http://www.vbulletin.org/forum/member.php?u=74721): here (http://www.vbulletin.org/forum/showpost.php?p=1369032&postcount=1475)



PhotoPlog Russian translation by butch3r (http://www.vbulletin.org/forum/member.php?u=226757): here (http://www.vbulletin.org/forum/showpost.php?p=1552543&postcount=1787)



PhotoPlog Spanish translation by ociosos (http://www.vbulletin.org/forum/member.php?u=149713): here (http://www.vbulletin.org/forum/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
23 Nov 2005, 01:22
Onscreen Error


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


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 is only visible to licensed users, and only when logged into the forums.
---------------





Onscreen Error


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


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


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


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:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


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 is only visible to licensed users, and only when logged into the forums.
---------------


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 is only visible to licensed users, and only when logged into the forums.
---------------


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 is only visible to licensed users, and only when logged into the forums.
---------------

joeychgo
23 Nov 2005, 01:40
??? What is this?

HMBeaty
23 Nov 2005, 01:42
Wondering the same thing

nexialys
23 Nov 2005, 01:44
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
23 Nov 2005, 01:46
well, we got a screenshot. Can we get a second.

HMBeaty
23 Nov 2005, 01:51
OK? So what is it? Another form of a gallery?

The Chief
23 Nov 2005, 01:55
what is this??? he is doing this to hurt us!! lol

can't wait ;)

davidw
23 Nov 2005, 01:56
* christianb grabs some popcorn

The Chief
23 Nov 2005, 01:59
* 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
23 Nov 2005, 02:11
lol... should be interesting :)

PixelFx
23 Nov 2005, 02:13
lol... should be interesting :)

looks for popcorn

Ky Kiske
23 Nov 2005, 02:15
>_> <_< Photos huh? *looks at screens* I see all backend stuff...Ant B needs details baby.

The Chief
23 Nov 2005, 02:26
>_> <_< Photos huh? *looks at screens* I see all backend stuff...Ant B needs details baby.

yup, more details would be really interesting!

joeychgo
23 Nov 2005, 02:28
So is he coding while we wait?

peterska2
23 Nov 2005, 02:36
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
23 Nov 2005, 02:38
i personally like diet coke better then tab, but i to want to see!! :)

COBRAws
23 Nov 2005, 02:41
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
23 Nov 2005, 02:42
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
23 Nov 2005, 02:44
He is alive..... I dont need details.....Do your thang.

joeychgo
23 Nov 2005, 02:44
strange

The Chief
23 Nov 2005, 02:44
lol, its not even released yet and its already 2 pages long o_o'

nexialys
23 Nov 2005, 02:54
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
23 Nov 2005, 02:59
yay! some new pics!! lookin great!

Ky Kiske
23 Nov 2005, 03:10
Yes yes Ant B likes.

Chris M
23 Nov 2005, 03:12
Hrm looks very nice calorie :)

I look forward to seeing this expand :)

Chris

Xeonext
23 Nov 2005, 03:17
Screenshots seems to be nice... waiting for more details and download the file in the mean time.

hydrostatic
23 Nov 2005, 03:28
Great hack. Loving it so far :)

Thanks.

calorie
23 Nov 2005, 03:41
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
23 Nov 2005, 03:54
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
23 Nov 2005, 04:06
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
23 Nov 2005, 04:22
@dirtycrow: the full path set in PhotoPlog's config.php file is incorrect.

memorex
23 Nov 2005, 04:33
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
23 Nov 2005, 04:37
@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
23 Nov 2005, 04:41
@memorex: try -> moskrayt.org/forums/PhotoPlog/ or -> moskrayt.org/forums/PhotoPlog/index.php

memorex
23 Nov 2005, 04:43
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
23 Nov 2005, 04:44
@dirtycrow: run this tiny script in your main forum directory...


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Aaron RV
23 Nov 2005, 05:10
Hi,

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

calorie
23 Nov 2005, 05:47
@Aaron RV: PhotoPlog cannot fopen so set the 'images' directory with 777 permissions.

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

calorie
23 Nov 2005, 08:42
You're welcome. Glad you like. :D

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

peterska2
23 Nov 2005, 09:14
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
23 Nov 2005, 10:10
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
23 Nov 2005, 13:23
@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
23 Nov 2005, 20:05
Aaron RV, does your PHP have safe mode on or off?

dirtycrow
23 Nov 2005, 20:50
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
23 Nov 2005, 21:37
Use it like this...


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

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

Chris

dirtycrow
24 Nov 2005, 00:22
Use it like this...


Code:
---------------
Code is only visible to licensed users, and only when logged into the 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
24 Nov 2005, 00:26
It's for those users in the usergroups set in the PhotoPlog options.

calorie
24 Nov 2005, 00:36
dirtycrow, it shouldn't conflict. Do you see the PhotoPlog options via the ACP?

FleaBag
24 Nov 2005, 02:13
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
24 Nov 2005, 02:32
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
24 Nov 2005, 02:48
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
24 Nov 2005, 02:52
Well that's alright - The inspiration to write my own Gallery Software is still there then :)

Chris

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

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

Allan
24 Nov 2005, 23:54
Great i like !!

Click Install

Attach file: French language ;)

GuaRRand
25 Nov 2005, 09:44
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
25 Nov 2005, 17:54
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
25 Nov 2005, 18:00
This is a nice mini gallery hack lol. Thanks!

calorie
25 Nov 2005, 23:09
FYI: Get PhotoPlog thumbnails on forum home here (http://www.vbulletin.org/forum/showpost.php?p=828203&postcount=2).

bmoods
26 Nov 2005, 07:54
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
26 Nov 2005, 10:30
In EasyPHP, configuration -> PHP extensions, activate php_gd2, restart.

bmoods
26 Nov 2005, 12:10
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
26 Nov 2005, 12:14
You mean like this (http://www.vbulletin.org/forum/showpost.php?p=828203&postcount=2)?

bmoods
27 Nov 2005, 06:12
You mean like this (http://www.vbulletin.org/forum/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
27 Nov 2005, 08:06
Looks very nice, is there a live demo somewhere ?

calorie
27 Nov 2005, 08:59
wii, mine is currently on a test board, maybe someone will post a link for you.

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

calorie
27 Nov 2005, 20:39
defi, see the attached...

defi
28 Nov 2005, 04:12
defi, see the attached...
Perfect! Thank you so much! :nervous:

calorie
28 Nov 2005, 04:22
Has anyone forgotten to click http://www.vbulletin.org/forum/images/smoothblue/buttons/installed.gif (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=101368)

/me wonders if the install button is scary

bmoods
28 Nov 2005, 04:34
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
28 Nov 2005, 04:35
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
28 Nov 2005, 07:58
...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 (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=101368)? Thanks.

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

wii
28 Nov 2005, 10:26
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
28 Nov 2005, 10:32
This is also similar to what I'm looking for, any idea how long til it's out of beta stage? :)

calorie
28 Nov 2005, 11:15
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 (http://www.vbulletin.org/forum/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
28 Nov 2005, 13:03
Ok, you´re right - I will setup a testforum and try this.

Thank you.

nitro
28 Nov 2005, 16:00
Has anyone forgotten to click http://www.vbulletin.org/forum/images/smoothblue/buttons/installed.gif (http://www.vbulletin.org/forum/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
29 Nov 2005, 02:54
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
29 Nov 2005, 07:38
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
29 Nov 2005, 13:39
Will this work for 3.5.0 ?

icemann
29 Nov 2005, 16:18
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
30 Nov 2005, 06:04
@bmoods: those options are not currently available.

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

@icemann: check the directory path in the options.

icemann
30 Nov 2005, 06:54
The links were looking for photoplog folder NOT PhotoPlog (with capital P's).

Robru
30 Nov 2005, 08:13
Are there plans for a watermark?

lordnex
30 Nov 2005, 20:46
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
01 Dec 2005, 20:52
Right now categories are being finished. See attachment if interested. More add-ons are planned, time permitting, like better usergroup control, comments, etcetera.

Allan
01 Dec 2005, 21:39
Hey Calorie :)
are you out a final version ?

Lamby1973
02 Dec 2005, 08:25
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
02 Dec 2005, 09:53
@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
02 Dec 2005, 19:25
Now i cant upload anything, just get "Sorry, Jon: Bad Open" and ive checked the permissions!

lordnex
02 Dec 2005, 19:44
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
02 Dec 2005, 20:17
@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
03 Dec 2005, 05:45
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
03 Dec 2005, 08:11
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
03 Dec 2005, 10:15
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
03 Dec 2005, 10:30
Congrat Calorie, very good job ;)

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

Thanks

lordnex
03 Dec 2005, 16:05
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
03 Dec 2005, 19:36
I cant figure this one out for the life of me...
I will donate or pay for help.

PM me

lordnex
03 Dec 2005, 19:42
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
03 Dec 2005, 19:45
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
03 Dec 2005, 20:17
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
04 Dec 2005, 02:47
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
04 Dec 2005, 05:42
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
04 Dec 2005, 06:38
In settings, make sure that the PhotoPlog directory matches the directory you have for the main page.

bmoods
04 Dec 2005, 07:17
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
04 Dec 2005, 07:25
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
04 Dec 2005, 08:16
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
04 Dec 2005, 08:47
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
04 Dec 2005, 09:12
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
04 Dec 2005, 10:28
No problem, good to ask just in case there's a bug.

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


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

smokering
04 Dec 2005, 10:47
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
04 Dec 2005, 11:33
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
04 Dec 2005, 11:44
It's when I try to set the usergroup permissions that I get the error??

calorie
04 Dec 2005, 12:01
@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
04 Dec 2005, 12:11
Thank you, that worked :) Maybe you should add to rebuild bitfields in the instructions ;)

calorie
04 Dec 2005, 12:22
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
04 Dec 2005, 13:07
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
04 Dec 2005, 13:23
How do I link this onto the navbar?

ChrisBaktis
04 Dec 2005, 15:08
@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
04 Dec 2005, 18:11
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
04 Dec 2005, 18:11
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
04 Dec 2005, 21:53
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
05 Dec 2005, 00:29
@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:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


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

ChrisBaktis
05 Dec 2005, 00:38
@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:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


@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
05 Dec 2005, 01:04
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
05 Dec 2005, 01:45
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




Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

calorie
05 Dec 2005, 03:19
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
05 Dec 2005, 05:46
screenies ;)

calorie
05 Dec 2005, 06:14
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
05 Dec 2005, 10:51
which is the relationship with the fact that the bbcodes are not taken into account when one does not select categories

calorie
05 Dec 2005, 11:17
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...



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


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

nitro
05 Dec 2005, 18:27
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
05 Dec 2005, 19:21
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
05 Dec 2005, 19:38
Calorie rocks!!

Works great...again thanks for everything

nitro
05 Dec 2005, 20:30
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
05 Dec 2005, 20:44
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.


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

nitro
06 Dec 2005, 01:10
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
06 Dec 2005, 06:33
Calorie, changed the link to french language please (http://www.vbulletin.org/forum/showpost.php?p=828203&postcount=2)

the new link: http://www.vbulletin.org/forum/showpost.php?p=840230&postcount=130

;)

wii
06 Dec 2005, 11:04
Any idea when this is out of beta ?

Looks really good.

zsmom
06 Dec 2005, 13:53
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
06 Dec 2005, 13:56
I still keep getting Sorry ... : Bad Open...

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

calorie
06 Dec 2005, 15:53
@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: http://www.vbulletin.org/forum/attachment.php?attachmentid=38510

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


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

funinthesun
06 Dec 2005, 16:55
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
06 Dec 2005, 17:07
Wouldn't think this mod would mess with logins.
For 404s check the PhotoPlog directory setting:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

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

Where bouts am i looking for this?

Lamby1973
06 Dec 2005, 19:44
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
06 Dec 2005, 20:01
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
06 Dec 2005, 20:08
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
06 Dec 2005, 20:18
Thanks for this great hack, it's works really perfect, also the upgrade works fine :speechless:

calorie
06 Dec 2005, 21:01
@warrez: check the PhotoPlog directory setting:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


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

Allan
06 Dec 2005, 21:39
highly a final version bus has each update, I loses the data to enter :(

Jrain157
07 Dec 2005, 14:01
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
07 Dec 2005, 14:09
will this work on 3.5.2?

pauloo
07 Dec 2005, 15:05
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
07 Dec 2005, 15:15
Resolved my issue, GD was not installed!

funinthesun
07 Dec 2005, 15:35
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
07 Dec 2005, 16:27
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
07 Dec 2005, 18:58
@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
07 Dec 2005, 19:25
What are the made modifications please ?

calorie
07 Dec 2005, 19:51
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
07 Dec 2005, 20:51
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
07 Dec 2005, 20:54
Are your PhotoPlog usergroup permisisons still set to your preferences?

Jrain157
07 Dec 2005, 21:02
Yes, I even reset the usergroup permissions just to double check.

calorie
07 Dec 2005, 21:20
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
07 Dec 2005, 22:03
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
07 Dec 2005, 22:14
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:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

pauloo
08 Dec 2005, 09:27
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?
http://www.vbulletin.org/forum/showpost.php?p=842701&postcount=162

Thank you

calorie
08 Dec 2005, 11:32
check http://www.vbulletin.org/forum/showpost.php?p=842911&postcount=166

MissKalunji
08 Dec 2005, 13:02
n e one cares to show me ad emo plz

nitro
08 Dec 2005, 18:56
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
08 Dec 2005, 19:09
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
08 Dec 2005, 22:18
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
08 Dec 2005, 23:35
@zsmom: see this attachment: http://www.vbulletin.org/forum/attachment.php?attachmentid=38510

Thank you! Works great...

VB-STYLE
09 Dec 2005, 10:02
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
09 Dec 2005, 11:45
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
09 Dec 2005, 12:17
@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
09 Dec 2005, 12:24
just when I try to go in
www.xxxxxx.com/photoplog

allstar55
09 Dec 2005, 12:48
@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
09 Dec 2005, 13:19
Some tests on the absolute links function gave the following process times, but that's on my machine:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


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


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


And temporarily replace with the following:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


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

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

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

VB-STYLE
09 Dec 2005, 14:17
PM sent.

calorie
09 Dec 2005, 15:06
Okay, mod updated. To upgrade, just FTP the two files indicated in the README.txt file.

Robru
09 Dec 2005, 16:50
================================================================================ ============
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:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


....and ofcourse index.php is really in this dir :tired:

CongTuDepTrai
09 Dec 2005, 16:51
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
09 Dec 2005, 17:37
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
09 Dec 2005, 17:52
calorie, please release this comment system.

I need that so :)

calorie
09 Dec 2005, 19:20
@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...


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


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


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


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
09 Dec 2005, 19:32
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
09 Dec 2005, 19:35
@allstar55: patience please

Ohhhhh, how long?

calorie
09 Dec 2005, 19:57
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
09 Dec 2005, 20:16
good things come to...
christmas :)

CongTuDepTrai
10 Dec 2005, 01:15
well i use 1.0.2.2

not the old one

CongTuDepTrai
10 Dec 2005, 01:26
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
10 Dec 2005, 01:37
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 (http://www.vbulletin.org/forum/showpost.php?p=828201).

allstar55
10 Dec 2005, 01:59
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
10 Dec 2005, 02:30
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:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

nitro
10 Dec 2005, 05:30
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
10 Dec 2005, 07:44
I'll tray the upgrade and let you now.

allstar55
10 Dec 2005, 07:47
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:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



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

Robru
10 Dec 2005, 09:29
[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...


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


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


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


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
10 Dec 2005, 10:00
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
10 Dec 2005, 11:47
@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:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

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

nitro
10 Dec 2005, 17:05
@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
10 Dec 2005, 18:33
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
10 Dec 2005, 18:50
@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
10 Dec 2005, 18:57
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
10 Dec 2005, 19:21
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
10 Dec 2005, 20:04
Thanks calorie, it's working now after upgrade. :squareeyed:

VB-STYLE
10 Dec 2005, 20:52
How I can make the $photoplog_random_bits
work in FORUMHOME?

CongTuDepTrai
10 Dec 2005, 20:55
one more thing here. it work JPG, PNG, GIF, but not the lower case?

how about JPGE?

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

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

VB-STYLE
10 Dec 2005, 21:20
Thanks.

Robru
11 Dec 2005, 08:52
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
11 Dec 2005, 11:18
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
11 Dec 2005, 12:16
@drl2005 have you set in admincp -> photoplog settings -> Duplicate directory setting the dir thats being duplicated ?

Rhoads
11 Dec 2005, 12:48
@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
11 Dec 2005, 14:10
@Robru: change the PhotoPlog Directory to: /forum/photoplog

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


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Rhoads
11 Dec 2005, 14:28
@Robru: change the PhotoPlog Directory to: /forum/photoplog

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


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


Sorry, I am forget tell that I use theNicer Greeting On NavBar hack (http://www.vbulletin.org/forum/showthread.php?t=100993), when I turn that off, however, well, is there a solution for this.

calorie
11 Dec 2005, 15:10
Stick $ng_greeting as a global in the output error and output page functions.

Rhoads
11 Dec 2005, 15:31
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
11 Dec 2005, 16:27
They are in the same file, next to each other.

Rhoads
11 Dec 2005, 16:50
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
11 Dec 2005, 17:06
Not the templates, in the functions.php file:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

anarx
11 Dec 2005, 17:11
Will the Gallery work for vB 3.5.1 ?
It looks nice btw :)

Rhoads
11 Dec 2005, 17:17
Not the templates, in the functions.php file:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


Thnx calorie, it's work fine now ;)

calorie
11 Dec 2005, 17:27
@anarx: should be fine on vB 3.5.1 or vB 3.5.2.

anarx
11 Dec 2005, 17:33
Thx :)

LJR
11 Dec 2005, 19:19
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
11 Dec 2005, 20:01
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
11 Dec 2005, 20:20
@Robru: change the PhotoPlog Directory to: /forum/photoplog

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

bmoods
12 Dec 2005, 08:29
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 Dec 2005, 11:35
In the Aria skin, find the following and make the relative links into absolute links:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

apollooooooo
12 Dec 2005, 14:01
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 Dec 2005, 15:46
In the Aria skin, find the following and make the relative links into absolute links:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Ok merci beaucoup (in french)

calorie
12 Dec 2005, 15:57
@apollooooooo: you should have it like this:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

apollooooooo
12 Dec 2005, 19:17
cheers calorie,


Your a Star mate.......

allstar55
12 Dec 2005, 20:35
++++ 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 Dec 2005, 21:22
@allstar55: don't panic, lol, I'll figure it out. ;)

allstar55
12 Dec 2005, 21:27
@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 Dec 2005, 21:32
Already found it, working on a fix.