vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Integrating Coppermine photo gallery using VB CSS (https://vborg.vbsupport.ru/showthread.php?t=60183)

tgmorris 01-14-2004 12:48 AM

Integrating Coppermine photo gallery using VB CSS
 
I've got Coppermine installed and running with VB3 RC2. The next step is to get the styles to match. If I were to load the VB stylesheet into Coppermine is there any way to combine the 2 style sheets. That is, to redefine the Coppermine definitions based on the dynamically changing (on a per user basis) vb CSS?

The easy way would be to do something like this...

.tableh1 { .thead }

though, based on research, I doubt something like this works. Other than manually changing all the class statements in Coppermine are there any other options?

MaceNL 02-18-2004 06:10 PM

Also would like some help on this problem

Dark_Wizard 02-18-2004 06:35 PM

The only way I can see this working is to change all the classes in Coppermine to match vb's and adding something to the bridge and usercp....

tgmorris 02-19-2004 02:00 AM

Quote:

Originally Posted by Dark_Wizard
The only way I can see this working is to change all the classes in Coppermine to match vb's and adding something to the bridge and usercp....

Yup. I've got it to the point it loads the vb CSS info. Next is to modify the coppermine templates to use the vb classes. One of these days....

MaceNL 02-19-2004 09:13 AM

Gonna be very excited if that hack/mod comes out ;)

Go tgmorris :D

tgmorris 02-22-2004 05:15 PM

1 Attachment(s)
Well, here it is. It's not 100% complete as some of the coppermine classes are still in the HTML but it does seem to work. I don't know if I'll extend it beyond what I've done so far so feel free to make enhancements and post them.

MaceNL 02-22-2004 07:29 PM

Thanks allot for posting the stuff mate gonna help me allot for now :D

Chefmom 02-23-2004 10:37 PM

thanks!!

chas_h 02-24-2004 05:38 AM

Quote:

Originally Posted by tgmorris
Well, here it is. It's not 100% complete as some of the coppermine classes are still in the HTML but it does seem to work. I don't know if I'll extend it beyond what I've done so far so feel free to make enhancements and post them.

Hi, thanks for your efforts. I'm trying to use this now with a working copy of Vbulletin 3 Rc-4 integrated with Coppermine and I'm getting these 2 errors

"Parse error: parse error in /var/www/html/gallery/bridge/vbulletin.inc.php on line 170

Fatal error: Call to undefined function: udb_authenticate() in /var/www/html/gallery/include/init.inc.php on line 167"

If I revert to the original vbulletin.inc.php I can at least get to the gallery. Any idea where I'm going wrong? Maybe I messed up on one of the edits?

Chas.

tgmorris 02-24-2004 02:38 PM

Quote:

Originally Posted by chas_h
Hi, thanks for your efforts. I'm trying to use this now with a working copy of Vbulletin 3 Rc-4 integrated with Coppermine and I'm getting these 2 errors

"Parse error: parse error in /var/www/html/gallery/bridge/vbulletin.inc.php on line 170

Fatal error: Call to undefined function: udb_authenticate() in /var/www/html/gallery/include/init.inc.php on line 167"

If I revert to the original vbulletin.inc.php I can at least get to the gallery. Any idea where I'm going wrong? Maybe I messed up on one of the edits?

Chas.

Hmm. May depend on which version of the bridge file you are using. You can find the modified bridge file I'm using in https://vborg.vbsupport.ru/showpost....5&postcount=15. You may want to download it and do a comparison.


All times are GMT. The time now is 09:58 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.01082 seconds
  • Memory Usage 1,737KB
  • 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
  • (3)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
  • (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