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)

AcidX 08-21-2006 06:20 PM

Quote:

Originally Posted by JenniferK
I'm not really sure what I should be putting for the "path to the gallery from the coppermine.php file" I changed things a bit: I put the coppermine.php file in my modules folder because I want it as a stand-alone module lower on my home page rather than under the navbar. I changed the template accordingly.

My homepage is: mysite.com/forum/home.php
My gallery is: mysite.com/gallery/index.php
the coppermine.php file is: mysite.com/forum/modules/coppermine.php

I tried playing around with it a bit, but I keep getting the Unable to locate the picture database at this time error message.

According to the info you provided, you need to set the value to "gallery". That should do the trick. ;)

JenniferK 08-21-2006 11:16 PM

Quote:

Originally Posted by AcidX
According to the info you provided, you need to set the value to "gallery". That should do the trick. ;)


That is the first thing I tried....

JenniferK 09-24-2006 05:14 PM

OK, I am almost ready to open my board, so I have come back to this. :) I have figured out most of the problem I was having, and now I can get it to display, but what it is doing is replacing my navbar with this module. I figured out that is due to this line:

eval('$navbar.= "' . fetch_template('adv_portal_gallery') . '";');

at the end of the php file. When I take that line out, nothing displays at all. I'm not sure what I need to replace this with to get it to work properly. I would really appreciate your help on this. Thanks!

DjTaz 09-24-2006 07:04 PM

Quote:

Originally Posted by JenniferK
OK, I am almost ready to open my board, so I have come back to this. :) I have figured out most of the problem I was having, and now I can get it to display, but what it is doing is replacing my navbar with this module. I figured out that is due to this line:

eval('$navbar.= "' . fetch_template('adv_portal_gallery') . '";');

at the end of the php file. When I take that line out, nothing displays at all. I'm not sure what I need to replace this with to get it to work properly. I would really appreciate your help on this. Thanks!


Jennifer , the eval is the part that evaluates the page so without that your always going to get a blank page. Because i assume you have edited the look and theme of your page try this

make a template called adv_portal_navbar_with_gallery

Copy your Navbar code into this template , and under it copy the following code ..

Code:



<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>


That should display your navbar and then the gallery under it - if you still have problems , ill take a look at your code for you.

JenniferK 09-25-2006 01:34 AM

Thanks for the quick reply :)

I'm sorry though I should have specified (I mentioned this on the previous page, but I was asking about a different problem and it was a month ago anyway). I put the coppermine.php file in my modules folder because I want it as a stand-alone module lower on my home page rather than under the navbar. So I changed the template accordingly. That is all fine. I just need to know what the eval line should be changed to so that it works for the individual module rather than the navbar.

TheWhite 11-28-2006 10:38 AM

I'm having a problem, nstalled everything to the letter but i'm getting the navigation bar with the pictures inside

TheWhite 11-28-2006 12:12 PM

I've installed coperrmine, i've done evrything in this guide to the letter at least 5 times but there's no way i can get th pictures to show, the only thing that i didn't do but then again i never did is click the install button because i don't have permission(?!?) can some contact me in MSN: hunk4004@yahoo.com and just give me that final push for getting this to work, i'm willing to pay but an honest price since there's not much to do.

regards

Icehawk002 01-19-2007 09:03 PM

Can and if so how is the thumbnail dimensions changed. Its working fine on 3.6.4 but thumbnails are bit small.

DjTaz 01-20-2007 10:31 AM

I have added a height option to this coppermine.php - this should allow you to adjust the height of the thumbnails if you wish to do so.

I may work on a scrolling coppermine window if i get time soon enough - need to sort my laptop as wellas i cant do much work with it at present.

Icehawk002 01-23-2007 10:39 AM

Thank you


All times are GMT. The time now is 10:59 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.01593 seconds
  • Memory Usage 1,745KB
  • 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
  • (3)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