vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Add PhotoPost Pro to each forum. (https://vborg.vbsupport.ru/showthread.php?t=112105)

Zachariah 07-18-2006 04:15 PM

Quote:

Originally Posted by chriszep
hello
I have photopost 5.30 & vb 3.51
I see in my admin cp the options for inserting photopost
I done all step but in my forum I see nothing (no black thumb, nothing )
I used a fresh style (just change colour)

I edit the
Quote:



thanks

Hello,

Each forum has a setting to choose witch gallery category(s) to pull images from.

AdminCP => Forums & Moderators
- Forum Manager | Edit a forum
- Add New Forum

At the bottem of the setting page of each forum.

https://vborg.vbsupport.ru/attachmen...4&d=1144112758

chriszep 07-18-2006 06:19 PM

Quote:

Originally Posted by Zachariah
Hello,

Each forum has a setting to choose witch gallery category(s) to pull images from.

AdminCP => Forums & Moderators
- Forum Manager | Edit a forum
- Add New Forum

At the bottem of the setting page of each forum.

https://vborg.vbsupport.ru/attachmen...4&d=1144112758


hello I have this and I completed it
if I put wrong categorys , what will happen ? an error on forum home or nothing appear ?

Ophelia 07-19-2006 04:19 PM

Our gallery is set up to not use any adornments on the thumbs, just to show flat thumbs. Out of the box install on this one puts rounded corners and a drop shadow on the thrumb. How would we go about removing those?

top end ms 09-18-2006 05:39 AM

Quote:

Originally Posted by Zachariah
[B][SIZE="4"]
Why do I get a header of the box and not images ?

- photopost/config-int.php

Code:

// If your PhotoPost tables have a prefix, put it here
// Example:
// pp_ = "pp_";
$pp_db_prefix = "pp_";

Default prefix.


Excelent way to ruine the PhotoPost software.

"// NOTE: This variable can only be set PRIOR to your first installation of PhotoPost;
// existing databases will not be changed and you will be unable to connect if you change
// this variable after performing a default installation."

Looks like I have to REINSTALL EVERYTHING NOW!!! Good lookin'

Zachariah 09-20-2006 05:12 PM

Quote:

Originally Posted by top end ms
Excelent way to ruine the PhotoPost software.

"// NOTE: This variable can only be set PRIOR to your first installation of PhotoPost;
// existing databases will not be changed and you will be unable to connect if you change
// this variable after performing a default installation."

Looks like I have to REINSTALL EVERYTHING NOW!!! Good lookin'

This does not ruine anything.

photopost/config-int.php

Standard setup EX:
Code:

//-----------------------------------------------------------------------------------//
// Forum Integration Configuration File
//
// For users using our forum integration files, there are a few things
// we need to know - like the location of PhotoPost and your forums; this
// prevents us from doing alot of extra processing in these scripts we otherwise
// would have to do.
//
// Follow the guides to set your paths and enable the integration options you
// want.
//-----------------------------------------------------------------------------------//

// We need to know the server paths to both your vB installation and your PhotoPost installation
$vbpath  = "/www/pp/forums";
$pppath  = "/www/pp/pro";

// We need the URL path to your PhotoPost and vb installation
$url_path = "http://192.168.0.4/pro/";
$vb_urlpath  = "http://192.168.0.4/forums/";

// The URL of your photo dir where your images are stored (with / at end)
$data_dir = "http://192.168.0.4/pro/data/";

// If your PhotoPost tables have a prefix, put it here
// Example:
// pp_ = "pp_";
$pp_db_prefix = "pp_";


chriszep 09-26-2006 12:50 PM

Quote:

Originally Posted by Zachariah
Hello,

Each forum has a setting to choose witch gallery category(s) to pull images from.

AdminCP => Forums & Moderators
- Forum Manager | Edit a forum
- Add New Forum

At the bottem of the setting page of each forum.

https://vborg.vbsupport.ru/attachmen...4&d=1144112758


I found the problem after several headech , I need to put vb & photopost or it's not working , I do everything but with my slq base it doesn't works, now with everything on the same that 's good
great works !

jwashburn 09-29-2006 04:33 PM

I cant seem to get anything to appear

image count 4
image order 1
category 500
show imagebit yes

kbb 11-06-2006 02:09 PM

I seemed to have installed everything correctly and have the photopost box displayed at the top of my selected forum but there are no images displayed? Any ideas? The url is http://www.kernowbodyboarding.co.uk/...isplay.php?f=1

Liquid1ce 11-06-2006 02:55 PM

^^ i have exacly the same error

cavyspirit 11-08-2006 12:28 AM

Also trying to get this to work with PP5.5 and vB3.6

Cocko 11-10-2006 08:42 AM

Quote:

Originally Posted by TheOutdoors
I've reinstalled this 3 times and I'm getting the same error. When I go to edit a forum to update the settings, and click Save, I receive the error "MySQL Error : Unknown column 'ppgcount' in 'field list'"

I uncommented out the lines in inc_vbcat.php to point to my PP database (it's separate from my VB database), but I still get this error.

It's like the database table wasn't updated properly with the new fields...what do I do next?

have the same error

running vb 3.6.2, pp 5.5
same sql for both pp & vb

somebody found out ?
(see below)

---

Datenbankfehler in vBulletin 3.6.2:

Invalid SQL:
UPDATE forum SET
title_clean = 'Intern',
title = 'Intern',
description_clean = '',
description = '',
link = '',
displayorder = 1,
parentid = -1,
daysprune = -1,
defaultsortfield = 'lastpost',
defaultsortorder = 'desc',
showprivate = 0,
newpostemail = '',
newthreademail = '',
### Bitfield: forum.options ###
options = IF(options & 8, options - 8, options),
options = IF(options & 16, options - 16, options),
options = IF(options & 32, options - 32, options),
options = IF(options & 32768, options - 32768, options),
options = IF(options & 8192, options, options + 8192),
options = IF(options & 4, options - 4, options),
options = IF(options & 1, options, options + 1),
options = IF(options & 2, options, options + 2),
options = IF(options & 16384, options - 16384, options),
options = IF(options & 256, options, options + 256),
options = IF(options & 64, options, options + 64),
options = IF(options & 128, options, options + 128),
options = IF(options & 512, options, options + 512),
options = IF(options & 1024, options, options + 1024),
options = IF(options & 2048, options, options + 2048),
options = IF(options & 4096, options, options + 4096),
options = IF(options & 65536, options, options + 65536),
styleid = 0,
password = '',
agelock = '0',
agelock_age = '',
agelock_method = '0',
allow_sff = 1,
sff_data = '-1',
whoquotedme = 1,
forum_hlfg = '0',
ppgcount = '',
ppgorder = '',
ppgcat = '',
ppginfo = '0'
WHERE forumid = 3;

MySQL-Fehler : Unknown column 'ppgcount' in 'field list'
Fehler-Nr. : 1054
Datum : Friday, November 10th 2006 @ 11:34:17 AM
Skript : http://www. --- /vb3/admincp/forum.php?do=update
Referrer : http://www. --- /vb3/admincp/forum.php?do=edit&f=3&s=
IP-Adresse : ---
Benutzername : Cocko
Klassenname : vB_Database_MySQLi

Cocko 11-18-2006 10:11 PM

fixed issue with database additions.

forums configuration enabled with categories and number of shown images
but nothing happens in forums view.

this hack is worth to work on it until its running.

any hints about ?

Cocko 11-22-2006 04:42 PM

any ideas for vb 3.6.3 ?

Zachariah 11-22-2006 05:35 PM

I have not looked @ this in a while as I do not own the product, but ill take a look @ the errors and see about a re-wright where many setting can be edited in the AdminCP.

Cocko 11-25-2006 07:29 AM

Quote:

Originally Posted by Zachariah (Post 1123134)
I have not looked @ this in a while as I do not own the product, but ill take a look @ the errors and see about a re-wright where many setting can be edited in the AdminCP.

seems a little bit harder to re-code ?
(pp 5.5 / 5.6 to vb 3.6.x)

Zachariah 11-25-2006 01:34 PM

Quote:

Originally Posted by Cocko (Post 1124683)
seems a little bit harder to re-code ?
(pp 5.5 / 5.6 to vb 3.6.x)

No, its not hard just getting the chance to do it :D

Cocko 11-26-2006 09:19 AM

i'm wating ;)

Cocko 12-08-2006 05:25 PM

weeks later *lol*

seems that there are no news for this hack..

Zachariah 12-08-2006 06:04 PM

thanks for the nudge :)
- my time gets thin @ times working on vBGallery, vBPortal, shoutcast stuff.

And outside ... in the Sun. I did not know the thing was still out there for the last 3-4 months. :laugh: :cool:

I will get back on it. I am reworking my website so that I can cover support on all the issues. vs 25 websits. :D

SherryG 12-15-2006 05:57 PM

This looks like a terrific hack! Any chance on getting this one for 3.6.4?

smoknz28 12-15-2006 11:21 PM

Sherry, I think he intends on working with 3.6.x...but from the post prior to yours...looks like he's swamped with other priorities. I'm with ya though...patiently waiting. ;)

