PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > vBGallery Support > vBGallery How Do I...?

vBGallery How Do I...? Need help figuring out how to do something with PhotoPost vBGallery? Post here to get help.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old January 9th, 2008, 02:37 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jan 2005
Location: Lafayette, CA
Posts: 30
Send a message via AIM to flavoflav Send a message via Yahoo to flavoflav
Talking Is anyone using VBdrupal and VBgallery together

And if so, have you gotten the Drupal Blocks to show on the VBgallery side?

I use this piece of code in my forums nav template, its placed right at the bottom:

<if condition="THIS_SCRIPT == 'drupal'">
<else /><!-- leftcolumn druapl block -->
<table border="0" width="100%" cellspacing="0" cellpadding="0" align="center">
<tr>
<td valign="top" width="202px">
$drupal_blocks[left]
</td>
<td width="10px"></td>
<td valign="top">
<!-- end leftcolumn drupal block -->
<else />
</if>

As you can see it pulls in $drupal_blocks[left]

When you look at the forums on my site it works great.

http://www.coastsidefishingclub.com/forum2

When you go to VBgallery

http://www.coastsidefishingclub.com/forum2/gallery

The left hand table loads, but the important parts are missing:

<if condition="THIS_SCRIPT == 'drupal'">
<else />

$drupal_blocks[left]


Seems like it wants to work.

Does anyone have any suggestions as to what I could do here to make this work?

Thanks

J -
flavoflav is offline   Reply With Quote
Old January 9th, 2008, 03:05 PM   #2 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
I have never tried it.

Was there a plug-in / product to integrate Drupal ?
How was it integrated with vBulletin? (php wise)

I do not know what good you are getting out of Drupal, but under high loads I have fear it will kill your server. There may be a config problem to cause those errors.

EX:
ForumHome: Queries Executed 127
forumdisplay: # Queries Executed 127

Every page has over 100 Queries per page load.

1 user looks at 1 page = 100 Queries to your SQL server
300 user online looks at 1 page = 30,000 Queries to your SQL server

Normally if the content is great people can look at 100's or 1000's of pages.


------------------------------------
PS: - an idea hit me on the query count

I have seen that before in vBulletin. in the /includes/config.php files cache was turned on for the datastore and the cache file the datastore uses is chmod 644 vs. 777 so all the cached queries are no longer cached. Once I changed the permissions on the datastore php file all was wonderful.

Last edited by Zachariah; January 9th, 2008 at 03:26 PM.
Zachariah is offline   Reply With Quote
Old January 9th, 2008, 05:11 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jan 2005
Location: Lafayette, CA
Posts: 30
Send a message via AIM to flavoflav Send a message via Yahoo to flavoflav
Quote:
Originally Posted by Zachariah View Post
I have never tried it.

Was there a plug-in / product to integrate Drupal ?
How was it integrated with vBulletin? (php wise)

I do not know what good you are getting out of Drupal, but under high loads I have fear it will kill your server. There may be a config problem to cause those errors.

EX:
ForumHome: Queries Executed 127
forumdisplay: # Queries Executed 127

Every page has over 100 Queries per page load.

1 user looks at 1 page = 100 Queries to your SQL server
300 user online looks at 1 page = 30,000 Queries to your SQL server

Normally if the content is great people can look at 100's or 1000's of pages.


------------------------------------
PS: - an idea hit me on the query count

I have seen that before in vBulletin. in the /includes/config.php files cache was turned on for the datastore and the cache file the datastore uses is chmod 644 vs. 777 so all the cached queries are no longer cached. Once I changed the permissions on the datastore php file all was wonderful.
Yea the queries do worry me a bit as well.

VBdrupal is installed at a product - it sits in the mange products area.

I like drupal for the content managment side of things, but I must have VBgallery working.

J -
flavoflav is offline   Reply With Quote
Old January 9th, 2008, 05:53 PM   #4 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
Shoot me some AdminCP access in a PM, I'll take a look.
Zachariah is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
vBGallery jfspam2 Before You Buy 1 November 26th, 2007 08:25 AM
Hey new vBGallery users: How long did it take you to install vBGallery? edprush Installs and Upgrade - vBulletin 3.6x 11 January 29th, 2007 02:08 AM
vbgallery goga123 How Do I? - vBulletin 3.6x 1 January 24th, 2007 05:20 PM
vbGallery 2.0 tmhall Before You Buy 2 August 8th, 2006 10:32 AM
VbGallery rrokdoka Before You Buy 2 September 20th, 2005 05:46 PM


All times are GMT -5. The time now is 06:26 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0