[56K WARN] Advanced Homepage wit NEWS 2.0

Looking for volunteers to join your project? Need help with a script but can't afford to pay? Want to offer your services as a volunteer to build up your portfolio? This is the place for you...

Moderator: General Moderators

themasterofthedisaster
Forum Commoner
Posts: 31
Joined: Mon Jul 09, 2007 6:23 am

Post by themasterofthedisaster »

Well, it desn´t matter if this doesn´t use FCK editor, what I wan is to have a text editor with fuctions like BOLD ; UNDERLINED; CURSIVE; Select Arial or other font; And a save button, thats all what I realy need. ¡IMAGES DON´T NEEDED! That´s all. Or only a simple text box, where the adim can write like here in a forum. Something like this post editor in this forum and instead of a Submit button a Save it! button., whichout any advanced features. Somebody is able to do that??
themasterofthedisaster
Forum Commoner
Posts: 31
Joined: Mon Jul 09, 2007 6:23 am

Post by themasterofthedisaster »

SOMEBODY CAN HELP OR NOT?
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: The Theorie

Post by Benjamin »

undecided name 02 wrote:I hope somebody can program this for me, I don´t know nothing about PHP so I will be grateful if somebody could help me.
That's not really what we do. When you start trying things and get stuck, post your code; that is when we can help you.
themasterofthedisaster
Forum Commoner
Posts: 31
Joined: Mon Jul 09, 2007 6:23 am

Post by themasterofthedisaster »

But I don´t know nothing about PHP so if somebody find time maybe he/she can help me to do this.
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

undecided name 02 wrote:But I don´t know nothing about PHP so if somebody find time maybe he/she can help me to do this.
Well, if you find money, someone's bound to find time.
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

undecided name 02 wrote:SOMEBODY CAN HELP OR NOT?
Please don't write in all caps, and please don't bump your thread. If someone wishes to volunteer to help you then they will. Pushing your thread to the top just annoys people.

If noone volunteers then I suggest you consider recruiting someone to help you for a fee. Why not post in the Work forum to find someone?
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Post by Charles256 »

jenovian
Forum Newbie
Posts: 5
Joined: Wed Aug 01, 2007 10:21 pm

Post by jenovian »

Hello, It's been quite a while since I've touched PHP, but as of late I've decided to get back into it, so I'll try my luck with this project and see how far it gets me. One question though... As I'm more of a charitable type, is this for a school as the sample web page design makes it out to be? Or is this for more of a personal run web site. While I could probably put one together though probably without some of the more advanced features... still, one for a school I would be most willing to do, one for personal use, that'd seem like the perfect project to work on to learn PHP - something that I honestly don't think would hurt anyone.

Another small note... if this is for your website, you'd probably find it easier to just use your forums as the posting script.. setup a forum (if you wish, hide it from everyone else's view), post the news in that forum and then have the homepage extract those posts from the database, I believe phpbb has a function or two that'll take the text from the database and render it.
themasterofthedisaster
Forum Commoner
Posts: 31
Joined: Mon Jul 09, 2007 6:23 am

Post by themasterofthedisaster »

Well, I´m using PHPbb and it works, now you said it is possible to make work phpbb to work like the idea of this proyect. Are you able to build a "system" (I call it "System" becaus e it nedds to have a correct syntax, etc ... :lol: ) in the way like this image??? :
Image
I will be greateful if you can help me and show me how to build such a "System". Its a School proyect, my school lend me its server to build a miniwebside in it for Students, so Me and some of my friends can write the latest news in the Index webside. Well if it is possible I prefer to build such a "system" before I put there a PHPbb forum. Well if it isnt possible to build such a system I've discribed in this Subforum please say me how to use phpbb in it. Thanks 4 all!
jenovian
Forum Newbie
Posts: 5
Joined: Wed Aug 01, 2007 10:21 pm

Post by jenovian »

ok.... So I threw this together, if you know even a little bit of PHP you should be able to understand how it works...

http://your_url/config.php - change to fit your values...
http://your_url/index.php - views the last five posts.... easy to change to something else..
http://your_url/admin/index.php - will allow you to login, and once logged in, will let you add a post, simply add in your content and click submit..
http://your_url/admin/post.php - actually adds the post...
http://your_url/admin/addadmin.php - allows you to add an admin with a username and password... DON'T leave it on your system or anyone will be able to access it...

VERY basic, and I might just touch up on it and add for viewing/deleting posts in the admin area... in any case, it's not anything big and definitely isn't going to be protected a lot, but most schools nowadays are on an intranet... The main page for viewing the posts isn't pretty, but you said you could handle the design aspect, so I just left some comments in there for where to put everything...

Took an hours worth of work throwing that together, make it look pretty and it's a basic design... to delete posts right now just open up phpmyadmin or something and delete them from the database...

http://www.mediafire.com/?1tmu39sa9kr
themasterofthedisaster
Forum Commoner
Posts: 31
Joined: Mon Jul 09, 2007 6:23 am

Post by themasterofthedisaster »

Wow! Greate Work, pretty thanks for all! This is greate! And thanks for the comments, too. Wow! Maybe when I learn PHP ill help you or other people to do their proyects too. ¡¡¡Greate forum and greate people here!!! THANKS!
themasterofthedisaster
Forum Commoner
Posts: 31
Joined: Mon Jul 09, 2007 6:23 am

Post by themasterofthedisaster »

Test:
To test it I´ve used the WAPM server for my PC and this are the results:
Index file works!
Ooops... one more

One last test...

more tests

testing

Stupid test........ a few more!

Well what doesnt work is the addadmin.php. When i write a username and password this what it says:


Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\wamp\www\admin\addadmin.php on line 26

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\wamp\www\admin\addadmin.php on line 26
User added!!!
What can I do???? Thanks
programmingjeff
Forum Commoner
Posts: 26
Joined: Fri Jan 05, 2007 10:56 am

Post by programmingjeff »

These kinds of questions should be asked in the PHP - Code forum.

Make sure you are properly connecting to your database. http://us.php.net/mysql_connect
jenovian
Forum Newbie
Posts: 5
Joined: Wed Aug 01, 2007 10:21 pm

Post by jenovian »

Actually, he is referring to an error I made in the script I gave him... sorry about the error.. should work now..

http://www.mediafire.com/?ejmjmxd2tp2

there's already a test admin in there... username - admin password - test

but that file should allow you to add admins..
themasterofthedisaster
Forum Commoner
Posts: 31
Joined: Mon Jul 09, 2007 6:23 am

Post by themasterofthedisaster »

Hmm, well, now it says this when I try to add a new admin:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\wamp\www\admin\addadmin.php:3) in C:\wamp\www\config.php on line 11
User added!!!
And... is it possible to delete a Admin user witch is alredy in the database??? (For example the Admin-Test user)

--------------------------------------------------------------------------------------
And here come the good news!:
Ive tryed the Admin-Test user and it worked, the new text realy apeared, whichout any bugs!. Greate work! Wow, and the smilies apear too!


Thanks 4 all until now!
Post Reply