vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - PP-Popup - Photo-Popup for Photopost (https://vborg.vbsupport.ru/showthread.php?t=201934)

mfowler70 01-16-2009 06:32 PM

Quote:

Originally Posted by cellarius (Post 1714928)
So you're not getting a db-error and the script is pulling information from the database; else you'd probably see a mysql-error or the result would be empty. Most likely there's something wrong with the path to data-dir where your photos are stored.

A possibility to check this would be:
Look at the source code of the popup window. Look for
Code:

onclick="thumbpaste(
The code should read something like:
Code:

onclick="thumbpaste('<a href=\'http://www.yoursite.com/path/to/gallery/datadir/category_number/filename.jpg\'><img src=\'http://www.yoursite.com/path/to/gallery/datadir/category_number/thumbs/filename.jpg\' style=\'border: 0\' /></a>'

I'm not finding that code anywhere in the pp-popup.php file or the template. Where exactly should I look?

mfowler70 01-16-2009 06:38 PM

Also the phrase geek_gallery_my_pictures isn't installed by the product file.

cellarius 01-16-2009 07:12 PM

Quote:

Originally Posted by mfowler70 (Post 1714972)
I'm not finding that code anywhere in the pp-popup.php file or the template. Where exactly should I look?

Not in the files, but in your browser, the html-source code. But wait a few minutes, just adding some more phrases (the one you mentioned among them) and a debug system.

cellarius 01-16-2009 07:23 PM

There now is a debug modus that shows some information only to administrators of the forum.

Go to admincp, options and activate debug mode (set to 1).

Now you'll find the debug informtion on the bottom of the popup.

In the case of mfowler70: Are there Links for Original image and Thumbnail image? If you click them, do they work? If they do not work, there's something wrong with your paths.
You may want to give the informtion given on Datadir and Code.

cellarius 01-16-2009 07:29 PM

Quote:

Originally Posted by DaveS (Post 1714951)
Just a vote to say very well done for doing this.

I'm just getting my dev server rebuilt and will install this on there with vB 3.8 to test it for you if you still need that.

I'd very much appreciate that, yes.

cellarius 01-18-2009 02:01 AM

Version 1.0: Lot's of new bells and whistles.

2 databases setup completely new, should work now (database settings in upload-file). Getting the info from PPs config-file did break several vB-variables.

rob01 01-18-2009 04:11 AM

this works with vb album pictures? and with vb 3.8?

cellarius 01-18-2009 07:52 AM

Quote:

Originally Posted by rob01 (Post 1716480)
this works with vb album pictures? and with vb 3.8?

No, at least not yet (with album pictures). That's why it's called "PP-Popup - Photo-Popup for Photopost". It's for Photopost.

raugusto 01-19-2009 03:45 PM

working now.

mfowler70 01-19-2009 07:41 PM

cellarius,

would you mind sending me the 1.0 version of this add-on to use until your new product comes out? I want to see if it works where the first one did not show the images.

thx


All times are GMT. The time now is 02:52 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.01510 seconds
  • Memory Usage 1,737KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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