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 01-31-2010 10:40 PM

Quote:

Originally Posted by ZippySLC (Post 1971691)
Matt, awesome. Glad I could help!

Bergler - it shouldn't slow the site down. It's just one db lookup. What's your URL?

www.flyfishbc.com is my site!

ZippySLC 01-31-2010 10:46 PM

Quote:

Originally Posted by tonmo (Post 1971710)
Great widget, thanks. Please note you're missing your closing /a tag after the link to the gallery - it should instead look like this:

PHP Code:

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


Gah, you're right! Thanks!

Magz 01-31-2010 10:47 PM

Whats the fix if using _pp prefix?

ZippySLC 01-31-2010 10:51 PM

Quote:

Originally Posted by Bergler (Post 1971712)
www.flyfishbc.com is my site!

Alright, well I don't see the random image widget on your CMS, so I'm assuming you've disabled it. In any case, I'm getting very slow load times on everything on your site. (Forums, CMS, Photopost, etc.)

I think you're having problems that are deeper than just this widget.

I noticed that some of your ads were coming up with broken images. I wonder if whatever is serving up those banners is slowing things down for you.

ZippySLC 01-31-2010 10:52 PM

Quote:

Originally Posted by Magz (Post 1971716)
Whats the fix if using _pp prefix?

By default the code assumes that your prefix is "pp_" so you don't need to change anything if that is the case.

Magz 01-31-2010 10:57 PM

Ok, well I do use default pp_ , but am getting this error at top of forum when i enable this widget.

Parse error: syntax error, unexpected T_STRING in /***/****/*****/packages/vbcms/widget/execphp.php(171) : eval()'d code on line 12

My gallery is located in /photopost directory if that helps

ZippySLC 02-01-2010 12:01 AM

Quote:

Originally Posted by Magz (Post 1971725)
Ok, well I do use default pp_ , but am getting this error at top of forum when i enable this widget.

Parse error: syntax error, unexpected T_STRING in /***/****/*****/packages/vbcms/widget/execphp.php(171) : eval()'d code on line 12

My gallery is located in /photopost directory if that helps

Make sure that you have a closing semi-colon at the end of line 12 (which should be the line with the print statement in it.)

Magz 02-01-2010 12:17 AM

Thanks, seems it was a path issue, however...

The image block now appears, but, when clicking on the image, it takes me to /photopost/showphoto.php url with message "Photo not found in the database!"

Any ideas?

ZippySLC 02-01-2010 12:24 AM

PM me a copy of your code (without the database login details) and a link to your gallery.

Bergler 02-01-2010 12:42 AM

Quote:

Originally Posted by ZippySLC (Post 1971721)
Alright, well I don't see the random image widget on your CMS, so I'm assuming you've disabled it. In any case, I'm getting very slow load times on everything on your site. (Forums, CMS, Photopost, etc.)

I think you're having problems that are deeper than just this widget.

I noticed that some of your ads were coming up with broken images. I wonder if whatever is serving up those banners is slowing things down for you.

Yes, my apologies, there is latency issue with my server. I have since enabled the image block and seems to be fine. Thanks for this great widget! :up: I sure like the new vB4.0.1!! :D

Also can this be used as a forum block aswell?


All times are GMT. The time now is 11:23 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.02985 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_php_printable
  • (6)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