Jump to content
MakeWebGames

NewsPaper Mod


AdamHull

Recommended Posts

[ATTACH=CONFIG]1586[/ATTACH][ATTACH=CONFIG]1587[/ATTACH]This is my first mod I have released to the public and I am fairly pants at coding. So all feedback is welcome.

It should be secure but it is not 100% tested

Save this as addnews.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

This next page you can call what ever you like as long as you remember to add it to the city or menu

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

 

The sql tables

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

addnew.png.43f88d9f43a72db26d91bcf312a02f7f.png

newpaper.png.6606534ca8ec05cd5d8247d165b3a905.png

Edited by adamhull
ADDED SCREENSHOTS
Link to comment
Share on other sites

Simple, but for what it's worth, simplicity is great for any developer.

Viewing the news is a little tricky, though. It seems like it would be a real pain for a user to view the actual news that you want to post, as the table really doesn't bring out the real content (which is the news itself). I would suggest a change of formatting, like perhaps the title and article itself be in a couple divs and the user/how long ago information be displayed in a different, much smaller div?

~G7470

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...