TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,234
  • Total Topics: 21,353
  • Online today: 606
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 214
  • Total: 215
  • @rjen

Article stops workin with too much text

Started by iGate, July 08, 2007, 01:34:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

iGate

hi all.

i am modding this code: http://www.tinyportal.net/index.php?topic=9840

i want to put  text before the form so i am doing this. however when i reach a certain work limit the article does not show.
this is my code:

global $sourcedir, $user_info, $context ;

require_once($sourcedir . '/Subs.php');
require_once($sourcedir .'/Subs-Post.php');



// CONFIGURATION SECTION

//send the application by email?
$enable_email=true;

// email address of reqruitment staff member
$email_address='k.dog.qwe@gmail.com';

//post the application on forum?
$enable_post=true;

//board id to which the application should be posted
$board_id=6.0;

//the id of the this article
$this_article_id = '17';

//article to be redirected when form is submitted
$thank_you_article_id = '16';


//END OF CONFIGURATION SECTION

$show_form= 'true';
if (isset($_POST['submitted'])) {
// Handle the form

// Check required fields
$enroll_errors = array(); //Initialize error array

// Check for a name
if (empty($_POST['real_name']) ){
$enroll_errors[] = 'You forgot to enter your name.';
}
// Check for an email
if (empty($_POST['email']) ){
$enroll_errors[] = 'You forgot to enter your email address.';
}
// Check for an AA name
if (empty($_POST['aa_name']) ){
$enroll_errors[] = 'You forgot to enter your In-Game Nickname.';
}       
// Check for an age
if (empty($_POST['age']) ){
$enroll_errors[] = 'You forgot to enter your age.';
} 

if (empty($enroll_errors)) { //Everything seems to be OK
     
        $show_form='false';



// email an application

$subject = 'Enrollment Application';
$body = 'Enrollment application has been made by ' . $context['user']['name'] .
' from IP Address ' . $user_info['ip'] . '
Real Name:  ' . $_POST['real_name'] . '
Email address:  ' . $_POST['email'] . '
Current Game Name:  ' . $_POST['aa_name'] . '
Age:  ' . $_POST['age'] . '
Gender: ' . $_POST['gender'] . '
Location:  ' . $_POST['location'] . '
Current Honor:  ' . $_POST['honor'] . '
Previous clan(s):  ' . $_POST['prev_clans'] . '
Banned from any sever:  ' . $_POST['banned'] . '
Registered with AAOTracker? ' . $_POST['aaotracker'] . '
AAOTracker name:  ' . $_POST['aaotracker_name'] . '
drAAt Link:  ' . $_POST['draat'] . '
TeamSpeak installed?:  ' . $_POST['ts'] . '
Have microphone/headset:  ' . $_POST['mic'] . '
Would like to help pay for a server?: ' . $_POST['pay'] . '
Why do you want to join our clan?  ' . $_POST['why'] . '
Other information:  ' . $_POST['other'];

$postbody = 'Enrollment application has been made by ' . $context['user']['name'] .'<br />
<table>
<tr><td>Real Name:<td></td><td>  ' . $_POST['real_name'] . '</td></tr>
<tr><td>Email address:<td></td><td>  ' . $_POST['email'] . '</td></tr>
<tr><td>Current Game Name:<td></td><td>  ' . $_POST['aa_name'] . '</td></tr>
<tr><td>Age:<td></td><td>  ' . $_POST['age'] . '</td></tr>
<tr><td>Gender: <td></td><td>' . $_POST['gender'] . '</td></tr>
<tr><td>Location:<td></td><td>  ' . $_POST['location'] . '</td></tr>
<tr><td>Current Honor: <td></td><td> ' . $_POST['honor'] . '</td></tr>
<tr><td>Previous clan(s): <td></td><td> ' . $_POST['prev_clans'] . '</td></tr>
<tr><td>Banned from any sever: <td></td><td> ' . $_POST['banned'] . '</td></tr>
<tr><td>Registered with AAOTracker? <td></td><td>' . $_POST['aaotracker'] . '</td></tr>
<tr><td>AAOTracker name:  <td></td><td>' . $_POST['aaotracker_name'] . '</td></tr>
<tr><td>drAAt Link: <td></td><td> ' . $_POST['draat'] . '</td></tr>
<tr><td>TeamSpeak installed?: <td></td><td> ' . $_POST['ts'] . '</td></tr>
<tr><td>Have microphone/headset: <td></td><td> ' . $_POST['mic'] . '</td></tr>
<tr><td>Would like to help pay for a server?:<td></td><td> ' . $_POST['pay'] . '</td></tr>
<tr><td>Why do you want to join our clan? <td></td><td> ' . $_POST['why'] . '</td></tr>
<tr><td>Other information: <td></td><td> ' . $_POST['other']. '</td></tr>
</table>';



            if ($enable_email)
mail($email_address, $subject, $body,"From: " . $_POST['email']);



//create new forum post with application

$msgOptions = array(
'id' =>  0 ,
'subject' => '[Pending] Application of ' . $context['user']['name'],
'body' => $postbody ,
'icon' => 'xx',
'smileys_enabled' => true,
'attachments' =>  array(),
);
$topicOptions = array(
'id' => 0 ,
'board' => $board_id,
'poll' =>  null,
'lock_mode' =>  null,
'sticky_mode' =>  null,
'mark_as_read' => true,
);
$posterOptions = array(
'id' => $context['user']['id'],
'name' => $context['user']['name'],
'email' => $user_info['email'],
'update_post_count' => true,
);
   
if ($enable_post)
            createPost($msgOptions, $topicOptions, $posterOptions);

// Redirect to thank you page
header('Location: http://' . $_SERVER['HTTP_HOST'] .'/forum/index.php?page=' . $thank_you_article_id);

} else {
// Redirect to error page
//header('Location: http://' . $_SERVER['HTTP_HOST'] . 'forum/index.php?page=' . $enroll_error_article_id );
echo '<h2 class="error">Error!</h2>';
echo '<p class="error">The following error(s) occured:<br />';

foreach ($enroll_errors as $msg) {
echo " - $msg<br />";
}
   echo "<p>Please, correct all errors and try again.</p>" ;



}
}
//else { // Display the form

