Results 1 to 12 of 12

Thread: latest updates question

  1. #1
    Join Date
    Jul 2007
    Posts
    126

    Default latest updates question

    i have a cat that is registered only but when i add links via csv it goes straight to the link instead of logging in first. it seems to go to detail page. is there a way to change this. the other thing, is that when i go to whats new from latest updates panel, it says 0 new listings even when i have placed over 1500 in there. thanks
    Last edited by smyhte; 07-01-2008 at 05:42 AM.
    I know more today than i did yesterday...
    V5.3.0

  2. #2
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    If you added the links via CSV and did not put a very recent date on them then they will not show up as new. If no date was entered then MySQL would insert a date of Jan 1 1969 or 1970 (I can't remember which).

    As for the links you added, the only was a user is able to visit those listings is via hot, top, random or new. If they try to visit the category they will be asked to register.

    Remember that it is ONLY the category that asks for the login, not the links within that category.

  3. #3
    Join Date
    Jul 2007
    Posts
    126

    Default

    thanks bruce, that makes sense. however, one thing that concerns me, is that i have added 1374 links in 1 cat and if a user clicks on the date in the whats new section such as http://domain.com/new.php?st=date&dt=1214521200, then they have access all the new links without being a member? also, all links are displayed on 1 page and can take some time to display. is there a way to limit the how many results are displayed? ie, pagination. thanks
    I know more today than i did yesterday...
    V5.3.0

  4. #4
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    You could rewrite the code for the page, but that would take a lot of time.

    I wouldn't worry about the new page, in fact you could even remove the links to the new page and it wouldn't really affect the site. Most visitors come to the site and either search for what they want or visit the specific category they are interested in.

  5. #5
    Join Date
    Jul 2007
    Posts
    126

    Default

    thanks for reply bruce. i have actually written the code for the page but it just goes back to new.php when i click next page. i assumd that so long as $pg_which was global then it should work. however, i shall probably take your second piece of advice and drop the new link. i do have one other question however relating to new.php. what does the paging = true || false actually do? many thanks.
    I know more today than i did yesterday...
    V5.3.0

  6. #6
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    now that I wouldn't know, but I would assume it's for pagination, which means producing multiple pages after x number of entries.

  7. #7
    Join Date
    Jul 2007
    Posts
    126

    Default

    thanks bruce. i think you are right. if you set it to true then it shows 10 results but no pagination. i shall dabble with that and report back with results. many thanks.
    I know more today than i did yesterday...
    V5.3.0

  8. #8
    Join Date
    Jul 2007
    Posts
    126

    Default

    following on from initial post. if i add links via csv why do they not appear in latest updates but if i add through admin control panel they do? i have update both category and number of links in control panel, but still no show. also, why is hot.php not updating. is there some secret to using this. any thoughts welcome. thanks.
    I know more today than i did yesterday...
    V5.3.0

  9. #9
    Join Date
    Jul 2007
    Posts
    126

    Default

    just an update. sorted out the update problem, but the hot issue is still not updating. thanks
    I know more today than i did yesterday...
    V5.3.0

  10. #10
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    It all has to do with date for the "latest updates" page. When importing via csv you need to have a recent date there otherwise IndexU won't know that those links are new or recent.

    Hot links will only update after users visit a number of pages on the site. Also if you have a NULL value in the database in the HOT table it may be causing an issue..

  11. #11
    Join Date
    Jul 2007
    Posts
    126

    Default

    bruce. perhaps i am reffering to the wrong hot. i am referring to block_hot_listing.php not hot.php. does that make a difference? thanks
    I know more today than i did yesterday...
    V5.3.0

  12. #12
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    They get the data from the same place, and in order for a link to be "hot" it needs to have people clicking on it more than others, and the NULL bit still counts in my previous post.

Similar Threads

  1. block latest Additions/Updates
    By zupi in forum Tutorials, Hints & Tips
    Replies: 1
    Last Post: 12-03-2007, 11:39 AM
  2. Number of links Latest Additions and updates
    By user_not_found in forum v5.x
    Replies: 2
    Last Post: 11-14-2007, 04:27 PM
  3. How to limit latest additions and updates to 5?
    By cheetahtraffic in forum v5.x
    Replies: 0
    Last Post: 03-12-2007, 01:19 AM
  4. Latest New Additions and Updates
    By lexpression in forum v5.x
    Replies: 2
    Last Post: 02-09-2005, 07:39 AM
  5. Latest New Additions and Updates [MODS]
    By brickholius in forum v5.x
    Replies: 0
    Last Post: 11-17-2004, 01:48 PM

Posting Permissions

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