vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Integration with vBulletin - C&D Comm - Social Networking (https://vborg.vbsupport.ru/showthread.php?t=174876)

Dylanblitz 04-01-2008 09:00 PM

C&D Comm - Social Networking
 
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

WEBDosser 04-02-2008 06:52 AM

interesting.. bookmarked ;)

gwerzal 04-02-2008 08:13 AM

Looking good.

Il take a better look at this later

ssslippy 04-02-2008 08:36 AM

So what im getting out this is that it basically allows for u to search for other people? I dont see any extra functions from the screenshots.

Can you go into more detail?

lazydesis 04-02-2008 09:40 AM

why is this in vbulletin ? am confused :( is this an add on to vbulletin? if yes .. will it take the same colors etc from vb forum or will it have its own style and colors?

nice release by the way :) thanx

Dylanblitz 04-02-2008 02:31 PM

Quote:

Originally Posted by ssslippy (Post 1480738)
So what im getting out this is that it basically allows for u to search for other people? I dont see any extra functions from the screenshots.

Can you go into more detail?

It's a social networking script. The profile info, messaging, groups, etc are all outside of vb.
I've been working on it for a while, well before 3.7, so there is some cross over functionality that exists in both.

Dylanblitz 04-02-2008 02:33 PM

Quote:

Originally Posted by lazyindian (Post 1480760)
why is this in vbulletin ? am confused :( is this an add on to vbulletin? if yes .. will it take the same colors etc from vb forum or will it have its own style and colors?

nice release by the way :) thanx

It's a seperate script that integrates with vbulletin.
The colors don't carry over, you can set most of the default colors through the admin area for now. I'm working on pulling in some of the colors from vb.

Alfa1 04-02-2008 06:07 PM

What does this offer that is not already included in vbulletin 3.7?

Dylanblitz 04-02-2008 06:30 PM

I'm not sure really :) I haven't played with 3.7 much yet. I was asked to make it work with 3.7, so I posted it here since it works. Not sure if users can customize how their profile looks in vb with their own colors and background? Pretty much, if myspace doesn't do anything that vb 3.7 does then I guess my script would be in the same boat.

Alfa1 04-02-2008 07:09 PM

Yes, profiles can be customized. It has groups, friends, albums and much more. It doesn't have the myspace mp3 player.

KURTZ 04-02-2008 07:18 PM

wow that's a huge integration ... congrats, great job!

Dylanblitz 04-02-2008 07:27 PM

Quote:

Originally Posted by Alfa1 (Post 1481292)
Yes, profiles can be customized. It has groups, friends, albums and much more. It doesn't have the myspace mp3 player.

So you can edit what your profile's background image and colors are when other users view it?
I didn't know you could do that.
Like I said, I haven't played with 3.7 much. It's just an integration between a myspace type script and vb. Might not be used much by the vb community once 3.7 goes final, but it's there hehe

therogueforums 04-02-2008 08:50 PM

Well, I think it's a very nice, and huge, add-on. Good work! I'll be watching this thread.

Gersfan 04-03-2008 06:38 AM

I'm confused,

Is this a VB Product? How does it work with my VB Board ?

Congrats though on doing the script!

Dylanblitz 04-03-2008 06:45 AM

It is not a VB product. It is a stand alone script that I coded and integrated with VB. So if you don't like, or want to use, the social networking part of VB then my script is an alternative.

kleinschwanz 04-04-2008 06:18 PM

hmmm, did I get something wrong? after installing it to a subdirectory of my forums a complete own site opened, that didn't know me and wouldn't let me in... and it shows in a complete different style... how the heck did you implement it to vBulltein? do I have to upload the files into the root directory of vBulletin instead into an own directory?

Dylanblitz 04-04-2008 06:30 PM

Quote:

Originally Posted by kleinschwanz (Post 1483070)
hmmm, did I get something wrong? after installing it to a subdirectory of my forums a complete own site opened, that didn't know me and wouldn't let me in... and it shows in a complete different style... how the heck did you implement it to vBulltein? do I have to upload the files into the root directory of vBulletin instead into an own directory?

My script is a separate entity, it's a stand alone script that integrates with vb. The style is not shared.
It does not have to be in the vb directory, and really, it shouldn't be since a few files share the same name and will overwrite each other.
Putting the script in it's own directory is preferred. On the last page of the install it asked you to enter a username, email address and password. That is the email and password you login with. After you login you can configure the script to connect to vb and then you can import the vb users into my script.

King Fly 04-05-2008 12:06 PM

when i go to set variables to use Vbulletin as forums i get this error:

