|
help me
|
|
07-31-2008, 11:43 PM
Post: #11
|
|||
|
|||
|
RE: help me
- i have two lang file one in inc/languages/english (i do not know if thats right)
- there will be more to them - i am doing it by phpmyadmin for now untill i can get the other bits working as i said in (07-31-2008 12:40 PM)skippy Wrote: Okay i have been doing a bit of fixing and adding but the one thing i can not get to work is $lang->reason_edit = $lang->sprintf($lang->reason_edit, $post['editmessage']); I'm over every thing..... |
|||
|
07-31-2008, 11:50 PM
Post: #12
|
|||
|
|||
|
RE: help me
You should replace:
PHP Code: function topic_editl1() PHP Code: function topic_editl1(&$post) Consider making the template edit have a comment placeholder, then in the postbit hook, str_replace it with your value. |
|||
|
07-31-2008, 11:52 PM
Post: #13
|
|||
|
|||
|
RE: help me
what do you mean by
Consider making the template edit have a comment placeholder, then in the postbit hook, str_replace it with your value. sorry i am very new to this stuff. I'm over every thing..... |
|||
|
08-01-2008, 12:08 AM
Post: #14
|
|||
|
|||
|
RE: help me
Sorry about that.
In your hooked function, use something like this: PHP Code: if(!$post['editedmsg']) return;Hope that helps. |
|||
|
08-01-2008, 02:07 AM
(This post was last modified: 08-01-2008 02:18 AM by ChrisR.)
Post: #15
|
|||
|
|||
|
RE: help me
That you ZiNgA BuRgA ill use that snip of code to work with ill brack it fix it and what not so i can learn.
I'm over every thing..... |
|||
|
« Next Oldest | Next Newest »
|
Search
Member List
Calendar
Help




