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)
-   -   Module VbAdvanced: Coppermine Random photos (https://vborg.vbsupport.ru/showthread.php?t=119432)

DjTaz 06-24-2006 10:58 PM

Well at least someone clicked INSTALL !! thanks :D

gonecountry 08-15-2006 01:14 PM

Confused onthe coppermine.php instructions. Do I override the existing coppermine.php, if one exist or is this a newone??

Also not sure what username and passwords you are asking for the admin ones???

Sorry I've never change or add db info like this.

Thanks for the help.

DjTaz 08-15-2006 04:21 PM

heya gonecountry ... you shouldnt have a coppermine.php in your forum root , unless you put the coppermine gallery in the same folder as the forums ..

Basically if your forums on your ftp is /www/forums/index.php ... you put the php file into /www/forums/coppermine.php

BEFORE you upload it to your ftp - change this info in the coppermine.php file
Code:

//***********************************//
//          ** SETTINGS **          //
//***********************************//

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

//***********************************//
//***********************************//

so that it reflects the info for your own database - i have my coppermine in the same database as my forums so i need the prefix to seperate them.

Let me know if you still need help - if your really stuck ill do it for you once you have coppermine working and VBB working ok first.

gonecountry 08-15-2006 05:41 PM

OK I thought I hadn it but I missed something......

http://www.mommiesplayground.com/

Please take a look if you could and tell me what I missed Thanks

DjTaz 08-15-2006 07:30 PM

I cant see the modules as a guest , i need a user and pass to be able to log in and see it

Feckie (Roger) 08-15-2006 07:44 PM

Is it possible to have this just as a stand alone module , without the navbar.

Reason I ask is that I have a custon navbar...............

DjTaz 08-15-2006 07:59 PM

Quote:

Originally Posted by Feckie (Roger)
Is it possible to have this just as a stand alone module , without the navbar.

Reason I ask is that I have a custon navbar...............


Yeah - instead of the code in the box above - copy your custom navbar code and put this into a new template called adv_portal_navbar_with_gallery under it add the following , it should work, but may need some playing about with depending on the template.

Code:

<!-- / COPPERMINE GALLERY -->
<br>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
                                <td class='tcat' colspan='0' align=left>
                                <span class='smallfont'>
                                <strong>&raquo; <a href='$coppath'>Gallery</a>
                                </strong></span></td>
                                </tr>

                                <tr>
                                <td class='alt1' width='100%' align-middle valign=middle>

$copphotos
</td></tr></table>
<!-- / COPPERMINE GALLERY -->


Feckie (Roger) 08-15-2006 08:37 PM

Yep thanks that worked a treat.....................Clicks install..

gonecountry 08-15-2006 09:32 PM

I just checked the usergroups and somehow it was not allowing. You should be able to view now. I think it has t odo with the php file I must not be putting in the correct info.

DjTaz 08-16-2006 05:15 AM

It looks like you have the alternative navigation menu option selected in the Vbulletin VBA options in the admin panel.
Im not 100% sure on that, but i think thats the issue - try using the normal navigation bar and see if it works then.


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.01176 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)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