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 02-14-2006 01:54 AM

Hi all,

Sorry for the long absence. Life has been a mess for a while and I've had to shift my attention to more pressing issues. I won't be able to continue supporting this plugin. If I do upgrade it for the forum I'm administrating, I will TRY to update this thread.

DefenceTalk 02-21-2006 06:00 PM

A little update: This hack does not work with latest version (3.5.4) of vB.

thanks!

vinzphua 02-22-2006 12:32 PM

I should be upgrading the forum I'm administrating to 3.5.4 in the coming weeks. I'll put up the fix after that.

vinzphua 03-04-2006 05:03 AM

I've upgraded my forum to vBulletin 3.5.4 and PhotoPost vBGallery to 1.0.2. I haven't tested it fully, but the plugin seems to work fine on my forum without any modifications.

DefenceTalk, could you elaborate how it's not working for you?

Oblivion Knight 03-04-2006 06:56 AM

Working fine for me on 3.5.4, and I even fixed up the URL display.. :)

I hope you don't mind me posting this.

vinzphua 03-04-2006 10:24 AM

Andy,

Don't mind at all. I'll even link to your post from my plugin description with due credit.

Went thru your code. If I'm not wrong, your URL only links to the index page of the gallery, right?

Oblivion Knight 03-04-2006 06:58 PM

Yes. It's a lazy link (but looks better than the full URL).. ;)

Otherwise, it would require much more advanced coding to grab the exact names of the categories and images that a user was viewing.. I think.

dcpaq2xx 03-25-2006 03:49 AM

I tried both xml files and I never was able to get it to work. It just always shows being in the main index page.

Doug

vinzphua 03-25-2006 04:03 AM

It'll only work if you installed both vBulletin and vBGallery as recommended. Did you install vBGallery in a different folder then the one recommended in the installation instructions?

If you install it in different folders, then you will have to change some of the code.

dcpaq2xx 03-25-2006 04:25 AM

Quote:

Originally Posted by vinzphua
It'll only work if you installed both vBulletin and vBGallery as recommended. Did you install vBGallery in a different folder then the one recommended in the installation instructions?

If you install it in different folders, then you will have to change some of the code.

I renamed the original folder called Gallery to something else, are you saying that if i change the folder name then I have to change everything referrenced to gallery in the plugin?

Would you be able to tell me what to edit to get this to work properly?

Thanks

Doug

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.

mrderanged 09-06-2006 12:34 PM

Nope, just uninstalled. Found out that right after I uninstalled it, my phrase table was completely wiped. Reinstalling the language with tools.php didn't even work. Jelsoft is looking into it now... :(

vinzphua 09-06-2006 02:18 PM

Please keep me updated or point me to the bug report or thread. Though I still don't think the plugin had anything to do with it, I'll like to keep track of this. Just in case.


All times are GMT. The time now is 08:33 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.01875 seconds
  • Memory Usage 1,802KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (22)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