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 11-17-2005 10:00 PM

Who's Online for PhotoPost vBGallery
 
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.

vinzphua 11-18-2005 07:49 AM

* Reserved *

D|ver 11-18-2005 09:35 AM

great thank you :) :)

blue6995 11-18-2005 10:02 AM

Installed, thanks :up:

gonkowonko 11-18-2005 10:20 AM

nice makes the WHOS ONLINE bit better;)

divided_by_fear 11-18-2005 11:04 AM

screen shot?

Ramsesx 11-18-2005 12:11 PM

ups, please delete this

Ramsesx 11-18-2005 12:16 PM

Thank you very much, now waiting for the links directory :rolleyes:
Ah, it would be nice if you could to integrate what image people are looking.

Snake 11-18-2005 12:46 PM

Screenshots?

vinzphua 11-18-2005 01:23 PM

Screenshots coming soon.

I've also discovered I've left out a few phrases. I'll put up an updated XML within the hour.

vinzphua 11-18-2005 02:32 PM

Updated and uploaded. Apologies for the inconvenience.

Screen shot added.

Also note I have decided not to add links to the locations, which I earlier had said I would do.

Snoop-It 11-18-2005 07:45 PM

Thank you very much, been looking all over vbadvanced forum for something like this :)

Cheers!

tidy_boy 11-19-2005 09:56 AM

Thanks for this. Just need the one for my links section :banana:

vinzphua 11-20-2005 01:06 PM

I'm not using links, but if someone can send me a list of php files in the root of the link folder I can probably do up the plugin. But just locations, no links to their actual location.

Lea Verou 11-20-2005 02:29 PM

Wow thank you sooooooooooo much!!!!
You rock!!
I badly needed this!!
Thanks thanks thanks!!!!
:D :D :D

Lea Verou 11-25-2005 02:04 PM

I hate to say that, as I know how difficult it is for the coder to figure out but it doesn't work :( Still shows like "unknown location"... :(

moonclamp 11-25-2005 07:08 PM

This is cool ... the only problem I'm getting is with showimage.php and browseimage.php. They're not specific enough.

If you click on the link it brings up a "no image/category selected." error

However, I'd rather have this than 'unknown location' :)

moonclamp 11-25-2005 07:12 PM

Quote:

Originally Posted by Michelle
I hate to say that, as I know how difficult it is for the coder to figure out but it doesn't work :( Still shows like "unknown location"... :(

Where is your gallery installed? Mine isn't in the default root/gallery folder so I had to edit line 3 of the xml file to read /interactive/gallery/ rather than just /gallery/

vinzphua 11-26-2005 01:18 AM

Quote:

Originally Posted by moonclamp
Where is your gallery installed? Mine isn't in the default root/gallery folder so I had to edit line 3 of the xml file to read /interactive/gallery/ rather than just /gallery/

I've fixed it for Michelle. She has a lot of plugin's installed at the online_location_unknown hook and one of them messed with one of the statements in my plugin for preventing unecessary processing.

I will post and update around that in a while.

vinzphua 11-26-2005 01:22 AM

Quote:

Originally Posted by moonclamp
This is cool ... the only problem I'm getting is with showimage.php and browseimage.php. They're not specific enough.

If you click on the link it brings up a "no image/category selected." error

However, I'd rather have this than 'unknown location' :)

That's odd because I didn't put in any links at all.

vinzphua 11-26-2005 01:46 AM

Version 1.0.2 released. Bug fix... sort of. Noticed an extra line of code, but it did not seem to be causing problems for anyone. It has been removed.

Moparx 11-26-2005 01:54 AM

the file is missing ;)

vinzphua 11-26-2005 02:08 AM

Whoops! Sorry about that. Uploaded it again.

divided_by_fear 11-26-2005 04:50 AM

lol its a nice hack but i still get this here and there

Unknown Location
/forum.php

moonclamp 11-26-2005 09:40 AM

Quote:

Originally Posted by vinzphua
That's odd because I didn't put in any links at all.

I just checked ... I'd already tried to add some WOL info using the custom WOL hack. It wasn't working at all on its own ... but it seems that with yours added the 2 hacks were working together.

Very odd.

vinzphua 11-26-2005 01:54 PM

Quote:

Originally Posted by divided_by_fear
lol its a nice hack but i still get this here and there

Unknown Location
/forum.php

This product only adds WOL locations for vBadvance Gallery. Forum.php is not one of vBa Gallery's locations. It's from the modcp or admincp. You would be in forum.php if you accessed the Forum Manager either in the AdminCP or ModCP.

I'm pretty sure this product does not interfere with the normal WOL processing of vBulletin locations. Perhaps you have another plugin that is doing that?

