Images On Board

Started by Bulakbol, June 23, 2008, 05:19:47 PM

Previous topic - Next topic

baz.g

hi, i cant seem to make any new boards now, it just hangs in my admin area after installing this mod, i have tried uninstalling the mod and manually made sure all the code was gone from the different files and now sometimes i get this error:


Database Error: Field 'img_filename' doesn't have a default value
File: D:\home\Default\houseexchangewanted.co.uk\htdocs\forums\Sources\Subs-Boards.php
Line: 1100


please help :)
hxxp:www.houseexchangewanted.co.uk/ [nonactive]

NYChamps

Just wanted to say -   great Mod!!  I had a great time adding the pics - and it was all soooooo simple!

Thanks!

Bulakbol

Quote from: baz.g on July 08, 2008, 01:15:59 AM
hi, i cant seem to make any new boards now, it just hangs in my admin area after installing this mod, i have tried uninstalling the mod and manually made sure all the code was gone from the different files and now sometimes i get this error:


Database Error: Field 'img_filename' doesn't have a default value
File: D:\home\Default\houseexchangewanted.co.uk\htdocs\forums\Sources\Subs-Boards.php
Line: 1100


please help :)

You have to delete any instances of img_filename in the Sources/Subs-Boards.php. Find and delete
if (isset($boardOptions['img_filename']))
$boardUpdates[] = 'img_filename = \'' . $boardOptions['img_filename'] . '\'';

b.img_filename,
'image' => $row['img_filename'],



@NYChamps
   Thanks for using this mod and for the kind words.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

baz.g

#83
Quote from: JohnyB on July 08, 2008, 04:17:17 AM
Quote from: baz.g on July 08, 2008, 01:15:59 AM
hi, i cant seem to make any new boards now, it just hangs in my admin area after installing this mod, i have tried uninstalling the mod and manually made sure all the code was gone from the different files and now sometimes i get this error:


Database Error: Field 'img_filename' doesn't have a default value
File: D:\home\Default\houseexchangewanted.co.uk\htdocs\forums\Sources\Subs-Boards.php
Line: 1100


please help :)

You have to delete any instances of img_filename in the Sources/Subs-Boards.php. Find and delete
if (isset($boardOptions['img_filename']))
$boardUpdates[] = 'img_filename = \'' . $boardOptions['img_filename'] . '\'';

b.img_filename,
'image' => $row['img_filename'],



@NYChamps
   Thanks for using this mod and for the kind words.

There isnt a single trace of img_filename or img or filename in sources/subs-boards.php

i didnt actually want to uninstall this mod but it wouldnt let me add new boards, and still wont after uninstalling :(

EDIT:
i have tried reinstalling the mod, i can modify any exisiting board to include an image or have that field blank. but i still cannot add new boards, the transaction either hangs or i get that same error as above. :(
hxxp:www.houseexchangewanted.co.uk/ [nonactive]

Bulakbol

#84
Use your phpMyAdmin (MySQL) control panel and drop the img_filename column from smf_boards table then.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

baz.g

ok, will have to go down that route, has nobody else had this problem? everybody else can still add new boards after installing this mod?
hxxp:www.houseexchangewanted.co.uk/ [nonactive]

Bulakbol

@baz.g
   This is a comment/support thread. If you can help, I would appreciate it. If you have suggestion, I will listen. If the mod doesn't work for you, uninstall it.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

baz.g

thats what i am trying to do mate, thats why i asked if anybody else had had this problem, i have uninstalled it and am waiting for phpmyadmin access from my host. i liked the mod but the fact that i could not make any new boards after installing it was a big problem. i was just trying to find out if anybody else had had the problem and whether it was a known bug or whether there was a known cure.

i will let you know whether i was successful after gaining phpmyadmin access
hxxp:www.houseexchangewanted.co.uk/ [nonactive]

Bulakbol

This mod was tested and found to be safe to use. It looks like there's problem with your database. Perform maintenance such as "Find and repair any errors." It might help.

If you think this mod is not safe, report it. Other customizers will look at the mod and will pull the mod out of the download site if it is truly unsafe.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

baz.g

i was not suggesting it is unsafe, nor wish to report it, i was trying to help. i have optimised the tables, there are no errors, i have now had the tale removed from phpmyadmin, and i can add new boards again.

Thank you
hxxp:www.houseexchangewanted.co.uk/ [nonactive]

L'AltroWeb

#90
Hi!
I have installed this mod and is fantastic :)
Thank for your work :)
PS: i have edit alt attribute (alt="$boardname" instead of alt="*") and now image is click able ;)
One questions: because you have used alt="*"  ???

Bulakbol

#91
@baz.g
    Good to hear your issue is resolved. AFAIK, this mod if properly installed will not cause any problem.

@Dark-Worf
    Instead of using alt="" (null), I used alt="*". Al least there's asterisk (*) in place of a missing image if there's a mistake.

Anyone who uses this mod is welcome to modify the mod for their own use.  Thanks for the kind words and thanks for using this mod.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

L'AltroWeb

Thank'u too :)
PS i have changed like this:
if (!empty($board['image']))
echo '<div style="float:left; margin-right: 4px;"><a href="', $board['href'], '" name="b', $board['id'], '"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['name'], '" title="', $board['name'], '" /></a></div>';
You can see results here: http://darkwolf.altervista.org/forum/  8)

Bulakbol

Looking good Dark-Wolf. Your tip might be beneficial to others. Thanks.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

L'AltroWeb


apa yak??

plis help me, my BoardIndex.php has a problem. This is my php..

help meeee..
thx for the support

Bulakbol

#96
@Dark-Wolf
   Sleep tight. :)


@apa yak??
   What a name ha. :) Here's your edited BoardIndex.template.php.

Thanks for using this mod.


EDIT

ack! Sorry apa yak?? One of those days. Can you check if this is the right one for you?  I am mixed up now  :P

/EDIT
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

apa yak??

#97
@ johny b..

after get the edited BoardIndex, i just copy it.
but i still hav an error with my BoardIndex.template.php  >:(
what should i do??

:'(

reo4ua

Great Mod!

Install was a breeze with absolutely no issues using SMF 2.0.

Is there a way to have the graphic display to the left of the board category/name where the default smf icon is???

Bulakbol

@apa yak??
   What error are you getting? Is it related to this mod?

@southeastsportsforum.com
   If you'll do that, your logged-in members will not know if there are new posts. Try this mod instead.
http://custom.simplemachines.org/mods/index.php?mod=511

Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Advertisement: