|
|
Joined: Mar 2002
Posts: 6
Lurker
|
Lurker
Joined: Mar 2002
Posts: 6 |
Hey, I'm using the collowing code I found in an old thread about this same topic to restrict the post count from increasing in a specific forum but it doesn't seem to be working. I'm running 6.4b1. Oh and yes I'm sure the forum name is correct. Ideas? addpost.php if ($Board=='asylum') { <br /> $Totalposts = $user['U_Totalposts']; <br /> $CurrTitle = $user['U_Title']; <br /> $Color = $user['U_Color']; <br /> } <br /> else { <br /> $Totalposts = $user['U_Totalposts'] + 1;<br /> $CurrTitle = $user['U_Title']; <br /> $Color = $user['U_Color']; <br /> }<br />
|
|
|
|
Joined: Aug 2000
Posts: 1,609
Addict
|
Addict
Joined: Aug 2000
Posts: 1,609 |
Try to adjust your spacings: <br /> if ($Board == 'asylum') {<br /> $Totalposts = $user['U_Totalposts'];<br /> $CurrTitle = $user['U_Title'];<br /> $Color = $user['U_Color'];<br /> } <br /> <br /> else {<br /> $Totalposts = $user['U_Totalposts'] + 1;<br /> $CurrTitle = $user['U_Title'];<br /> $Color = $user['U_Color'];<br /> }<br /> This is an example of my code, and it works just fine. I believe.... You have me paranoid now! [runs off to check /]
|
|
|
|
Joined: Aug 2000
Posts: 1,609
Addict
|
Addict
Joined: Aug 2000
Posts: 1,609 |
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,929
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|