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)

Allan 12-27-2005 07:54 PM

Hey Calorie, great job as usual ;)

Three questions for you :p

1- Which are the differences between the pro version and the lite version ?

2- Will it have change or addition with the current version ?

3- A final version it is close ?

StarBuG 12-28-2005 07:26 PM

Hi

I think that selecting "no one" as category should be optional for the admin.
I myself donĀ“t want pictures outside of categories.
There should be an error "please select a category" or something.

Would that be possible?

calorie 12-28-2005 09:06 PM

@Allan: thanks, see post518

@StarBuG: in PhotoPlog's upload.php and edit.php files try:
Code:

// find the following:

        if ($photoplog_file_catid < 0)
        {
                $photoplog_file_catid = 0;
        }

// replace with the following:

        if ($photoplog_file_catid < 0)
        {
                photoplog_output_error($vbphrase['photoplog_no']." ".$vbphrase['photoplog_category']);
        }


Allan 12-28-2005 09:53 PM

File attach: French Language for version 1.0.6.1 ;)

KayDEE 12-29-2005 08:37 AM

Very nice addon calorie :)

Any idea how to apply a "specific" custom style to the gallery, so it better fits to vB ?
Would be very nice to have it in the "PhotoPlog Settings".

KayDEE 12-29-2005 09:00 AM

@StarBug
To remove the "no one" option, open functions.php and comment out the following lines with // at the beginning of the line.

Code:

        if ($parentid < 0)
        {
                $list_cats = array("-1" => $vbphrase['photoplog_no_one']);
        }

That way there will be just the "category names" in the dropdown menu.

StarBuG 12-29-2005 11:28 AM

Thank you.

I like the no one category because then the user has to decide which category fits and not upload all pictures into the first cat.

Is there a possibility to display more then 5 photos in the File List?

KayDEE 12-29-2005 11:56 AM

@StarBug

Open the PhotoPlog's index.php and search for

Code:

                        sanitize_pageresults($photoplog_file_tot, $photoplog_page_num, $photoplog_per_page, 5, 5);
fit the last 2 number to your needs ...

For example:

Code:

                        sanitize_pageresults($photoplog_file_tot, $photoplog_page_num, $photoplog_per_page, 10, 10);
will display 10 pics in File List on gallery home

calorie 12-29-2005 03:09 PM

@KayDEE: thanks, are you looking to have one style on the board and another style on the gallery?

kgirl 12-29-2005 03:22 PM

Quote:

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


I was getting this error too, and I'd set the chmod correctly, and its not in safe mode.

What caused it was that the PhotoPlog Directory and Upload Directory in the ACP weren't set to to the correct paths. I've adjusted them and it works.

Jaynesh 12-29-2005 03:41 PM

I have GD enabled but i still get this error..

Fatal error: Call to undefined function: imagetypes() in /home/vekaria/public_html/photoplog/functions.php on line 44

how can i fix it?

KayDEE 12-29-2005 03:53 PM

@calorie

Yeh, that's exactly what i was trying ... a seperate one for the gallery

Jaynesh 12-29-2005 04:10 PM

Also in the images folder, when i upload it creates a folder called '3' with the image i uploaded in there... why is this happening? maybe that is causing me that error..

KayDEE 12-29-2005 04:14 PM

@Jaynesh

that's your userid from vb

calorie 12-29-2005 04:18 PM

@Jaynesh: check phpinfo, see post3

@KayDEE: untested but try this bit...
Code:

style_fetch hook

if (defined('PHOTOPLOG_FWD'))
{
        $styleid = X; // X a number
}


KayDEE 12-29-2005 04:38 PM

@calorie

results in a Parse error with unexpected t_string

calorie 12-29-2005 04:46 PM

Code:

ACP -> Plugin System -> Add New Plugin

Product: PhotoPlog
Hook Location: style_fetch
Title: PhotoPlog Style Fetch
Plugin PHP Code:

if (defined('PHOTOPLOG_FWD'))
{
        $styleid = 1; // or 2 or 3 etc
}

Plugin is Active: Yes


Jaynesh 12-29-2005 04:52 PM

Quote:

Originally Posted by calorie
@Jaynesh: check phpinfo, see post3

@KayDEE: untested but try this bit...
Code:

style_fetch hook

if (defined('PHOTOPLOG_FWD'))
{
        $styleid = X; // X a number
}


What should i be looking for in phpinfo?
Ive got GD enabled but im still getting the error.
What shall i do :ermm:

KayDEE 12-29-2005 04:55 PM

argh .. i was trying to fit it in the php files :)

works perfectly ... thanks alot calorie

[high]* KayDEE hits install[/high]

calorie 12-29-2005 05:02 PM

@Jaynesh: save the following, named as a phpinfo.php file, FTP, call it from your browser, and search for GD. Do you see something like in the attachment?
Code:

<?php
phpinfo();
?>


Jaynesh 12-29-2005 05:19 PM

Errm.. i cant find the GD section but i definelty have GD on :S

KayDEE 12-29-2005 05:34 PM

@calorie

One more thing ... the style just applies to users logged in, but not to guests/unregistered, is it possible to set it global for all usergroups ?

calorie 12-29-2005 05:56 PM

@Jaynesh: check the FAQ at http://www.boutell.com/gd/faq.html and after editing php.ini remember to do a restart.

@KayDEE: untested but try the adding the bold piece:
Code:

if (defined('PHOTOPLOG_FWD'))
{
        $styleid = 1; // or 2 or 3 etc
        $vbulletin->options['styleid'] = $styleid;
}