vinzphua 11-26-2005 02:00 PM

Quote:

Originally Posted by moonclamp
I just checked ... I'd already tried to add some WOL info using the custom WOL hack. It wasn't working at all on its own ... but it seems that with yours added the 2 hacks were working together.

Very odd.

You're using the hack by Andreas? If so, there are some posts in that hack's thread that specifically says that it will not work with files outside the forum folder.

My plugins specifically looks for files from the gallery folder, and strips off the path, leaving only the filename. That allows the filenames to be recognised by the custom WOL hack.

MaxM 11-28-2005 11:23 PM

Great work and thanks however it killed the link on my gallery so you could not find out what they were looking at. I tried to edit the xml file to show the true location of my gallery but no luck. It might be that I have a chat hook already set to show chat locations. At any rate since the only unknown location messages that I get are from my gallery I simply edited the $vbphrase[unknown_location] phrase to "</b>Photo Gallery<b>" The html code is in place on purpose so that it removes the bold type from the photo gallery but still closes the tag. I'm sure there are better ways but for me it worked fine. Again thanks for the work.

vinzphua 11-29-2005 06:17 AM

MaxM,

I don't quite get what you mean.

Do you mean you are still getting "Unknown location" for gallery links, when my plugins are enabled? Or that the location names are shown, but the link to the location is gone?

Or that you uninstalled/disabled it and edited $vbphrase[unknown_location].

Anyway, if you want to known their URL, set "Can view actual location of user (filepath/url)" to YES in the usergroup permissions. Members of that user group will see a round button with a question mark in the same column as the location name. When they mouseover the button, they will see a popup showing the URL of the location.

divided_by_fear 11-30-2005 08:41 PM

could you make one of these for vbadvanced? would be really nice since i get some of the Unknown Locations on there

MaxM 11-30-2005 10:31 PM

Quote:

Originally Posted by vinzphua
MaxM,

I don't quite get what you mean.

Do you mean you are still getting "Unknown location" for gallery links, when my plugins are enabled? Or that the location names are shown, but the link to the location is gone?

Or that you uninstalled/disabled it and edited $vbphrase[unknown_location].

Anyway, if you want to known their URL, set "Can view actual location of user (filepath/url)" to YES in the usergroup permissions. Members of that user group will see a round button with a question mark in the same column as the location name. When they mouseover the button, they will see a popup showing the URL of the location.

I uninstalled your xml file and then edited my unknown_location text to read Photo Gallery since it was the only time I had ever seen unknown location. As I stated with your application I could not tell the exact url that people were looking at.

Max

vinzphua 12-01-2005 04:45 AM

You can see the exact URL... just mouse over the Question Mark graphic on the right of the location name. See the attached image. This is provided that you set the appropriate permissions for yourself in the UserGroup.

divided_by_fear 12-01-2005 07:35 AM

so do you think you could?

MaxM 12-01-2005 09:32 AM

Quote:

Originally Posted by vinzphua
You can see the exact URL... just mouse over the Question Mark graphic on the right of the location name. See the attached image. This is provided that you set the appropriate permissions for yourself in the UserGroup.

I didn't try that, is there any way to make the url show up rather then just preview?

Thanks

vinzphua 12-01-2005 09:49 AM

MaxM, yes there is. Give me a few days to work on it.

vinzphua 12-01-2005 09:54 AM

Quote:

Originally Posted by divided_by_fear
could you make one of these for vbadvanced? would be really nice since i get some of the Unknown Locations on there

Which vBadvanced product?

Thing is, I'm not using anything else from them other then the Gallery. It's isn't hard to do, but I need the list of php files that are called and if possible access to your forum where I can see the vBadvanced product working. Can't guarantee I'll catch everything though.

MaxM 12-01-2005 12:52 PM

As I have it now this is what you see. But if it could be fixed to look like that without the edit to the unknown that would be better.

divided_by_fear 12-01-2005 06:59 PM

vinzphua ill pm you... yeah this would be great cause it sucks seeing that....

Rob Locke 12-23-2005 06:36 PM

Is it possible for the next version to include a link to the gallery below the viewing location info? For example:

Browsing Image Gallery
Image Gallery

Much like the Viewing Forum info.

Lea Verou 12-23-2005 06:38 PM

Quote:

Originally Posted by Rob Locke
Is it possible for the next version to include a link to the gallery below the viewing location info? For example:

Browsing Image Gallery
Image Gallery

Much like the Viewing Forum info.

I think he said he's not going to do it.


All times are GMT. The time now is 07:49 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.03613 seconds
  • Memory Usage 1,819KB
  • 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
  • (1)bbcode_code_printable
  • (10)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
  • (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