?

Log in

No account? Create an account

Previous Entry | Next Entry

Comments text?

  • Feb. 20th, 2011 at 8:30 PM
Because of an increased amount of spam comments on LJ, I'd like to turn off anon posting. My lj page is syndicated from a wordpress-based site; I'd love to have something on the comment form directing non-lj users to the other site if they wish to comment. Is there a way to add or change the text on the comment page?

Tags:

Comments

( 5 comments — Leave a comment )
av8rmike
Feb. 21st, 2011 01:50 pm (UTC)
I'm not sure I follow. Can you give a link to the page that has the text you want to change? Although, if you're talking about the LJ comment form, then no, you can't change the text of that.
watchmebe
Feb. 22nd, 2011 07:21 pm (UTC)
On this page:
http://watchmebe.livejournal.com/698606.html?mode=reply

I'd like something by (above, below, beside, anywhere!) the words COMMENT FORM that directs anon posters elsewhere.
av8rmike
Feb. 22nd, 2011 07:29 pm (UTC)
Ah, OK. That's fairly easy-- but you need to use a theme layer to add whatever static text you want to the ReplyPage::print_body() function. I can't remember if I've helped you out with that in the past or not.
watchmebe
Feb. 22nd, 2011 07:32 pm (UTC)
You have helped before (thanks!)-- I already have a theme layer. Where in the ReplyPage section should I edit/add the text?
av8rmike
Feb. 22nd, 2011 07:52 pm (UTC)
Um... wherever you want it! =)
One thing that just occurred to me, though, is instead of hacking up the function in the layer to change the "Comment Form" text, just change the value of the property:

set text_replyform_header = "Comment Form - Non-LJ users, please go to the main blog page at JacksonPearce.com!";
or whatever you want it to say. If you wanted that text somewhere else, though, you'd have to stick in a print statement somewhere, like before the container_open() statement:

print "Non-LJ users, please go to the main blog page at JacksonPearce.com!";
But then you'd probably want to enclose that text in a div or span tag with a class so that you could style it.
( 5 comments — Leave a comment )

Latest Month

March 2016
S M T W T F S
  12345
6789101112
13141516171819
20212223242526
2728293031  

S2 Help Communities

Tags

Powered by LiveJournal.com
Designed by chasethestars