Rik Brown 12-24-2006 03:58 AM

Just attempted an install and get the following error message when trying to save forum information:

Unknown column 'ppgcount' in 'field list'

I've seen references to this error in previous messages but no indication on how to fix it. Has anyone who has encountered this figured out how to fix it?

If so, please advise. Thanks. -- Rik

BTW, I have my PP and VB databases installed in the same directory. I'm running vb 3.6.4 and PP 5.31.

Rik Brown 01-13-2007 11:04 PM

Re: Unknown column 'ppgcount' in 'field list'

I came back for a 2nd attempt at installing this very nice mod and found that the plugin xml file simply wasn't adding any of the 4 required columns to our "forums" table.

In our case, the problem was with the ... NOT NULL DEFAULT '' statement which created SQL syntax error messages by mySQL. By removing the DEFAULT '' and running the queries manually (didn't attempt to alter the XML file for which this change should also work) everything is now fine.

FYI, we are running mySQL 5.0.24-standard and vb 3.6.4.

Hope that helps others and thanks to Zachariah for a really neat mod!

Cheers! -- Rik

Spika 01-30-2007 08:47 AM

Hello, this MOD is for Photopost Pro o Photopost VBGallery?
Inside the readme.txt I see this:

This hack will allow you to select witch catagories from Photopost vBGallery...
Thanks

Spika 01-30-2007 09:32 AM

I have installed and I get this error in the forum I have enabled album:

Warning: main() [function.main]: open_basedir restriction in effect. File(/config-int.php) is not within the allowed path(s): (/var/www/vhosts/gstrail.es/httpdocs:/tmp) in /var/www/vhosts/gstrail.es/httpdocs/photopost/inc_vbcat.php on line 15

Warning: main(config-int.php) [function.main]: failed to open stream: Operation not permitted in /var/www/vhosts/gstrail.es/httpdocs/photopost/inc_vbcat.php on line 15

Fatal error: main() [function.require]: Failed opening required 'config-int.php' (include_path='.:') in /var/www/vhosts/gstrail.es/httpdocs/photopost/inc_vbcat.php on line 15


I have installed Vbulletin 3.6.4 and Photopost Pro 5.62. in a VPS.
If is a permission problem in PHP.info I have safemode LOCAL: Off / REMOTE: On

Thanks in advanced

Spika 02-23-2007 01:08 PM

Anyone can help me about the above post?

DaveS 03-04-2007 08:11 AM

Just to note down my experiences.
I have vBulletin 3.6.4 and Photopost Pro 5.6.2
I have vB installed in root/forums and Photopost installed in root/photopost
I've installed the mod straight as it stands and followed the install instructions.
It installed perfectly, but thumbnails didn't display at all.

After some investigation I saw that the thumbnail URL was not formed properly.
I edited the inc_vbcat.php file that goes in the Photopost folder and made the following corrections.

From:
PHP Code:

<td style="background: url({$data_dir}{$pcat}/thumbs/$photo

To:
PHP Code:

<td style="background: url({$data_dir}/{$pcat}/thumbs/$photo

Note the added slash between the {$data_dir}{$pcat}. The above correction needs to be made in 2 places, when you open up the file to edit it should be easily apparent where they are as they are close together.

Hope this helps someone with the same problem.
Mod works a treat though and is really great.

Rik Brown 03-04-2007 09:36 PM

We use a popular hack to create a left column for our forums. I'd like to move this hack so that it would display in that left column instead of its current placement. I assume that would require a new "hook." Does anyone know how to accomplish that?

Thanks. -- Rik

Quantnet 03-30-2007 11:21 PM

Can this mod be used to show photo on the Forum Home only ?

Z82 04-18-2007 08:51 PM

Quote:

Originally Posted by DaveS (Post 1195345)
Just to note down my experiences.
I have vBulletin 3.6.4 and Photopost Pro 5.6.2
I have vB installed in root/forums and Photopost installed in root/photopost
I've installed the mod straight as it stands and followed the install instructions.
It installed perfectly, but thumbnails didn't display at all.

After some investigation I saw that the thumbnail URL was not formed properly.
I edited the inc_vbcat.php file that goes in the Photopost folder and made the following corrections.

From:
PHP Code:

<td style="background: url({$data_dir}{$pcat}/thumbs/$photo

To:
PHP Code:

<td style="background: url({$data_dir}/{$pcat}/thumbs/$photo

Note the added slash between the {$data_dir}{$pcat}. The above correction needs to be made in 2 places, when you open up the file to edit it should be easily apparent where they are as they are close together.

Hope this helps someone with the same problem.
Mod works a treat though and is really great.


Did this, made the db config changes in inc_vbcat.php and enabled it in a couple of forums inyet I get absolutely nothing on my site :?

Anyone got any ideas?

Z82 04-22-2007 04:51 PM

Anyone?

Z82 04-22-2007 05:31 PM

Ahh I sussed it, I had the wrong URL in the hook but my next question is how do I just get this on Index page?

VViper 05-27-2007 10:24 AM

Hi There, what a wonderful mod, i love it it works fantastic and was just what i needed.
Thankyou for your hard work and excellent modification. You are truely a guru.

My hat goes off to you. :)