Warning: main(forums/includes/config.php): failed to open stream: No such file or directory in /home/content/k/i/n/kingfly008/html/comm/incfiles/vars.php on line 17

Warning: main(forums/includes/config.php): failed to open stream: No such file or directory in /home/content/k/i/n/kingfly008/html/comm/incfiles/vars.php on line 17

Fatal error: main(): Failed opening required 'forums/includes/config.php' (include_path='.:/usr/local/lib/php') in /home/content/k/i/n/kingfly008/html/comm/incfiles/vars.php on line 17

how do i fix that??

also when i go to approve bands...i get a page that opens and says MYSql Error

trackpads 04-05-2008 01:24 PM

Damn, This is some very nice work. The groups are better than the vb social groups already.

Great Work!

Dylanblitz 04-05-2008 02:27 PM

Quote:

Originally Posted by King Fly (Post 1483547)
when i go to set variables to use Vbulletin as forums i get this error:


Warning: main(forums/includes/config.php): failed to open stream: No such file or directory in /home/content/k/i/n/kingfly008/html/comm/incfiles/vars.php on line 17

Warning: main(forums/includes/config.php): failed to open stream: No such file or directory in /home/content/k/i/n/kingfly008/html/comm/incfiles/vars.php on line 17

Fatal error: main(): Failed opening required 'forums/includes/config.php' (include_path='.:/usr/local/lib/php') in /home/content/k/i/n/kingfly008/html/comm/incfiles/vars.php on line 17

how do i fix that??

also when i go to approve bands...i get a page that opens and says MYSql Error

It means that the path isn't set right to the forum. Where is the script in relation to the forum?

King Fly 04-05-2008 06:27 PM

i dont quiet get what you mean where is the script in relation to the forum...the cnd script is in its own folder which is "comm" on the main part of the ftp...same place "forums" is

hopefully that is what you wanted

i want to be able to have my forums as part of this script cuz i really like the way it is layed out

plus still cant approve bands....

King Fly 04-05-2008 10:25 PM

ok i put my forums directory into the comm folder and it now has a working link to the forums...however when i go to sync users i get this:

All Groups Warning:mysql_select_databse():supplied argument is not a valid MYSQL-Link resource in /home/content/k/i/n/kingfly008/html/incfiles/functions.php on line 62 Could Not open database

Dylanblitz 04-06-2008 03:27 AM

Quote:

Originally Posted by King Fly (Post 1483979)
ok i put my forums directory into the comm folder and it now has a working link to the forums...however when i go to sync users i get this:

All Groups Warning:mysql_select_databse():supplied argument is not a valid MYSQL-Link resource in /home/content/k/i/n/kingfly008/html/incfiles/functions.php on line 62 Could Not open database

Can you turn on debugging, it's in the admin area under Setup Variables. When try and approve a band this time it should give you the error and you can tell that to me. Also should give you the error from the sync.

btw, if you have the forums in www.mysite.com/forums and the cnd script in www.mysite.com/comm then the forum path would be either /forums/ or ../forums/
either would work

King Fly 04-06-2008 01:29 PM

for the band approval i get:

MySQL Error: Unknown column 'band_id' in 'field list'

and whn i try to sync the users i get this error:

All Groups Warning:mysql_select_databse():supplied argument is not a valid MYSQL-Link resource in /home/content/k/i/n/kingfly008/html/incfiles/functions.php on line 62 Could Not open database

Dylanblitz 04-07-2008 12:46 AM

Quote:

Originally Posted by King Fly (Post 1484408)
for the band approval i get:

MySQL Error: Unknown column 'band_id' in 'field list'


This file will fix the band approval, I'm still working on what's going wrong with the forum user sync. It's working here on my machine so it's hard to trace.
Put this file into the incfiles directory and let it overwrite the other one.

Dylanblitz 04-08-2008 03:40 PM

Quote:

Originally Posted by King Fly (Post 1484408)

and whn i try to sync the users i get this error:

All Groups Warning:mysql_select_databse():supplied argument is not a valid MYSQL-Link resource in /home/content/k/i/n/kingfly008/html/incfiles/functions.php on line 62 Could Not open database

King Fly, I uploaded some bug fixes as well as some vb database verification. I think this one should fix your problem with importing users. Let me know if it doesn't.

Dilldogs 04-11-2008 01:58 PM

You know, I like the concept of this work. Great Job.

Deidre 04-12-2008 11:59 AM

Is there a way that you can set it so that when you click on someone's profile in vbulletin, it takes you to his profile on this script?

When someone register on this script, is he automatically registered on vb?

Great script BTW, it's a lot like myspace!

King Fly 04-12-2008 12:56 PM

Quote:

Originally Posted by Dylanblitz (Post 1486067)
King Fly, I uploaded some bug fixes as well as some vb database verification. I think this one should fix your problem with importing users. Let me know if it doesn't.

you uploaded them where? to the original mod? i unistalled this but will try again...are the bug fiexes included in the main file now?

Dylanblitz 04-12-2008 04:23 PM

Quote:

Originally Posted by King Fly (Post 1489062)
you uploaded them where? to the original mod? i unistalled this but will try again...are the bug fiexes included in the main file now?

Yes, all the fixes are rolled into the main file. The files you were having problems with should be fixed now.

Dylanblitz 04-12-2008 04:26 PM

Quote:

Originally Posted by Deidre (Post 1489028)
Is there a way that you can set it so that when you click on someone's profile in vbulletin, it takes you to his profile on this script?

When someone register on this script, is he automatically registered on vb?

Great script BTW, it's a lot like myspace!

Yes they are registered on vb at the same time.

I had it setup to go to the users profile on my script when I had the site running live, but it took modifying vb itself and with releasing the code to the public, I didn't want to do a modification of vb tables.
I think it's doable though, I'll think about doing it a different way and do some testing.

Deidre 04-13-2008 04:55 AM

It would be really cool. I really need that feature.

Dylanblitz 04-13-2008 05:14 AM

Quote:

Originally Posted by Deidre (Post 1489544)
It would be really cool. I really need that feature.

I figured out what I need to do without manually changing the vb database. I just need time to code it and as Toronto FC is in town tomorrow, it'll be Monday before I can start on it :)
I'll let you know when it's done and tested though.

King Fly 04-13-2008 02:44 PM

ok i have it installed and it works pretty good....all users are now synced.....band approval works...but heres some more bugs i found.....bands cant upload pictures...and any music they upload doesnt appear anywhere on the site...the flash mp3 player doesnt have any music in it anytime

Dylanblitz 04-13-2008 03:06 PM

Quote:

Originally Posted by King Fly (Post 1489770)
ok i have it installed and it works pretty good....all users are now synced.....band approval works...but heres some more bugs i found.....bands cant upload pictures...and any music they upload doesnt appear anywhere on the site...the flash mp3 player doesnt have any music in it anytime

First thing I'd check is the folder permissions for
/images/ and it's sub directories
/music/
/mp3/

Unless there is an error that happens?

King Fly 04-13-2008 05:41 PM

also when you send out an invite for a group...there is nowhere to accept or join

and what do you mean check the folder permissions?

Dylanblitz 04-13-2008 11:15 PM

Quote:

Originally Posted by King Fly (Post 1489868)
also when you send out an invite for a group...there is nowhere to accept or join

and what do you mean check the folder permissions?

Hmm, so if someone gets an invitation and they view the group, is there an accept button on the group? If not then it's a bug.

I mean if your on a unix system the permissions for any folder that is written to by the web page, ie /images/mem_back, needs to be at least 775

So the folders to have the permissions set to 775 are
images/mem_images
images/mem_back
images/group_images
images/band_images
mp3
music

btw, can you pm me a link to the site so I can see if there's something I can troubleshoot?

bennac40 04-14-2008 12:27 AM

Installed but onece I try to install I get an error:(

check attacment

Dylanblitz 04-14-2008 12:47 AM

Quote:

Originally Posted by bennac40 (Post 1490095)
Installed but onece I try to install I get an error:(

check attacment

ok, are you renaming connection_dist.php to connection.php? That needs to be renamed and the details changed.

King Fly 04-14-2008 02:55 PM

Quote:

Originally Posted by Dylanblitz (Post 1490057)
Hmm, so if someone gets an invitation and they view the group, is there an accept button on the group? If not then it's a bug.

I mean if your on a unix system the permissions for any folder that is written to by the web page, ie /images/mem_back, needs to be at least 775

So the folders to have the permissions set to 775 are
images/mem_images
images/mem_back
images/group_images
images/band_images
mp3
music

btw, can you pm me a link to the site so I can see if there's something I can troubleshoot?


they all got an email about an invite to the group and when they went to the group there was nothing there for them to join or accept the invite


all the folders were set a 755 so i changed them all to 775


the url to my site is:
http://undagroudutopia.com

from the home page you can click on social community and go the the CND thing


All times are GMT. The time now is 04:05 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.03407 seconds
  • Memory Usage 1,853KB
  • 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
  • (16)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
  • (40)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