Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Addons and Modifications > Mys v1.3.x Mods

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 03-15-2014, 02:08 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 136,931
Kyttias is on a distinguished road
Default

Quote:
Originally Posted by LucasA33 View Post
Create guide and great script you shared with us.
My only issue is that I named my project database project.

I also gave it a prefix of project_

I'm not sure what I am supposed to replace to make it work with my directory.
As I have in the original post: "If you used the default prefix when installing the Mysidia database, the tables you need to find the users is adopts_users, and the columns are username and uid."

Because the default prefix is adopts_, at this point you change adopts_ to project_ since you aren't using the default prefix. Any instance in the guide where you see the default adopts_ you just have to change that to the project_ prefix you've chosen to use instead. Does this make it any more clear??

If you need to manually change the prefix after you've installed it you can do so in by finding hardcode.php in your freichat folder, and finding this to make the change (should be all you need, adopts_users to project_users):
Code:
/* Custom driver */
$usertable='adopts_users'; //specifies the name of the table in which your user information is stored.
$row_username='username'; //specifies the name of the field in which the user's name/display name is stored.
$row_userid='uid'; //specifies the name of the field in which the user's id is stored (usually id or userid)
I've personally had trouble getting the avatars to work, so I've disabled them within freichat's admin panel (you get an admin panel if you visit the freichat folder directory directly and login with the password you set during installation, it's also found in hardcode.php in case you ever forget it).

But theoretically, the avatar part would need changing, as well (adopts_users_profile to project_users_profile):
Code:
$avatar_table_name='adopts_users_profile'; //specifies the table where avatar information is stored
$avatar_column_name='avatar'; //specifies the column name where the avatar url is stored
$avatar_userid='uid'; //specifies the userid  to the user to get the user's avatar

Last edited by Kyttias; 03-15-2014 at 02:20 PM.
Reply With Quote
 

Tags
chat, chatroom, facebook-like chat, messenger


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone tried Facebook features on their site? Kesstryl Feedback and Suggestions 1 07-17-2012 11:08 PM
Yahoo Instant Messenger.. please help! solskenn Other Chat 0 05-10-2012 11:00 AM
Facebook Like Site Nemesis Other Chat 0 06-04-2011 11:02 AM
Adoptable Search Addon [by Kae] Kaeliah Mys v1.1.x Mods 16 01-25-2011 07:05 PM
Facebook Connect fadillzzz Questions and Supports 6 09-01-2010 01:48 PM


All times are GMT -5. The time now is 05:44 AM.

Currently Active Users: 2833 (0 members and 2833 guests)
Threads: 4,081, Posts: 32,032, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636