vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   New Posting Features - Cel Photo Popup - Insert pictures from vB Albums, Attachs, Photopost, vBGallery (https://vborg.vbsupport.ru/showthread.php?t=243865)

cellarius 06-02-2010 10:00 PM

Cel Photo Popup - Insert pictures from vB Albums, Attachs, Photopost, vBGallery
 
1 Attachment(s)
Important!
Old editor (vB 4.1.3 and below): use 4.0.008!
New editor (vB 4.1.4 and above): use 4.1.00x!


What does it do?

When creating or editing a post, your users can open a popup window that will show them their pictures in the chosen gallery, albums or attachment system.


Detailed features listUpgrade from vB3 version
Please uninstall the old version at AdminCP->Plugins & Products->Manage Addons. Also remove all files you uploaded for the vB 3 version apart from the editor icon, which will be reused. This will be /photo_popup.php and all /includes/photo_popup_config_[product].php files, relative to your forum root. Then follow the installation instructions below.


Installation
  1. Extract the archive.
  2. Choose the products you want to use and rename the configuration files in _UPLOAD/includes/cel/cel_pp_config from .php_new to .php
  3. If you're using Photopost Pro, you need to fill in some crucial information into the config file. Please see the config file for more information.
  4. Upload the contents of folder "_UPLOAD" to your forum root. Note how the folder structure mirrors the folder structure in your forum root, so every file will be in the right place.
  5. Now the Photo Popup and your chosen product configuration files will be present with default settings on your server. Later on, you may want to make adjustments there.
  6. Install the product file at AdminCP->Plugins & Products->Manage Addons.
  7. Template edits?
    • If you are using new editor, you're done.
    • If you are using old Editor and Template Modification System (TMS), you're done.
    • If none of the above two conditions apply to you, do the template modifications explained in _DOCS/OLD_EDITOR_ONLY-template_edits.txt manually for the editors you want the popup accessible from.
Basic ConfigurationUpgrade
  • If upgrading within the vB4 series, just reimport the product-xml-file, overwriting the old version, and reupload all files (skip the icon if you're using a custom one).
  • Most times you will be done, but please check in _DOCS/config_file_versions.txt whether the config file for one of the products you use has been changed since you last updated.
  • If the config file for one of your products has been updated, rename _UPLOAD/includes/cel/cel_pp_config from .php_new to .php and transfer your custom settings from your current config file to the new one. Then upload it to your server.
Support and debugging

Please note the information in this post of this thread.


Version history
For older versions see the vB3 version of this Mod.
### 4.1.004 ###
fixed several bugs, text-button re-added (full list)
### 4.1.002 ###
button not showing issue resolved
### 4.1.001 ###
adapted to new vB editor, added workaround for image spacing
### 4.0.004-008 ###
bugfix releases
### 4.0.003 ###
initial release
new (core): completely rewritten code
new: categories/user albums/folders listed hierachically in albums dropdown
new: Photopost Pro and vBGallery permissions for categories
new: global permissions check
new: cache system for albums dropdown
new: override all product related AdminCP-Settings in the product config file.



** Please note that the config files for Photoplog and CND Garage have not been converted. I do not have access to vB4 versions of those two softwares for testing and developing. Whether this will change in future, I don't know - at the moment, apart from having no software access, I'm very much out of time. Anyway, the config files are not too hard to figure out and there is a short introduction to adapting them. Please feel free to convert or develop for other software, if you like, and submit to this thread or to me personally by PM.


### Don't forget to click install! ###

(No support if you don't)

cellarius 06-03-2010 11:39 AM

Detailed features list

Please note that not all features are available with all products. Not all products provide for every one of them.
  • works with vB's attachment system, the integreted album system and/or Photpost Pro and vBGallery. Decide which of them you want to use, or use them all.
  • active in main editor, quickreply and quickedit
  • up to 10 different options in what way to insert the images, you decide which to use
  • decide whether you want to let your users filter the images shown in the popup by albums/categories; the relevant dropdown will hierarchically mirror your album/category structure; eventual permissions will be applied
  • define common folders/categories. The images inside those will be accessible by every user.
  • code mode (by user group) to only show insertion code instead of actually inserting
  • stores the settings/filters the user uses in the popup in a cookie that stays valid for the session
  • the script will detect whether editor is in wysiwyg or codeview-mode and act accordingly, so that in wysiwyg-mode the actual image will be visible
  • the script will auto-close once the user saves his post
  • supports gallery product installation in a different database than vB's
  • Fully phrased

cellarius 06-03-2010 11:39 AM

Product Configuration

It's quite straightforward, really. For most products you won't have to open the config files at all.
  • Additional to the global configuration settings in AdminCP->Options->vBulletin Options->Cel Photo Popup you can make settings in the config file fore every product seperately. The config file can be found at /includes/cel/cel_pp_config folder. All config files are named cel_pp_config_[name of product].
  • You can check this list if there is anything that you want or have to do in the config file. All settings are explained in the config files in detail, too.
    There are mandatory settings only for Photopost Pro. For all other products, you can skip the rest of this point, if you want to. There may be some explanations how configuration works for your product, however.
    • All products:
      • Override your AdminCP settings for every product in the config file.
      • Set a list of public categories/albums for all of your users to access
    • Photopost: For this product, there are several mandatory settings to be done:
      • $url_path: The URL to the directory where your gallery index page resides (starting with http://)
      • $data_dir: The URL to the directory where Photopost stores the uploaded images (default is subdirectory data in the gallery root
      • $db_prefix: The Prefix used in the Photopost database. Default is "pp_".
      • if you have a different database, you have to provide the settings for database name, host, user and password.
    • vBGallery:
      • Photo Popup determines whether your vBG is configured to run in safe mode environment. If this is the case, the folder structure in your data directory is different. The script will adapt accordingly.
        Example: data folder for user 1234. Safe mode on will result in a folder structure 1/2/3/4, while safe mode off will leave it at 1234.
      • VBGallery can be configured to save the original image files when uploading. If this is the case, Photo Popup will automatically link these original files to the insert options for "original" images. The image size used on vBG pages will be linked to "medium" options. If vBG does not safe original images, the size used on vBG pages will be linked to "original" and "medium" options will be deactivated.
Files, templates and phrases

Files:
------
photo_popup.php
includes/cel/cel_pp_cless.php
includes/cel/cel_pp_class_albums.php
includes/cel/cel_pp_class_attachments.php
includes/cel/cel_pp_class_photopost.php
includes/cel/cel_pp_class_vbgallery.php
includes/cel/cel_pp_debug.php
includes/cel/cel_pp_functions.php
includes/cel/cel_pp_config/cel_pp_config_albums.php
includes/cel/cel_pp_config/cel_pp_config_attachments.php
includes/cel/cel_pp_config/cel_pp_config_photopost.php
includes/cel/cel_pp_config/cel_pp_config_vbgallery.php

AdminCP:
--------
vBulletin Options Group: Cel Photo Popup
Phrases: prefixed cel_pp
Template: cel_photo_popup
CSS-Template: cel_photo_popup.css

For translations vB3->vB4 see next post.

cellarius 06-03-2010 11:43 AM

Support and debugging

Ill help whenever I find the time. Please help me by doing the following:
  • Before asking, please activate debug mode in AdminCP. Debug information is only shown to Administrators (usergroup 6). Always state the products you use. Some hints:
    • When posting the information given there, please do so using [code]debug info[/code]-BBCode to keep this thread clear. Thank you!
    • Please try the two links given (if present) - do they look "normal" and do they work?
  • I may ask you to provide AdminCP, FTP and Database access. I realize this requires quite some trust, but up to now I managed neither to crash any boards nor to steal any data. So, if you're willing to do so, I promise to behave and be cautious, but won't be liable for anything ;):
    • Regarding the Admin Account to your forum, please make sure it has the necessary administrator permissions so I can access the options page and the template system.
    • I will need FTP access to your forum on root level.
    • If necessary, I may upload a small mysql tool called adminer to access your database.


A note on vBGallery and Photoplog support

I have installed vBGallery only in a local testing environment. Please note that I can only give limited support. CND Garage and Photoplog which were previously supported I do have no access to in vB4 versions, so at the moment they will not be converted.


A note on "conflicts" with other editor/quickreply/quickedit mods

Normally, there should be no fundamental conflict. The template edits for this mod do nothing but to add an additional button to the toolbar in quickreply and quickedit and a link to the main editor.
However, if other mods you have installed already induced template changes there, you might have to adapt the template changes accordingly. A good solution might be to melt the template changes for this mod into the template changes for the other. I'm afraid I'll not be able to help you there, since I do not have those mods installed. But ask away here or, perhaps even more promising, in the thread for the other mod, perhaps anyone else has.Please take note of this post here, too.
On principle, you should be able to add the link that opens the popup anywhere within the various editor-tamplates in any form you like - whether you put up text or the button in front of the link, doesn't really matter. What you essentially need is a link like this one somewhere within the editor:
HTML Code:

<a href="#" onclick="window.open(getBaseUrl() +  '/photo_popup.php?{vb:raw session.sessionurl}e={vb:raw  editorid}','fotos','scrollbars=yes,resizable=yes,width={vb:raw  vboptions.cel_pp_width},height={vb:raw vboptions.cel_pp_heigth}');  return false" title="{vb:rawphrase cel_pp_insertlink}">{vb:rawphrase  cel_pp_my_photos}</a>
If you don't want text, remove "$vbphrase[photo_popup_insert]" and replace it with the editor image "$vbphrase[photo_popup_insert]" - or anything else.


Note for translations vB3 -> vB4


The prefix for phrases has changed from photo_popup_ to cel_pp_. You should be able to do a search/replace easily. There have been no new phrases introduced (If I didn't overlook anything).

Xencored 06-03-2010 11:50 AM

Ahhh About time thanks alot mate will try this in 10 mins :) and report back^^

Thanks

Xencored 06-03-2010 12:05 PM

Right mate problem
After clicking "my photos"

gives double "/"
http://www.myanimeisland.com//photo_popup.php?e=vB_Editor_001

cellarius 06-03-2010 12:13 PM

Ah, thanks for the notice, will fix it immediately. Package temporarily removed to do so.

Xencored 06-03-2010 12:16 PM

Quote:

Originally Posted by cellarius (Post 2047597)
Ah, thanks for the notice, will fix it immediately. Package temporarily removed to do so.

hehe nps give us a buzz on the reupload :up:

cellarius 06-03-2010 01:49 PM

Sorry for the delay, package back up. Squashed another bug, too :)

Please reupload the files, reimport the product and if you did template edits find
HTML Code:

/photo-popup.php?
and manually remove the leading slash.

Xencored 06-03-2010 01:58 PM

Thanks alot mate top mod

cellarius 06-03-2010 02:10 PM

Thanks :) Let me know should you find further bugs. (I hope there arn't *lol*)

patrick91 06-03-2010 03:40 PM

Thank you very much! finally it's here will install it tonight...:D klicked Installed, MOTM and rated 5 stars!

cellarius 06-03-2010 03:51 PM

OK, here's some info about the CMS issues. Because of those the photo popup mod is at the moment not officially supported for use in CMS.
The editor does somehow change the urls of the inserted code and thus breaks links, and it does try to convert attachments/album pics into [attach]-code, which does go wrong somehow. If you want to try for yourself, do the same edit as for every other editor to vbcms_editor_toolbar_on, which will make the popup available.

cellarius 06-03-2010 03:55 PM

Quote:

Originally Posted by patrick91 (Post 2047723)
Thank you very much! finally it's here will install it tonight...:D klicked Installed, MOTM and rated 5 stars!

Thank you :)

cyberbob73 06-03-2010 04:13 PM

Irgendwie funktioniert die Zusammenarbeit mit Photopost nicht :mad:

Hab die cel_pp_config_photopost.php zwar angepasst, aber ich bekomm beim Aufruf im Editor immer einen DB Fehler.

Hier mal meine cel_pp_config_photopost.php

Quote:

/*##########################
##### Special settings #####
################################################## ##############################
#
# Below, you will find special settings for this product. They need to be
# filled in.
*/

// The values for the following settings can be found in Photopost Administration
// Center

// Full URL path to Gallery: http://www.yoursite.com/path/to/gallery/
//
$url_path = "http://www.meinewebseite.de/forum/photopost/";
//
// Full URL path to Data Dir: http://www.yoursite.com/path/to/gallery/data/
// Look for this in PP-Administration->Global Options->URL to PhotoPost data directory
//
$data_dir = "http://www.meinewebseite.de/forum/photopost/data/";
//
// Table prefix. pp_ is the default setting.
// You may have changed this on installation of Photopost Pro.
// Look for this in PP-Administration->Edit Config->PhotoPost Database Prefix
//
$db_prefix = "pp_";

//
// ### If your vB and Photopost run from the same Database, ###
// ### skip the following. To use different database, set ###
// ### $pp_other_db to TRUE and fill in the variables ###
//
// Set to TRUE if using different database for vB and PP
$other_db = TRUE;
// Database Name
$db_name = "db28xxxx_3";
// Database Host
$db_host = "mysql5.meinewebseite.de";
// Database Username
$db_user = "db28xxxx_3";
// Database Password
$db_pass = "meinPW";

// Enter a comma seperated list of category/album ids. The categories/albums
// will be made available to all users. This allows you to offer an image
// repository to your users.
// Example: $public_ids = "4,8,10";
//
// $public_ids = "";
Was mach ich falsch :confused:

Globe 06-03-2010 04:43 PM

it would be cool if it supports photoplog

Kolbi 06-03-2010 04:45 PM

Will DTO Garage Plus be integrated after there vB4 release?

cellarius 06-03-2010 05:07 PM

Quote:

Originally Posted by cyberbob73 (Post 2047746)
Hab die cel_pp_config_photopost.php zwar angepasst, aber ich bekomm beim Aufruf im Editor immer einen DB Fehler.

Hier mal meine cel_pp_config_photopost.php

Was mach ich falsch :confused:

You should post in english, if possible, as this is the language of this forum ;) I have a PPP setup with a different database up and running. To help you with a database error, it would be helpful to know what the error says.

cellarius 06-03-2010 05:09 PM

Quote:

Originally Posted by Globe (Post 2047754)
it would be cool if it supports photoplog

As stated I do not have access to Photoplog. I don't say it won't happen, but at the moment there are no concrete plans.

Jesh 06-03-2010 05:10 PM

Hello I am trying to do photopost only integration. My gallery is rather large:

http://www.coinforums.com/gallery

Do I need to set public ID's for this in config_photopost? If so, where can I get this list?

Right now I click on the insert image icon, and it says I have no photos uploaded :(


Thanks :)

cyberbob73 06-03-2010 05:13 PM

Quote:

Originally Posted by cellarius (Post 2047764)
You should post in english, if possible, as this is the language of this forum ;) I have a PPP setup with a different database up and running. To help you with a database error, it would be helpful to know what the error says.

Leider ist mein denglisch nicht so dolle :( Aber du wirst doch sicherlich dieses Addon auch auf vb-g.org ver?ffentlichen :confused: - dann warte ich eben solange ;)

cellarius 06-03-2010 05:19 PM

Quote:

Originally Posted by Jesh (Post 2047768)
Hello I am trying to do photopost only integration. My gallery is rather large

Gallery size should not matter.

Quote:

Do I need to set public ID's for this in config_photopost? If so, where can I get this list?
Default behaviour is for the popup to show only your own photos. So, if the user account has no photos uploaded, you will get that message. If you want to make all photos of a category available to all users, independent of who has uploaded them, you need to add the category id to the public ids list as described in the config file. There is no list for the category ids. You will find the id in the link to the category, for example: showgallery.php?cat=2.

Please mark the mod as installed.

cellarius 06-03-2010 05:20 PM

Quote:

Originally Posted by cyberbob73 (Post 2047772)
Leider ist mein denglisch nicht so dolle :( Aber du wirst doch sicherlich dieses Addon auch auf vb-g.org ver?ffentlichen :confused: - dann warte ich eben solange ;)

Das habe ich momentan nicht vor - mir ist es eigentlich zu m?hsam, in zwei Threads zu supporten. Was ich oben meinte: Bitte zitiere mal den vollst?ndigen Datenbankfehler.

cyberbob73 06-03-2010 05:26 PM

Quote:

Originally Posted by cellarius (Post 2047776)
Das habe ich momentan nicht vor - mir ist es eigentlich zu m?hsam, in zwei Threads zu supporten. Was ich oben meinte: Bitte zitiere mal den vollst?ndigen Datenbankfehler.

Ok - ist auch verst?ndlich.

Erstmal vorab, ich hab f?r vb4 und Photopost 2 Datenbanken

In die cel_pp_config_photopost.php hab ich die Daten der Photopost DB eingetragen.

Wenn ich nun ?ber den editor und dein Addon ein Bild aus Photopost einf?gen will, bekomm ich folgenden Fehler....

Quote:

Datenbankfehler in vBulletin 4.0.3:

Invalid SQL:

SELECT COUNT('id') AS fotos
FROM pp_photos
WHERE
(userid = 1
)
AND storeid = 0
AND approved = 1;

MySQL-Fehler : Table 'db284492_4.pp_photos' doesn't exist
Fehler-Nr. : 1146
Fehler-Zeit : Thursday, 03.06.2010 @ 20:21:19
Datum : Thursday, 03.06.2010 @ 20:21:20
Skript : http://www.meinewebseite.de/forum/ph...vB_Editor_QE_1
Referrer : http://www.meinewebseite.de/forum/sh...erbob73-testet
IP-Adresse : 95.208.180.241
Benutzername : cyberbob73
Klassenname : vB_Database
MySQL-Version : 5.1.45-log

