The vB Geek

Go Back   The vB Geek > vB Geek Products > Geek Article and Review System

Geek Article and Review System GARS is the mega popular system for turning forums into articles, tutorials, or even reviews.

Advertisement
  Learn how to remove ads

Reply
 
Thread Tools Display Modes
  #1  
Old 01-16-2008, 05:33 PM
BobdeBilder's Avatar
BobdeBilder BobdeBilder is offline
Junior Member
 
Join Date: Feb 2006
Location: internet
Posts: 20
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder 
Default Article Images within text aligned

HI there, are we able to achieve this yet with the current GARS version, please?

Text to wrap around an image within a thread

Thanks
Reply With Quote
  #2  
Old 01-17-2008, 01:39 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
Member
 
Join Date: Mar 2006
Posts: 65
Geek Article and Review System License Holder 
Default

Are you referring to GARS header image? If yes, then you can simply apply that to the message line in the postbit template that you're using. An example below:

In the postbit template you're using (default is GARS_pb) find:

Code:
                        <div id="post_message_$post[postid]" align="justify">$post[message]</div>

And replace it with:

Code:
                        <div id="post_message_$post[postid]" align="justify">
        <if condition="$post['GARS_header_image']">
                        <div style="float:right;margin:0 0 10px 10px">
                $post[GARS_pre_header_image]<img src="$post[GARS_header_image]" border="0" alt="$post[title]" />$post[GARS_post_header_image]
                        </div>
        </if>
                        $post[message]</div>


The above code will place your header image to the right of your message with text wrap. To float left just change "right" to "left" then change margin to "0 10px 10px 0". The margin is to give a bit of separation from the text and image. The margin gives more flexibility than with padding.
__________________
RelevantBuZZ - Sharing Content That Matters To Us
www.relevantbuzz.com - Launched 1.25.08

Last edited by Freesteyelz; 01-17-2008 at 01:43 AM..
Reply With Quote
  #3  
Old 01-22-2008, 11:45 AM
BobdeBilder's Avatar
BobdeBilder BobdeBilder is offline
Junior Member
 
Join Date: Feb 2006
Location: internet
Posts: 20
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder 
Default

Thanks Free

I am largely interested in say putting an IMAGE into text such as this and then aligning it to wrap the text around the image, like a CMS

Thanks
Reply With Quote
  #4  
Old 03-07-2008, 02:19 PM
jamin100 jamin100 is offline
Junior Member
 
Join Date: Mar 2008
Posts: 3
Geek Article and Review System License Holder 
Default

I think this is what i am looking to do.
What i want is to be able to add images inside the article and then have the text aligned around them

Can you tell me how i would achieve this please?
Reply With Quote
  #5  
Old 03-07-2008, 03:48 PM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
Join Date: Jul 2006
Posts: 2,255
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

When you use the [IMG] tag, vB returns the following:
Code:
<img src="' .  $link . '" border="0" alt="" />
You can by default add images inline like this but to float an image so text wraps around it would require either 1) a code edit to the vB handle_bbcode_img_match function or 2) a new BBCode that will float the image for you. See here for an example of the latter.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Customizing Header Images & Synopsis text?? mikhailtech Geek Article and Review System 3 01-29-2009 05:20 PM
Article Images agiacosa Geek Article and Review System 8 12-28-2006 09:18 AM
Odd bbcode appearing in article text JohnBee Geek Article and Review System 1 11-19-2006 07:43 AM
Article is not showing much text psplounge Geek Article and Review System 5 04-24-2006 10:18 PM
How to change Article/Review topic text color? Brad Geek Article and Review System 2 10-25-2005 04:44 PM


All times are GMT. The time now is 06:08 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.