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

Reply
 
Thread Tools
C&D Comm - Social Networking Details »»
C&D Comm - Social Networking
Version: 1.2.3a, by Dylanblitz Dylanblitz is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.7.x Rating:
Released: 04-01-2008 Last Update: 07-09-2008 Installs: 31
DB Changes
Additional Files  
No support by the author.

Here is a social networking script modeled after Myspace. This is a separate script that runs by itself. I have integrated the user login's from vb so that browsing is seamless.

Please click Mark as Installed if you are using this integration.

Basic highlights of the script:
3 levels of users: Administrator, Moderator, User
Multi Language Support
VBulletin Integration
FlashChat Integration (same DB)
Customizable home page
Background Image/Sound without needing Javascript
Search by area, user particulars, etc
Private Messaging
Public/Private Profile Notices (like bulletins)
Customizable default color scheme easily
Enable/Disable ability to have local background music
Easily turn on/off modules
Simple User Administration
Several sign up verifications available
Single point of registration/login

Requirements
PHP 4.4.7+
Compiled with GD2
MySQL 4.1.x+

Installation is fairly easy. There is an installation instruction file in the zip.

You should turn off registration on the forum and remove the logout/login links. All registration through the script will create forum accounts for new users.

For profile links to work, you need to edit your .htaccess file and add the following lines

RewriteEngine on
RewriteRule ^p_(.*) view_profile.php?urlname=$1


The script does zero modification to your vb tables and files, so if you don't like it you can just delete the cnd_* tables and files and your back to how you were before.

Live Demo
Some admin functionality was disable for the demo site. Cannot delete/ban accounts, cannot change configuration of the script.

Administrator Account
email: admin@cnd-systems.com
pass: password

Moderator Account
email: mod@cnd-systems.com
pass: password

User Account
email: user@cnd-systems.com
pass: password

Version History

1.2.3a - [Thur 10th July 2008]

Fixed typo in sync users and sync pics

v1.2.3 - [Wed 9th July 2008]

Added ability to resend authorization email
Fixed Last post first bug
Added browse all link to header
Added ability for admin to enable/disable browse all link
Fixed problem with images being hidden from friend when the hide images from all but friends privacy setting is set.
Added mood indicator (Modify Profile->Personal Info)
Added photo albums (All users have a My Photos album to start)
Added Admin ability to disable/enable mood indicator
Added Admin ability to set whether users can edit their own comments on peoples notices
Added Admin ability to set whether users can delete their own comments on peoples notices, events, etc
Added Admin ability to set whether notice owner can delete other user comments for their notices
Fixed problem with not stripping slashes from display name on some pages
Sync Users and Sync Pics option in admin area will now move images stored in the database or filesystem

v1.2.2 - [Wed 4th June 2008]

Added ability to add user as administrator (Only primary admin can add/remove administrators)
Added ability to make user/mod/admin primary admin (irreversable besides through database)
Block ability to delete user if they are moderator or admin (Must remove mod/admin permissions first)
Changed forum sync to pull in profile picture from forum if available
Added ability for admin to update users pictures with profile picture from forum
Added ability for admin to set forum/events/calender to open in new window or current
Added ability to login to forum and have session pass login to script

v1.2.1 - [Sat 10th May 2008]

Fixed band images upload when max is set to 0
Fixed user images upload when max is set to 0
Fixed group message edit error
Fixed band upload image error
All music uploads now check post_max_size and use that as limit
Added config item for image size limit
Show post_max_size limit in the admin area
Added selection of admin from forum for linking with C&D Admin account
Added ability for user to set table and body background colors
Added ability for admin to set all but profile page colors
Added ability to operate from seperate database than flashchat
Changed profile layout to try to use external, then custom then default layout
Removed auto deletion of accounts that haven't activated in 2 weeks

v1.2.0 - [Wed 9th Apr 2008]

Modified install script to use an existing forum admin
Rearranged upgrade script
Added external javascript field for profile customizing
Added admin ability to disable external javascript field
Fixed messaging scheme to use less database records

v1.1.2 - [Mon 7th Apr 2008]

Fixed approving band issue
Fixed issue with adding contacts
Fixed some issues with syncing users with forum
Added error checking for reading vbulletin database connection

v1.1.1 - [Fri 4th Apr 2008]

Fixed some issues with syncing users with forum

v1.1.0 - [Thur 3rd Apr 2008]

Added Image Verification to Signup
Added ability to post youtube videos
Added ability to operate from seperate database than vbulletin
Added dubugging mode
Added better error handling
Added ability to have new users be assigned to specific forum group
Added ability to have disabled users be moved to specific forum group
Added ability for admin to delete accounts on C&D or Forum or Both
Added ability for admin to use forum calendar instead of C&D for events
Added basic Install Instructions

v.1.0.3 - [Thur 27st Mar 2008]
Added ability to show profile links without htaccess modification (not user friendly links)
Fixed creation of record in New Members list

v.1.0.2 - [Thur 27st Mar 2008]
Fix sync users for special characters in vbulletin
Added ability to sync users by vbulletin group
Modified placement of Sync Users popup

