Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
CPG Synchron Details »»
CPG Synchron
Version: 0.0.4, by lendy lendy is offline
Developer Last Online: Feb 2023 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.x Rating:
Released: 01-09-2008 Last Update: 01-15-2008 Installs: 5
Uses Plugins
Additional Files  
No support by the author.

Coppermine Photo Gallery(CPG) Synchron vBulletin Plug-in
You can use CPG bridge edge out this Plug-in.
See the README file for information on installing this plugin and usage.

[ABOUT]
The CPG Synchron vBulletin Plug-in allows users registering for vBulletin to be simultaneously registered in CPG with the same login information (see the note below about how import utility differs from this).
This does not integrate session management or user login. User's still must login to both systems separately.

[IMPORTANT NOTE]
This plugin is meant to replace CPG's registraton process. It is highly recommended that you disable CPG registration once this plugin is installed. See INSTALLATION AND SETUP below for more details.

[REQUIREMENTS]
This plugin has been tested under the following setup, but should work on just about any setup:
vBulletin 3.5.x 3.6.x
Coppermine Photo Gallery 1.4.x

[INSTALLATION AND SETUP]
1) Place includes/cpg_synchron.php in your vBulletin install's includes directory:
../vbulletin_root/includes/

2) Place includes/cron/cpg_synchron.php in your vBulletin install's cron directory:
../vbulletin_root/includes/cron/
3) Place product-cpg_synchron.xml in your vBulletin install's xml includes directory:
../vbulletin_root/includes/xml/
4) Upload the plugin throguh the vBulletin administration control panel:
a) Login to the administration interface
b) Expand the Product System menu in the left navigation bar
c) Click on "Add Product"
d) Scroll to the bottom of the screen and find the "import the XML file from your
server" textbox
e) There may be a default value there ("./includes/xml/products.xml"); change
products.xml to product-cpg_synchron.xml
f) Hit "Import"
5) *Forum setting, Options -> CPG Synchron Options.
6) Run CPG Synchron Cron now, It is recommended that you import users from vBulletin to CPG using the import utility as described below.
7) (Recommended) In your CPG's database table `users` put yourself's groupid to administrator's groupid(default is 1)
It is recommened that you disable CPG registration. In the CPG adminitration interface, this setting can be found in the Config tab -> User settings. Set Allow new user registrations to "No." It is also recommended that you change content on both sites to reflect this new plugin (i.e. let users know they now have access to both systems) and change the CPG registration link to point to the vBulletin registration. Or put .htaccess to your CPG directory.
8) (Recommended) user login in forum again when can't login in CPG.

[HOW IT WORKS]
This plugin simply grabs the new user information during the vBulletin registration process and sends it to the CPG database. Username and password will be identical to the vBulletin information, but all other CPG account configuration will be defaults hardcoded into the plugin. These defaults may be made available for modification in later releases, but it is not recommended that users not familiar with the CPG database structure or registration process alter this.

[COMMENTS, SUGGESTIONS, QUESTIONS, AND BUGS]
Email me at lendy.chen at gmail dot com.

[DISCLAIMER]
This software is provided 'as is' without warranty of any kind, either express or implied. You assume all responsibility for any damages or lost data that may result from any errors or bugs in this software.

[UPDATE]
0.0.4[2008-01-16]Fix error.
0.0.3[2008-01-11]Change copyright,Rename .htaccess,Change product pid.
0.0.2[2008-01-10]Add 'Allow Usergroups'.
0.0.1[2008-01-09]The first Version.



1.Edit[template]
postbit_legacy

after
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>

add
<if condition="$vboptions['cpg_synchron_onoff']">
<div>
<a href="$vboptions[cpg_synchron_url]/index.php" target="_blank">
<img class="inlineimg" src="$vboptions[cpg_synchron_url]/thumbshow.php?userid=$post[userid]" alt="" border="0" />
</a>
</div>
</if>


2.Put thumbshow.php to your CPG install's directory.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-10-2008, 09:33 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure why you included a .htaccess file. If this is in error, please remove from zip-file to avoid members accidentally overwriting their own .htaccess file.

Edit:
- Also please remove the Jelsoft copyright lines from the top of your files (saw it in your cron php script. This file is copyrighted to the author, not to jelsoft.
Reply With Quote
  #3  
Old 01-10-2008, 10:35 AM
Konstantinos Konstantinos is offline
 
Join Date: Apr 2006
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how is this different from the regular coppermine bridge u use in coppermine bridge manager ?
Reply With Quote
  #4  
Old 05-07-2008, 07:55 PM
jerx jerx is offline
 
Join Date: Feb 2006
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Konstantinos View Post
how is this different from the regular coppermine bridge u use in coppermine bridge manager ?
I think this is not a bridge. It just copies every new vbulletin user to coppermine, so that users do not have to register twice. But coppermine and vbulletin are seperated - no usage of same database, different user groups, no redirects.
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 08:04 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03791 seconds
  • Memory Usage 2,230KB
  • Queries Executed 17 (?)
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)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (4)postbit_onlinestatus
  • (4)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete