Hello,
I was just wondering what any of you people() do with your website and the news stuff. Like, when you put news on your site, do you do it manual or have some news script or something?? I am in search of a program that puts news on my website... (FREE)
I've had this done before(lost it)... an ASP page that you can send info to (but if someone finds out the parameters, ouch you got a site full of ads probably)
Thanks,
alacritous
Last edited by alacritous; Jul 8th, 2004 at 02:51 PM.
I use a php script that generates my index page and as it does that it makes a querry to my DB and this has a News table which it basically displays all the records in Date order and I have a priority system which handles if two items are on the same date. It also ignores dates that aren't reached yet so I can add news items that won't appear for X amount of days .
When your thread has been resolved please edit the original post in the thread ()
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.
lol, I would say my way is the easiest you can get apart from editing the html each time you update. At least this way it all looks after itself once I coded it once, so to add a new item it takes a couple of seconds to add a DB record.
When your thread has been resolved please edit the original post in the thread ()
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.
Whats the prob with phpBB? Its that bad to use, have you got it installed already?
phpBB2 is it?
When your thread has been resolved please edit the original post in the thread ()
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.
well anyway, it keeps saying the database isnt created (i dont know crap about mysql) so i download myphpadmin (which creates databases) and it still doesn't make one.. its all messed up.. i can try to install it again, but in the end it just caused too much crap.
Sorry but the way I remember it is you uplaod all the files to the server and then run install.php it then asks some options then it creates the DB for you. Cos you can't do it your self without knowing the structure of all the tables .
When your thread has been resolved please edit the original post in the thread ()
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.
Originally posted by Electroman Sorry but the way I remember it is you uplaod all the files to the server and then run install.php it then asks some options then it creates the DB for you. Cos you can't do it your self without knowing the structure of all the tables .
I run the install.php, thats when it has the error. I'll try it again though.. maybe my other computer has problems...:P
Can anyone possibly help me? I know its VBFOrums, although ChitChat, but I tried posting in the PhpBB and they are real mean people.. LOL.. anyone installed this? how?
Are you using a hosting plan or your own server? Normally they have a option in the control pannel of hosting plans to create a new DB. I don't think phpMyAdmin can create the DBs only connect to them :unsure: at least my host won't give me access to create DBs my self.
When your thread has been resolved please edit the original post in the thread ()
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.
Did you manage to create DB at all? Like is it just not recognising it or can't you create it?
When your thread has been resolved please edit the original post in the thread ()
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.
Posted by Acidic phpMyAdmin can definately create, edit, drop etc. databases. I use it all the time on my PC.
Your not thinking about tables are you? Or does it do both?
When your thread has been resolved please edit the original post in the thread ()
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.
Hello,
If you can create one, can you give me one? I need a damn database for the forums, and I don't know CRAP about creating one. I tried using MyPhpAdmin and it doesn't do crap for me....
hhm. I don't think that file creates the database, only the tables in it. if all else fails to create a DB, do this:
open MSDOS prompt
get to the folder with mysqladmin.exe in it
type: mysqladmin -u root create mydb
type: exit
then open phpMyAdmin and voila, you have a new db there for you, then import the sql file
For phpBB all you nee is an empty Database and when running the install.php for it you tell it the name of the blank database .
When your thread has been resolved please edit the original post in the thread ()
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.
Yes... I need help creating it... I was asking if Acidic made a blank database... I'm sorry for all the trouble, I am a complete newb at databases... And I don't feel like having the choice in my head to kill myself because I can't make an SQL Databse : \
Here you go, I opened my phpMyAdmin and on the page after loging in it shows this:
The account I logged in as doesn't have access to add new Databases but the bit I circled is where you should find the option .
When your thread has been resolved please edit the original post in the thread ()
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.
When your thread has been resolved please edit the original post in the thread ()
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.
1. did
2. *** sql server? im running my own server... *** is this?
stuck...
alacritous
Then make it localhost. 128.0.0.1 (thats right?)
When your thread has been resolved please edit the original post in the thread ()
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in config.inc.php and make sure that they correspond to the information given by the administrator of the MySQL server.
Error
MySQL said:
#2003 - Can't connect to MySQL server on '127.0.0.1' (10061)
Doh, and I was thinking it was either 126 or 128 .
If making it use port 3306 doesn't work then make sure that the mysql server program is running .
When your thread has been resolved please edit the original post in the thread ()
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.
Posted by señorbadger username should be root
no password by default
Yea but he wants to change them before he sets everything up. otherwise it'll be the easiest server to be hacked ever
When your thread has been resolved please edit the original post in the thread ()
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.