Jump to content
MakeWebGames

Dayo

Administrators
  • Posts

    2,491
  • Joined

  • Last visited

  • Days Won

    196

Everything posted by Dayo

  1. i never liked iframes/sites that didnt have a matching forum theme or a forum where you have rio re sign up and for $7.50 it would be alot simpler @ crimgame hurmmm ill check that out when i get back home
  2. Dayo

    PHP [Explode]

    $items - explode(",",$r['cITEMS']); echo $items[0]; try the one below you put - not = $items = explode(",", $r['cITEMS']); echo $items[0];
  3. here is a small demo of what is done so far http://cddesigns.org/forum/forum.php
  4. what is the url of the game? i willlook throgh the script for you to find the problem out, my msn is [email protected]
  5. nice, but i dont like the corners they look a bit unfinished
  6. it will be $7.50 when finished so far all i need to do is: - fine tune making new topic small bugs and css errors when previewing post - making delete post function - full intergration with gangs - staff back end also to awnser a few questions the gang forums forum should work with any gang mod as to show the gangs forum all you put is this <?php include 'path/to/forum_class.php'; $gangforum=new forum; $gangforum->view($ir['gang_id_varable']); ?> the script will check to see if that users gang_id_varable matches the catagorys gangid if so it shows if not an error is produced
  7. they both run off of similar fields so i might include a file to convert old catagorys/forums/post to this db structure
  8. atm this is not a 'drop in' repacementbut i am going to work on a script to move all old posts and treads into the current version
  9. atm its using a function withn the preg_replace (using the /e modifier) to check the image size this is only a tempoary messure a better one will be added soon, as for a demo ill probly make it this weekend, just have to make a few last ajustments, i have a small bug with the quoting and the pagenation
  10. Small update on progress - BBCode secured (IMG, URL, EMAIL) * IMG bbcode will be validated as an image see example below (1st image is title.jpg, 2nd is a php file, 3rd is an external image) {IMAGE FILE} * URL will go to forum.php?url={url} * EMAIL will go to forum.php?email={email}
  11. the only way i could think of is if you insert a db entry then pull the url off that what tbh is not needed
  12. i may make one of these, but expand it even more. please note its not gona be a recode a completly diffrent mod just it has a similar idea to it
  13. then you have edited the base script so without seeing the scripts i dont know, what is at the top of every main fie?
  14. any point in posting that in a dead topic?
  15. top.php is the gobal file (global.php) merged with the template safe.php has all the varables like $username $money etc ...
  16. if i remember correctly your db details are located in safe.php, if not look at the included files in top.php
  17. probly when i get home i will fix it what is our error?
  18. yea there will be a discount for multiple licences, i will keep records of them so if you buy one for game x then make another game y you will still get a discount (very good if you are a dver for many games) im gona try and get most of the bigger games using this insted of there one they are usiong atm weather it be smf/phpbb/mtgs or even the mccodes one (if ever used)
  19. i use something like this not sure if this is right (using my iphone to copy/paste and post) $bbcode = array( 0 => '/\[img\](.+?)\[\/img\]/e'); // run it with the e modifier (eval) $html = array( 0 => '"<img src=\'".$this->secureimg($1)."\' alt=\'User submitted image\' title=\'User submitted image\' />"'); ksort($bbcode); ksort($html); $post_bbcode_treated = preg_replace($bbcode, $html, $code); you will need to make a function secureimage() but you could use something like function secureimg($img) { $img2=getimagesize($img); if (@is_array($img2)) { echo $img; return $img; } else { echo $img; return 'images/broken.gif'; } } BTW - this is untested and could be wrong im using my ftp on the go app to copy code and remove some code
  20. thanks crimgame. deleting there forum would be a better/cheaper way for them :D, i dont think i will contact them i would rather sell it myself that way i know it wont be on a 1000 dl sites within the morning or ppl selling it as there own
  21. i will post the solution i use to secure the IMG bbcode tags when it is finaly finished, just found a few bugs with it :s
  22. you can also use a htaccsess rewrite to make .php .gif
  23. yea but if i sell it at $20 everyone will go and use MTGs and save themself $20 wher as if i do mine for $7.50 ($10 installed) they will be more likley to pay that and get more flexability btw the clickable bbcode if you hilight the text then click on them tags will be wraped around them also the pagenation is set to 2 posts a page in the screenshot (this is easily editable using the $class->setting('maxposts'); function :D (editable from spanel))
  24. Screen shots so far Catagorys/Forums here are the pictures of what the catagorys look like ingame All Catagorys (no staff/gang) Single Catagory Topics Here are the topics within the catagory forum Posting/Pagenation/posts Code Sample function rank($user) { $user=abs(intval($user)); $user=$this->user('`posts`', $user); $qry=mysql_query("SELECT * FROM `ranks` WHERE `posts` < ".$user['posts']." OR `posts`=".$user['posts']." ORDER BY `posts` ASC LIMIT 0, 1"); $rank=mysql_fetch_array($qry); return $rank['name']; } the above code could be used on your profile just include the class then add $class->rank($r['userid']); what do ppl think so far ?
  25. the forum should be ready within the week, in the end i have decided to sell it (under $10) as the work i have put into this i just cant give it away for free, just have to code the staff panel and tweek the coding a bit, i am looking for a largish game to test my forum on. you will receive a free licence* / instilation and free support PM me if you would like to test my forum * 1 site only
×
×
  • Create New...