echo '
<form action="index.php?page='  . $this_article_id  . '" method="post">
        <INPUT id="submitted" name="submitted" type="hidden" value="TRUE" />
Dear =IHF= prospect,
<br><br>
Please take 2 or 3 minutes to read over our brief overview of the Recruitment Process, Code of Conduct and Clan Requirements. Make sure that you understand, agree to follow and enforce our rules before continuing on with a membership application.
<br><br>
Joining our Clan is not fast. We already have many Members and new recruits so we are picky. We need to get to know you well before you are accepted.
<br><br>
The whole process looks like this in short:
<br><br>
First you should read our rules here: http://forum.ihf.lp.pl/index.php?board=15.0. Then read other parts of our forums, post, ask any questions and most important play with us.
<br><br>
When you are sure you really want to join =IHF= please post your application as bellow. It will be reviewed by us and after about a week you will be accepted (or not) and you will be able to change your name to =IHF=YourName[r], where [r] means recruit. You will also get onto special separated tracker. You will be in [r] for about a month and during this time, minimum one month, you need to play with us as much as you can and get as many good opinions about you as you can from our Members, especially Clan Leaders. You also must show us how much can you increase your game stats in that time, that you are mature and friendly.
<br><br>
You will also need the flowing requirements to get into the main =IHF= clan.
<br><br>
- You must play AA version 2.5 (mainly) <br>
- You must be nice, friendly and mature person<br>
- AA game account: ABSOLUTELLY CLEAN ACCOUNT! NO BANS FOR CHEATING! EVER! INCLUDING LINKED ACCOUNTS! <br>
- Public account on http://www.aaotracker.com/<br>
- Honor: > 25<br>
- Age: > 15<br>
- FR: > 0.8 (on aaotracker.com) <br>
- Kills: > 200 (on aaotracker.com) <br>
- ROE: < 1/5 * Score (on aaotracker.com) <br>
- Clans: no more than 3 clan changes in last half a year<br>
<br><br>
Rationale and notes:
<br><br><br><br>
1. Account - we don't want cheaters! We will scan your account history completely in
<center><h3>Application Form</h3></center>
<TABLE class = "bordercolor" cellSpacing="1" cellPadding="1" width="100%" border="0">

<TR class ="windowbg">
<TD colspan="2" align="center"><font size=2><strong>About Me</strong></font></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">AA Account Name: *</TD>
<TD><INPUT id="aa_name" name="aa_name" type="text" value ="';
if (isset($_POST['aa_name'])) echo $_POST['aa_name'];
echo '" /></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">Your Real Name:</TD>
<TD><INPUT id="real_name" name="real_name" type="text" value ="';
if (isset($_POST['real_name'])) echo $_POST['real_name'];
echo '" /></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">Age:</TD>
<TD><INPUT id="age" name="age" type="text" value ="';
if (isset($_POST['age'])) echo $_POST['age'];   
echo '" /></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">Gender:</TD>
<TD><SELECT id = "gender" name = "gender" style="WIDTH: 152px" value ="';
if (isset($_POST['gender'])) echo $_POST['gender'];   
echo '" />
<OPTION value="No Answer" selected>- Select One -</OPTION>
<OPTION value="M">Male</OPTION>
<OPTION value="F">Female</OPTION>
</SELECT></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">Location: *</TD>
<TD><INPUT id="location" name="location" type="text" value ="';
if (isset($_POST['location'])) echo $_POST['location'];   
echo '" /></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">Email address: *</TD>
<TD><INPUT id="email" name="email" type="text" value ="';
if (isset($_POST['email'])) echo $_POST['email']; else echo $user_info['email']; 
echo '" /></TD>
</TR>
<TR class ="windowbg">
<TD colspan="2" align="center"><font size=2><strong>My AA Stats</strong></font></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">Current Honor: *</TD>
<TD><INPUT id="honor" name="honor" type="text" value ="';
if (isset($_POST['honor'])) echo $_POST['honor'];   
echo '" /></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">Registered with AAOTracker? *(register <a href=" http://aaotracker.com/register.php">here</a>)</TD>
<TD><SELECT id="aaotracker" name="aaotracker" style="WIDTH: 160px" value ="';
if (isset($_POST['aaotraker'])) echo $_POST['aaotraker'];   
echo '" />
<OPTION value="No answer" selected>- Please Select -</OPTION>
<OPTION value="YES">Yes ââ,¬â€œ (Complete next step)</OPTION>
<OPTION value="NO">No ââ,¬â€œ (Skip next step)</OPTION>
</SELECT></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">AAOTracker Link: * (find <a href=" http://aaotracker.com/playersearch.php">here</a>)</TD>
<TD><INPUT id="aaotracker_name" name="aaotracker_name" type="text" value ="';
if (isset($_POST['aaotraker_name'])) echo $_POST['aaotraker_name']; 
echo '" /></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">drAAt Link: *
(find <a href=" http://www.draat.net/playersearch/">here</a>)
</TD>
<TD><INPUT id ="draat" name ="draat" rows="4" cols="40"  value ="';
if (isset($_POST['draat'])) echo $_POST['draat'];   
echo '" ></' . 'TEXTAREA></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">SF and Medic Training done?</TD>
<TD><SELECT id="clan" name="clan" style="WIDTH: 160px" value ="';
if (isset($_POST['clan'])) echo $_POST['clan'];   
echo '" />
<OPTION value="No answer" selected>- Please Select -</OPTION>
<OPTION value="YES">Yes</OPTION>
<OPTION value="NO">No ââ,¬â€œ Just Medic</OPTION>
<OPTION value="NO">No ââ,¬â€œ Just SF</OPTION>
<OPTION value="NO">None</OPTION>
</SELECT></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">Favourite Maps, Weapons Server?</TD>
<TD><TEXTAREA id="fav" name="fav" rows="4" cols="40" value ="';
if (isset($_POST['fav'])) echo $_POST['fav'];   
echo '" ></' . 'TEXTAREA></TD>
</TR>
<TR class ="windowbg">
<TD colspan="2" align="center"><font size=2><strong>AA and TeamSpeak Info</strong></font></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px"> Previous Usernames?</TD>
<TD><TEXTAREA id="prev_user" name="prev_user" rows="4" cols="40" value ="';
if (isset($_POST['prev_user'])) echo $_POST['prev_user'];   
echo '" ></' . 'TEXTAREA></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">Are you now or ever been in a clan?</TD>
<TD><SELECT id="clan" name="clan" style="WIDTH: 160px" value ="';
if (isset($_POST['clan'])) echo $_POST['clan'];   
echo '" />
<OPTION value="No answer" selected>- Please Select -</OPTION>
<OPTION value="YES">Yes ââ,¬â€œ (Complete next step)</OPTION>
<OPTION value="NO">No ââ,¬â€œ (Skip next step)</OPTION>
</SELECT></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">Previous clan(s) and reason of leaving:</TD>
<TD><TEXTAREA id="prev_clans" name="prev_clans" rows="4" cols="40" value ="';
if (isset($_POST['prev_clans'])) echo $_POST['prev_clans'];   
echo '" ></' . 'TEXTAREA></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">Operating System:</TD>
<TD><TEXTAREA id="os" name="os" rows="4" cols="40" value ="';
if (isset($_POST['os'])) echo $_POST['os'];   
echo '" ></' . 'TEXTAREA></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px"> Reason I play AA?</TD>
<TD><TEXTAREA id="reason" name="reason" rows="4" cols="40" value ="';
if (isset($_POST['reason'])) echo $_POST['reason'];   
echo '" ></' . 'TEXTAREA></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">How often do you play AA?</TD>
<TD><SELECT id="habbits" name="habbits" style="WIDTH: 160px" value ="';
if (isset($_POST['habbits'])) echo $_POST['habbits'];   
echo '" />
<OPTION value="No answer" selected>- Please Select -</OPTION>
<OPTION value="Daily">Daily</OPTION>
<OPTION value="Weekly">Weekly</OPTION>
<OPTION value="Monthly">Monthly</OPTION>
<OPTION value="Occasionally">Occasionally</OPTION>
</SELECT></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">Are you now or once banned from any sever (if yes, give details):</TD>
<TD><TEXTAREA id ="banned" name ="banned" rows="4" cols="40"  value ="';
if (isset($_POST['banned'])) echo $_POST['banned'];   
echo '" ></' . 'TEXTAREA></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">Do you have TeamSpeak installed?:</TD>
<TD><SELECT id="ts" name="ts" style="WIDTH: 160px" value ="';
if (isset($_POST['ts'])) echo $_POST['ts'];   
echo '" />
<OPTION value="No answer" selected>- Please Select -</OPTION>
<OPTION value="YES">Yes</OPTION>
<OPTION value="NO">No</OPTION>
</SELECT></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">Do you have microphone/headset:</TD>
<TD><SELECT id="mic" name="mic" style="WIDTH: 160px" value ="';
if (isset($_POST['mic'])) echo $_POST['mic'];   
echo '" />
<OPTION value="No answer" selected>- Please Select -</OPTION>
<OPTION value="YES">Yes</OPTION>
<OPTION value="NO">No</OPTION>
</SELECT></TD>
</TR>
<TR class ="windowbg">
<TD colspan="2" align="center"><font size=2><strong>Clan Info</strong></font></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">Why do you want to join =IHF=? *</TD>
<TD><TEXTAREA id="why" name ="why" rows="4" cols="40" value ="';
if (isset($_POST['why'])) echo $_POST['why'];   
echo '" ></' . 'TEXTAREA></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">Can you donate?</TD>
<TD><SELECT id="donate" name="donate" style="WIDTH: 160px" value ="';
if (isset($_POST['donate'])) echo $_POST['donate'];   
echo '" />
<OPTION value="No answer" selected>- Please Select -</OPTION>
<OPTION value="Monthly">Yes, monthly</OPTION>
<OPTION value="Occasionally">Yes, occasionally</OPTION>
<OPTION value="Not">No, not now</OPTION>
</SELECT></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px"> How can you help the Clan other than playing?</TD>
<TD><TEXTAREA id="help" name = "help" rows="4" cols="40" value ="';
if (isset($_POST['help'])) echo $_POST['help'];   
echo '" ></' . 'TEXTAREA></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">Who told you to Join?: *</TD>
<TD><INPUT id="join" name="join" type="text" value ="';
if (isset($_POST['join'])) echo $_POST['join'];
echo '" /></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">Any other information you think can help us to make a decision:</TD>
<TD><TEXTAREA id="other" name = "other" rows="4" cols="40" value ="';
if (isset($_POST['other'])) echo $_POST['other'];   
echo '" ></' . 'TEXTAREA></TD>
</TR>
<TR class ="windowbg">
<TD colspan="2" align="left"><font size=2><strong>My AA Stats</strong></font></TD>
</TR>
<TR class ="windowbg2">
<TD colspan="2" align="center">
<INPUT type="submit" value="Submit">
<INPUT type="reset" value="Reset"></TD>
</TR>
</TABLE>
</form>

';


this is all of the text that i want to put into it (its in a code format to save space in my post):

Dear =IHF= prospect,

Please take 2 or 3 minutes to read over our brief overview of the Recruitment Process, Code of Conduct and Clan Requirements. Make sure that you understand, agree to follow and enforce our rules before continuing on with a membership application.

Joining our Clan is not fast. We already have many Members and new recruits so we are picky.  We need to get to know you good before you are accepted.

The whole process looks like this in short:

First you should read our rules here: http://forum.ihf.lp.pl/index.php?board=15.0. Then read other parts of our forums, post, ask any questions and most important play with us.

When you are sure you really want to join =IHF= please post your application as bellow. It will be reviewed by us and after about a week you will be accepted (or not) and you will be able to change your name to =IHF=YourName[r], where [r] means recruit. You will also get onto special separated tracker. You will be in [r] for about a month and during this time, minimum one month, you need to play with us as much as you can and get as many good opinions about you as you can from our Members, especially Clan Leaders. You also must show us how much can you increase your game stats in that time, that you are mature and friendly.

You will also need the flowing requirements to get into the main =IHF= clan.

You must play AA version 2.5 (mainly)
You must be nice, friendly and mature person
AA game account: ABSOLUTELLY CLEAN ACCOUNT! NO BANS FOR CHEATING! EVER! INCLUDING LINKED ACCOUNTS!
Public account on http://www.aaotracker.com/
Honor: > 25
Age: > 15
FR: > 0.8 (on aaotracker.com)
Kills: > 200 (on aaotracker.com)
ROE: < 1/5 * Score (on aaotracker.com)
Clans: no more than 3 clan changes in last half a year

