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)
-   -   Who's Online for PhotoPost vBGallery (https://vborg.vbsupport.ru/showthread.php?t=101061)

vinzphua 03-27-2006 11:24 AM

  1. Go to Admin->Plugin System->Plugin Manager.
  2. Look for "Hook Location: online_location_preprocess".
  3. Click on "'PreProcess vBaGallery WOL Activities".
  4. The first line of the code should be:
    PHP Code:

    if (strpos($loc'/gallery/') !== false

  5. Change "gallery" to the folder name you have chosen. Only change this line. Leave the rest alone.
  6. Click save and you're done.

dcpaq2xx 03-27-2006 12:03 PM

Thank you vinzphua

Ill give this a try first chance I get.

Doug

dcpaq2xx 03-30-2006 06:38 AM

vinzphua,

Thank you that did work, but I notice that when I go deeper into the folders than just the Main Page the "WOL" shows "Viewing Gallery Index Home Gallery" until I reach the last folder that contains the actual images.

Once I hit that folder with the images it then shows "Browsing Image Gallery Home Gallery" and when I click on the "Home Gallery" link I get a white page cannot be displayed error.

Anything else that needs to be adjusted?

Doug

vinzphua 03-31-2006 06:54 AM

Hi Doug,

Can you PM me your forum/gallery URL? I would like to see how you organise your gallery.

Second thing is, you should not be seeing the words "Home Gallery", unless you changed the phrases that were installed with the Product XML.

Disable the product and see if you still get an error when you click the "Home Gallery" link. When you say "Home Gallery" link, am I correct to assume you are talking about the (originally) "Home" link on the vBGallery menu bar?

vinzphua 03-31-2006 07:02 AM

If you view a Category, for which the "Act as Category" option is set to "No", the WOL will show "Viewing Gallery Index".

dcpaq2xx 03-31-2006 01:31 PM

Quote:

Originally Posted by vinzphua
I would like to see how you organise your gallery.

I have them organized like a "family tree" kinda like. I have multiple folders and you work your way through them until you get to the catagory you want. Like for example with car manufacturers, youll see a list of all the manufacturers, gm, ford, vw, chrysler, and so on. You click on which one you want, then you see another lists of folders by GM line such as like on GM for example, youd have, Buick, GMC, Chevrolet, and so on. Then you would select which one of these you want and then youd get a list of models and you would pick your model and the list just keeps breaking it down until you select the exact thing you want. Get the idea of how its laid out now?

It would be similar to the way the navigation line at the top of the forums here is or like when your on Ebay.com's site. See attached screen shots for an example.

Quote:

Originally Posted by vinzphua
Second thing is, you should not be seeing the words "Home Gallery", unless you changed the phrases that were installed with the Product XML.

I have not changed any phrases in the Gallery that I know of.

Quote:

Originally Posted by vinzphua
Disable the product and see if you still get an error when you click the "Home Gallery" link.

Ill give it a try when I get time.

Quote:

Originally Posted by vinzphua
When you say "Home Gallery" link, am I correct to assume you are talking about the (originally) "Home" link on the vBGallery menu bar?

NO, I am not.... I am referring to the "Home" link in the WOL, NOT the VB GAllery Menu Bar.

vinzphua 04-01-2006 10:38 AM

I think I got it. You installed the modified one that Oblivion_Knight posted. It's in post #45. That's why you have "Home Gallery". You need to check with him why the link "Home Gallery" does not work.

As for "Viewing Gallery Index", I have answered in my previous post.

dcpaq2xx 04-01-2006 03:37 PM

Quote:

Originally Posted by vinzphua
You installed the modified one that Oblivion_Knight posted. It's in post #45.

Yes that is correct, I did install his, I did not think there was a difference but apparently there is.

Doug

mrderanged 09-01-2006 01:28 AM

I just uninstalled this mod and my forums are completely hosed!!!!!

Getting the following mysql errors everywhere:

Code:

Database error in vBulletin 3.5.3:

Invalid SQL:

                SELECT
                        userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate,
                        IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,
                        language.phrasegroup_holiday AS phrasegroup_holiday,
                        language.phrasegroup_global AS phrasegroup_global,
                        language.options AS lang_options,
                        language.languagecode AS lang_code,
                        language.charset AS lang_charset,
                        language.locale AS lang_locale,
                        language.imagesoverride AS lang_imagesoverride,
                        language.dateoverride AS lang_dateoverride,
                        language.timeoverride AS lang_timeoverride,
                        language.registereddateoverride AS lang_registereddateoverride,
                        language.calformat1override AS lang_calformat1override,
                        language.calformat2override AS lang_calformat2override,
                        language.logdateoverride AS lang_logdateoverride,
                        language.decimalsep AS lang_decimalsep,
                        language.thousandsep AS lang_thousandsep
                       
                FROM user AS user
                LEFT JOIN userfield AS userfield ON (user.userid = userfield.userid)
                LEFT JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.userid) INNER JOIN language AS language ON (language.languageid = IF(user.languageid = 0, 1, user.languageid))
               
                WHERE user.userid = 8152;

MySQL Error  : Unknown column 'language.phrasegroup_holiday' in 'field list'
Error Number : 1054
Date        : Thursday, August 31st 2006 @ 10:19:03 PM
Script      : http://www.arachnoboards.com/ab/index.php
Referrer    :
IP Address  : 24.47.177.239
Username    :
Classname    : vB_Database

Code:

Database error in vBulletin 3.5.3:

Invalid SQL:

                                        SELECT languageid,
                        phrasegroup_holiday AS phrasegroup_holiday,
                        phrasegroup_global AS phrasegroup_global,
                        options AS lang_options,
                        languagecode AS lang_code,
                        charset AS lang_charset,
                        locale AS lang_locale,
                        imagesoverride AS lang_imagesoverride,
                        dateoverride AS lang_dateoverride,
                        timeoverride AS lang_timeoverride,
                        registereddateoverride AS lang_registereddateoverride,
                        calformat1override AS lang_calformat1override,
                        calformat2override AS lang_calformat2override,
                        logdateoverride AS lang_logdateoverride,
                        decimalsep AS lang_decimalsep,
                        thousandsep AS lang_thousandsep
                                        FROM language
                                        WHERE languageid = 1;

MySQL Error  : Unknown column 'phrasegroup_holiday' in 'field list'
Error Number : 1054
Date        : Thursday, August 31st 2006 @ 10:19:02 PM
Script      : http://www.arachnoboards.com/ab/
Referrer    :
IP Address  : 68.225.182.163
Username    :
Classname    : vB_Database

PLEASE HELP!!!!!!

vinzphua 09-06-2006 11:29 AM

Apologies for the late response, I don't check in here as often I used to.

This mod is a pure plugin and does not alter any vBulletin codes. And it is only excuted if you go to the WOL page. In both these errors, you are in the forum index page. The plugin has nothing to do with this error. Did you do anything else other then uninstall this product?

I suggest you disable all plugins temporarily and see if you still get this error. You can do this by editing your config.php and:

1. Look for '<?php'. This is usually in the first line of the config.php file.

2. Add 'define('DISABLE_HOOKS', true);' below that line.

If that helps, it means one of the other mods are acting up.

Wish I can help more.


All times are GMT. The time now is 07:11 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.01823 seconds
  • Memory Usage 1,760KB
  • 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
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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