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)
-   -   Geek Gallery Popup 4.0 (https://vborg.vbsupport.ru/showthread.php?t=99011)

trilljester 10-27-2005 10:14 PM

I'm getting 404 errors when trying to go to the second page of images and vbAgallery is installed in a folder called gallery under the main Forums folder.

Ted S 10-28-2005 03:56 AM

Looking at the source it appears that the multiple page calls are going to http://www.xyz.com/forum/geek-galler...=vB_Editor_001

Since the first operator is an & instead of a ?, some servers (like my own) are having a hissy fit and producing a 404 page.

Thanks for hacking this and for keeping PP support despite not using that product anymore.

trilljester 10-28-2005 05:18 PM

Ted_s: Should I change the call to a ? while waiting for a fix for this problem?

ricker 10-28-2005 05:23 PM

Quote:

Originally Posted by trilljester
I'm getting 404 errors when trying to go to the second page of images and vbAgallery is installed in a folder called gallery under the main Forums folder.

Same here ... still.

Quote:

Originally Posted by Ted S.
Looking at the source it appears that the multiple page calls are going to http://www.xyz.com/forum/geek-galle...d=vB_Editor_001

Where exactly is the source?

Bellinis 10-29-2005 04:08 PM

We used to have this on our previous board and I'm so happy it's available for vbulletin too :)
Great work !!!

I've just installed, but I do have a path problem.
I'm using photopost and my photopost directory is located in my root folder.

Quote:

Originally Posted by martinchan
Apparently, there are some script errors in the .php files if you are using Photopost. I got it corrected and working beautifully at my site.

Attached is the file I corrected.

I used martinchan's modiefied file (thanks martinchan!) to make it work, but it still isn't working 100%. The pop-up works great, only the inserted URL for the photo's is incorrect.

It shows for example:
PHP Code:

[img]http://www.domain.com/board/../photopost/data/502/2textielfabriek2.jpg[/img] 

So I need to get rid of the "/board" :)
How can I change this?

Bellinis 10-29-2005 07:42 PM

Also I noticed I can't used the page selector: no matter which pagenumber I press, it keeps showing me the same pictures :( (or does this have something to do with my problem described above?).

I'd love to get this working :)

FASherman 10-30-2005 04:12 AM

Definitely not what I've come to expect from The Geek.

Things I've noticed right off:

1. No variable specified to check for version 5. After
PHP Code:

$pp_ver        $vbulletin->options['geekgallery_pp_ver']; 

You need to add
PHP Code:

$pp_five        $vbulletin->options['geekgallery_pp_is_five']; 

2. Change $photo_prefix to $pp_prefix

3. Need to define $imageid
PHP Code:

$imageid        $vbulletin->options['geekgallery_pp_is_five']; 

geekgallery_perpage

Even then, the selected image posts into the page, not the editor and the page number links go nowhere.

Normally, "The Geek" means not only quality, but really cool innovations. The idea for this one delivers on the latter, but the former isn't up to usual standards.

DefenceTalk 10-30-2005 11:33 AM

I am getting this error:

Quote:

Database error in vBulletin 3.5.0:

Invalid SQL:
SELECT count(imageid) total FROM defence_gallery.photos WHERE userid=7;

MySQL Error : Table 'defence_gallery.photos' doesn't exist
Error Number : 1146
Date : Sunday, October 30th 2005 @ 08:31:57 AM
Script : http://www.defencetalk.com/forums/ge...=vB_Editor_001
Referrer :
Classname : vb_database

Bellinis 10-30-2005 11:42 AM

Quote:

Originally Posted by DefenceTalk
I am getting this error:

For photopost use the file found here:
https://vborg.vbsupport.ru/showpost....4&postcount=13

(but it still doesn't work 100%)

DefenceTalk 10-30-2005 05:24 PM

Quote:

Originally Posted by Bellinis
For photopost use the file found here:
https://vborg.vbsupport.ru/showpost....4&postcount=13

(but it still doesn't work 100%)

Thanks!

Yeah, I am now getting 404 errors when trying to view images on other pages (1, 2, 3, etc.). :ermm:

trilljester 10-31-2005 04:27 AM

I disabled this extension until it's fixed. Sorry about that Geek.

The Geek 10-31-2005 09:44 AM

Fasherman - maybe you noticed that in the Readme AND the first post that PP framework is there but cant even be tested as I dont have PP anymore? A little hard to make something error free when you cant even test it. Sheesh.

The path issue and ampersand issue will get sorted tonight although im now debating even releasing it here at all now.

Bellinis 10-31-2005 10:03 AM

Geek, I appreciate your work a lot and I would really love to get this working for photopost. I could give you access to my photopost script so you could test out some things if you need to. Let me know :)

Cheers,

Bellinis

The Geek 10-31-2005 10:16 AM

Ive updated the package to address a couple of issue raised here. Initial testing looks fine however AS I MENTIONED BEFORE: I dont freaking have PP anymore so I cant really test it and therefore am not fully supporting PP installations. Everyones constructive input for the PP side of things is very helpful so thank you (I may take you up on your offer Bellinis)

This update addresses the missing ? in the url and should address installations outside of the forum directory.
Please note that there is a new setting (Server path and FULL URL).

To upgrade, upload the latest contents of upload/forums content and re-import the product-gpop.xml file overwiritng the previous version).

