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

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 05-16-2008, 01:58 AM
Casual Pligger
Pligg Version: 9.8
Pligg Template: forum
 
Join Date: Oct 2007
Posts: 52
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
Reply With Quote
  #2 (permalink)  
Old 05-16-2008, 09:02 AM
New Pligger
 
Join Date: May 2008
Posts: 1
xmlham,

Did you find solution for this. I am looking for a similar solution.
Reply With Quote
  #3 (permalink)  
Old 05-16-2008, 02:54 PM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Social Pro Kit
 
Join Date: Jun 2006
Posts: 5,448
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>
Reply With Quote
  #4 (permalink)  
Old 05-17-2008, 01:46 PM
Casual Pligger
Pligg Version: 9.8
Pligg Template: forum
 
Join Date: Oct 2007
Posts: 52
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
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Link Error in User Profile: View>Published News rubber2002 Questions and Comments 5 06-09-2008 10:13 AM
remove "Another user with that email address exists" neoplus Questions and Comments 1 01-26-2008 11:42 AM
Add link to send message to user on link summary halisemre Questions and Comments 1 01-08-2008 05:55 PM
Remove news link. werushka Questions and Comments 5 01-07-2008 03:30 PM
How to link Extra fields in Profile to pull information from user table in database pliggnewbie Questions and Comments 0 04-12-2007 02:59 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development