News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

Images On Board

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

Previous topic - Next topic

jayc7176

Quote from: mitochondria on July 31, 2008, 05:40:53 PM
Quote from: jayc7176 on July 31, 2008, 12:27:25 AM
Here you go Mate - Try this one. Make sure you Back your Originals  and then replace with this one . Lets see if this one works ..

good luck

wow...it works.... very thx bro  ;D

;)

No Problem Mate :) Glad you got it working..
I cannot teach anybody anything, I can only make them think -  Socrates™ 469 BC

SMF- 1.1.5

Bulakbol

Thanks for your help jayc7176. I apreciate it. I appreciate it.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

jayc7176

Anytime Johnny!  your welcome :)

This is my fav Mod, so i am glad to help out and make sure everyone else also gets to enjoy it :) 

i ve been rocking this mod on my forum for some time now:)

your dang good coder for a 4yr old {LoL} 
I cannot teach anybody anything, I can only make them think -  Socrates™ 469 BC

SMF- 1.1.5

digiwench

I love this mod...we used it on our first site, makes the board look sharp

But for some reason I can't make it work with Mesh...tried the fix posted for Triton (without the padding) but no luck

Any suggestions?

Thanks again...wonderful mod!

Fat_Man

Heh JohnyB

I can not get the picture to show at all. I have installed the php file you gave me.

There is a stop.png file in the /ImageOnBoard folder that I'm using to test with.

Name of image for this board: stop.png
Link for the above image:http://www.myurl.com/forum/Themes/default/images/ImagesOnBoard

Any ideas whats wrong?

Thanks  :)

Bulakbol

@digiwinch and Fat_Man
   Attach your Boardindex.template.php.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Fat_Man


BoardIndex attach JohnyB.

Thanks.

Bulakbol

@Fat_Man
   Here's your BoardIndex.template.php. Let me know if there's an error.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Fat_Man

Quote from: JohnyB on August 07, 2008, 08:54:41 AM
@Fat_Man
   Here's your BoardIndex.template.php. Let me know if there's an error.

No errors my friend, just smiles! 
;D
Thank you very much - very much appreciated JohnyB.

Keep up the great work.


Fat_Man

Hello JohnyB

I spoke a little to soon. If I use the stop.png supplied, everything is okay, but if I try and put a file in the ImagesOnBoard folder it won't let me. (file as in another png)

The permissions for the folder is set to 755.

Any ideas whats going on?

Thanks.

Fat_Man


Just to update this problem:

If I try and use another folder in the "Link for the above image:", the folder path URL appears where the image should be.


______
FATMAN


Bulakbol

@digiwench
   Attach the BoardIndex.template.php of your theme.

@Fat_Man
   Just upload your image files in ImagesOnBoard folder and then edit your Boards and enter the filename of your images. If you still require assistance, PM me temporary admin access to your forum.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Adish - (F.L.A.M.E.R)

I am using the theme called silent wave. Can you tell me the edits for it please, I tried to do it, but didnt run quite successful. The field appeared up in the creation/modification of the boards.. but when i add in the image link or the direct link from the forum, it doesnt appear up... maybe that where the manual edits are necessary...

Can you let me know about the edits please?

thank you.

Adish - (F.L.A.M.E.R)

i actually did the theme edits.. but dunno if its all right.. anyways.. what the prob is.. as i add in the image url it doesnt appear up.. and when i add in the direct image name... the text just comes up double.. (just the main board name.) see the image...

Can you let me know the solution please.. Thank you.

Bulakbol

Post a link to your forum please. I don't know what is going on.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Adish - (F.L.A.M.E.R)

http://goldysun.com is the forum URL.

See the -| World News |- board which would appear when you arnt registered yet.

The image is taken from the directory and shown up there, but the image which is given in the url box, doesnt appear up. Is there some specific extention which i needed for it to appear ? I use http://imageshack.us for uploading/hosting images. and the image doesnt appear up if entered the URL.

The problem is not that the image doesnt appear up, the problem is that if there is some text written in the box where it says the url or the *.gif file the topic name appears up double. I think it maybe a bug which should be solved i think.

Another bug i suppose is that.. when entered in both the fields, the URL link text appears up normally just before the board. I think if it catches the 1st image from the folder, it takes the lin as normal text in the URL box. I think it shouldnt accept the URL when the direct file path is given. That is kind of noobish, but people would like to keep both of them, if one of them trips down, just as a backup plan or something.

Please check it. Thank you.

Bulakbol

The textbox (Name of image for this board:) is only for filename of image that is stored in default/images/ImagesOnBoard folder.  You can't use url here. It is not designed that way.

The link (Link for the above image:) is yes, use url to link the above image.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Adish - (F.L.A.M.E.R)

I am having 4 errors in the forum error log due to this mod... it says..

8: Undefined index: board_image
File: /home/actionen/public_html/goldysun/Themes/default/ManageBoards.template.php (eval?)
Line: 327

8: Undefined index: board_img_link_desc
File: /home/actionen/public_html/goldysun/Themes/default/ManageBoards.template.php (eval?)
Line: 336

8: Undefined index: board_img_link
File: /home/actionen/public_html/goldysun/Themes/default/ManageBoards.template.php (eval?)
Line: 335

8: Undefined index: board_image_desc
File: /home/actionen/public_html/goldysun/Themes/default/ManageBoards.template.php (eval?)
Line: 328


I think i know what the problem is. In the boards which we create or modify, I dont see the text which says "enter URL of the image" or "Enter path of the image".

Please let me know what to do.

Bulakbol

Open your default/languages/Modifications.{language}.php and add these lines at the very bottom before the ?> tag.

$txt['board_image'] = 'Name of image for this board';
$txt['board_image_desc'] = 'Include file extension. (i.e. xx.gif)';
$txt['board_img_link'] = 'Link for the above image';
$txt['board_img_link_desc'] = '(i.e. http://www.simplemachines.org)';
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Adish - (F.L.A.M.E.R)


Advertisement: