vb.org Archive

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

calorie 02-17-2006 12:11 AM

LOL, Tefra, I wish there was something better. Automatic absolute linking is not without its problems. Manually linking is sort of a PITA at first. A combination thereto may result in other unexpected behavior. It's mostly about trying to get a mod to reside wherever wanted, whether inside or outside the forum directory, while accounting for other mods, skins, CMS, subdomains, etcetera.

TWIMC: Check the PhotoPlog license before redistributing my code! :speechless:

Upgrade instructions can be found in the README.txt file.


Note on Official Support: With 50 some pages, assuming 15 posts per page, and over 700 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.

TPOCJames 02-17-2006 12:42 AM

I don't get this new partial/absolute/global thing. It screwed up the layout of my PhotoPlog.

calorie 02-17-2006 01:49 AM

Say line two of the 'Relative Links' setting is this:
Code:

action="search.php
That means that wherever this:
Code:

action="search.php
Occurs in the HTML source, it will be replaced by this:
Code:

action="http://www.photoplog.com/forum/search.php
Where this:
Code:

action="http://www.photoplog.com/forum/search.php
Is line two of the 'Absolute Links' setting.


Of course, you'll want to edit this:
Code:

http://www.photoplog.com/forum/
In the 'Absolute Links' setting to fit with your site.


Think of it this way: it is a mapping, from line X of 'Relative Links' to line X of 'Absolute Links' so things get linked correctly. Line X of Relative Links maps to line X of Absolute Links, line Y of Relative Links maps to line Y of Absolute Links, line Z of Relative Links maps to line Z of Absolute Links, etcetera.

Note on Official Support: With 50 some pages, assuming 15 posts per page, and over 700 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.

calorie 02-17-2006 02:24 AM

Some extra settings to add if you DLed v.1.0.7 before this post date...

Just check settings for the following:

Relative Links:
Code:

action="login.php
href="clientscript/
href="external.php

Absolute Links:
Code:

action="http://www.photoplog.com/forum/login.php
href="http://www.photoplog.com/forum/clientscript/
href="http://www.photoplog.com/forum/external.php

Of course change:
Code:

http://www.photoplog.com/forum/
To match with your site.


And remember, line X to line X. Want more? Check your HTML source. ;)


Note on Official Support: With 50 some pages, assuming 15 posts per page, and over 700 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.

tuanluu 02-17-2006 03:06 AM

Will this gallery able to send ecard?

optrex 02-17-2006 08:22 AM

Quote:

Originally Posted by optrex
the problem is strange because other images in the SAME directory are showing up

Well I've had to create the folder structure it wanted and drop the image into that for each skin I had.

NOT ideal!

for the person that wanted 1.0.6.2 ......

Gizmo5h1t3 02-17-2006 03:21 PM

okies, installed the upgrade, overwrote the xml product, changed all the absolute links....and i get this...any help at all plz??

Quote:

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

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

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

EDIT

i had to go into the /photoplog/config.php file, and re add my absolute file path to the file...it works fine now...

funinthesun 02-17-2006 04:54 PM

I get this error when I try to upload a file? "Bad Open - Cannot Open the images Directory for Writing" Any ideas why? Thanks.

Reef 02-17-2006 04:57 PM

CHMOD the images directory to 766. If that still gives the same message then use 777

Holidazed 02-17-2006 05:00 PM

I am having a problem. I login to my vbb and then click on my gallery link and it asks me for the username and password. Should it not remember this from the session (/photoblog/index.php$session[sessionurl_q]) I am passing it? In addition, when I put in the username and password, it accepts it then asks for it again.

Ideas?

calorie 02-17-2006 05:03 PM

@tuanluu: PhotoPlog Lite does not have e-card capabilities.

@optrex: The down arrow next to search in the navbar comes from JavaScript:
Code:

img.src = IMGDIR_MISC + '/menu_open.gif';
In the PhotoPlog 'Relative Links' setting there is the following:
Code:

var IMGDIR_MISC = "images/
And in the PhotoPlog 'Absolute Links' setting there is the following:
Code:

var IMGDIR_MISC = "http://www.photoplog.com/forum/images/
Where you can set the absolute link to your menu_open.gif directory.


To the people who follow the PhotoPlog license, a B I G THANK YOU!

TWIMC: It is against the PhotoPlog license to redistribute my code!

Note on Official Support: With 50 some pages, assuming 15 posts per page, and over 700 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.

funinthesun 02-17-2006 05:04 PM

Quote:

Originally Posted by Reef
CHMOD the images directory to 766. If that still gives the same message then use 777

Thanks for replying but still no joy :(

calorie 02-17-2006 05:19 PM

@bitg: check here and when linking, check for consistent use, or non use, of www or subdomains as it could be a cookie issue.

@funinthesun: 'bad open' only happens when PhotoPlog cannot perform fopen so it's probably a permissions or ownership issue.

Note on Official Support: With 50 some pages, assuming 15 posts per page, and over 700 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.

Holidazed 02-17-2006 05:29 PM

Quote:

Originally Posted by calorie
@bitg: check here and when linking, check for consistent use, or non use, of www or subdomains as it could be a cookie issue.

My relative links section looks like this:
---------------------------------------
action="/vbb350/index.php
action="/vbb350/login.php
action="/vbb350/search.php
href="/vbb350/admincp/
href="/vbb350/archive/
href="/vbb350/calendar.php
href="/vbb350/clientscript/
href="/vbb350/external.php
href="/vbb350/faq.php
href="/vbb350/forumdisplay.php
href="/vbb350/index.php
href="/vbb350/login.php
href="/vbb350/member.php
href="/vbb350/memberlist.php
href="/vbb350/modcp/
href="/vbb350/online.php
href="/vbb350/private.php
href="/vbb350/profile.php
href="/vbb350/search.php
href="/vbb350/sendmessage.php
href="/vbb350/showpost.php
href="/vbb350/showthread.php
href="/vbb350/subscription.php
href="/vbb350/usercp.php
new Array('/vbb350/images/
src="/vbb350/clear.gif
src="/vbb350/clientscript/
src="/vbb350/image.php
src="/vbb350/images/
url(/vbb350/images/
var IMGDIR_MISC = "/vbb350/images/
---------------------------------------
and my absolute links section looks like this:
---------------------------------------
action="http://www.hidingplace.com/vbb350/index.php
action="http://www.hidingplace.com/vbb350/login.php
action="http://www.hidingplace.com/vbb350/search.php
href="http://www.hidingplace.com/vbb350/admincp/
href="http://www.hidingplace.com/vbb350/archive/
href="http://www.hidingplace.com/vbb350/calendar.php
href="http://www.hidingplace.com/vbb350/clientscript/
href="http://www.hidingplace.com/vbb350/external.php
href="http://www.hidingplace.com/vbb350/faq.php
href="http://www.hidingplace.com/vbb350/forumdisplay.php
href="http://www.hidingplace.com/vbb350/index.php
href="http://www.hidingplace.com/vbb350/login.php
href="http://www.hidingplace.com/vbb350/member.php
href="http://www.hidingplace.com/vbb350/memberlist.php
href="http://www.hidingplace.com/vbb350/modcp/
href="http://www.hidingplace.com/vbb350/online.php
href="http://www.hidingplace.com/vbb350/private.php
href="http://www.hidingplace.com/vbb350/profile.php
href="http://www.hidingplace.com/vbb350/search.php
href="http://www.hidingplace.com/vbb350/sendmessage.php
href="http://www.hidingplace.com/vbb350/showpost.php
href="http://www.hidingplace.com/vbb350/showthread.php
href="http://www.hidingplace.com/vbb350/subscription.php
href="http://www.hidingplace.com/vbb350/usercp.php
new Array('http://www.hidingplace.com/vbb350/images/
src="http://www.hidingplace.com/vbb350/clear.gif
src="http://www.hidingplace.com/vbb350/clientscript/
src="http://www.hidingplace.com/vbb350/image.php
src="http://www.hidingplace.com/vbb350/images/
url(http://www.hidingplace.com/vbb350/images/
var IMGDIR_MISC = "http://www.hidingplace.com/vbb350/images/
---------------------------------------
Is this the way it should be?

calorie 02-17-2006 05:49 PM

Yep, looks just fine. Check whether you are linking to PhotoPlog with or without the www because if you are logged into http://hidingplace.com/vbb350/ (no www) but then go to http://www.hidingplace.com/photoplog/ (with www) or visa versa, that could ask for another login. Also check that the 'can view files' usergroup permission is set to yes for those usergroups who are allowed to view files.

Note on Official Support: With 50 some pages, assuming 15 posts per page, and over 700 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.

funinthesun 02-17-2006 05:53 PM

Quote:

Originally Posted by calorie
@funinthesun: 'bad open' only happens when PhotoPlog cannot perform fopen so it's probably a permissions or ownership issue.

EDIT: Fixed :nervous: I realised that I had the upload directory set to photoplog/images instead of just images. Doh! Thanks :)

imported_predatorkill 02-17-2006 07:39 PM

Hi guys!!!! Great hack!!!

One question:

Is there a way so i can upload the pictures into an other host account??
My currently host account has 400MB space and i use 70% of it.If users starts uploading the pictures,in one week the disk quota will be full!!!

Thanks in advance!

Holidazed 02-17-2006 07:54 PM

Quote:

Originally Posted by calorie
Yep, looks just fine. Check whether you are linking to PhotoPlog with or without the www because if you are logged into http://hidingplace.com/vbb350/ (no www) but then go to http://www.hidingplace.com/photoplog/ (with www) or visa versa, that could ask for another login.

Actually, I am linking to photoplog with the following code in my navbar template:

Code:

<a href="/photoplog/index.php$session[sessionurl_q]">Photo Gallery</a>
Quote:

Originally Posted by calorie
Also check that the 'can view files' usergroup permission is set to yes for those usergroups who are allowed to view files.

I am not sure what you mean here. I see nothing in the usergroup that makes any references to "files" or "photoplog".

bigdog829 02-18-2006 03:05 AM

<font color="Lime">*bigdog829 clicks install </font>

Great hack & thanks for the great support I recieved on the photoplog site !!!

lonelime 02-18-2006 03:51 AM

hi...

insteal member upload max 500k.... i want to maximum it to 1000 , where do i got to edit...please help

thanks

akanevsky 02-18-2006 11:02 AM

Quote:

Originally Posted by Psionic Vision
There is a problem:
When I try to post animated pictures, they are not animated in the gallery :( How do I fix that?

This question is still up.

calorie 02-18-2006 07:48 PM

@bitg and @lonelime: vB ACP -> PhotoPlog -> Usergroup Manager -> Edit Usergroup -> Go -> PhotoPlog Permissions

@Psionic Vision: try PhotoPlog Lite v.1.0.8.

FYI: PhotoPlog Lite v.1.0.8 released. Animated GIFs show if file dimensions within settings, postbit counts with link possible when viewing thread, couple of small bug fixes. See the README.txt file for instructions.

Note on Official Support: With 50 some pages, assuming 15 posts per page, and over 700 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.

Holidazed 02-18-2006 10:17 PM

OK, I uploaded to the newest version and it works just fine now. Except for several things. But 1st I want to say that overall, you have done a great job on this and I love this addition to vbb. Thank you.

  1. When looking at the navigation, there is the link that says "The Hiding Place Forums > PhotoPlog". Well, the "PhotoPlog" part links perfectly, but "The Hiding Place" link should link to the forum main page, but it links to the PhotoPlog main page. See http://www.hidingplace.com/photoplog/index.php for an example.
  2. This may be related to #1. Although, I have my "Relative Links" and "Absolute Links" pointing at my vbb forum (See https://vborg.vbsupport.ru/showpost.php?p=902981&postcount=775), all my navbar links all point to the photplog directory.
  3. When you are in the photoplog area, the vbb drop-down menus do not work (eg. The "Quick" menu or the "Search" box). Possible dhtml problem?
  4. What is the point in having the "PhotoPlog Settings" area in the "vBulletin Options" if we already have that under the "PhotoPlog" menu.
  5. Why is there a menu option under the "PhotoPlog" menu for "Change Phrases" if it does not link directly to the photoplog phrases (seems redundant)?
  6. Why is there a menu option under the "PhotoPlog" menu for "Usergroup Manager" (seems redundant)?
Ideas?

Sooner95 02-19-2006 01:49 AM

Just installed this. Very nice man. Hell of a job and many thanks. Install clicked.

calorie 02-19-2006 02:15 AM

@bitg: What you had posted looks fine, but you need to add to it, so for 1,2,3 just look at your HTML source for things not in the settings. Example: href="index.php and src="/vbb350/styles/ and var IMGDIR_MISC = "/vbb350/styles/ etcetera. The settings enable you to add/edit things to fit with your site. While I tried to list all the standard links, there is no way I can account for all custom skins, directory structures, and so forth, so that's up to you. For 4,5,6 it's easier for some people to find things. Regarding 4, the menu link actually goes to vB options, and for 5, phrasetypeid may not be the same for all sites, so a standard link to the phrases is not plausible. You can edit the Photoplog cpnav XML file if you'd like to change the way the side group is laid out.

Thanks everyone for the thanks. :D

Note on Official Support: With 50 some pages, assuming 15 posts per page, and over 700 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.

Holidazed 02-19-2006 02:53 AM

Quote:

Originally Posted by calorie
@bitg: What you had posted looks fine, but you need to add to it, so for 1,2,3 just look at your HTML source for things not in the settings. Example: href="index.php and src="/vbb350/styles/ and var IMGDIR_MISC = "/vbb350/styles/ etcetera. The settings enable you to add/edit things to fit with your site. While I tried to list all the standard links, there is no way I can account for all custom skins, directory structures, and so forth, so that's up to you.

(#2)OK, I basically understand and was able to fix my navbar template to refer to all files as "/vbb350/" and that solved the basic navigation issue.

(#1)I have no idea where to begin looking for the "Hiding Place" link to the index.php file.

(#3)The dhtml issues are unique to this mod. They just do not drop down anymore. My menus are in the factory default settings (at least the bottom row is). The drop down menus work fine everywhere else, just not when I goto the photoplog.

Quote:

Originally Posted by calorie
For 4,5,6 it's easier for some people to find things. Regarding 4, the menu link actually goes to vB options, and for 5, phrasetypeid may not be the same for all sites, so a standard link to the phrases is not plausible. You can edit the Photoplog cpnav XML file if you'd like to change the way the side group is laid out.

These are not big issues. They were more like questions I was curious about.

calorie 02-19-2006 04:38 AM

This mod can reside anywhere, inside or outside the main forum directory, so links need to be absolute in nature. The mod itself is okay, it's just that you need to add to the 'Relative Links' and 'Absolute Links' settings. While you can edit templates to make the links absolute, it is not necessary. After a cursory look at your HTML source, you need to add the following though there could be more:

Relative Links:
Code:

action="login.php
href="archive/
href="index.php
href="register.php
href="sendmessage.php
src="clientscript/

Absolute Links:
Code:

action="http://www.hidingplace.com/vbb350/login.php
href="http://www.hidingplace.com/vbb350/archive/
href="http://www.hidingplace.com/vbb350/index.php
href="http://www.hidingplace.com/vbb350/register.php
href="http://www.hidingplace.com/vbb350/sendmessage.php
src="http://www.hidingplace.com/vbb350/clientscript/

Your menus are not working because you are using src="/vbb350/clientscript/ in 'Relative Links' but your HTML source has src="clientscript/ instead. If you find a link not working or an image not showing, then look at the HTML source for the relative link and add, line X to line X, to the 'Relative Links' and 'Absolute Links' settings. If you need further help, just visit the main support site and we can carry on in a unique thread.

Note on Official Support: With 50 some pages, assuming 15 posts per page, and over 700 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.

PimvanJ 02-19-2006 09:39 AM

In vbadvanced pointing the fotothumbs to http://www.MY_DOMAINhttp//www.MY_DOM...le.php?n=3&w=s

It seems that there is a problem with the 'Relative Links' and 'Absolute Links' settings but I have no idea where to change this for vbadvanced.


Regards,

Pim

calorie 02-19-2006 02:43 PM

PimvanJ, just upgrade PhotoPlog vBa CMPS Thumbs (here) as it's now updated for use with PhotoPlog Lite v.1.0.7/8.

Note on Official Support: With 50 some pages, assuming 15 posts per page, and over 700 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.

PimvanJ 02-19-2006 08:11 PM

Quote:

Originally Posted by calorie
PimvanJ, just upgrade PhotoPlog vBa CMPS Thumbs (here) as it's now updated for use with PhotoPlog Lite v.1.0.7/8.

Note on Official Support: With 50 some pages, assuming 15 posts per page, and over 700 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.


I did, works fine now calorie.
Thanks a lot!


Regards,

Pim

3dsoft 02-20-2006 12:06 PM

Is it somehow possible that comments are being counted as a normal post?

kanechart 02-20-2006 05:07 PM

Quote:

Originally Posted by Robru
Are there plans for a watermark?


I agree this would be a handy thing.

Smiry Kin's 02-20-2006 06:12 PM

It would be hard,

example would be like
<img src="image.php?main=IMAGE&watermark=WATERMARK IMAGE">

3dsoft 02-20-2006 06:18 PM

Hi,
I would like to add a link at this site "photoplog/index.php" in the navbar between "Home" and "Upload".
The link should point the own uploaded files, saying "My Gallery"

The code for the link is as follows:
Code:

<a href="http://www.domain.com/forum/photoplog/index.php?$session[sessionurl]u=$userinfo[userid]">My Gallery</a>

But where do I put the code?

Check out this image for a better illustration.
http://img134.imageshack.us/img134/8...otoplog5vd.jpg

Bahawolf2 02-20-2006 11:55 PM

When myself or my members upload the pictures, it goes fine..
We've attempted to use the IMG BBCode provided to link to the pictures, and its a broken image..

When I got the file properties, I saw this:
http://www.1337cnt.com/photoplog/images/3<b>*%20Agent%20Banksdium/1_untitled.JPG

The 3 after /images/ is the directory the real image is stored in. Agent Banks is the username who posted the picture.

All in all, it seems this is being added when I link to the picture with the given IMG code:

<b>*%20Agent%20Banksdium

Obviously, replace the 'Agent Banks' with the username of the posting member.

Any help is appreciated. ;)

calorie 02-21-2006 09:02 PM

FYI: Bahawolf2's issue is a conflict with the me-mod and is being addressed on the official support site. Thanks. :)

Note on Official Support: With 50 some pages, assuming 15 posts per page, and over 700 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.

prettyboi 02-22-2006 05:48 PM

Okay, I'm a little bit confuse here! What do you mean by "Set 777 permissions on the photoplog 'images' directory on your server, as necessary?" Sorry, I'm having trouble understanding this.

ROTPAR 02-22-2006 07:22 PM

Quote:

Originally Posted by prettyboi
Okay, I'm a little bit confuse here! What do you mean by "Set 777 permissions on the photoplog 'images' directory on your server, as necessary?" Sorry, I'm having trouble understanding this.

It would be great if Users could upload a whole gallery and not just one pic per thread...they should be able to create a new gallery thread with as much as possible pics.

himerus 02-22-2006 09:14 PM

I'm having a problem...

the install was fine, but now when I try to access the photoplog directory, I keep getting the vb login page, and i log in, it says "thanks for logging in" and redirects me back to the login page ....

Any ideas?

kavoo 02-23-2006 06:42 AM

I tried to find solutions to my problem in this topic, but it's a 54-page monster... so don't shoot if I missed something ;)

Yesterday I was forced to move my vB forum (along with Photoplog) to another server and redirect my domain. After that Photoplog refuses to work, showing following error:
Code:

Warning: chdir(): No such file or directory (errno 2) in /photoplog/settings.php on line 85

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

Fatal error: main(): Failed opening required './global.php' (include_path='.:/:/usr/pear') in /photoplog/settings.php on line 86

Yes, I know - it's about wrong path in config.php. But my path is exactly same as before:
Quote:

Forum location: mydomainname.pl
Photoplog location: mydomainname.pl/photoplog/
settings.php entry: require_once('./global.php');
Everything is the same as it was on the old serwer - database, catalogue structure, etc. What did I missed? :ermm:


All times are GMT. The time now is 10:55 AM.

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

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

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

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