ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Creating a link-directory, possible?

November 08, 2007 6:37pm

Subscribe [2]
  • #1 / Nov 08, 2007 6:37pm

    tjooghei

    3 posts

    Hi,
    I have used the EE Core version for about 6 months now, and Im extremely impressed with the CMS. But I have one problem, and therefore I now consider to upgrade to a personal license.

    I have tried to create a link-directory for a long time, but with bad luck. I want to create a place where users can submit links and browse links by categories. Users must be able to post links without being a member of my site.

    So I’m thinking, I want to create “dummy-posts” and call them something like “News”, “Sports” and so on. I then want to use these post as categories, and let users comment on these. But to make posting easy, I want all my “dummy-posts” to appear in a drop-down list in the comment form. And then the user can choose wich post, or category, he or she will post into.

    Is this possible? I have read a bit about the query-module, so I wonder if its possible to do this with this module? Something like this? (I’m not good with SQL..)

    <select>
    {exp:query sql="SELECT * FROM exp_weblog_titles"}
    
    <option>{title}</option>
    
    {/exp:query}
    </select>

    Or is there any other way I can do this?

    By the way, I know this is easy to do if my guest are members and logged in. But if I can allow unregistered guests to post, I will give it a try! 😉

  • #2 / Nov 08, 2007 7:44pm

    Lisa Wess

    20502 posts

    Greetings, tjooghei,

    Thank you for the kind words.

    Yes, you could do this, what you would do is use the Moblog to submit your links as entries to a particular weblog. You would then not need the query module to pull that information out, you would simply use the weblog entries tag.  This is very straightforward to do; but it does require the Moblog so you will have to purchase a license.

    The query module also requires the full version, so if you did have a need for that, then you would need to purchase a license.

  • #3 / Nov 09, 2007 7:23am

    tjooghei

    3 posts

    Hi Lisa

    That seems like a good idea. But the Moblog will only be updated in spesific time intervals? Right? So if a user post a new link the link will not show up in my site before a spesific time has passed? I know i can set the time between checks, but can I set this time to one minute, or less? What about my server-load then?

    Thank you for your help 😊

  • #4 / Nov 09, 2007 8:52am

    Boyink!

    5011 posts

    Unregistered users submitting links…sounds like great potential for being a spam target.  You might want to have an approval step in there…

  • #5 / Nov 09, 2007 10:55am

    tjooghei

    3 posts

    Hehe.. yes I know, it is a spam target. I used to have a link-directory on my previous page, and I did get alot of spam. But after I added a captcha box, I didn’t get spam anymore! So I need a captcha 😊

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases