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 12-05-2005 06:21 PM

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

r6bbie 12-05-2005 06:38 PM

Calorie rocks!!

Works great...again thanks for everything

nitro 12-05-2005 07:30 PM

Logo path for the style I was in is <img src="/portal-35x/forums/images/misc/vbPortal_logo_white.gif"

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

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

calorie 12-05-2005 07:44 PM

For now, in the absolute links function, set the following right near the top of the function to hardcode in what it needs for your setup.
Code:

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

nitro 12-06-2005 12:10 AM

Heh :oooops:

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

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

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

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

Scrap that photoplog file size perms are in usergroup permissions.

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

Allan 12-06-2005 05:33 AM

Calorie, changed the link to french language please (https://vborg.vbsupport.ru/showpost....03&postcount=2)

the new link: https://vborg.vbsupport.ru/showpost....&postcount=130

;)

wii 12-06-2005 10:04 AM

Any idea when this is out of beta ?

Looks really good.

zsmom 12-06-2005 12:53 PM

Working great for me, thanks!

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

Thanks!

Lamby1973 12-06-2005 12:56 PM

I still keep getting Sorry ... : Bad Open...

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

calorie 12-06-2005 02:53 PM

@nitro: glad you having it working. I might add an option to specifiy path to remove double path cases.

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

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

@zsmom: see this attachment: https://vborg.vbsupport.ru/attachmen...chmentid=38510

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

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

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



All times are GMT. The time now is 04:32 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.02484 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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