News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Images On Board

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

Previous topic - Next topic

Bulakbol

@orw
You're welcome. Thanks too for using or trying this mod.

@unik63
Try running the attached file. Upload it to your root folder.


@fmofmpls
Attach your Sources/Subs-Board.php and I'll try to rdit it for you manuallt.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

unik63

you mean put it in the root folder and go mywebsite.com/add_img_link_2b4.php [nofollow] and than install the mod

Bulakbol

That's right. Run only once though.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

unik63

#363
i ran it, and it gave me the following:
Notice: Undefined index: forum in Sources\Subs.php on line 3844

Notice: Undefined index: PortaMx in \Sources\Subs.php on line 3846

Notice: Undefined index: pmx_settings in \Sources\Subs.php on line 3895

Notice: Undefined index: pmx_blocks in \Sources\Subs.php on line 3900

Notice: Undefined index: PortaMx in \Sources\Subs.php on line 4130
Database updates complete!

unik63

#364
installed and it shows the same:

To create a new board, click the Add Board button. To make the new board a child of a current board, select "Child of..." from the Order drop down menu when creating the board.
   

Modify Boards    Create New Category  Settings   


Database Error
Unknown column 'b.img_filename' in 'field list'
File: \Sources\Subs-Boards.php
Line: 1039 

Back


under forum:

Database Error
Unknown column 'b.img_filename' in 'field list'
File: \Sources\Subs-BoardIndex.php
Line: 85 



Bulakbol

@unik63
The PortaMx errors are not part of this mod.
Try running this one. It will add the "img_fuilename" column. Good luck.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

unik63

The same...... :(

Notice: Undefined index: forum in \Sources\Subs.php on line 3844

Notice: Undefined index: PortaMx in \Sources\Subs.php on line 3846

Notice: Undefined index: pmx_settings in \Sources\Subs.php on line 3895

Notice: Undefined index: pmx_blocks in \Sources\Subs.php on line 3900

Notice: Undefined index: PortaMx in \Sources\Subs.php on line 4130
Database updates complete!

fmofmpls

Quote from: Bulakbol on December 02, 2008, 06:33:10 PM
@fmofmpls
Attach your Sources/Subs-Board.php and I'll try to rdit it for you manuallt.

Here you go. Thanks for the support!

Bulakbol

@fmofmpls
I modified your file so use it after installing this mod. Here it is.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

taha116

I teid this on my site it didnt work i really wanted it. Last time i tried tests were successful but when i entered URL for image i didnt get anything except the dreded X and the title of the image. I really want it so will someone help through this manulay
"The man who smiles when things go wrong has though of someone to blame things on"
I forgot the name
BUY electronic cigarettes with rechargeable batteries as well as flavored refills for cheap prices and only 1-2 dollars of shipping!
http://www.ngcigarettes.com/
~Taha116

Bulakbol

@taha116
There's is only one image that came with this mod. You should add your own images in default/images/ImagesOnBoard folder. Photo host (url) are not supported.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

taha116

Quote from: Bulakbol on December 13, 2008, 04:42:05 PM
@taha116
There's is only one image that came with this mod. You should add your own images in default/images/ImagesOnBoard folder. Photo host (url) are not supported.

Can you elaborate cauz im not sure but i think you jsut said external link are not allowed... I thought it said on the mod page that it is... im confused
"The man who smiles when things go wrong has though of someone to blame things on"
I forgot the name
BUY electronic cigarettes with rechargeable batteries as well as flavored refills for cheap prices and only 1-2 dollars of shipping!
http://www.ngcigarettes.com/
~Taha116

InsaneneSs

#372
Johnny can you make it on Cargo by dzinerstudio?

Can you edit him for me?

Judgey

when u say

   
Quoteecho '<div style="float:left; margin-right: 4px;"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="*" /></div>';

and add width="xx" after the alt="*" attribute.
Quote

    echo '<div style="float:left; margin-right: 4px;"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="*" width="35" /></div>';

I can not find the text :(

Bulakbol

@taha116
You are confused. Images are read from default/images/ImagesOnBoard, not from photobucket or some photo host. It is the link that you can link to anywhere you want.

@Became17
You have to attach a copy of your custom theme's BoardIndex.template.php and MessageIndex.template.php. I can't test it tho without the whole theme.

@Judgey
Download the latest package. Your copy might be old. If you are using custom theme, then it might be coded differently.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

haito

im using outline themes...
how make it appear?
www.japanesia.co.id | Portal Berita & Komunitas Untuk Kamu yang Suka Jepang

InsaneneSs

Quote from: Bulakbol on December 17, 2008, 12:52:42 AM
@Became17
You have to attach a copy of your custom theme's BoardIndex.template.php and MessageIndex.template.php. I can't test it tho without the whole theme.

Here are the files you ask. But if you want i can give you the hole theme

Bulakbol

@haito
You have to do the edit manually. If you can't find the codes for some reason, attach your BoardIndex.template.php and MessageIndex.template.php and I'll see what I can do.

@Became17
I got your files. I'll get back to you.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

haito

outline themes hasnot MessageIndex.template.php...
www.japanesia.co.id | Portal Berita & Komunitas Untuk Kamu yang Suka Jepang

InsaneneSs

Quote from: Bulakbol on December 17, 2008, 09:20:16 PM
@haito
You have to do the edit manually. If you can't find the codes for some reason, attach your BoardIndex.template.php and MessageIndex.template.php and I'll see what I can do.

@Became17
I got your files. I'll get back to you.

Johnny please edit this 2 files and not the other ones, sorry for the mistake! I thanks for helping!

Advertisement: