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)

Code Monkey 01-06-2006 11:10 PM

Quote:

Originally Posted by calorie
That'll only work if PhotoPlog is installed one level inside the forum directory. It won't find the forum directory for when PhotoPlog is installed elsewhere, i.e., it's not a general solution.

That's why you tell then to upload the directory to their forum root. ;)

nitro 01-06-2006 11:22 PM

Quote:

Originally Posted by JumpD
That's why you tell then to upload the directory to their forum root. ;)

Would be ok if it used a hook to integarte say a photoplog.php file to vb's index. I think that would be a huge change now tho.

calorie 01-06-2006 11:35 PM

What about the people who don't want 'everything' in their forum directory? ;)

nitro 01-07-2006 12:19 AM

Quote:

Originally Posted by calorie
What about the people who don't want 'everything' in their forum directory? ;)

I probably didnt quite word the post right. I pretty much agree with you for this addon anyway, but if it was to change I would be ok with it as above ;)

I wouldnt want to be forced to have to have a photoplog directory in forum root & it not be an integrated hook on vb's index.

I really dont see much hardship in editing one line on the rare occasion the photoplogs config.php needs an update or for first install. :)

furst 01-07-2006 01:29 AM

Quote:

Originally Posted by calorie
@furst: in settings.php you could try and set $photoplog_location to whatever link you'd like.

It's already pointed to /index.php.
When I go to the gallery it always redirects me back to the main domain. It doesn't stay in the sub-domain that it's supposed to.

Anything else you can think of? I really want to have a gallery on my site but if I can't get this working then it isn't an option.

calorie 01-07-2006 02:11 AM

@nitro: oops, forgot the @JumpD on that comment. JumpD's code bit would help with the full path questions people have by removing that element, but there might then be 'how to move out of forum directory' questions. I just tried to be as general as possible so PhotoPlog could go in /photoplog, /foobar/photoplog, /forum/photoplog, /forum/foobar/photoplog, etcetera. My preference is to have /forum for the forum and stick other things in their own directories, but if people want to do as JumpD suggests and install in /forum/photoplog, machts nicht to me. ;)

@furst: find the following in PhotoPlog's settings.php file:
Code:

$photoplog_location = $photoplog_schemehost.$vbulletin->options['photoplog_script_dir'];
And try 'hard' setting it to something like follows:
Code:

$photoplog_location = 'http://sub.domain.com'; // OR
$photoplog_location = 'http://sub.domain.com/foo'; // OR
$photoplog_location = 'http://sub.domain.com/foo/bar'; // ETC


utw-Mephisto 01-07-2006 04:26 PM

I have exactly 7 pictures in the gallery and it stopped working.

Now I (actually everybody) gets the error

Sorry, utw-Mephisto: Maximum Number of Allowed File Uploads Exceeded

The Maximum File Limit is even set to 100000

calorie 01-07-2006 07:42 PM

@harry1951: look in the templates for $vbphrase[posts] and stick the links around there or wherever else you'd like them to appear

@utw-Mephisto: atop of upload.php is where max files is checked, probably permissions so try: admincp/index.php?do=buildbitfields

utw-Mephisto 01-07-2006 07:49 PM

Did not work I am afraid :(

calorie 01-07-2006 09:05 PM

Okay, go run the following query in say phpMyAdmin and see if it returns a count:
[sql]
SELECT COUNT(*) FROM photoplog_fileuploads WHERE userid = 1;
[/sql]


All times are GMT. The time now is 09:27 PM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03065 seconds
  • Memory Usage 1,744KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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