Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Who's Online for PhotoPost vBGallery Details »»
Who's Online for PhotoPost vBGallery
Version: 1.0.2, by vinzphua vinzphua is offline
Developer Last Online: Jul 2020 Show Printable Version Email this Page

Version: 3.5.1 Rating:
Released: 11-17-2005 Last Update: 11-25-2005 Installs: 74
Uses Plugins
Is in Beta Stage  
No support by the author.

If you are upgrading from a previous version, un-install the product first, then re-install the new version. (Yes, even from ver 1.0.0 to ver 1.0.1)

Do not use this product with...
WOL is built into PhotoPost vbGallery from versions 1.0.3 and 2.0.x onwards. Do not use this product with those versions of vbGallery.


Description:
This is a small product that shows locations of users in your PhotoPost vBGallery instead of "Unknown Location" in vB's Who's Online page. I did not add links to the locations.

I had wanted to add links to some of the locations, but it looks complicated (getting the necessary data from the database and working out who should and should not see the links and activity details like image title, id, etc based on user and category permissions). It will take a lot more effort then I'm willing to, or can invest at the moment... so, I will not be adding that in the near future.

Oblivion Knight modified version 1.0.2 of this plugin to add links to the gallery index page. He posted the plugin in post #45.

Locations:
Browsing Image Gallery
Editing Gallery Image
Emailing Gallery Image
Managing Gallery Categories
Moderating Gallery Posts
Moderating Gallery Uploads
Posting Gallery Reply
Printing Gallery Image
Searching Gallery
Sending Gallery Ecard
Uploading To Gallery
Viewing Gallery
Viewing Gallery Image
Viewing Gallery Index
Viewing Gallery Slideshow
Viewing Linked Gallery Image

Credits:
Noppid for this WOL How-To.

Tested on:
vBulletin 3.5.1 and PhotoPost vBGallery (vbAdvanced Gallery) 1.01
vBulletin 3.5.4 and PhotoPost vBGallery 1.02

Effort to install:
1. Download the XML.
2. Import the product at the AdminCP->Plugin System->Manage Products.
(See the vBulletin manual on how to install products.)

What is installed:
- 3 Plugins
- 16 Phrases
(All names of the above are prefixed with "vp_")

Support:
Unfortunately I have to withdraw active support for this mod as I have simply do not have enough time on my hands nowadays.

Notes:
- If you have many plugins installed at the "online_location_unknown", it may interfere with this product. Most likely it's because the other hooks sets a variable that indicates the locations have been successfully processed. I have an "if" statement to catch that to prevent unnecessary processing. All you need to do to fix it is edit the "Process vBaGallery WOL Locations" plugin at that hook and remove:
Code:
if (!$handled)
{
and "}" in the last line of the plugin.

Change Log:
Ver 1.0.1 (Beta) - 19 Nov 2005
- Added missing phrases.
Ver 1.0.2 (Beta) - 26 Nov 2005
- Removed an extra line of code.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 03-27-2006, 12:24 PM
vinzphua vinzphua is offline
 
Join Date: Feb 2005
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

  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.
Reply With Quote
  #53  
Old 03-27-2006, 01:03 PM
dcpaq2xx dcpaq2xx is offline
 
Join Date: Nov 2004
Location: Merrillville, Indiana
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you vinzphua

Ill give this a try first chance I get.

Doug
Reply With Quote
  #54  
Old 03-30-2006, 07:38 AM
dcpaq2xx dcpaq2xx is offline
 
Join Date: Nov 2004
Location: Merrillville, Indiana
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #55  
Old 03-31-2006, 07:54 AM
vinzphua vinzphua is offline
 
Join Date: Feb 2005
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #56  
Old 03-31-2006, 08:02 AM
vinzphua vinzphua is offline
 
Join Date: Feb 2005
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you view a Category, for which the "Act as Category" option is set to "No", the WOL will show "Viewing Gallery Index".
Reply With Quote
  #57  
Old 03-31-2006, 02:31 PM
dcpaq2xx dcpaq2xx is offline
 
Join Date: Nov 2004
Location: Merrillville, Indiana
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #58  
Old 04-01-2006, 11:38 AM
vinzphua vinzphua is offline
 
Join Date: Feb 2005
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #59  
Old 04-01-2006, 04:37 PM
dcpaq2xx dcpaq2xx is offline
 
Join Date: Nov 2004
Location: Merrillville, Indiana
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #60  
Old 09-01-2006, 02:28 AM
mrderanged mrderanged is offline
 
Join Date: Jul 2002
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!!!!!!
Reply With Quote
  #61  
Old 09-06-2006, 12:29 PM
vinzphua vinzphua is offline
 
Join Date: Feb 2005
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 12:03 PM.


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.05014 seconds
  • Memory Usage 2,325KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete