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)

Kihon Kata 09-24-2006 11:40 PM

I have been beggin' Geek right here

Hopefully he'll get to it soon.

cellarius 11-08-2006 05:05 AM

Quote:

Originally Posted by mrderanged
Does this hack work with 3.6?

Yes, it does. Just installed Photopost 5.5 and this hack on 3.6.2, working like a charm right out of the box. No problems whatsoever.

Sven

mindbuster 11-17-2006 05:04 AM

For those who are using photopost vBGallery, and not the ordinary photopost, you can edit the geek_gallery_popup.php file and rename the tables, any occurance of "adv_gallery_whatever" should be changed to "ppgal_whatever", that makes geek_popup work with vB3.6, i just went through it, works fine.

Just a hint :)

CeBra 11-17-2006 12:03 PM

Quote:

Originally Posted by cellarius (Post 1112861)
Yes, it does. Just installed Photopost 5.5 and this hack on 3.6.2, working like a charm right out of the box. No problems whatsoever.

Sven

mmh - I tried it today with PP 5.5. and vB 3.6.3 and ran into a db_connect error.
I have PP and vB installed in different db's for backup-reasons.

Error-message is:

Invalid SQL:
SELECT count(id) total FROM d123456.pp_photos WHERE userid=1;

MySQL-Fehler : Access denied for user: 'd5896545@localhost' to database 'd123456'

Any idea where I can set the db login values? (If that's the only problem here ..)

Any help is much appreciated

rwilkins108 12-02-2006 10:12 AM

Quote:

Originally Posted by LBmtb (Post 1082706)
I have the same problem. :ermm: Photopost version 5.3.1 and VB 3.6. If you need a few bucks via paypal for 'encouragement,' PM me. This would be very nice if it would would perfectly. Dont know if it matters but I also paid for GARS.

I had the same problem and changed two of the SQL Select statements in the geek-gallery-popup.php file to ignore the row if it's a category (storecat=0).

here are the two places I had to change for PP:

FROM:
PHP Code:

$pages $db->query_first("SELECT count(id) total FROM $gallery_db$pp_prefix "photos WHERE userid=$userid"); 

TO:
PHP Code:

$pages $db->query_first("SELECT count(id) total FROM $gallery_db$pp_prefix "photos WHERE userid=$userid AND storecat=0"); 

AND

FROM:
PHP Code:

    $query="SELECT
        images.id AS imageid,images.cat,c.catname AS cattitle,'' AS extention,images.title,
        images.bigimage AS filename,images.medsize,images.width owidth, images.height oheight,images.medwidth width,images.medheight height
        FROM 
$gallery_db$pp_prefix "photos AS images
        INNER JOIN 
$gallery_db.  $pp_prefix "categories AS c on images.cat=c.id
        WHERE images.userid=
$userid and images.approved=1 ORDER BY images.date DESC LIMIT $start ," . ($perpage); 

TO:
PHP Code:

    $query="SELECT
        images.id AS imageid,images.cat,c.catname AS cattitle,'' AS extention,images.title,
        images.bigimage AS filename,images.medsize,images.width owidth, images.height oheight,images.medwidth width,images.medheight height
        FROM 
$gallery_db$pp_prefix "photos AS images
        INNER JOIN 
$gallery_db.  $pp_prefix "categories AS c on images.cat=c.id
        WHERE images.userid=
$userid and images.storecat=0 and images.approved=1 ORDER BY images.date DESC LIMIT $start ," . ($perpage); 

Ron

rwilkins108 12-03-2006 01:10 AM

Just wanted to say this mod is great, i love it! I wanted to add a bit of functionality to it, so I posted this on PhotoPost's web site and wanted to see if anyone here has any idea:
__________________________________________________ ___
Hi, I've got Photopost Pro and it's great.

I've got a vB mod that allows you to insert an image from your gallery into the WYSIWYG editor (Geek Gallery Popup 4.0) and it works nice, but I'd like to add 1 more piece of functionality to it, uploading pictures to your gallery right in the "insert an image" popup.

I've added 2 text boxes to that popup, one that would take a URL and one that is for a File (with browse button) as well as a button to upload the requested file to the person's gallery.

The question is, how do I actually upload it? Is there a PP function I can call that, given file and user information, would upload into their own gallery? I'd like it to just upload without opening another page, no description nor category selection, just to the user's gallery. If not a function, would the only other way to insert via sql, any other ideas on how to do this?

Thanks a ton!

dpnow 12-05-2006 01:46 PM

Quote:

Originally Posted by CeBra (Post 1119305)
mmh - I tried it today with PP 5.5. and vB 3.6.3 and ran into a db_connect error.
I have PP and vB installed in different db's for backup-reasons.

Error-message is:

Invalid SQL:
SELECT count(id) total FROM d123456.pp_photos WHERE userid=1;

MySQL-Fehler : Access denied for user: 'd5896545@localhost' to database 'd123456'

Any idea where I can set the db login values? (If that's the only problem here ..)

Any help is much appreciated

I have much the same problem - does anyone have a suggestion?

Ian

HP10T 01-06-2007 06:20 AM

For some reason I don't even have thumbnails showing in my popup window, anyone have any input?

UtahNissans 01-06-2007 04:22 PM

Ahhh I had the server path and gallery url swapped so that is why no pics showing. THanks for the awesome mod!

dpnow 01-12-2007 06:45 PM

Quote:

Originally Posted by kahmeal (Post 880996)
Not sure if this is a new bug or not, but when the images belong to other categories in addition to the members gallery, I get a bunch of blank thumbnails listed along with the working thumbnails from the member's gallery. Here's a screenshot:

https://vborg.vbsupport.ru/

This problem does not occur if no additional category is specified for a given image when it is uploaded by the user.

Hi, did this issue get resolved as I have exactly the same problem. If an image is displayed in a secondary category, its thumbnail doesn't show.

Thanks,

Ian


All times are GMT. The time now is 04:20 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.01395 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
  • (4)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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