Meine vb4 DB = db28xxxx_4
Meine PP DB = db28xxxx_3

Jesh 06-03-2010 05:28 PM

Quote:

Originally Posted by cellarius (Post 2047775)
Gallery size should not matter.

Default behaviour is for the popup to show only your own photos. So, if the user account has no photos uploaded, you will get that message. If you want to make all photos of a category available to all users, independent of who has uploaded them, you need to add the category id to the public ids list as described in the config file. There is no list for the category ids. You will find the id in the link to the category, for example: showgallery.php?cat=2.

Please mark the mod as installed.

Right, I know gallery size makes no difference, I was unsure if I had to specify categories. Ok, with that out of the way, it is still saying I have uploaded no images to the gallery.

I ran the query on the server and it is showing all uploads correctly with the Images Query. However, nothing is displaying for images.

Version:

Photo Popup Settings (from AdminCP)
num_of_cols: [3]
num_of_rows: [3]
num_total:9
widht: 600
heigth: 680
products: photopost attachments
insert_options_allowed: link_thumb_2_orig link_thumb_2_gallery link_med_2_orig link_med_2_gallery thumb med orig thumb_2_gallery_link_below med_2_gallery_link_below orig_2_gallery_link_below
allow_albums: 0
code_usergroups: 6
Code (this is what is inside the table cells)
Images query
SELECT id, userid, bigimage, cat, medsize FROM pp_photos WHERE (userid = 1 ) AND storeid = 0 AND approved = 1 ORDER BY date DESC LIMIT 0, 9
Albums query:
Pagination query: SELECT COUNT('id') AS fotos FROM pp_photos WHERE (userid = 1 ) AND storeid = 0 AND approved = 1
Link to Original
Link to Thumb
Used product: photopost
Albums possible: 1
Albums override:
Cookie
Read Cookie:
Set Cookie: photopost,,link_thumb_2_orig,1
Table building (rows and columns)


any ideas?

cellarius 06-03-2010 05:31 PM

Quote:

Originally Posted by cyberbob73 (Post 2047779)
Wenn ich nun ?ber den editor und dein Addon ein Bild aus Photopost einf?gen will, bekomm ich folgenden Fehler....

Quote:

MySQL-Fehler : Table 'db284492_4.pp_photos' doesn't exist

Die Tabelle pp_photos existiert nicht in der von Dir eingetragenen Datenbank. Ich vermute mal, Du verwendest entweder kein Tabellenpr?fix oder eines, das vom Standars abweicht ("pp_"). ?berpr?fe das in der Datenbank und in Deiner config:
Quote:

// Table prefix. pp_ is the default setting.
// You may have changed this on installation of Photopost Pro.
// Look for this in PP-Administration->Edit Config->PhotoPost Database Prefix
//
$db_prefix = "pp_";

cyberbob73 06-03-2010 05:38 PM

Doch das Pr?fix stimmt schon -

ABER

Die PP DB ist eben nicht db28xxxx_4 sondern db28xxxx_3

Und so hab ich das auch in die cel_pp_config_photopost.php eingetragen.

Aber auch wenn ich in der cel_pp_config_photopost.php die vb4 DB eintrage - bekomm ich gleichen Fehler.

Stimmt doch, das ich in die cel_pp_config_photopost.php meine Photopost DB Daten eintragen mu? ?

cellarius 06-03-2010 05:43 PM

Aktiviere den Debug-Modus und poste mal die Zeilen zu
Quote:

Photopost Settings (from config file, only if photopost is selected product)
Datadir:
Other DB?:
Name of db:


cyberbob73 06-03-2010 06:02 PM

Quote:

Originally Posted by cellarius (Post 2047796)
Aktiviere den Debug-Modus und poste mal die Zeilen zu

Das ist meine Ausgabe (Name of db: - diese Option gibt es bei mit gar nicht)
Photopost Settings (from config file, only if photopost is selected product)
Datadir: /
Other DB?:

cellarius 06-03-2010 06:13 PM

