Custom block settings - Advertising
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
-
Topic author - Valued Contributor
- Posts: 60
- Joined: 8. January 2009 12:31
- phpBB.de User: Foxy
- phpBB.com User: fujcube
- Location: Scottish Borders
- Contact:
Custom block settings - Advertising
Your Portal Version: 1.0.4
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Beginner
Boardlink: http://www.border-forums.com
What have you done before the problem was there?
Nothing
What have you already tryed to solve the problem?
Nothing
Description and Message
Hi,
I would like to use the Small & Centre custom blocks for advertising on my site but am not sure on what to enter in the box for the Code. To begin with, advertising will be a simple jpeg image.
Where should the image be uploaded to, and what code should I be putting in the Code box?
How do I change the size of the Custom blocks to accomodate the image?
How do I move the Centre custom block to the bottom of the page?
Kindest Regards
Foxy
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Beginner
Boardlink: http://www.border-forums.com
What have you done before the problem was there?
Nothing
What have you already tryed to solve the problem?
Nothing
Description and Message
Hi,
I would like to use the Small & Centre custom blocks for advertising on my site but am not sure on what to enter in the box for the Code. To begin with, advertising will be a simple jpeg image.
Where should the image be uploaded to, and what code should I be putting in the Code box?
How do I change the size of the Custom blocks to accomodate the image?
How do I move the Centre custom block to the bottom of the page?
Kindest Regards
Foxy
-
Topic author - Valued Contributor
- Posts: 60
- Joined: 8. January 2009 12:31
- phpBB.de User: Foxy
- phpBB.com User: fujcube
- Location: Scottish Borders
- Contact:
Re: Custom block settings - Advertising
Hi,
I have managed to get an image displayed in the Custom Blocks by doing the following:
1) Upload image to Photobucket
2) Activate BBCode for Custom Block
3) Copy & paste the Image code from Photobucket into the box for the code
Is this correct????
Could someone please tell me how to:
1) Make sure that the images fit the custom boxes
2) Move the Centre custom box from the top of the page, to the bottom
Regards
Foxy
I have managed to get an image displayed in the Custom Blocks by doing the following:
1) Upload image to Photobucket
2) Activate BBCode for Custom Block
3) Copy & paste the Image code from Photobucket into the box for the code
Is this correct????
Could someone please tell me how to:
1) Make sure that the images fit the custom boxes
2) Move the Centre custom box from the top of the page, to the bottom
Regards
Foxy
Re: Custom block settings - Advertising
kein Support per PN / Messenger
no Support via PM / Messenger
no Support via PM / Messenger
-
Topic author - Valued Contributor
- Posts: 60
- Joined: 8. January 2009 12:31
- phpBB.de User: Foxy
- phpBB.com User: fujcube
- Location: Scottish Borders
- Contact:
Re: Custom block settings - Advertising
Thanks Mike, easy when you know how!
Where would I find the width of the Small Custom Block and the Centre Custom Block? I'm assuming that I make my images the same width as the Custom Blocks and the height will take care of itself?
Regards
Foxy
Where would I find the width of the Small Custom Block and the Centre Custom Block? I'm assuming that I make my images the same width as the Custom Blocks and the height will take care of itself?
Regards
Foxy
Re: Custom block settings - Advertising
The width of the left/right Blocks, you can set in acp, or (new in 1.0.4) in your _block_config.html.
Normally this should be 180px...
The width of the center Blocks isnt defined. It is just the remaining distance of your Portal... If you have an dynamic Style like prosilver you cant know this width. If you use a small Style with a fixed width, you can calculate the width of the center blocks...
Maybe you can use any javascript or something to produce thumpnails... (you know... if you klick on it, a window appears on your screen with your fullsize picture) or something else...
Normally this should be 180px...
The width of the center Blocks isnt defined. It is just the remaining distance of your Portal... If you have an dynamic Style like prosilver you cant know this width. If you use a small Style with a fixed width, you can calculate the width of the center blocks...
Maybe you can use any javascript or something to produce thumpnails... (you know... if you klick on it, a window appears on your screen with your fullsize picture) or something else...
kein Support per PN / Messenger
no Support via PM / Messenger
no Support via PM / Messenger
-
Topic author - Valued Contributor
- Posts: 60
- Joined: 8. January 2009 12:31
- phpBB.de User: Foxy
- phpBB.com User: fujcube
- Location: Scottish Borders
- Contact:
Re: Custom block settings - Advertising
Thanks Mike. I think I will do a few images of different sizes and keep changing them until they fit. Then just make any future ads that size. If I run into any difficulties, I will get back to you.
Thanks again.
Foxy
Thanks again.
Foxy
-
Topic author - Valued Contributor
- Posts: 60
- Joined: 8. January 2009 12:31
- phpBB.de User: Foxy
- phpBB.com User: fujcube
- Location: Scottish Borders
- Contact:
Re: Custom block settings - Advertising
Mike,
Back so soon. I think I've got it sorted now. However, I've had to make my images forthe small Custom Block, 160px wide so that they centre themselves. If I do them at 180px wide, they look like they are sitting to the right of the Custom Block.
This is the code I'm pasting to the code box:
[im]http://i28.photobucket.com/albums/c211/ ... test-2.gif[/im]
(I have removed the g's from the end tags so that the image isn't displayed and you can see the code)
Is it possible to add tags to this code to centre the image, regardless of size? If so, what do I add?
And lastly, how do I remove the spanner/screwdriver icon from the top of the small Custom Block? This is to make it the same as the centre Custom Block.
Thanks again.
Foxy
Back so soon. I think I've got it sorted now. However, I've had to make my images forthe small Custom Block, 160px wide so that they centre themselves. If I do them at 180px wide, they look like they are sitting to the right of the Custom Block.
This is the code I'm pasting to the code box:
[im]http://i28.photobucket.com/albums/c211/ ... test-2.gif[/im]
(I have removed the g's from the end tags so that the image isn't displayed and you can see the code)
Is it possible to add tags to this code to centre the image, regardless of size? If so, what do I add?
And lastly, how do I remove the spanner/screwdriver icon from the top of the small Custom Block? This is to make it the same as the centre Custom Block.
Thanks again.
Foxy
Re: Custom block settings - Advertising
1) To center the Image you can add an custom bbcode. Before you ask me how, here it is: http://www.phpbb3bbcodes.com/viewtopic. ... &t=35&p=35
Then you can add your image like this: [center][img]...[/img][/center]
2)You dont have to remove anything from the bbcode to display it in a posting. Just have a look beneath the text area if you make a posting
3)To remove an icon from a Block just open styles/your_style/template/portal/block/custom_small.html
Have a look at the second line:
Simply remove or replace the icon
Maybe something like this:
Why dont you upload the images on your own webspace instead of photobucket or such?
Then you can add your image like this: [center][img]...[/img][/center]
2)You dont have to remove anything from the bbcode to display it in a posting. Just have a look beneath the text area if you make a posting
3)To remove an icon from a Block just open styles/your_style/template/portal/block/custom_small.html
Have a look at the second line:
Code: Select all
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --><img src="{T_THEME_PATH}/images/portal/portal_custom.png" width="16" height="16" alt="" /> <!-- ENDIF -->{PORTAL_CUSTOM_SMALL_HEADLINE}{$LR_BLOCK_H_R}
Maybe something like this:
Code: Select all
{$LR_BLOCK_H_L}{PORTAL_CUSTOM_SMALL_HEADLINE}{$LR_BLOCK_H_R}
kein Support per PN / Messenger
no Support via PM / Messenger
no Support via PM / Messenger
-
Topic author - Valued Contributor
- Posts: 60
- Joined: 8. January 2009 12:31
- phpBB.de User: Foxy
- phpBB.com User: fujcube
- Location: Scottish Borders
- Contact:
Re: Custom block settings - Advertising
Thanks for your time and patience Mike.
Have managed to remove the icon. Should have known about the centre tags! I only use photobucket for the images that will be used in the 2 custom blocks as it's simple to copy & paste the IMG code generated for each image into the code box.
Regards
Foxy
Have managed to remove the icon. Should have known about the centre tags! I only use photobucket for the images that will be used in the 2 custom blocks as it's simple to copy & paste the IMG code generated for each image into the code box.
Regards
Foxy
-
Topic author - Valued Contributor
- Posts: 60
- Joined: 8. January 2009 12:31
- phpBB.de User: Foxy
- phpBB.com User: fujcube
- Location: Scottish Borders
- Contact:
Re: Custom block settings - Advertising
Have tried every combination possible on the centre tags, each and every time, the tags are visible within the custom box, along with the image. Have tried <center>....</center>,[center]....[/center], also removing the /, nothing seems to work.
Regards
Regards
Re: Custom block settings - Advertising
Two questions:
1: Did you made the custom [center][/center] BBCode in ACP->postings->BBCodes, and if yes, did it work in your Board?
2: Did you enabled BBCodes in the CustomBlocks? (ACP->Portal->custom-block->Activate BBCode for the small custom block: YES)
1: Did you made the custom [center][/center] BBCode in ACP->postings->BBCodes, and if yes, did it work in your Board?
2: Did you enabled BBCodes in the CustomBlocks? (ACP->Portal->custom-block->Activate BBCode for the small custom block: YES)
kein Support per PN / Messenger
no Support via PM / Messenger
no Support via PM / Messenger
-
Topic author - Valued Contributor
- Posts: 60
- Joined: 8. January 2009 12:31
- phpBB.de User: Foxy
- phpBB.com User: fujcube
- Location: Scottish Borders
- Contact:
Re: Custom block settings - Advertising
Question 1,No
Question 2, Yes
Question 2, Yes
Re: Custom block settings - Advertising
regarding 1: why not?
If you ask for help, why dont you give it a try?Mike wrote: To center the Image you can add an custom bbcode. Before you ask me how, here it is: http://www.phpbb3bbcodes.com/viewtopic. ... &t=35&p=35
Then you can add your image like this: [center][img]...[/img][/center]
kein Support per PN / Messenger
no Support via PM / Messenger
no Support via PM / Messenger
-
Topic author - Valued Contributor
- Posts: 60
- Joined: 8. January 2009 12:31
- phpBB.de User: Foxy
- phpBB.com User: fujcube
- Location: Scottish Borders
- Contact:
Re: Custom block settings - Advertising
Mike,
My apologies, I didn't quite understand at first Now I get it. I will add Custom bbcode and let you know how it goes.
Regards
Foxy
My apologies, I didn't quite understand at first Now I get it. I will add Custom bbcode and let you know how it goes.
Regards
Foxy
-
Topic author - Valued Contributor
- Posts: 60
- Joined: 8. January 2009 12:31
- phpBB.de User: Foxy
- phpBB.com User: fujcube
- Location: Scottish Borders
- Contact:
Re: Custom block settings - Advertising
Mike,
Added the custom BBcode for the Center tags. Images now appear to be centered within the small custom block. However, when the image width is set to 180px, is still appears to be off to the right of the block, even with the center tags applied. I can easily live with this.
One last thing, what would I add to the code to make the image a link to another site or a thread within the message boards?
Regards
Foxy
Added the custom BBcode for the Center tags. Images now appear to be centered within the small custom block. However, when the image width is set to 180px, is still appears to be off to the right of the block, even with the center tags applied. I can easily live with this.
One last thing, what would I add to the code to make the image a link to another site or a thread within the message boards?
Regards
Foxy