VViper 06-05-2007 12:01 PM

Hi Zac i had trouble finding the thread again.

I cannot get the images to display. It shows the category but not the images.

any ideas?

I am running 3.6.7 VB and latest Photopost.

Its an awesome mod, but it was a shame i had to upgrade VB3.6.7 :(

Do you have time to fix this wonderful mod.

Zachariah 06-05-2007 12:35 PM

Quote:

Originally Posted by VViper (Post 1261709)
Hi Zac i had trouble finding the thread again.

I cannot get the images to display. It shows the category but not the images.

any ideas?

I am running 3.6.7 VB and latest Photopost.

Its an awesome mod, but it was a shame i had to upgrade VB3.6.7 :(

Do you have time to fix this wonderful mod.

Are the images black or just not there ?

b6gm6n 06-05-2007 02:24 PM

works for me...latest vB no changes!

VViper 06-06-2007 12:56 PM

Hi zac, the images are just not there.
The thing appears to be collapsed.

VViper 06-11-2007 09:13 AM

He there zac here is an example from the site.

http://www.gpcricket.com.au/forum/forumdisplay.php?f=35

I dont know why it doesnt show, your other mod for the forum home works a treat.

This is a really good mod i just wish it would work :(

waiting in anticipation VV

yotsume 08-26-2007 07:48 AM

WOW this thread has been dead for a while!

To bad this works great on the latest everything! My question is how can I add this to my forum home and also on my vbadvanced home as a module.

Hope soemone can help...

Yotsume

yotsume 09-23-2007 01:55 PM

I have this installed on vbulletin 3.6.8 and Photopost 6. When the mod is enabled I can not edit forums and get this error: MySQL Error: Unknown column 'ppgcount' in 'field list'
Error Number : 1054

How can I fix this so it runs on my board? When I deactivate the mod I can edit forums again.

Love this mod and need it bad! Thanks!


All times are GMT. The time now is 08:39 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.02826 seconds
  • Memory Usage 1,850KB
  • 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_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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