Rationale and notes:
1. Account - we don't want cheaters! We will scan your account history completely in different sources and if we will suspect you are cheater we will not accept you.

But we understand that people do stupid things in their lives, especially when they are young. So if you cheated in the past and you are really, really sorry for cheating you can clean yourself a little:
0. stop using cheats FOR EVER!
0. forget about your AA account, don't EVER log on it again
0. format your hard drive and reinstall your operating system (completely), this is REQUIRED (of course you can backup you data, but not AA files)
0. if you have static IP try to change it somehow, if you have dynamic IP (most DSLs and cable providers) you can skip this step
0. if it is possible change or upgrade your computer: especially network card (if you are using one), possibly disk drive, maybe even mainboard
0. stop playing AA for 1 month
0. after that 1 month passes create completely new AA account, with different name
0. install new version of AA on your computer
0. do basic training, play for some time to meet our requirements
Now: this is long and painfull procedure. It does not even guarantee you will clean yourself completely (especially if you have static IP or your MAC - simply: value computed from some computer parts serial numbers - stays the same somehow) but it should be painfull. Cheater should be punished and this is part of your punishment.

2. Honor - This shouldn't be very hard if you are good player. If you have much lower honor you won't have any chances during clan battles.

3. Age - Generally you must be over 13. But it looks like people over 15 are way more mature. We had very big problems with very young people before and we don't want to repeat them. But of course if you are 14 years old and good enough as a player we can accept you.

4. FR ââ,¬â€œ We don't care about FR too much (if your in the recruits). If not, we would require as said at least 0.80 FR.

5. Kills - You should be registered on aaotracker long enough to make these stats mean something. On the other hand making 400 kills shouldn't take you too long if you are good.

6. ROE - We hate idiots killing teammates. It happens from time to time but it must be really from time to time! Most good players have no problems with keeping it < 0.1 * Score so 1/5 should not be that hard.

7. Clan changes - Well, if you want to join our clan you are making decisions for months or even years, not days or weeks or hours! We don't need members that quit before we can even register them fully!

Once in =IHF= you will change your name to =IHF=YourName. As a main =IHF= clan member you will receive new tracker password and all rights and responsibilities (helping other members, taking part in important CBs, being a leader or getting some other important job to do). There is no limit on number of Members in =IHF=, simply if you are good enough, pass all the rules and have good opinions from others you get in. Also note that these rules may be relaxed at special occasions and for special recruits.

Thank you for reading through this article, please fill out the application form below.




But we understand that people do stupid things in their lives, especially when they are young. So if you cheated in the past and you are really, really sorry for cheating you can clean yourself a little:
- stop using cheats FOR EVER!
- forget about your AA account, don't EVER log on it again
- format your hard drive and reinstall your operating system (completely), this is REQUIRED (of course you can backup you data, but not AA files)
- if you have static IP try to change it somehow, if you have dynamic IP (most DSLs and cable providers) you can skip this step
- if it is possible change or upgrade your computer: especially network card (if you are using one), possibly disk drive, maybe even mainboard
-stop playing AA for 1 month
- after that 1 month passes create completely new AA account, with different name
- install new version of AA on your computer
- do basic training, play for some time to meet our requirements
Now: this is long and painfull procedure. It does not even guarantee you will clean yourself completely (especially if you have static IP or your MAC - simply: value computed from some computer parts serial numbers - stays the same somehow) but it should be painfull. Cheater should be punished and this is part of your punishment.

2. Honor - This shouldn't be very hard if you are good player. If you have much lower honor you won't have any chances during clan battles.

3. Age - Generally you must be over 13. But it looks like people over 15 are way more mature. We had very big problems with very young people before and we don't want to repeat them. But of course if you are 14 years old and good enough as a player we can accept you.

4. FR ââ,¬â€œ We don't care about FR too much (if your in the recruits). If not, we would require as said at least 0.80 FR.

5. Kills - You should be registered on aaotracker long enough to make these stats mean something. On the other hand making 400 kills shouldn't take you too long if you are good.

6. ROE - We hate idiots killing teammates. It happens from time to time but it must be really from time to time! Most good players have no problems with keeping it < 0.1 * Score so 1/5 should not be that hard.

7. Clan changes - Well, if you want to join our clan you are making decisions for months or even years, not days or weeks or hours! We don't need members that quit before we can even register them fully!

Once in =IHF= you will change your name to =IHF=YourName. As a main =IHF= clan member you will receive new tracker password and all rights and responsibilities (helping other members, taking part in important CBs, being a leader or getting some other important job to do). There is no limit on number of Members in =IHF=, simply if you are good enough, pass all the rules and have good opinions from others you get in. Also note that these rules may be relaxed at special occasions and for special recruits.
Thank you for reading through this article, please fill out the application form below.


here is a link to where i am trying to implement it: http://test.ihf.lp.pl/forum/index.php?page=17



IchBin

Can you look at your database table for the articles, look at the body column and tell me what it is set to? It might be set to something like smalltext. Let me know.

iGate

well the article generates no errors...

cause i dont have access to the db i have d/l a back up i hope that will suffice.
i think this i s the section of the db u wanted me to look at. i see no problem with it


CREATE TABLE `smf_topics`
) TYPE= COMMENT="Table './ihf-test/smf_topics' is marked as crashed and should be repaired";

#
# Table structure for table `smf_tp_articles`
#

DROP TABLE IF EXISTS `smf_tp_articles`;

CREATE TABLE `smf_tp_articles` (
  id int(11) NOT NULL auto_increment,
  date int(11) NOT NULL default 0,
  body text NOT NULL default '',
  intro text NOT NULL default '',
  useintro tinyint(4) NOT NULL default 1,
  category smallint(6) NOT NULL default 0,
  frontpage tinyint(4) NOT NULL default 1,
  subject text NOT NULL default '',
  authorID int(11) NOT NULL default 0,
  author text NOT NULL default '',
  frame tinytext NOT NULL default '',
  approved tinyint(4) NOT NULL default 1,
  off tinyint(4) NOT NULL default 0,
  options text NOT NULL default '',
  parse tinyint(4) NOT NULL default 0,
  comments tinyint(4) NOT NULL default 0,
  comments_var text NOT NULL default '',
  views int(11) NOT NULL default '',
  rating text NOT NULL default '',
  voters text NOT NULL default '',
  ID_THEME smallint(6) NOT NULL default 0,
  shortname tinytext NOT NULL default '',
  PRIMARY KEY (id)
) TYPE=MyISAM;

#
# Dumping data in `smf_tp_articles`
#

INSERT INTO `smf_tp_articles`


attached is copy of my db

IchBin

You'll need to change the body column to be a longtext instead of text. Text is limited to 65,000 bytes. A longtext field can handle over 4 million or something like that...

This is changed in TP 1.0

For now you'll have to edit your database to reflect that change.

iGate

ok...thanks....

cud u point out where in the db i need to do this?

shite....ive got a 500 error on my forum....looks like i cant do anything now....i wonder what went rong?

IchBin


iGate

oh...my bad...its that simple...ok thanks..

now to try and fix my 500 error....aww

This website is proudly hosted on Crocweb Cloud Website Hosting.