Adopts News
Well this was suggested by a member, so I'd thought I would give it a try.
Now everything works, but the look is very minimal, the reason I did it this is, is that you guys can make the colors and what not something that would fit your site. Oh, and something else, with this one, you dont have to do any modifications, technically! =D Just upload, and off you go. Preview: http://i43.tinypic.com/14lrbix.jpg http://i39.tinypic.com/b6c4f5.jpg Now just upload the files to where you adopts script is, and your set. Once they are uploaded, go to www.yoursite.com/site_news.php And for the sql just import the sql files into your database. [attachment=193][attachment=203] |
RE: Adopts News
Wow, thats good :)
|
RE: Adopts News
Quote:
|
RE: Adopts News
The site_news.php file is not there.
|
RE: Adopts News
Quote:
|
RE: Adopts News
Hmm, not add_reply.php either.
|
RE: Adopts News
Quote:
Okay its added |
RE: Adopts News
Thats better :) And again great job.
|
RE: Adopts News
Quote:
|
RE: Adopts News
You aught to put some padding on those tables! The words are too close to the left side.
|
RE: Adopts News
Quote:
|
RE: Adopts News
Haha, another awesome job Bloodrun. It is very easily customisable, only problem I have is when I'm posting a news comment, for some reason I get an error if the detail field is too long. I have to go into the database and manually edit it. Any idea why?
|
RE: Adopts News
Whats the error?
|
RE: Adopts News
Quote:
That should take care of the text limitation. |
RE: Adopts News
Yep. It's perfect now. Great job!
|
RE: Adopts News
Quote:
Let me know if something doesn't work right, or if there's something you think should be added. |
RE: Adopts News
when i go to my site + site_news.php, and click add news, it will say ERROR??
|
RE: Adopts News
Quote:
|
RE: Adopts News
at me its really weird its all on the wrong place,
take a look, and HELP ME! :( http://yoshisisland.0fees.net/adoptables/news.php?nid=1 |
RE: Adopts News
Quote:
hmm, can i see your template file? The reason I ask, is because are you using the: $article_content or are you using something else? I think I may know the problem, but would you allow me access to your ftp to fix it? I believe the structure is just conflicting with the way your template is set up. |
RE: Adopts News
Quote:
|
RE: Adopts News
Quote:
Added. |
RE: Adopts News
Hmm, is there any way to make the system recognise new paragraphs? I've tried html and bbcode, and they both fail. Everything shows up in one continuous paragraph.
|
RE: Adopts News
Quote:
If that doesn't work, Ill just convert the thing to BBcode. |
RE: Adopts News
Quote:
Well here is my template : Quote:
|
RE: Adopts News
Quote:
and two, only the :ARTICLECONTENT: should be in <p> tags. |
RE: Adopts News
oh oops and just <p>:ARTICECONTENT:</p>?
|
RE: Adopts News
Quote:
|
RE: Adopts News
now its still bugged :( (but its better then earlier)
|
RE: Adopts News
Quote:
These Are Separate, into These are separate, etc. |
RE: Adopts News
Quote:
Quote:
|
RE: Adopts News
Hmm. I haven't tried this out since I changed the database field for detail to LONGTEXT. I'm trying to post news now, and I'm getting an error on add_news.php. I'm guessing that there's an error inserting it into the database.
PHP Code:
Quote:
|
RE: Adopts News
Quote:
And find the '$result' nearest to the line where it says the error is, and place this right after it: die('Invalid query: ' . mysql_error()); |
RE: Adopts News
Quote:
Quote:
|
RE: Adopts News
Quote:
I believe I put stripspalshes in the code, make sure i stripsplashed the name of the poster, the title and the details. |
RE: Adopts News
What part of the code are the stripslash parts in? I can double check just to make sure that they're there etc.
|
RE: Adopts News
Quote:
It would look like this: $something = stripsplash($something) |
RE: Adopts News
Okay, I've looked through the files, and the only file I can find the stripslashes in is news.php. Wouldn't it need to be in add_news.php, being's that's the file that adds news to the database (which the script is having trouble doing?) I downloaded a fresh copy of the zip file, and it's the same in there. Only on news.php
|
RE: Adopts News
Quote:
Anyway, um, what was your problem again? Lol I cant remember. EDIT: This is really wierd, because the sites I installed this on, don't have that error at all, and they have tons of single quotes in their posts o.0 |
RE: Adopts News
Yeah it is weird. I just tried uploading a fresh add_news.php, to see if it would change anything, and nada. Still nothing. The problem was posting articles with single quotes in lol.
|
All times are GMT -5. The time now is 05:08 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.