Aus irgend einem Grund wird bei Dir die $other_db = TRUE; nicht verwertet. Setze die Variable mal auf = 1; anstatt TRUE.

Jesh 06-03-2010 06:19 PM

Still no luck here. Keeps showing as no images uploaded. Oh well.

cyberbob73 06-03-2010 06:21 PM

Quote:

Originally Posted by cellarius (Post 2047808)
Aus irgend einem Grund wird bei Dir die $other_db = TRUE; nicht verwertet. Setze die Variable mal auf = 1; anstatt TRUE.

Geht auch nicht :mad:

Und laut der Fehlermeldung steht dort auch die falsche DB drinn.

Quote:

MySQL-Fehler : Table 'db28xxxx_4.pp_photos' doesn't exist
Denn die Table pp_photos ist ja nicht in der vb4 DB (db28xxxx_4) sondern in der Photopost DB (db28xxxx_3)

cellarius 06-03-2010 06:28 PM

Quote:

Originally Posted by Jesh (Post 2047811)
Still no luck here. Keeps showing as no images uploaded. Oh well.

I'm thinking about your's too, but I can't think of anything. Would you give me access to your site? (Account with images uploaded, best with AdminCP permissions, and FTP?)
Quote:

Originally Posted by cyberbob73 (Post 2047813)
Geht auch nicht :mad:

Und laut der Fehlermeldung steht dort auch die falsche DB drinn.

Ja, das ist die direkte Folge davon. Ich m?sste mir das mal direkt anschauen. Wenn Du willst, kannst Du mir einen Zugang zu Deiner Seite per PN schicken. (Admin-Account mit hochgeladenen Fotos, FTP).

Jesh 06-03-2010 06:37 PM

Quote:

Originally Posted by cellarius (Post 2047815)
I'm thinking about your's too, but I can't think of anything. Would you give me access to your site? (Account with images uploaded, best with AdminCP permissions, and FTP?)

Yeah let me make a test user for you and I'll PM it

cyberbob73 06-03-2010 06:41 PM

Hast Post ;)

cory_booth 06-03-2010 11:04 PM

AWESOME!

Add plugin and noticed all the config files have both .php and .php_new in the config directory. I am running vbgallery and even though I made sure the config.php file is present and I added vbgallery to ADMINCP, the add-in does not showup in the drop down... Any suggestions?

cory_booth 06-03-2010 11:10 PM

I tried the included .php rather than the .php_new and now I have:
Fatal error: Call to a member function query_read_slave() on a non-object in /home4/xxxxxx/public_html/yyyyyyyy/includes/class_bbcode.php on line 220

cellarius 06-04-2010 03:14 AM

Bugfix release 4.0.004

Fixes some minor glitches and a design issue with the Photopost Pro implementation. This hopefully should fix the issues discussed in this thread. Thanks to cyberbob for giving me full access to his board, so I could track down the bug. Also the error reported by cory_booth has been fixed.

Please reimport the product file and upload the files. There have been no changes to config files.
.
.

cellarius 06-04-2010 03:33 AM

Quote:

Originally Posted by Kolbi (Post 2047756)
Will DTO Garage Plus be integrated after there vB4 release?

Just had a quick look at the install file of it - seems quite straightforward. Wouldn't be too hard, so I don't say no, but a rather vague maybe. ATM I don't have the time, but for someone with a little coding experience it probably wouln't be hard to do it himself in this case.

Quote:

Originally Posted by cory_booth (Post 2047950)
I tried the included .php rather than the .php_new and now I have:
Fatal error: Call to a member function query_read_slave() on a non-object in /home4/xxxxxx/public_html/yyyyyyyy/includes/class_bbcode.php on line 220

I'm not sure I followed everything you tried correctly; please let me know whether the new build fixed your problems.

cory_booth 06-04-2010 02:12 PM

1 Attachment(s)
Reupped the latest build (.04) and still not seeing the vbgallery in the drop down.
As I read the instructions:

1. Upload all files to site
2. Rename the includes/cel/product.php_new to .php (in my case, vbgallery) - I made no changes to the file.
3. Add vbgallery to ADMINCP area under Photo Popup.

Now when I attempt to use - the popup window comes up and the Album and Attachments are available, but the spot where vbGallery should be is blank. Selecting the blank area forces you back to Album.

No errors, however.


All times are GMT. The time now is 05:06 AM.

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.01604 seconds
  • Memory Usage 1,907KB
  • 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_html_printable
  • (24)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