vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Display Images on your forums home with coppermine (https://vborg.vbsupport.ru/showthread.php?t=66669)

SmartGnome 06-28-2005 04:23 PM

Have installed the mod and view on the forumhome.. All settings made, block is on the forum homepage, but in this block no pics and this text 'Error performing query: You have an error in your SQL syntax near ''****_-_cmine133' WHERE aid = ''' at line 1
'

Any ideas ??

Tnx

Marco van Herwaarden 06-28-2005 05:44 PM

Please provide the full error text.

Enclave 08-09-2005 07:38 AM

//random images from coppermine//
$randomimg = implode("", file("http://127.0.0.1/gallery/crandom.php"));
//end of random images from coppermine//

this code make the forum very slow, any other ideas?

marian 08-09-2005 07:45 AM

Quote:

Originally Posted by Enclave
//random images from coppermine//
$randomimg = implode("", file("http://127.0.0.1/gallery/crandom.php"));
//end of random images from coppermine//

this code make the forum very slow, any other ideas?

I just need help with where to put it.
cpmfetch has been written for the purpose of displaying coppermine images on another page. DOwload it from http://www.fistfullofcode.com/projects/copperminefetch/
When you've got it working on your forum page, please tell this php idiot what to do.

Icehawk002 10-15-2005 03:05 AM

Quote:

Originally Posted by misticjeff
I was wondering if there is a way to exclude certain albums that don't have photo's, like a video album. When you view that you get a link with no photo and the dreaded "red x" cause there is no image to associate with the file.

Was this answered? I have same problem when video files are selected as the random image with that dreaded "red x".

It would be nice to select from which albums or categories random images are taken

Icehawk002 10-02-2006 09:38 AM

Anyone interested updating this great hack to 3.61 with vbadvanced CMPS 2.2.

I for one would $ roll it.

Thanks


All times are GMT. The time now is 03:22 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.00967 seconds
  • Memory Usage 1,727KB
  • 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_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
  • (6)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