KayDEE 12-29-2005 06:04 PM

@calorie

thanks again ... works like a charm :)

TOZ 12-29-2005 06:16 PM

$photoplog_forumhome is not working.
I have no thumbnails on my forumhome. I did get the Gallery link on the navbar but the Random thumnails will not even appear. I edited the FORUMHOME TEMPLATE as instructed.
Please help.

calorie 12-29-2005 06:48 PM

To see the thumbs, a usergroup needs 'can view files' permission.

indie 12-29-2005 08:35 PM

Any date on the Pro release? Also, it would be great if we didn't have to re-do phrases. I customized a lot of them. Thanks!

TOZ 12-29-2005 09:00 PM

Quote:

Originally Posted by calorie
To see the thumbs, a usergroup needs 'can view files' permission.

Usergroups are able for viewing, but i still not getting any thumbnails, not even the table for them. Rightnow i have made an HTML table for thumbnail, but is not the form PhotoPlog.

Any ideas why it wont the Thumbnails table show up ? Like I said the $photoplog_forumhome comand is on the Forumhome template.
Thanks

calorie 12-29-2005 09:34 PM

@indie: see post518

@TOZ: not sure if you are allowing guest viewing, but guests cannot currently view, so call admincp/index.php?do=buildbitfields to ensure its occurrence

TOZ 12-29-2005 09:41 PM

Quote:

Originally Posted by calorie
@indie: see post518

@TOZ: not sure if you are allowing guest viewing, but guests cannot currently view, so call admincp/index.php?do=buildbitfields to ensure its occurrence

Got it working !! thanks Calorie. The reason why it was not working is because the files uploaded were awaiting moderation.
Is there a place where you can change that and not have to confirm moderation ?

TOZ 12-29-2005 09:50 PM

Nevermind, i found it.
Thanks

ben_erhan 12-30-2005 08:28 PM

I have unistall this, but in usergruops options it makes an error.How can I solve problem,

Database error in vBulletin 3.5.0:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Webmaster',
`description` = '',
`usertitle` = 'Webmaster',
`opentag` = '<span style=\'font-weight:bold;font-family:Verdana;color:black\'>',
`closetag` = '</span>',
`passwordexpires` = '0',
`passwordhistory` = '0',
`ispublicgroup` = '0',
`canoverride` = '1',
`photoplogpermissions` = '0',
`photoplogmaxfilesize` = '',
`photoplogmaxfilelimit` = '',
`modpermissions` = '0',
`forumpermissions` = '1048575',
`attachlimit` = '0',
`pmquota` = '1000',
`pmpermissions` = '3',
`pmsendmax` = '1000',
`calendarpermissions` = '63',
`wolpermissions` = '31',
`adminpermissions` = '3',
`genericpermissions` = '4194303',
`genericoptions` = '31',
`profilepicmaxwidth` = '100',
`profilepicmaxheight` = '100',
`profilepicmaxsize` = '250000',
`avatarmaxwidth` = '200',
`avatarmaxheight` = '200',
`avatarmaxsize` = '0'
WHERE usergroupid=13;

MySQL Error : Unknown column 'photoplogpermissions' in 'field list'

calorie 12-31-2005 06:26 AM

Take a look in your /forum/includes/xml directory and remove any PhotoPlog XML files, if present, and then do: admincp/index.php?do=buildbitfields

ben_erhan 12-31-2005 07:32 PM

Quote:

Originally Posted by calorie
Take a look in your /forum/includes/xml directory and remove any PhotoPlog XML files, if present, and then do: admincp/index.php?do=buildbitfields


Thanks calorie,

It works well.

nexus851 01-01-2006 12:43 AM

Can you use this for member's personal gallery page? if so, can each member upload their own pictures in their own exclusive personal gallery ??

how does it work?

wrang 01-01-2006 07:07 AM

what the diffrent in PhotoPlog Lite and PhotoPlog Pro

calorie 01-01-2006 05:17 PM

@nexus851: /photoplog/index.php?u=X, X is vB userID, lists the uploads for that userID

@wrang: see post518

wrang 01-01-2006 06:03 PM

Quote:

Originally Posted by calorie
@wrang: see post518

Okey send me a PM then :rolleyes: what the diffrent are

ConKien 01-01-2006 11:19 PM

calorie, somehow the gallery replaced my header images from <img src="/main/image1.gif"> to <img src="http://mydomain/forums/image1.gif">. I don't know how this possible but it did. When I go to my photoplog at http://mydomain/photoplog, the header images did not show up.

My forum pull the images from /main/images/ directory, not from /forum/images as regular skin does, but I think since the forum works fine with the header, plugin/addon should be able to work also?

If I want to remove the forum navigation bar when enter the photoplog gallery, where should I go and edit? I look at the templates under Photoplog ACP but couldn't find the generic $navbar as vb templates used to display the navigation.

Thanks for a wonderful mini gallery! :)

Bests,
CK

furst 01-02-2006 09:24 PM

On my site when I go to the gallery either from a subdomain or from www when I dont have do=view in the url it redirects me to the main page of the gallery again. This is a problem becuase of the fact that I sometimes call the gallery via a subdomain and when it redirects it always throws it to www. Is there any way to prevent it from doing this?


All times are GMT. The time now is 05:07 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.02316 seconds
  • Memory Usage 1,824KB
  • 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
  • (10)bbcode_code_printable
  • (6)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