PDA

View Full Version : Need some help :)



fab
02-10-2006, 08:54 AM
Hiya, im having a problem setting up Forum-News i keep on getting the error

MYSQL ERROR: 1146 : Table 'enemyterritorys.phpbb_' doesn't exist QUERY: SELECT topic_id, forum_id, topic_title, topic_poster, topic_time, topic_views, topic_replies, topic_first_post_id FROM phpbb_ topics WHERE forum_id='2' ORDER BY topic_id DESC LIMIT 10

as far as i know ive set it up properly. Any help is greatly appreciated.

you can see the site here www.qwcenter.com and the forum at www.qwcenter.com/forums

Patrick
02-11-2006, 01:53 AM
It looks like you already figured it out... but your database prefix has a space at the end of it. Go into the admin panel and remove the rogue space from "phpbb_ " for the database prefix.

fab
02-11-2006, 06:51 AM
thanks alot buddy, i hadnt figured it out i was just messing around with other (not so good scripts) :)

fab
02-11-2006, 07:38 AM
That worked thanks alot. I have 1 more question tho is there a way to get the script to resize an image? im tring to make a picture of the day part on my site and i was hoping to use your script for it

you can see what i want by going here www.qwcenter.com

If this is not possible is there anyway to show a portion of a post e.g. if i have 2 images in a post (1 big and 1 small) is there any way i can show just the small one?

Patrick
02-12-2006, 04:42 PM
The script displays the forum post as is, but you could use the break article feature to manually put a break in the post for the news script. This will cause the forum news script to stop at the break (default [BREAK ARTICLE] ). Thus, you could put the small image before the [BREAK ARTICLE] and the other one after the [BREAK ARTICLE].


Also, if the [BREAK ARTICLE] bothers you, it can be changed as well to a different keyword.

fab
02-12-2006, 04:58 PM
Thank you very much bud!