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)

medw1974 12-21-2005 05:41 PM

Excellent work Calorie

That works a treat.

Many Thanks

nitro 12-21-2005 08:24 PM

Quote:

Originally Posted by calorie
Okay, in the PhotoPlog config add this somewhere:
Code:

define('THIS_SCRIPT','photoplog');

That sorted the empty vbportal variables. awsome left column and left column on/off switch now exists in photoplog :D

Slight bug with some portal specific images, which is a little more wierd path issue than a dual dir. maybe I will just cp the images as a cheepie way for now. ;)

Feckie (Roger) 12-21-2005 08:27 PM

Have A Problem I set all the forum permissions to not require moderation
but all user groups still do even Admins

any Idea

allstar55 12-21-2005 08:36 PM

calorie, please look here with right click on the picture:
http://www.nfs-center.de/showroom/index.php?n=21

Size is 143770 Bytes (140kb)
But i don't have this picture with "this size" in my FTP.

Max is 100kb
This picture is in my FTP max 96kb.
medium is 18 and small 5.

Why is the pic so big in the URL?

calorie 12-21-2005 09:24 PM

@nitro: cool, glad the side bar is now working.

@Feckie (Roger): first call admincp/index.php?do=buildbitfields and then go to ACP -> PhotoPlog -> Usergroup Manager -> Click Go -> Scroll to Bottom -> Set PhotoPlog Permissions -> Click Save

@allstar55: who knows how your browser determines size when the image is coming from a PHP script. Trust the numbers you see via FTP.

indie 12-21-2005 10:14 PM

How could we create a vBadvanced CMPS module? I know how to create a module (the template part), but how could we call random photos, or new photos. The one for forumhome is too wide. The vBa CMPS one should be vertical, not horizontal, with a choice of how many photos to show, and perhaps, random, newest, and highest rated as choices. If that's too much, just random is good. Can anyone create one? Thanks

Quote:

Originally Posted by calorie
Not without coding something up, maybe storing count in the user table.

RE: Having member's Gallery links in postbit/profile only show if they have images, or show a number next to it.
Any tips on how to do this for a non-coder? I think this would be useful. On my forum there's already been members that have suggested this. Thanks

nitro 12-22-2005 06:37 AM

@Calorie Ye its great that it will show, however some of the main menu links that lead to portal pages, ones that are template coded as opposed to soft added in the portal cp are not taking any notice of the duplicate directory setting and I am sure that is the same as the images problem for portal images having looked at it all a bit closer now.

Any tips on how this can be cured ? I know its not easy when its not a portal you have used. Allways open to suggestions tho ;)

allstar55 12-22-2005 07:26 AM

Quote:

@allstar55: who knows how your browser determines size when the image is coming from a PHP script. Trust the numbers you see via FTP.
Can you fix it? That cost much traffic.

calorie 12-22-2005 01:01 PM

@indie: will put your requests on a think-about, might-do list, but for the second, maybe try a profile field as an alternative.

@nitro:
Code:

If I am on http://www.domain.com/portal/forums/index.php the first menu link is <a href="/portal/modules.php?name=Fig">Somewhere</a> which leads to
http://www.domain.com/portal/modules.php?name=Fig but your dupe dir is /portal/forums so when I'm on http://www.domain.com/portal/photoplog/index.php
that same first link in the menu becomes <a href="http://www.domain.com/portal/forums/portal/modules.php?name=Fig">Somewhere</a> because
<a href="/portal/modules.php?name=Fig">Somewhere</a> is a relative link. As <a href="/portal/modules.php?name=Fig">Somewhere</a> is meant to lead to
http://www.domain.com/portal/modules.php?name=Fig go into the templates and set the absolute link so that <a href="/portal/modules.php?name=Fig">Somewhere</a>
becomes <a href="http://www.domain.com/portal/modules.php?name=Fig">Somewhere</a> in the template. Remember that when PhotoPlog makes absolute links, it
prepends http://www.domain.com/portal/forums on the relative links, after removing dupe dir if present, but if this makes an incorrect link, then you need to
set the absolute link manually as no prepending of http://www.domain.com/portal/forums is done on absolute links.

@allstar55: look in the following directories via FTP:
  • /images/469/
  • /images/469/large
  • /images/469/medium
  • /images/469/small
Is the max still 96 KB for the image?

allstar55 12-22-2005 01:51 PM

Quote:

@allstar55: look in the following directories via FTP:
/images/469/
/images/469/large
/images/469/medium
/images/469/small
Is the max still 96 KB for the image?
Here you can see it :(


All times are GMT. The time now is 05: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.01781 seconds
  • Memory Usage 1,746KB
  • 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
  • (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