Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-14-2004, 12:48 AM
tgmorris tgmorris is offline
 
Join Date: Nov 2003
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 02-18-2004, 06:10 PM
MaceNL MaceNL is offline
 
Join Date: Jan 2004
Location: Den Haag
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also would like some help on this problem
Reply With Quote
  #3  
Old 02-18-2004, 06:35 PM
Dark_Wizard Dark_Wizard is offline
 
Join Date: Nov 2001
Location: North Carolina
Posts: 1,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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....
Reply With Quote
  #4  
Old 02-19-2004, 02:00 AM
tgmorris tgmorris is offline
 
Join Date: Nov 2003
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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....
Reply With Quote
  #5  
Old 02-19-2004, 09:13 AM
MaceNL MaceNL is offline
 
Join Date: Jan 2004
Location: Den Haag
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Gonna be very excited if that hack/mod comes out

Go tgmorris
Reply With Quote
  #6  
Old 02-22-2004, 05:15 PM
tgmorris tgmorris is offline
 
Join Date: Nov 2003
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Attached Files
File Type: txt vb3css_integration.txt (3.6 KB, 162 views)
File Type: zip vb3css_coppermine.zip (20.0 KB, 131 views)
Reply With Quote
  #7  
Old 02-22-2004, 07:29 PM
MaceNL MaceNL is offline
 
Join Date: Jan 2004
Location: Den Haag
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks allot for posting the stuff mate gonna help me allot for now
Reply With Quote
  #8  
Old 02-23-2004, 10:37 PM
Chefmom Chefmom is offline
 
Join Date: Oct 2003
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks!!
Reply With Quote
  #9  
Old 02-24-2004, 05:38 AM
chas_h's Avatar
chas_h chas_h is offline
 
Join Date: Jan 2004
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 02-24-2004, 02:38 PM
tgmorris tgmorris is offline
 
Join Date: Nov 2003
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:38 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.04485 seconds
  • Memory Usage 2,267KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete