hi terabyte,
i need a little bit of clarification with this mod. i dl it from invision power resources. i was doign ok with the file edits until this section.
Open the file "admin/applications/forums/sources/classes/post/classPost.php"
Find:
'poll_only' => $poll_only,
Add Below:
//-----------------------------------------
// (T30) Close Only Poll
//-----------------------------------------
'tb_cop_closed' => ( $this->request['tb_cop_closed'] == 1 ) ? 1 : 0,
Save and upload the file back on the server
the section in Find, appeared 4 times in my classpost.php document and i got myself a little confused as to where to add it. should i add it under all 4 ?
-------------------------------------------------------
step 3: the skin edits, i ran into a bit of trouble here too.
Open the skin template "Online List -> showOnlineList", i did this in the acp through look and feel, i then copied the text into dreamweaver and used find to locate the text
<if test="voteButton:|:$topicData['state'] != 'closed' AND $forumData['status']"> and it said the document didnt contain this line of text.
at the top of the readme, it said to back up the topicview > poll display template, i checked the acp look and feel section for this and searched the text i found in that section and it does contain the
<if test="voteButton:|:$topicData['state'] != 'closed' AND $forumData['status']"> text, im guessing its here i alter the text not online list > show online section ?
i hope i made sense and thanks in advance for any help you can offer me, and im sorry if im being a bit dumb, i just cant figure it out
Jemima
This post has been edited by Jemima: 29 June 2009 - 02:14 AM