inherit
120077
0
Mar 22, 2021 9:37:29 GMT -8
My Name is Billy Moonstone
726
February 2008
askandprosper
|
Post by My Name is Billy Moonstone on Jan 6, 2013 2:51:43 GMT -8
Hi When you go to someone's profile, two of the options are: - View this member's recent posts.
- View this member's recent threads.
Does anyone know how I can change the text? I don't want to do anything with the function, just describe it a little differently and get rid of the full-stops Thanks
|
|
inherit
Jack of All Trades, Master of None
27090
0
May 30, 2013 20:36:34 GMT -8
Stinky666
8,818
July 2004
stinky666
|
Post by Stinky666 on Jan 6, 2013 2:57:10 GMT -8
Hi When you go to someone's profile, two of the options are: - View this member's recent posts.
- View this member's recent threads.
Does anyone know how I can change the text? I don't want to do anything with the function, just describe it a little differently and get rid of the full-stops Thanks Admin > Themes > Layout Templates > User Profile > Summary tab. Line 108 - 111 <div class="content-box center-col"> $[recent_posts_link]<br /> $[recent_threads_created_link] </div> Replace with, editing the red to whatever you want <div class="content-box center-col"> <a href="$[recent_posts_link.href]"> Your New Recent Posts Text Here</a><br /> <a href="$[recent_threads_created_link.href]"> Your New Threads Created Text Here</a> </div> Edit: You could even do this, if you want.. For the red Text View $[user.name] recent posts View $[user.name] recent threads And it would display like so view Stinky666 recent posts view Stinky666 recent threads
|
|
inherit
120077
0
Mar 22, 2021 9:37:29 GMT -8
My Name is Billy Moonstone
726
February 2008
askandprosper
|
Post by My Name is Billy Moonstone on Jan 6, 2013 3:07:37 GMT -8
Brilliant, thanks! I like the "you could even do this" bit too. Thanks very much
|
|
inherit
Jack of All Trades, Master of None
27090
0
May 30, 2013 20:36:34 GMT -8
Stinky666
8,818
July 2004
stinky666
|
Post by Stinky666 on Jan 6, 2013 3:13:18 GMT -8
Brilliant, thanks! I like the "you could even do this" bit too. Thanks very much No probs. Thanks to Mabel Pines for teaching me how to do the thing with .href =D
|
|
inherit
120077
0
Mar 22, 2021 9:37:29 GMT -8
My Name is Billy Moonstone
726
February 2008
askandprosper
|
Post by My Name is Billy Moonstone on Jan 6, 2013 3:19:04 GMT -8
Hi Stinky666 I used this:
But when you click the links in profile all it does is just refresh (take you to) the same Profile page - it isn't showing the posts/threads
Any ideas?
|
|
inherit
120077
0
Mar 22, 2021 9:37:29 GMT -8
My Name is Billy Moonstone
726
February 2008
askandprosper
|
Post by My Name is Billy Moonstone on Jan 6, 2013 3:20:10 GMT -8
Is the $[user.name] messing it up maybe?
|
|
inherit
Jack of All Trades, Master of None
27090
0
May 30, 2013 20:36:34 GMT -8
Stinky666
8,818
July 2004
stinky666
|
Post by Stinky666 on Jan 6, 2013 3:42:16 GMT -8
Hi Stinky666 I used this:
But when you click the links in profile all it does is just refresh (take you to) the same Profile page - it isn't showing the posts/threads
Any ideas?
Hmm for some reason the whole thing is the problem, not just the username bit. I have no idea then
|
|
inherit
120077
0
Mar 22, 2021 9:37:29 GMT -8
My Name is Billy Moonstone
726
February 2008
askandprosper
|
Post by My Name is Billy Moonstone on Jan 6, 2013 3:46:55 GMT -8
No worries. I'll try experiment with it and report back
|
|
inherit
Jack of All Trades, Master of None
27090
0
May 30, 2013 20:36:34 GMT -8
Stinky666
8,818
July 2004
stinky666
|
Post by Stinky666 on Jan 6, 2013 3:55:14 GMT -8
No worries. I'll try experiment with it and report back I just don't get it. It works fine for stuff I have used in my Info Center, for example: <a href="$[recent_threads_link.href]"><font color="#ffffff"><u><b>threads</b></u></font></a> And it's the same thing. Hopefully someone else can shed some light on why it isn't working. I'm no coder, I just play with stuff and "preview" the changes, see if it breaks or not, if I like it (if it hasn't already broken lol) etc.
|
|
inherit
120077
0
Mar 22, 2021 9:37:29 GMT -8
My Name is Billy Moonstone
726
February 2008
askandprosper
|
Post by My Name is Billy Moonstone on Jan 6, 2013 4:20:42 GMT -8
Sussed it! You had an extra "a" immediately preceding the second href in each line. For example: If we take that out, we get: Which works fine!
I'll try inserting the second bit now - the bit so it brings up the user name
Thanks again, it was seeing your second info centre code that made me realise
|
|
inherit
120077
0
Mar 22, 2021 9:37:29 GMT -8
My Name is Billy Moonstone
726
February 2008
askandprosper
|
Post by My Name is Billy Moonstone on Jan 6, 2013 4:37:55 GMT -8
Thanks again Stinky666 It works a treat with your extra 'username' bit in the middle too I used: Which displays:
View recent posts by My Name Is Billy Moonstone View recent topics started by My Name Is Billy Moonstone
|
|
inherit
Jack of All Trades, Master of None
27090
0
May 30, 2013 20:36:34 GMT -8
Stinky666
8,818
July 2004
stinky666
|
Post by Stinky666 on Jan 6, 2013 4:38:40 GMT -8
Sussed it! You had an extra "a" immediately preceding the second href in each line. For example: If we take that out, we get: Which works fine!
I'll try inserting the second bit now - the bit so it brings up the user name
Thanks again, it was seeing your second info centre code that made me realise
I'm blaming the fact i haven't been up for all that long... Can't believe I put an extra 'a' though, doh. Does it worth with the name too? I think it should do. Edit: Excellent that it works
|
|
inherit
186864
0
Jul 12, 2013 13:07:52 GMT -8
triplew64
78
December 2012
triplew64
|
Post by triplew64 on Jan 20, 2013 8:41:48 GMT -8
This is great. Thanks for the help.
|
|