Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Modifying @mention link output and adding @mention to post-form.php’s $content before $_post

@embergermedia

Member

Oh, I have an answer to your question number 2 above:

I duplicated the post-form, renamed it and call the new form just above their activity. Below is the code for the new form php file

`

<form action="” method=”post” id=”whats-new-form” name=”whats-new-form”>

<a href="”>

<textarea name="whatsnew" id="whats-new" cols="50" rows="10" onClick="ta(); this.form.whatsnew.value= '@ ‘;” title=”Do not Erase "@"”>@

This is a PUBLIC message

 
<input type="submit" name="aw-whats-new-submit" onClick="at();"id="aw-whats-new-submit" value="” />

`

and here is the js for the function calls:

`function ta() {
document.getElementById(“whats-new”).style.height = “60px”;
}
function at() {
document.getElementById(“whats-new”).style.height = “20px”;
}`

Skip to toolbar