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)

King Fly 06-08-2008 09:20 PM

so i edited the function login back to the original....Images are currently being served from the database

Dylanblitz 06-08-2008 09:44 PM

Quote:

Originally Posted by King Fly (Post 1544446)
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.

Dylanblitz 06-08-2008 09:45 PM

Quote:

Originally Posted by King Fly (Post 1544448)
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.

traxxadd 06-20-2008 05:40 PM

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

traxxadd 06-20-2008 05:50 PM

Quote:

Originally Posted by traxxadd (Post 1554762)
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....:)

traxxadd 06-20-2008 06:27 PM

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

Dylanblitz 06-20-2008 07:06 PM

Quote:

Originally Posted by traxxadd (Post 1554791)
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.

traxxadd 06-20-2008 07:12 PM

Quote:

Originally Posted by Dylanblitz (Post 1554818)
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.....

Dylanblitz 06-20-2008 07:41 PM

Quote:

Originally Posted by traxxadd (Post 1554826)
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.

traxxadd 06-20-2008 08:25 PM

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


All times are GMT. The time now is 05:35 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.01311 seconds
  • Memory Usage 1,749KB
  • 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
  • (2)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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