Page 1 of 4 123 ... LastLast
Results 1 to 10 of 35

Thread: SB Base 1.1

  1. #1
    Former lead dev Nick's Avatar
    Join Date
    Jun 2009
    Location
    Kakamigahara, Japan
    Posts
    2,859
    Blog Entries
    88
    Thanks
    482
    Thanked 806 Times in 526 Posts

    Default SB Base 1.1

    SB Base (Social Bookmarking Base)
    Version: 1.1
    Author: Nick Ramsay
    Created:
    2009/12/16
    Last Updated: 2010/05/14
    Tested on: Hotaru 1.2.0
    Plugins Required: None
    Plug & Play: Yes
    Supported: Yes

    This plugin is no longer used, and hasn't been since Hotaru 1.2. Please use the Bookmarking plugin instead.

    Description
    This plugin is the base of a social bookmarking website, providing the "list" and "post" templates to display news summaries and individual news articles.

    Instructions
    1. Upload the "sb_base" folder to your plugins folder.
    2. Install it from Plugin Management in Admin.
    3. Edit settings in Admin -> SB Base

    Revision History
    v.1.1 2010/05/14 - Nick - Fix for search results' RSS feed
    v.1.0 2010/05/07 - Nick - Fixes for better caching
    v.1.0 2010/04/14 - Nick - Changes to enable home page overriding
    v.0.9 2010/03/27 - Nick - 1 & 3 month options for post archiving, plus reorganization of post RSS methods
    v.0.8 2010/03/24 - Nick - Bug fix for Upcoming RSS and a new plugin hook before the RSS forwarding redirect.
    v.0.7 2010/03/15 - Nick - Option to redirect RSS feeds through your site to their sources [courtesy of Gunaxin.com]
    v.0.6 2010/03/13 - Nick - Lists ranked by vote are now ranked first by vote, second by recency
    v.0.5 2010/02/26 - Nick - Post filters hidden from user pages (#1243); Added profile navigation link
    v.0.4 2010/02/23 - Nick - Bug fix for user RSS feed, and showing messages above posts
    v.0.3 2010/02/21 - Nick - Bug fixes, cleaner list template and new "sb_no_posts" template
    v.0.2 2010/02/20 - Nick - Code changes for pagination
    v.0.1 2009/12/16 - Nick - Released first version

    Please click "Rate Thread" and give this plugin a rating. Thank you.

    Attached Thumbnails Attached Thumbnails sb_base.png  
    Attached Files Attached Files
    Last edited by carlo75; 02-06-2010 at 01:45 PM.

  2. Thanked by:


  3. #2
    Former lead dev Nick's Avatar
    Join Date
    Jun 2009
    Location
    Kakamigahara, Japan
    Posts
    2,859
    Blog Entries
    88
    Thanks
    482
    Thanked 806 Times in 526 Posts

    Default

    Updated to version 0.3. If you have a custom sb_list.php template, you'll have to update your template again because I've simplified pagination (again). See the changes here:

    http://my-trac.assembla.com/HotaruCM...set/1204#file3

  4. #3
    Former lead dev Nick's Avatar
    Join Date
    Jun 2009
    Location
    Kakamigahara, Japan
    Posts
    2,859
    Blog Entries
    88
    Thanks
    482
    Thanked 806 Times in 526 Posts

    Default

    Updated: v.0.4 2010/02/23 - Nick - Bug fix for user RSS feed, and showing messages above posts

  5. #4
    Former lead dev Nick's Avatar
    Join Date
    Jun 2009
    Location
    Kakamigahara, Japan
    Posts
    2,859
    Blog Entries
    88
    Thanks
    482
    Thanked 806 Times in 526 Posts

    Default

    Updated: v.0.5 2010/02/26 - Nick - Post filters hidden from user pages (#1243); Added profile navigation link.

    Edit: I added a quick fix for breadcrumbs to the 0.5 zip a couple of hours after posting it.

  6. #5
    Admin & Design JonH's Avatar
    Join Date
    Jun 2009
    Location
    New Braunfels, Texas
    Posts
    248
    Thanks
    57
    Thanked 49 Times in 30 Posts

    Default

    Here's a possible SEO benefit with the <h1> tag:
    On the default theme the story page's <h1> tag is on the site name (in header.php), which works good for the home page but the story page i.e. sb_post.php, the <h1> tag would be more SEO friendly if it was on the story title.

    The part I'm not sure of is how to do a "if ($h->post)" or something like that as a conditional statement to switch the h1 tag over to the story title on story pages...Is this possible?
    A few CSS tweaks would keep everything looking the same since Google doesn't crawl style sheets.

  7. #6
    Former lead dev Nick's Avatar
    Join Date
    Jun 2009
    Location
    Kakamigahara, Japan
    Posts
    2,859
    Blog Entries
    88
    Thanks
    482
    Thanked 806 Times in 526 Posts

    Default

    Quote Originally Posted by JonH View Post
    The part I'm not sure of is how to do a "if ($h->post)" or something like that as a conditional statement
    Try

    PHP Code:
    if ($h->pageType == 'post') {
        
    // stuff


  8. #7
    Admin & Design JonH's Avatar
    Join Date
    Jun 2009
    Location
    New Braunfels, Texas
    Posts
    248
    Thanks
    57
    Thanked 49 Times in 30 Posts

    Default

    Quote Originally Posted by Nick View Post
    Try

    PHP Code:
    if ($h->pageType == 'post') {
        
    // stuff

    Ooh. Yep that worked. Found it in the Docs I should check my own sig.
    Here's the hack.

  9. #8
    Former lead dev Nick's Avatar
    Join Date
    Jun 2009
    Location
    Kakamigahara, Japan
    Posts
    2,859
    Blog Entries
    88
    Thanks
    482
    Thanked 806 Times in 526 Posts

    Default

    Updated: v.0.6 2010/03/13 - Nick - Lists ranked by vote are now ranked first by vote, second by recency. No template/css/language updates necessary.

  10. #9
    Former lead dev Nick's Avatar
    Join Date
    Jun 2009
    Location
    Kakamigahara, Japan
    Posts
    2,859
    Blog Entries
    88
    Thanks
    482
    Thanked 806 Times in 526 Posts

    Default

    Updated: v.0.7 2010/03/15 - Nick - Added option to redirect RSS feeds through your site to their sources. No template/css/language updates necessary.

    This was custom work which has kindly been donated back to the Hotaru community by Gunaxin.com - Stuff for Guys.

  11. #10
    Senior Member Gunaxin's Avatar
    Join Date
    Mar 2010
    Location
    Baltimore, MD - USA
    Posts
    117
    Thanks
    37
    Thanked 26 Times in 16 Posts

    Default

    Quote Originally Posted by Nick View Post
    Updated: v.0.6 2010/03/13 - Nick - Lists ranked by vote are now ranked first by vote, second by recency. No template/css/language updates necessary.
    Nick,
    I was wondering if you could expand on this some. I'm using the Up/Down voting, and once something hits the front page, the sorting on the home page is always based on Date (newest at the top) and not based on votes at all. Is this supposed to be the case?

    Also in the up/down voting settings, it says 5 votes to make the page, but things are making it with only one vote. I had changed the setting in the normal voting plugin to 1 before I disabled it and enabled this plugin. So I am guessing it is using that setting?

    Last thing is Popular / Upcoming / Latest.
    Popular shows me the front page, and seems to work, however as I noted above, they are just sorted by date. Upcoming shows me nothing, and latest shows me 2 items that have not made the front page (from before I changed the threshold). Based on the content I am seeing each on those pages, it seems like they are all switched. Popular is showing me Latest, Upcoming is showing me Popular, and Latest is showing me Upcoming. Is this something I did wrong, or am I misunderstanding the functionality?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Focus Change from Bookmarking to CMS Base
    By Nick in forum News and Announcements
    Replies: 0
    Last Post: 08-11-2009, 01:06 PM

Tags for this Thread

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
  •