Results 1 to 10 of 10

Thread: If your site gets no link love then change your rel link

  1. #1
    Member
    Join Date
    May 2010
    Posts
    65
    Thanks
    2
    Thanked 5 Times in 5 Posts

    Default If your site gets no link love then change your rel link

    Good thing I decided to add the add-to-any code to my post that will show, I found out the links are no follow.. Not a good thing, that is bad, especially when linking to your own sites...

    For those that plan on using this as a private network to link through your own sites and cross link everything. Make sure you edit content/plugins/sb_base/templates/sb_post.php

    Find:
    Code:
    <a href='<?php echo $h->post->origUrl; ?>' <?php echo $h->vars['target']; ?> class="click_to_source" rel="nofollow"><?php echo $h->post->title; ?></a>
    Replace:
    Code:
                <a href='<?php echo $h->post->origUrl; ?>' <?php echo $h->vars['target']; ?> class="click_to_source" rel="dofollow" title="<?php echo $h->post->title; ?>"><?php echo $h->post->title; ?></a>
    Ok sb_list.php has the same nofollow, this means you inner pages would have a hard time getting indexed.. Well by google anyways since they are the only ones that use the nofollow junk...

    Here is the line that needs replaced in sb_list.php
    Code:
    <a href='<?php echo $h->post->origUrl; ?>' <?php echo $h->vars['target']; ?> class="click_to_source" rel="dofollow" title="<?php echo $h->post->title; ?>"><?php echo $h->post->title; ?></a>
    Edited: Just notice the link is also lacking the title on mouse over so I added that to the code also. This is good for SEO...

    Hey Nick, are there any other nofollow tags in this script ???

    James
    Last edited by James Stein; 05-30-2010 at 04:40 AM.

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

    Quote Originally Posted by James Stein View Post
    Make sure you edit content/plugins/sb_base/templates/sb_post.php
    Yikes, don't do that! That would be very silly since your changes would be overwritten when the plugin is updated.

    Golden rule: Never edit plugin templates, CSS, JavaScript or language files.

    If you need to edit something, copy those files into your own theme folder and edit them there.

    Quote Originally Posted by James View Post
    Hey Nick, are there any other nofollow tags in this script ???
    Which script? Hotaru? No. The SB Base plugin? Only the above. They were added to those templates just recently because social bookmarking sites attract unimaginable amounts of spam.

    Links put in comments automatically get "nofollow" added, but that proved problematic when editing them so has been dropped for the next version.

  3. #3
    Member
    Join Date
    May 2010
    Posts
    65
    Thanks
    2
    Thanked 5 Times in 5 Posts

    Default

    lol .. Ok .... Well I need dofollow on mine as my sites are private, no user registration, no comments, or any of that junk.. Only members of my article marketing tools sites can post..

    My authors articles will be auto syndicated through Rss to the proper cats and then I will code a module for them to use in my bookmarking submitter to post bookmarks in the bookmark category.

    All links lead back to my sites, except the bookmarks and those can be dofollow I don't mind sharing the link love...

    James

    Quote Originally Posted by Nick View Post
    Yikes, don't do that! That would be very silly since your changes would be overwritten when the plugin is updated.

    Golden rule: Never edit plugin templates, CSS, JavaScript or language files.

    If you need to edit something, copy those files into your own theme folder and edit them there.



    Which script? Hotaru? No. The SB Base plugin? Only the above. They were added to those templates just recently because social bookmarking sites attract unimaginable amounts of spam.

    Links put in comments automatically get "nofollow" added, but that proved problematic when editing them so has been dropped for the next version.

  4. #4
    Junior Member
    Join Date
    Aug 2010
    Posts
    6
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    so how to add dofollow links?

  5. #5
    Member
    Join Date
    May 2010
    Posts
    65
    Thanks
    2
    Thanked 5 Times in 5 Posts

    Default

    You don't .. rip out the no follow, it is bad for SEO unless you have all this money for marketing or you have a popular site... I warn you though, if you have a public site that anyone can register at, you will get spammers by having no "no follow" tag..

    All my sites are private, only my members can post to them so ripping out that no follow tag works great for me...

    James
    Quote Originally Posted by xhotaru View Post
    so how to add dofollow links?

  6. #6
    Junior Member
    Join Date
    Aug 2010
    Posts
    6
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    Thanks James!

    I've read Nick's comment and thought there might be another solution as well.

    Actually there was a problem after installing sb_base plugin. Suddenly the time filers got doubled. Screenshot:



    Any idea how to fix this?

  7. #7
    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 is an old plugin that hasn't been used since Hotaru 1.2. Uninstall it and your problem will go away.

  8. #8
    Junior Member
    Join Date
    Aug 2010
    Posts
    6
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    Nick,

    I though so because the plugin doesn't have any relevant features whatsoever.

    So again to my question - how to have dofollow links without SB Base?

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

    Ah, yeah, sorry. Same as James' instructions in the first post, only the templates are in the Bookmarking plugin and called bookmarking_post.php and bookmarking_list.php.

  10. Thanked by:


  11. #10
    Junior Member koosmooi's Avatar
    Join Date
    Dec 2010
    Posts
    14
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    I guess I found that the files to be modified, bookmarking_post.php and bookmarking_list.php, are located in:
    content/themes/your-theme/

    modifying the ones in:
    content/plugins/bookmarking

    didn't work for me.

    Thanx

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Link Bar 0.5
    By Nick in forum Plugin Downloads
    Replies: 22
    Last Post: 02-15-2012, 09:01 PM
  2. I cant submit any link
    By download in forum How-To and Troubleshooting
    Replies: 37
    Last Post: 12-15-2010, 11:29 PM
  3. Link goes to Site/Article
    By landshark in forum How-To and Troubleshooting
    Replies: 5
    Last Post: 04-01-2010, 07:47 PM
  4. How to Add an Account Link
    By Gunaxin in forum How-To and Troubleshooting
    Replies: 2
    Last Post: 03-19-2010, 06:15 PM
  5. Where's the link to my profile?
    By nothingman in forum How-To and Troubleshooting
    Replies: 12
    Last Post: 11-20-2009, 01:16 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
  •