View Full Version : main page help :)
netboom
04-03-2007, 04:41 AM
hey guys, im trying to figure out how to setup my main page.. my current site has articles listed on the main page and then a link to the forums..
as with the main page of this site i want to set mine up similar
http://www.anglerscircle.co.uk/help.JPG
with a paragraph of the article and then a "more info" link leading to the rest of the article.. Can someone point me in the right direction? the articles wont always be coming from a forum post..
Brian
04-03-2007, 11:20 AM
You can use the news module to display threads with a "read more" link. As far as I know there has not been a module created to pull news from other sources.
attroll
04-03-2007, 01:11 PM
Brian, since the image is posted above I would like to ask you how you got the text to wrap around that image or is this a html module?
Brian
04-04-2007, 10:57 AM
Just an align="left" tag in the image. That's a custom module that pulls the info from our products system.
attroll
04-06-2007, 12:46 PM
Just an align="left" tag in the image. That's a custom module that pulls the info from our products system.
Oh, is custom. I would love to get this to work like this in messages in the blogicles section or even in a normal VB message. I have tried everything I can think of and can not get it to work. Is there a way of doing this in a message?
Brian
04-07-2007, 02:11 PM
Are you trying to align images from posts that are using the [img] tag? Assuming you are, the best way to do it would probably be to create a new BB code with the following settings:
Title: Your Choice
Tag: aimg
Replacement:
<img src="{param}" border="0" alt="{param}" align="{option}" />
Use {option}: Yes
Then you'll be able to use the BB code like this to align your images.
http://yoursite.com/image.jpg
attroll
04-07-2007, 02:39 PM
Thank you Brian. This worked. Do you know how to put spacing around the image so that the text does not go right up against it?
Brian
04-07-2007, 02:46 PM
If I'm thinking correctly, adding class="inline" to the <img> tag might do it. If not, just add a style="padding: 4px" (of course you can change the 4 to whatever you'd like).
attroll
04-07-2007, 11:32 PM
Thank you, that did it.
attroll
04-11-2007, 02:17 AM
Ok this is really weird.
I did have this working and then I added the style="padding: 4px" to it and it changed all the borders around the image, but when I just tonight tried to add a new image it would not work. This is what I get for code when I try to add a new image now.
I removed the style="padding: 4px" so that is was back to the original code, but it still does not work.
For some reason it is not inserting the [aimg=left] code in the file anymore.
Any suggestions?
Brian
04-11-2007, 11:36 AM
Having "aimg=image_url" won't work since it expects the align attribute to be there. So it would have to look like this:
http://www.hammockforums.net/gallery/files/2/9/3/IMAG0048_1_thumb.jpg
attroll
04-12-2007, 12:55 AM
Having "aimg=image_url" won't work since it expects the align attribute to be there. So it would have to look like this:
http://www.hammockforums.net/gallery/files/2/9/3/IMAG0048_1_thumb.jpg
I realize that. When I created the new BB code and used this code
<img src="{param}" border="0" alt="{param}" align="{option}" />
then when I click on the icon in the message area and insert http://www.hammockforums.net/gallery/files/2/9/3/IMAG0048_1_thumb.jpg then this is what the result is:
attroll
04-12-2007, 01:33 AM
Dah, I figured out what I was doing wrong. When it ask for the prmpt i have to type either left, center. or right. My bust.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.