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)
-   -   Coppermine Random Photos on vBulletin FORUMHOME (easy) (https://vborg.vbsupport.ru/showthread.php?t=124398)

Soliloquy 02-02-2007 04:21 PM

I tried that DjTaz, it just won't load. Worked fine in forumhome though.

tandy 03-20-2007 12:55 PM

Is it possible to display the user pictures instead of random pictures

DjTaz 03-20-2007 04:03 PM

Yes , its possible to display just the users gallery if you want that - i have that done in the members profiles when you go to a members profile page near the bottom.

http://www.theotherzone.com/member.php?u=1 is something like what you want ??

Or do you want a that persons gallery to display on the page when they enter ? The problem i see with that is no one gets to see anyone elses gallery, which defeats the purpose of it

tandy 03-20-2007 06:58 PM

Quote:

Originally Posted by DjTaz (Post 1208138)
Yes , its possible to display just the users gallery if you want that - i have that done in the members profiles when you go to a members profile page near the bottom.

http://www.theotherzone.com/member.php?u=1 is something like what you want ??

That's exactly what i need.

Quote:

Or do you want a that persons gallery to display on the page when they enter ? The problem i see with that is no one gets to see anyone elses gallery, which defeats the purpose of it
This one i do it and we can see the others gallery too.

Hengest 07-06-2007 02:02 PM

Hi, thanks for this mod, but I am having a problem.

I have edited the coppermine.php file with the following and uploaded to forum root. My coppermine folder is called photoalbum and is in the ame location as my forum folder.

Code:

$coppath =        "/photoalbum/";                // Path to the gallery from the coppermine.php file
$hostname =        "localhost";                        // The Coppermine hostname - usually localhost
$username =        "dbo1*******";                // Coopermine Database Username
$copperpass=        "B*******";                // Password to the Coppermine Database
$copperdb=        "db1*******";                // Coppermine Database
$prefix=        "cpg148";                        // Coppermine Prefix (sometimes cpg133 , or cpg11d)
$amount=        "6";                                // Amount of photos to select


I have edited and uploaded the index.php file as follows:

Code:

// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
require_once('coppermine.php');
require_once(DIR . '/includes/functions_bigthree.php');
require_once(DIR . '/includes/functions_forumlist.php');

And finally I copied and pasted the code provided into the forumhome template just below $navbar.

When I try to return to my forum I get a blank page with the message "Unable to connect to the database server at this time."

I am assuming that this is because there is an error with either the hostname, db login or db password. I copied and pasted the login and password directly from the MySQL admin panel provided by my host so I am assuming the problem is with hostname.

Any suggestions would be appreciated please.

DjTaz 07-08-2007 09:08 PM

is the prefix correct ?

Hengest 07-09-2007 07:27 PM

Hmm, well I changed it and now at least I can get into the forum with no error message and I see the table below the navbar with "Gallery" in the top left corner but no images appear.

Thanks

DjTaz 03-17-2008 08:59 PM

You still looking to port this to 3.6.3 or have you moved up a level since ? Im only going back over the old threads now :S

andres28 11-02-2008 03:51 AM

Hi,

im not really good at coding.. but I want all my random pictures to display on a Ajax page
can you please help me modify this code.

Original

Code:

echo('<a target = "_new" href="' . $copperminepath . '/displayimage.php?album=' . $albumid .
'&pos=-' . $pos . '">');

and I need to integrate this code into the one on top.

Code:

<a href="#" onClick="ajaxwin=dhtmlwindow.open('ajaxbox', 'ajax', 'picture-path.htm', 'Ajax Win Title', 'width=650px,height=400px,left=300px,top=100px,resize=0,scrolling=1'); return false">

Thank you.
Andres Carvajal
http://www.simplementetodo.com

BAJR 01-26-2010 03:15 PM

Has anyone updated this for 4.0 at all :)


All times are GMT. The time now is 02:23 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.01259 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
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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