Results 1 to 8 of 8

Thread: Add multiple links from one user

  1. #1
    Join Date
    Sep 2004
    Posts
    162

    Default Add multiple links from one user

    Hi i want people to be able to have more than one link...well actually unlimited. How can i make it so one person can have multiple links? I want to make it like a product directory and people can have links to their products.

    Thanks!

    Brick

  2. #2
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    to clarify :

    you want a user to be able to add "products" rather than a whole site of products. for example "bob" runs an electric store, so he may want to add a kettle and a phone... correct?

    Well the first problem is that the ID is unique, this means to edit or modify they would always need to know the ID for each product. This could be solved by having and (edit?) link on the detail_form.html page, which could fill in the ID for you.

    You would need to consider this a lot, its quite a change. I would setup a first product listing, where the user get the password. Then, they could login to the modify page and be given the option to add more products. This way you could add the same password for each product.

    I would also suggest a hidden field that identified the user, (maybe the ID of the first product they added) then you could have a link that said "view other items from this seller"

    just some quick ideas, its somethign that would require a lot of work.
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

  3. #3
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    I think it would be sensible to MAKE submitters be members. I have a gut feeling this would make implementation a lot easier.
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

  4. #4
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    Quote Originally Posted by brickholius
    Hi i want people to be able to have more than one link...well actually unlimited. How can i make it so one person can have multiple links? I want to make it like a product directory and people can have links to their products.

    Thanks!

    Brick
    maybe something like this which is in v3.2E http://www.indexuhelp.com/forum/index.php?t=tree&th=64& and http://www.indexuhelp.com/forum/index.php?t=tree&th=51


    .
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  5. #5
    Join Date
    Sep 2004
    Posts
    162

    Default

    Quote Originally Posted by inspireme
    I think it would be sensible to MAKE submitters be members. I have a gut feeling this would make implementation a lot easier.

    Interesting. good points. Can members add as many links (will be products...but really just links) as they want? So what changes would need to be made if users became members? Or is it the same issues?

    thanks for your input inspireme

  6. #6
    Join Date
    Sep 2004
    Posts
    162

    Default

    Quote Originally Posted by esm
    The first link in the first link of the thread in indexuhelp forum is bad. Regarding the second...might be something to it... I really only want each member/user to only be able to add or remove their own links...which could be as many as they want and would prefer to have them edit them on the same page. Any other way to see the example page of editing all links on one page?

    b

  7. #7
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    yes, links in forums do become out of date

    here is some info on the MOD

    This mod allows the user to manage multiple links - Edit and Delete links thru the User's Control Panel ( as part of the My Account Link ).

    First, Install the "Using same username and email for link owner and user" MOD. You must follow the instructions posted by tidalx ( and highlighted in BLUE in the original mod ) to allow for multiple postings by the user.

    add a menu line as shown below about line 58 in the original file menu.html in the cp folder.

    <a href="index.php" class=menu>My Account</a>
    &nbsp; &nbsp; <a href="profile.php" class=lwhite>Profile</a>
    &nbsp; &nbsp; <a href="preference.php" class=lwhite>Preference</a>
    &nbsp; &nbsp; <a href="change_pwd.php" class=lwhite>Change Password</a>
    &nbsp; &nbsp; <a href="user_view.php" class=lwhite>Edit Links</a>


    indexu/cp folder ( you will see the change_pwd.php file there )

    user_deletd.php
    user_edit.php
    user_view.php

    themes/default/cp folder

    user_custom_field_form.html
    user_view.html
    user_view_rows.html

    Attachment: user_delete.php
    Attachment: user_edit.php
    Attachment: user_view.php
    Attachment: user_custom_field_form.html
    Attachment: user_view.html
    Attachment: user_view_rows.html
    Not sure if this what you want but sounds close anyway.


    .
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  8. #8
    Join Date
    Sep 2004
    Posts
    162

    Default

    Quote Originally Posted by esm
    yes, links in forums do become out of date
    here is some info on the MOD Not sure if this what you want but sounds close anyway. .
    Saintsr, what would you charge [$] to fix this up for me? To make it so a user can add their own links and manage them from their user panel? brick

Similar Threads

  1. Moving from G-T Links 2
    By esm in forum Pre-Sales Questions
    Replies: 14
    Last Post: 05-30-2005, 04:26 PM
  2. Replies: 22
    Last Post: 08-12-2004, 09:28 PM
  3. INDEXU FEATURES
    By Hart_House in forum Pre-Sales Questions
    Replies: 13
    Last Post: 06-30-2003, 11:57 AM
  4. User login problem
    By webmasterjr in forum v5.x
    Replies: 3
    Last Post: 12-16-2002, 06:03 AM

Posting Permissions

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