Current time: 10-01-2008, 03:15 PM Hello There, Guest! (LoginRegister)


Admin Password For 1.4 has been released!   -   Pick Your Group For 1.4 has been released   -   Affiliates Manager for 1.4 has been released!   -   [MyCredits] Group Subscriptions for 1.4 has been released!
 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A problem of Mod
Author Message
Haudegen
Junior Member


Posts: 25
Joined: Sep 2008
Reputation: 0
Post: #1
A problem of Mod
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/trayvon/public_html/wozilla.uk.to/inc/functions_post.php(371) : eval()'d code on line 3

I don't know that...
09-20-2008 10:22 PM
Dalton
Member


Posts: 179
Joined: Aug 2008
Reputation: 0
Post: #2
RE: A problem of Mod
It'd help if you gave more information.
Like..
What plugin?
Screenshot? (Print screen-->Paint-->Paste-->Save--Upload to tinypic.com
Did you read the readme?

09-20-2008 10:25 PM
Haudegen
Junior Member


Posts: 25
Joined: Sep 2008
Reputation: 0
Post: #3
RE: A problem of Mod
Its a parse from the plugin of MyCredits I don't know why is it always appearing when I doing some change to templates that given in readme, I don't know whats wrong:

<tr>
<td class="trow2"><strong>
($mybb->settings['credits_name'])
</strong></td>
<td class="trow2">($mycreds)</td>
</tr>

($mybb->settings['credits_name']) :
($post['credits']) <br/>

Are they wrong?
09-21-2008 12:33 AM


Nickman
Administrator



Posts: 457
Joined: May 2008
Reputation: 10
Post: #4
RE: A problem of Mod
(09-21-2008 12:33 AM)Haudegen Wrote:  Its a parse from the plugin of MyCredits I don't know why is it always appearing when I doing some change to templates that given in readme, I don't know whats wrong:


Are they wrong?

Your variables should be in {}'s. So like this:
Code:
<tr>
<td class="trow2"><strong>
{$mybb->settings['credits_name']}
</strong></td>
<td class="trow2">{$mycreds}</td>
</tr>

{$mybb->settings['credits_name']}:
{$post['credits']}     <br/>
09-21-2008 01:38 AM
Haudegen
Junior Member


Posts: 25
Joined: Sep 2008
Reputation: 0
Post: #5
RE: A problem of Mod
What line have a wrong? can u tell me...
09-21-2008 11:21 AM
Nickman
Administrator



Posts: 457
Joined: May 2008
Reputation: 10
Post: #6
RE: A problem of Mod
The code I posted is what should be put into the templates. The code you posted shouldn't be used anywhere. Do you have a test admin account you could PM me? I could put the code in for you if you want.
09-21-2008 11:56 AM


Haudegen
Junior Member


Posts: 25
Joined: Sep 2008
Reputation: 0
Post: #7
RE: A problem of Mod
yea I have thx I'll pm it to you
09-21-2008 12:08 PM
vangknight
Junior Member


Posts: 9
Joined: Sep 2008
Reputation: 0
Post: #8
RE: A problem of Mod
Yup got the same problem!
09-28-2008 08:44 AM
Nickman
Administrator



Posts: 457
Joined: May 2008
Reputation: 10
Post: #9
RE: A problem of Mod
Can anyone having this problem please post their member_profile template?

09-28-2008 09:10 AM


 

Bookmarks

Forum Jump: