View Full Version : Vb integration issue Photopost Style lost?

January 10th, 2005, 12:09 AM

VB3 3.0.5 and photopost 4.86.
After first upgrading from 4.82 to 4.86 (had that one working as should)
I installed vb3. Gave up the right paths, used the photofeature hack so far so good. Looks great.


Where is the full vb3 layout when i go to photopost galleries? (as in photodev)
Yes everything is set in admin area to integrate vb3 layout

But I get partial layout. I get the vb3 wrapping, menu on top, footer etc, but my categorie columns and photocollumns are naked, not a single table line in sight. It's just like text and photos on white paper.

Does someone know what I did wrong?


January 10th, 2005, 08:24 AM
Yes, I configured config-int.php.

As I can put it best, it's almost if not using the vb3 templates in the templates folder.
No did not rename the templates folder.

One more thing vb3 is in root as pp is in a subfolder called photos, both use same db.
But I guess that doesn't matter.

Chuck S
January 10th, 2005, 10:31 AM
How about admin section of Photopost Forum Settings

Use Forum Style Integration?


January 10th, 2005, 02:27 PM
Use Integrated forum stylesheets?
If you use a forum like vB3 or Threads and want to use the intergated stylesheet option, choose Yes

Do you want to enable the vB3 Integration which uses your vB3 headers, footers and styles? On
Do you want to enable the vB3 Enahnced features which use vB3 controls in PhotoPost? On
If using the Enhanced option above, do you want to enable the vB3 WYSIWYG control in Post Comments? On

They are all active from the beginning, that's why I can't figure out what's wrong

Chuck S
January 10th, 2005, 05:14 PM
well its not like you gave me a forum to look at to suggest anything

however with what your describing in admin area forum settings this

Use Integrated forum stylesheets?
If you use a forum like vB3 or Threads and want to use the intergated stylesheet option, choose Yes

you have to have this set to NO if you have no style showing set that to yes

Chuck S
January 10th, 2005, 05:19 PM
I just saw your other thread here


If you do not have your user intergration set to vb3 and everything else is set to yes your not going to get a style as your integration is photopost still.

I had on other user who had a thread similar to this and finally saw he was not even using vb3 integration

January 10th, 2005, 05:26 PM
hehe, you're right omegatron. :d

Well I think i've found the reason why this happens.
I had an existing PP 4.82 that I've upgraded just yesterday following the instructs.
Bought latest version of vb3 and installed it.

Because I had PP in root I wanted to move it to a subdir called "photos"
Vb3 then came in root.

SO I had to manually override settings from in phpmyadmin.
I re-entered the phew users I had in the original PP users table => vb3 through admincp

It was just when I tested new user reg, I came to think of it. Photopost settings were still using photopost internal reg system.
When i changed to vb3 I got another error BUT PP came to a full VB3 layout. :D

Now about this new error:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in homexposingpublic_htmlphotosforumsvb3.php on line 54

Can you tell me where this is coming from? I'll Pm you the site address (since it's xxx and I want to keep the board clean for others)

Chuck S
January 10th, 2005, 05:40 PM
Well for one why does your path have no slashes?

that line in that file is this

function get_totalusers() {
global $Globals, $db_link;

$query = "SELECT data FROM {$Globals['dprefix']}datastore WHERE title = 'userstats'";
$queryv = ppmysql_query($query, $db_link);
$results = mysql_fetch_array($queryv);
$userstats = unserialize($results['data']);

return( $userstats['numbermembers'] );

Is that query valid?

January 10th, 2005, 06:07 PM
I dunno :s
What do you want me to do?

January 10th, 2005, 06:20 PM
I don't know why path had no slahes, I've noticed this too

January 10th, 2005, 07:14 PM
Hello Omegatron,

Tell me what I need to do please or refer me to a correct posting cause I am a customer who is stuck here.

Thank you

Chuck S
January 10th, 2005, 07:30 PM
Your can PM me your admin login to look at your install.

Chuck S
January 11th, 2005, 10:25 AM
Here is what you did

You set your forum to use VB3 integration but did not set the table prefix.

January 11th, 2005, 10:29 AM
If you mean vb3_ I thought I had that set?
What file should have been changed?

Chuck S
January 11th, 2005, 10:38 AM
In the mysql settings table line 83

admin area forum settings

January 11th, 2005, 11:18 AM
you're the greatest :D