Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: TOM MODE for the Dolphine 7?

  1. #1

    Join Date
    Mar 2010
    Posts
    26

    Default TOM MODE for the Dolphine 7?

    Is is possible to make the same function as myspace got on the D 7?


    The function will add all new users per auto when they join. It is a great way to keep contact in the beginning and a function I really need. It adds a friend to everyone who joins.


    Please help, I can' find it anyway (only for 6.1.1 but that didn't help much).

  2. #2

    Join Date
    Jan 2009
    Posts
    2

  3. #3

    Join Date
    Mar 2010
    Posts
    26

    Default

    Quote Originally Posted by Prolaznik View Post
    super! Thanks for the quick reply and I am eager to test your function right away!

  4. #4

    Join Date
    Mar 2010
    Posts
    26

    Default

    is it possible to get a quick guide for when people want to add two profiles per auto (or more)?

    what should be changed in
    $dump = db_res("INSERT INTO sys_friend_list SET `ID` = '{$iId1}', `Profile` = 2, `Check` = 1");


    (Yes, quite new in this)

  5. #5

    Join Date
    Feb 2010
    Posts
    31

    Thumbs down

    simple use this code twice its working

    PHP Code:
    $dump db_res("INSERT INTO sys_friend_list SET `ID` = '{$iId1}', `Profile` = 2, `Check` = 1");

    $dump db_res("INSERT INTO sys_friend_list SET `ID` = '{$iId1}', `Profile` = 3, `Check` = 1"); 

  6. #6

    Join Date
    Mar 2010
    Posts
    26

    Default

    Quote Originally Posted by watts View Post
    simple use this code twice its working

    PHP Code:
    $dump db_res("INSERT INTO sys_friend_list SET `ID` = '{$iId1}', `Profile` = 2, `Check` = 1");

    $dump db_res("INSERT INTO sys_friend_list SET `ID` = '{$iId1}', `Profile` = 3, `Check` = 1"); 
    damn, so perfect!
    thanks!

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

    Default

    Even better if you add a glparam, call the glparam it as an array, and then insert in one statement... then you can update the list in the admin panel without changing code.

    If the code change is for your site, it is ok to have to edit the code, but if you are doing it for someone else, you should put the value in the admin panel (glparams).

    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. #8

    Join Date
    Mar 2010
    Posts
    26

    Default

    that's true.

    Well this on is for myself, but I AM thinking about offering this to others, or at least some help with it and development. I just got to learn more now and then we'll see.

    But it is surely an advantage to have it placed in the admin panel for others.

    I might do that aftyer all the other bugs are fixed, just to see how to do it

    But right now I got a lot on my hands with errors ... seems like dolphine isn't so happy about my php 5.3/mysql version (but that's another story)
    Back on track: It is now adding two profiles and works like a charm. Very very good and very fast help/service here.

  9. #9

    Join Date
    Mar 2010
    Posts
    26

    Default

    A little challenge or upgrade of this function I havent seen before is:

    TOM MODE for GROUPS.

    In that way it will be possible to give the members a "welcome group".


    Do you know how that would be scripted, obviously not:
    $dump = db_res("INSERT INTO sys_group_list SET `ID` = '{$iId1}', `Group` = 1, `Check` = 1");

  10. #10

    Join Date
    Mar 2010
    Posts
    26

    Default

    hmm... still haven't found a mod for this function. I see great ways of using it - especially when forums/fora seems to be substituted by groups.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Locking for SEO Mode
    By fmxxl in forum Free Mod Exchange
    Replies: 2
    Last Post: 06-08-2011, 10:33 AM
  2. phpbb3 dolphine integration
    By abhishek1711 in forum Dolphin General Discussion v6.00 and above
    Replies: 1
    Last Post: 03-15-2009, 05:07 PM
  3. Dolphine upgraded problems
    By london in forum General Issues, Comments, Questions
    Replies: 0
    Last Post: 03-18-2007, 09:36 AM
  4. Safe Mode
    By chainsmoker in forum Bugs Dolphin 5.1
    Replies: 0
    Last Post: 05-27-2006, 06:09 PM
  5. PHP Safe Mode
    By Smoge in forum Security / Server Administration
    Replies: 2
    Last Post: 07-01-2005, 09:33 PM

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
  •