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)

CongTuDepTrai 12-10-2005 12:15 AM

well i use 1.0.2.2

not the old one

CongTuDepTrai 12-10-2005 12:26 AM

ok well done, thanks calorie

one more question

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

do i have to keep them or just remove it?

calorie 12-10-2005 12:37 AM

With 1.0.2+ when you go to ACP -> Plugin System -> Manage Products, the only PhotoPlog product in the list should be PhotoPlog: The Lite Gallery. Recycle bin all earlier ZIP archives. Only follow the README.txt in the current ZIP archive here.

allstar55 12-10-2005 12:59 AM

Ok here is my Site with your Script:
http://www.nfs-center.de/showroom/index.php

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

calorie 12-10-2005 01:30 AM

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

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

</if>


nitro 12-10-2005 04:30 AM

Cant see any real change for the links in 1.02.2 m8

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

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

Photoplog dir setting has /portal/photoplog

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

VB-STYLE 12-10-2005 06:44 AM

I'll tray the upgrade and let you now.

allstar55 12-10-2005 06:47 AM

Quote:

Originally Posted by calorie
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:

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

</if>


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

Robru 12-10-2005 08:29 AM

[QUOTE=calorie]@Robru and @nitro: First upgrade to 1.0.2.2 and then look at your vB Homepage URL and PhotoPlog directory settings.

They might look something like this...
Code:

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

so together they make the link to PhotoPlog

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

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

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

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

Are things now linking correctly?
Sorry Calorie,

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

allstar55 12-10-2005 09:00 AM

Other question,

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

calorie 12-10-2005 10:47 AM

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

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

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

calorie 12-10-2005 11:46 AM

@nitro and @Robru: try 1.0.2.3, does it fix the paths?

nitro 12-10-2005 04:05 PM

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

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

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

calorie 12-10-2005 05:33 PM

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

Robru 12-10-2005 05:50 PM

Quote:

Originally Posted by calorie
@nitro and @Robru: try 1.0.2.3, does it fix the paths?

No Calorie,

It's the same problem!

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

calorie 12-10-2005 05:57 PM

What path, i.e., what link is it? Also,
what are your settings for these:
  • vB Homepage URL
  • vB Forum URL
  • PhotoPlog Directory
  • Duplicate Directory

nitro 12-10-2005 06:21 PM

Quote:

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

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

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

VB-STYLE 12-10-2005 07:04 PM

Thanks calorie, it's working now after upgrade. :squareeyed:

VB-STYLE 12-10-2005 07:52 PM

How I can make the $photoplog_random_bits
work in FORUMHOME?

CongTuDepTrai 12-10-2005 07:55 PM

one more thing here. it work JPG, PNG, GIF, but not the lower case?

how about JPGE?

calorie 12-10-2005 08:08 PM

@VB-STYLE: the readme tells you how to do that.

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

VB-STYLE 12-10-2005 08:20 PM

Thanks.

Robru 12-11-2005 07:52 AM

Quote:

Originally Posted by calorie
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


Rhoads 12-11-2005 10:18 AM

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

Thnx ;)

nitro 12-11-2005 11:16 AM

@drl2005 have you set in admincp -> photoplog settings -> Duplicate directory setting the dir thats being duplicated ?

Rhoads 12-11-2005 11:48 AM

Quote:

Originally Posted by nitro
@drl2005 have you set in admincp -> photoplog settings -> Duplicate directory setting the dir thats being duplicated ?

Oke thank, I had forum stand, but it had /forum being, thnx nitro.
For now, only my name on the navbar is not visible ?

calorie 12-11-2005 01:10 PM

@Robru: change the PhotoPlog Directory to: /forum/photoplog

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

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


Rhoads 12-11-2005 01:28 PM

Quote:

Originally Posted by calorie
@Robru: change the PhotoPlog Directory to: /forum/photoplog

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

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


Sorry, I am forget tell that I use theNicer Greeting On NavBar hack, when I turn that off, however, well, is there a solution for this.

calorie 12-11-2005 02:10 PM

Stick $ng_greeting as a global in the output error and output page functions.

Rhoads 12-11-2005 02:31 PM

Quote:

Originally Posted by calorie
Stick $ng_greeting as a global in the output error and output page functions.

I cant find the output page, only the photoplog_error_page.
Where can I find it !

calorie 12-11-2005 03:27 PM

They are in the same file, next to each other.

Rhoads 12-11-2005 03:50 PM

Quote:

Originally Posted by calorie
Stick $ng_greeting as a global in the output error and output page functions.

Quote:

Originally Posted by calorie
They are in the same file, next to each other.

Sorry, I understand it not entirely

calorie 12-11-2005 04:06 PM

Not the templates, in the functions.php file:
Code:

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

global $ng_greeting;


anarx 12-11-2005 04:11 PM

Will the Gallery work for vB 3.5.1 ?
It looks nice btw :)

Rhoads 12-11-2005 04:17 PM

Quote:

Originally Posted by calorie
Not the templates, in the functions.php file:
Code:

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

global $ng_greeting;


Thnx calorie, it's work fine now ;)

calorie 12-11-2005 04:27 PM

@anarx: should be fine on vB 3.5.1 or vB 3.5.2.

anarx 12-11-2005 04:33 PM

Thx :)

LJR 12-11-2005 06:19 PM

When I click the UPLOAD link it just refreshes the page (although it does show upload.php in the address bar). No upload form though. I have set the usergroup to have upload permissions, etc.

Any ideas anyone?

*goes off to click INSTALL button*

LJR 12-11-2005 07:01 PM

Okay, so I must have screwed up somehow the first time round because I just reinstalled and I can upload now!

Superb plugin matey!

Thanks

Robru 12-11-2005 07:20 PM

Quote:

Originally Posted by calorie
@Robru: change the PhotoPlog Directory to: /forum/photoplog

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


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