Thanks.

GrendelKhan{TSU 10-31-2005 11:25 AM

Quote:

Originally Posted by The Geek
Can you PM me a test account and URL so I can test uploading and stuff?

Thanks

whoa sorry..been away and totally didn't see this. :(

anyway...maybe a moot point now. just uploaded the new version and have a totally different issue now:

it won't load. :/

when click open...the pop-up comes up and processes foreeevverr (1%...2%...5%.....7%..... etc) and after a while it just craps out and I get a "page cannot be found error"

ack!! :(

I'm gunna PM you now anyway so you can take a look. :)

DefenceTalk 10-31-2005 02:06 PM

getting database errors even with the new updated files;

Quote:

Invalid SQL:
SELECT count(imageid) total FROM defence_gallery.photos WHERE userid=7;

MySQL Error : Table 'defence_gallery.photos' doesn't exist
Error Number : 1146
thanks!!!

The Geek 10-31-2005 03:06 PM

Are you sure you are using the latest file? I changed that line. Can you just check at the top of the code for that page to see if it says 4.01?

Thanks

DefenceTalk 10-31-2005 05:33 PM

Yup, this is what I got:

Code:


<?
        ##################################################################################
        ##                                        ##
        ##  Geek Gallery Popup (gpop) 4.01                                          ##
        ## installer, upgrader, uninstaller and dishwasher                ##
        ## You could be scolded and publicly humiliated by altering or stealing my code##
        ## Copyright 2005 by The Geek. Code may not be used in whole                                  ##
        ## or part without my written permission. You may not distribute this                  ##
        ## or any of my files without my written permission. If you do,                                ##
        ## you could face imprisonment on some desolate island far from civilization  ##
        ## dweeb.                                                                                                                                          ##
        ## This pretty box for example is mine. If you copy or modify this pretty box, ##
        ##  my suits will be on you like... well - like suits. Only poorly tailored        ##
        ## cheap suits. People may make fun of you for such cheap suits.        ##
        ##                                                                                                                                                          ##
 ## geek-gallery-popup.php                                                                                                          ##
        ## Last file chage 22.10.05                                                                                                        ##
        ##                                                                                                                                                          ##
  ## Copyright ?2005 vBGeek. All Rights Reserved.                                                                ##
  ## This file may not be redistributed in whole or significant part.    ##
 ## http://www.thevbgeek.com                          ##
        ##################################################################################
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'Geek-Gallery');
// ######################### REQUIRE BACK-END ############################
$globaltemplates = array(
        'geek-photo-popup',
        'geek-photo-row'
        );
$phrasegroups = array('Geek_Gallery_Popup');
$specialtemplates = array(
  'gallery_c_cache',
  'gal_mod_cache',
  'adv_gallery_opt',
  'gallery_ugroups');
require_once('./global.php');

thanks

trilljester 10-31-2005 06:27 PM

Re-enabled and working great! Thanks TheGeek for your contribution, it's a great addon!

moonclamp 10-31-2005 08:25 PM

Without sounding dumb ... where do I find the settings that I am supposed to change?

moonclamp 10-31-2005 08:40 PM

Quote:

Originally Posted by moonclamp
Without sounding dumb ... where do I find the settings that I am supposed to change?

OK found it (my bad)

But now I'm getting this error:



Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/moon/public_html/gallery/gallery_global.php on line 27

The Geek 10-31-2005 08:49 PM

Moonclamp, thats a vba gallery file?

Defence: Can you list your settings? It looks like its trying for a photopost configuration. You do have photopost installed right?

Thanks

The Geek 10-31-2005 08:53 PM

Quote:

Originally Posted by The Geek
Moonclamp, thats a vba gallery file?

Defence: Can you list your settings? It looks like its trying for a photopost configuration. You do have photopost installed right?

Thanks

Moon, you can TRY this:

Edit geek-gallery-popup.php and find:
$cwd = getcwd();
after, put:
$globaltemplates=array();

moonclamp 10-31-2005 09:23 PM

Quote:

Originally Posted by The Geek
Moon, you can TRY this:

Edit geek-gallery-popup.php and find:
$cwd = getcwd();
after, put:
$globaltemplates=array();

Yep that seems to do the trick.

My configuration settings were correct, I'm using vba.

Is there anything yet for stopping images appearing above the header if the editor isn't selected?

Oh and thanks ... cool hack :)

*installs*

DefenceTalk 10-31-2005 11:08 PM

yes, i do have pp installed here works great!
here are the settings, please see attached image

thanks

The Geek 11-01-2005 05:38 AM

Quote:

Originally Posted by DefenceTalk
yes, i do have pp installed here works great!
here are the settings, please see attached image

thanks

Defence, I THINK I have it sussed now (this coding for something you dont have is proving to be difficult!).
Anyhooo, I updated the package with a new gee-gallery-popup.php file that SHOULD do you all right for PhotoPost. Please let me know.

I also put the fix in I mentioned for moon.

I havent gotten a chance to look into the image getting inserted into that page if the editor doesnt have focus. Im sure its nothing major. When I get some time ill look into it.

Thanks!

lazytown 11-01-2005 09:50 AM

The new version definitely works better! I noticed three uncached templates.

Uncached templates: adv_gallery_footer (1)
Uncached templates: adv_gallery_navbar (1)
Uncached templates: adv_gallery_navbar_newestbits (10)

Thanks!
-vissa

DefenceTalk 11-01-2005 10:17 AM

Thanks Geek.

Nothing after page 1 shows up still... 404 errors.

The Geek 11-01-2005 12:05 PM

Thanks vissa. I guess ill ad those for vba users though they arent used (they must be generated with the inclusion).

Defence - Can you paste the URL its trying to go to?

DefenceTalk 11-01-2005 02:14 PM

Quote:

Originally Posted by The Geek
Thanks vissa. I guess ill ad those for vba users though they arent used (they must be generated with the inclusion).

Defence - Can you paste the URL its trying to go to?

Here you go:

http://www.defencetalk.com/forums/ge...=vB_Editor_001

thanks

banshee 11-03-2005 02:30 PM

This is a great hack. INSTALLED

Is there any hacks out there that make Photo's be sent to Photopost when posted in the forums? So instead of having the photo attach in the Vbulletin program have it sent to the users gallery in PhotoPost?

Just curious

The Geek 11-03-2005 04:17 PM

Updated package with very minor change to fix 404 errors when browsing multiple pages on a PP installation. Denfence - This is for you ;)

Thanks everyone.

banshee 11-03-2005 10:54 PM

When I click on the page numbers I don't get a 404 the page refreshes and the photo's stay the same.

Please help

thanks

Damian 11-04-2005 01:27 AM

Installed. Great job as usual Geek.

nix 11-04-2005 02:16 AM

Does this work with firefox? If i put my full url to the gallery it will not load in firefox. If I just leave /gallery it loads the thumbnails but doesn't insert the correct link. Both ways work in IE.

.Tim 11-04-2005 03:37 AM

Works in firefox for me.

Talisman 11-04-2005 03:47 AM

Hey Geek.. thanks for releasing the great hack.. we're gonna love this one.

One minor problem, I noticed was reported here on page 4 of this thread >> the MySql error where it goes to some databasename_photos table that doesn't exist.... when it should go looking for the databasename_photopostprefix_photos table. (Hope that makes sense.)

In your reply on page 4, you said you fixed that in the download files and we should be getting version 4.01. Well I just downloaded and installed your hack tonight and my zip file came with this one:

Geek Gallery Popup 4.00 Readme File

What do I need to to change ... and where?

Thanks again for the hack!

ricker 11-04-2005 03:50 AM

Patches work in Safari. Thanks Geek.

DefenceTalk 11-04-2005 03:57 PM

Quote:

Originally Posted by ricker
Patches work in Safari. Thanks Geek.

Thanks geek but... :(

I get this error:

Quote:

Database error in vBulletin 3.5.0:

Invalid SQL:
SELECT count(id) total FROM defence_gallery.photos WHERE userid=7;

MySQL Error : Table 'defence_gallery.photos' doesn't exist
Error Number : 1146
Date : Friday, November 4th 2005 @ 12:56:25 PM
Script : http://www.defencetalk.com/forums/ge...=vB_Editor_001
Referrer :
Classname : vb_database

Bellinis 11-04-2005 10:22 PM

Last night I did my second install if the Geek Gal Popup, but I'm still having the same issues:

Installation went smoothly, thumbnails do show, but I still can't browse to another page. I did uninstall the product, deleted the old geekfile.phph and uploaded the lastest release (3 nov.)

The link for page 2 now looks like:
PHP Code:

http://www.mydomain.com/board/geek-gallery-popup.php?catid=1&ed=vB_Editor_001&page=2 

I'm using photopost 5.2
Installation is in /photopost
Board is in /board

From the discussions above I understand it should work. Why isn't it here?
Geek, please help me out here :(

Thanks ;-)


All times are GMT. The time now is 11:47 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.01378 seconds
  • Memory Usage 1,853KB
  • 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
  • (5)bbcode_php_printable
  • (15)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
  • (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