vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   vBulletin CMS Widgets - Photopost Pro Random Image Widget (https://vborg.vbsupport.ru/showthread.php?t=234589)

Bergler 02-01-2010 12:58 AM

Now that I am playing around with it a bit, I see it doesnt always show a picture?

Bergler 02-01-2010 01:12 AM

I have noticed a glitch, I have my random image block above my section menu and now the Header title text "Section" links to my photopost? see here, www.flyfishbc.com

Bergler 02-01-2010 02:42 AM

Quote:

Originally Posted by Bergler (Post 1971805)
I have noticed a glitch, I have my random image block above my section menu and now the Header title text "Section" links to my photopost? see here, www.flyfishbc.com

I fixed this by removing this,
Code:

<a href="/gallery\">See more photos in the Gallery</a>

Prasutagus 02-01-2010 03:33 AM

Excellent, thanks for the post. Was looking for a widget like this. The plugin on the Photopost site generates a film strip in the forum and a profile reference. Slightly too much for my taste since there's no config/controls.

Aside from the db prefix and the relative path, I had to tweak href=\"photos/showphoto.php/photo/" to href=\"photos/showphoto.php?photo=" in order for the link to the actual picture to work, but it was up and running within 5 mins or less.

Magz 02-01-2010 03:57 AM

Quote:

Originally Posted by Prasutagus (Post 1971859)
Aside from the db prefix and the relative path, I had to tweak href=\"photos/showphoto.php/photo/" to href=\"photos/showphoto.php?photo=" in order for the link to the actual picture to work, but it was up and running within 5 mins or less.

Excellent, that edit also fixed the issue i reported earlier :up:

kisanjong 02-01-2010 08:20 AM

working great thanks :) 5* :up:

ZippySLC 02-01-2010 11:59 PM

Quote:

Originally Posted by Magz (Post 1971864)
Excellent, that edit also fixed the issue i reported earlier :up:

Yeah, the thing is that there seems to be two ways that the URLs for photos seem to be generated (SEO friendly and not.) The vBSEO rewriting the gallery URL's also made it a bit harder to troubleshoot. Then I clicked on your image and saw you had fixed it before I got to you! Glad it's working for you now!

ZippySLC 02-02-2010 12:04 AM

Quote:

Originally Posted by Bergler (Post 1971797)
Now that I am playing around with it a bit, I see it doesnt always show a picture?

So what is happening here is that the script is selecting a valid photo in your photopost database, but the thumbnail and possibly the full size photo don't exist on your server.

Look at post #4 (and the replies) in this thread.

Drache 02-02-2010 07:29 PM

Is it possible make it show only certain category photos in the gallery instead of selecting from all category in the gallery and showing them?

ZippySLC 02-03-2010 02:25 AM

Quote:

Originally Posted by Drache (Post 1973326)
Is it possible make it show only certain category photos in the gallery instead of selecting from all category in the gallery and showing them?

Yes. It's a matter of adjusting the SQL query that the script uses to find a picture.

This post in the original authors thread might point you in the right direction.


All times are GMT. The time now is 04:48 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.01306 seconds
  • Memory Usage 1,740KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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