Jump to content

khile

Members
  • Posts

    24
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

khile's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. im trying to do a live date checker so for example if someone entered 26/10/2010 in the field it would be valid but if they entered tommorows date or 26/10/2011 if would tell them stright away its wrong
  2. i got profile php working but im trying to make my code php5 compliant $group_opt = ereg_replace($group.'"', $group.'" selected',$group_opt); but get error Deprecated: Function ereg_replace() is deprecated i found it need to be replaced with preg_replace but that gives a delimiter error thanks
  3. i have attached file [attachment deleted by admin]
  4. says code is too long more that 40000 charactors ill try and split
  5. <?php } } ?> </form> </div> <?php } ?> <div class="clearer"></div> </div> <?php require FORUM_ROOT.'footer.php'; } } ?> thats the code and says errors on line 1651, the very last line i found and closed the open bracket ps: sorry to be a pain
  6. im not saying i know alot just trying to help a friend i have changed code and get: Parse error: syntax error, unexpected $end in C:\xampp\htdocs\2\profile.php on line 1649 and that line equals <?php require FORUM_ROOT.'footer.php'; } ?>
  7. Parse error: syntax error, unexpected $end online 1651 <?php require FORUM_ROOT.'footer.php'; } ?>
  8. im having a bit of problem with a section of code im tryingto help a friend code a app but its not working keep getting t_else error <?php require FORUM_ROOT.'footer.php'; } else if ($action == 'delete_avatar') // Shows this line has error { if ($forum_user['id'] != $id && $forum_user['g_id'] > USER_MOD) xBB_Message($lang_common['No permission']); xBB_Confirm_Referrer('profile.php'); @unlink($configuration['o_avatars_dir'].'/'.$id.'.jpg'); @unlink($configuration['o_avatars_dir'].'/'.$id.'.png'); @unlink($configuration['o_avatars_dir'].'/'.$id.'.gif'); $db->query('UPDATE '.$db->prefix.'users SET use_avatar=0 WHERE id='.$id) or xBB_Error('Unable to update avatar state', __FILE__, __LINE__, $db->error()); xBB_Redirect('profile.php?section=personality&id='.$id, $lang_profile['Avatar deleted redirect']); }
  9. nm got it working now thanks
  10. im having a few problems with if and endif see line of code below what have i done wrong <? if($forum_user['g_id'] <= USER_MOD):?><th class="tcr"><?php echo $lang_online['IP'] ?></th><?php echo "\n";endif ?> keeps kicking up error: Parse error: syntax error, unexpected T_ENDIF thanks
  11. khile

    BBCODE

    tryed putting it in code tags get Forbidden You don't have permission to access /forums/index.php on this server.
  12. khile

    BBCODE

    was just adding that above as would not let me upload to forum
  13. khile

    BBCODE

    I have implemented a new bbcode editor into my forum and for some reason its not posting the information and coming back with an error "Please fill out the message field before posting!" i have filled out the message but its still retuned ps: The attachments upload directory is not writable. Your attachment or avatar cannot be saved. files Below are the ones containing problem http://www.2shared.com/file/2845712/6020bc79/postreply.html http://www.2shared.com/file/2845713/17278cef/postreply.html Demo: http://www.aeonboard.com/beta/ and problem can be seeing when trying to post a new message or a reply to a message the quick reply uses a diffrent editor
  14. i have paid to have 2 programs developed which is a blog and also a forum both and coded and in working order i would like to ask anyone with php experience or who would like to beta test to msn me as my site is currently on a slow server and if 100's of peps go on i know it will crash so if you have php experiance or would like to beta test msn me msn: khile@hotmail.co.uk
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.