Results 1 to 4 of 4
  1. #1
    Casual Pligger xmlham's Avatar
    Joined
    Oct 2007
    Posts
    52
    Thanks
    Received:0
    Given: 0

    How to remove "javascript" and link directly to user profile

    Hello!

    I am getting the hang of pligg and I LOVE IT!

    I notice that when you click on a user's name, the javascript runs and creates a "view profile" link.

    How do I make it so when people click on the user's name, it goes directly to the profile? And how do I get rid of that "View profile" javascript


    thanks

  2. #2
    New Pligger AbhishekGoyal's Avatar
    Joined
    May 2008
    Posts
    1
    Thanks
    Received:0
    Given: 0
    xmlham,

    Did you find solution for this. I am looking for a similar solution.

  3. #3
    Pligg Developer/Coder/Designer ChuckRoast's Avatar
    Joined
    Dec 2005
    Location
    Pliggville USA
    Posts
    9,118
    Thanks
    Received:396
    Given: 73
    Version
    SVN Build
    Site
    http://Pligg.com/chuckroast
    Open yourtemplate/link_summary.tpl and find the following

    Code:
    <span id="ls_posted_by-{$link_shakebox_index}">{#PLIGG_Visual_LS_Posted_By#} </span>
    Replace it with

    Code:
    <a href = "{$submitter_profile_url}">{#PLIGG_Visual_LS_Posted_By#}</a>
    Help Keep ChuckRoast Home
    Today's Pligg Blog Post


  4. #4
    Casual Pligger xmlham's Avatar
    Joined
    Oct 2007
    Posts
    52
    Thanks
    Received:0
    Given: 0
    Quote Originally Posted by chuckroast View Post
    Open yourtemplate/link_summary.tpl and find the following

    Code:
    <span id="ls_posted_by-{$link_shakebox_index}">{#PLIGG_Visual_LS_Posted_By#} </span>
    Replace it with

    Code:
    <a href = "{$submitter_profile_url}">{#PLIGG_Visual_LS_Posted_By#}</a>
    Another alternative is to remove this line:

    Code:
    <a href="{$submitter_profile_url}" onclick="show_hide_user_links(document.getElementById('userlinks-{$link_shakebox_index}'));">
    				{else}
    Thanks Chuck for pointing me in the right direction

Similar Threads

  1. Is it allowed to remove the "Powered by Pligg" link?
    By boetter in forum Questions & Comments
    Replies: 8
    Last Post: 10-06-2010, 12:02 AM
  2. Replies: 1
    Last Post: 07-02-2008, 10:53 AM
  3. remove "Another user with that email address exists"
    By neoplus in forum Questions & Comments
    Replies: 1
    Last Post: 01-26-2008, 07:42 AM
  4. Profile link after "posted by" with story display
    By tbones in forum Questions & Comments
    Replies: 5
    Last Post: 08-05-2007, 11:58 PM
  5. Profile link from anywhere except localhost gives "error 2"
    By lookingchris in forum Questions & Comments
    Replies: 0
    Last Post: 07-21-2007, 09:58 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
  •  
Pligg Modules and Pligg Templates from Pligg Pro Web Hosting Services by Midphase Dreamhost Web Hosting Donate to Pligg