v1.0.1 - [Mon 24st Mar 2008]
Fixed country value in the search qualification
Fixed chat display name error on account edit if chat is not installed
Fixed wrong email subject on account activation page
Fixed case sensitivity for vbulletin queries

No database changes between 1.0.0 and 1.0.1 so you only need to swap files.

v1.0.0 - [Fri 21st Mar 2008]
Initial release

Show Your Support

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

Comments
  #102  
Old 06-08-2008, 09:20 PM
King Fly King Fly is offline
 
Join Date: Feb 2008
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so i edited the function login back to the original....Images are currently being served from the database
Reply With Quote
  #103  
Old 06-08-2008, 09:44 PM
Dylanblitz Dylanblitz is offline
 
Join Date: Oct 2005
Location: OC, California
Posts: 732
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by King Fly View Post
lol i would tell you if the cnd login file didnt make it so i cant log into the admin cp lol

Fatal error: Call to undefined function: get_cnd_login() in /home/content/k/i/n/kingfly008/html/forums/includes/functions_login.php on line 219
There is a file called cnd_login.php in a separate folder in my zip. You need to upload that file to the forums/includes/ directory for the function to be there.
Reply With Quote
  #104  
Old 06-08-2008, 09:45 PM
Dylanblitz Dylanblitz is offline
 
Join Date: Oct 2005
Location: OC, California
Posts: 732
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by King Fly View Post
so i edited the function login back to the original....Images are currently being served from the database
Okay, right now it's only setup to sync up the images if they are stored on the file system. I'll tweak the code so it'll pull from the database as well. If it's ready before the next release I'll let you know.
Reply With Quote
  #105  
Old 06-20-2008, 05:40 PM
traxxadd traxxadd is offline
 
Join Date: Mar 2008
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey guys,

I installed script. Works perfect love every bit of it. I just wanted to know how to set it so in the navbar when you click forums it opens in the same window instead of a new window. I looked in header.php but couldnt find where to edit. My site www.traxxaddicts.com/social

Thanks,

Ray
Reply With Quote
  #106  
Old 06-20-2008, 05:50 PM
traxxadd traxxadd is offline
 
Join Date: Mar 2008
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by traxxadd View Post
Hey guys,

I installed script. Works perfect love every bit of it. I just wanted to know how to set it so in the navbar when you click forums it opens in the same window instead of a new window. I looked in header.php but couldnt find where to edit. My site www.traxxaddicts.com/social

Thanks,

Ray
OK I figured it out i changed the target to _self thanks....
Reply With Quote
  #107  
Old 06-20-2008, 06:27 PM
traxxadd traxxadd is offline
 
Join Date: Mar 2008
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK I sync the members but when i try to sync registered users pics i get a
Quote:
MySQL Error: Unknown column 'u.usergroupid' in 'where clause'
But when i select all user groups it says complete but no pics are added please help
Reply With Quote
  #108  
Old 06-20-2008, 07:06 PM
Dylanblitz Dylanblitz is offline
 
Join Date: Oct 2005
Location: OC, California
Posts: 732
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by traxxadd View Post
OK I sync the members but when i try to sync registered users pics i get a MySQL Error But when i select all user groups it says complete but no pics are added please help
Do me a favor, in the admin area Setup Variables, set Debug Mode to On and try and sync the user pictures again. It should tell me what the error is and I can trouble shoot from there. By the way, if you have your pictures stored in the database and not the filesystem it wont work. I have to work on that part.
Reply With Quote
  #109  
Old 06-20-2008, 07:12 PM
traxxadd traxxadd is offline
 
Join Date: Mar 2008
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dylanblitz View Post
Do me a favor, in the admin area Setup Variables, set Debug Mode to On and try and sync the user pictures again. It should tell me what the error is and I can trouble shoot from there. By the way, if you have your pictures stored in the database and not the filesystem it wont work. I have to work on that part.
They are in the database.....
Reply With Quote
  #110  
Old 06-20-2008, 07:41 PM
Dylanblitz Dylanblitz is offline
 
Join Date: Oct 2005
Location: OC, California
Posts: 732
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by traxxadd View Post
They are in the database.....
Figured that was it. Next version you should be able to update profile images that are stored in the DB.
Reply With Quote
  #111  
Old 06-20-2008, 08:25 PM
traxxadd traxxadd is offline
 
Join Date: Mar 2008
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also when i was configuring the login files for the forum i was getting an error-in your read me file you had this
PHP Code:
if ($vbulletin->session->created == true AND $vbulletin->session->vars['userid'] == 0)
    {
        
// if we just created a session on this page, there's no reason not to use it
        
$newsession =& $vbulletin->session;
    }
    else
    {
        
$newsession =& new vB_Session($vbulletin''$vbulletin->userinfo['userid'], ''$vbulletin->session->vars['styleid']);
    } 
and after the code i placed
PHP Code:
$cnd_login Get_CND_Login($vbulletin->userinfo['userid']); 
So i checked to make sure i could log in and out but i kept getting an error so i removed that line of code and everything worked fine. The only thing is now if you log in on the forums it doesnt log you in on the C&D file.....What do you suggest
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:47 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.04618 seconds
  • Memory Usage 2,328KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_php
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete