+ Reply to Thread (include dating software, release, and patch number!)
Page 3 of 5 FirstFirst ... 2 3 4 ... LastLast
Results 21 to 30 of 46

Thread: admin as default friend

  1. #21
    Techbot
    Guest

    Default

    I'm not a coder so this is just what I'D try...I'd do exactly that. Change to 'Check' =4

  2. #22

    Join Date
    Jul 2006
    Posts
    101

    Default Huge Problem With This Mod

    I Found an error with this mod..... it works well and adds the appropriate new members however..... what about when your admin or " default friend starts getting a few hundred friends ??????? the page is extremely slow to load..
    check it out for yourself on your own site or try

    http://www.ticket4one.com/profile.php?ID=widget

    what will happen when i have a few thousand members as friends ??? !!!crash!!!

  3. #23
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,642
    Blog Entries
    5

    Default

    I think if logged in as admin user - don't show friends at all - since it is a given all on the site are your friends.

    Would that work?

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  4. #24

    Join Date
    Jul 2006
    Posts
    101

    Default

    maybe but at the moment admin/default friend mod has only been on the site for a few weeks so he only has a few hundred friends not the whole 16000 what i am really worried about is what will happen when the rest of the profiles start getting the same amount of friends aswell

  5. #25
    Bdsmlife
    Guest

    Default

    I have found the solution on the web and tested it on my own community.

    MOD Instruction:

    Back up your join_form.php in case you screw it up

    Open join_form.php

    Find this code:

    Line 374: if ( getParam('autoApproval_ifNoConfEmail') == 'on' )

    Insert before line 374:

    /* scc MOD: default friend */
    $dump = db_res("INSERT INTO FriendList SET `ID` = '{$IDnormal}', `Profile` = 1, `Check` = 1");
    /* scc end MOD */

    You may want to change `Profile` = 1 to a value of the member ID that you are making this as the friend you are adding to all future new members.

    source: http://www.infinityscript.com/boonex-dolphin-script/
    Last edited by Bdsmlife; 01-12-2008 at 03:34 PM. Reason: .

  6. #26

    Join Date
    Jan 2008
    Posts
    72

    Default

    Quote Originally Posted by driver_x View Post
    maybe but at the moment admin/default friend mod has only been on the site for a few weeks so he only has a few hundred friends not the whole 16000 what i am really worried about is what will happen when the rest of the profiles start getting the same amount of friends aswell
    I do not think this is a problem if it is paginated (spelling?), so that you only show X number of profiles per page. Maybe this is the way it is set up in version 6.x, I am not sure because I am just experimenting and tinkering, and do not yet have enough dummy accounts to create a next/previous page.
    Dolphin 6.0.0003 + Ray 3.0 Modded

  7. #27
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,642
    Blog Entries
    5

    Default

    If I am not mistaken, we did this mod recently for someone... I would have to check with Mark about if this is the case, and how long it took, if you are interested in it.

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  8. #28

    Join Date
    Nov 2007
    Posts
    14

    Question Where are Friends kept?

    I know that somewhere there is a location/file that tells who is friends with who, but for the life of me I can't locate it. I installed the "Tom" mod so that new subscribers are automaticlly added as my friend, but I would like to be able and go back and manually add all memebers who were registered before I installed the mod.

    Any help on locating this hidden location?

  9. #29
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,642
    Blog Entries
    5

    Default

    It's in the database - look for a table with the name of FriendList.

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  10. #30

    Join Date
    Nov 2007
    Posts
    14

    Talking Thanks Smodge

    Thanks for the location Smodge! I was able to find the loction of the friends list and was able to include those who had signed up before I added the "Tom" Mod. For those looking for the solution, go to your Firendlist in your SQL database and select "insert" you will have three boxes to fill in "id", "Profile", and "check" In the "ID" put the id number of the person you want to add , in the profile put your profile number in (usually #1) and in the check put the number 1. you can view what you added by "browsing" the Friendlist table.

    The default on the profile pages is 12 profiles showing but there is a link in the upper right side if anyone wants to see them all, so don't worry to much about your profile page taking forever to load if you had a large number of friends.

    Quote Originally Posted by Smoge View Post
    It's in the database - look for a table with the name of FriendList.

    Smoge

+ Reply to Thread (include dating software, release, and patch number!)
Page 3 of 5 FirstFirst ... 2 3 4 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Default Sex / Looking For On Search.Php
    By Smoge in forum Bugs Dolphin 5.6.4
    Replies: 0
    Last Post: 05-03-2007, 11:19 PM
  2. show IM by default
    By makenoize in forum General Issues, Comments, Questions
    Replies: 5
    Last Post: 11-08-2006, 06:59 PM
  3. Replies: 2
    Last Post: 09-09-2006, 12:02 PM
  4. email profile to a friend, invite a friend
    By valentino in forum Bugs aeDating v4.0.2
    Replies: 1
    Last Post: 02-23-2006, 01:41 AM
  5. USA as Default
    By Herman in forum General Troubleshooting
    Replies: 1
    Last Post: 04-09-2005, 06:04 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts