Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-02-2014, 01:00 AM
SoHelpMe SoHelpMe is offline
 
Join Date: Apr 2014
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default CMS image centered or middle with word wrap

I am trying to make the most of my sites CMS articles but I have run into a snag when I wanted to have an image in the center or middle of a post/article and have word wrap around it. I have found some BBCode solutions for left and right justified images but none seem to work with centered images. I have included the image below to show what I am really trying to accomplish
Please read the text on the image file as well and reply here if possible.

Thanks
Reply With Quote
  #2  
Old 12-02-2014, 09:45 PM
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Location: Little Rock, AR
Posts: 1,060
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Turn on allow HTML permission for the Administrators only and then just use "Static Page" instead of the other options when creating an article for your CMS. Then you can use CSS to center your image & wrap the words around it.
Reply With Quote
  #3  
Old 12-02-2014, 10:13 PM
SoHelpMe SoHelpMe is offline
 
Join Date: Apr 2014
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HM666 View Post
Turn on allow HTML permission for the Administrators only and then just use "Static Page" instead of the other options when creating an article for your CMS. Then you can use CSS to center your image & wrap the words around it.
Disclaimer... I am a newbie and hence not too much experience just yet so please don't blast me for this followup question. I have googled "html static page css" and found some info to read on w3schools.com but it still isn't crystal clear to me what your suggesting. I get turning html on for admin but once I do that does it mean I would use the vBulletin editor and use the <> button to wrap some HTML in the middle of the article at the selected place? Can you please send me an example of a posting written up using the suggested scheme or a link to a page that might explain how to do something similar to what your suggesting. It sounds like you fully expect what I want to do is possible so I am interested in learning more and I will try not to be too much of a pain. Hello fro Clemson SC BTW!
Reply With Quote
  #4  
Old 12-02-2014, 10:50 PM
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Location: Little Rock, AR
Posts: 1,060
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SoHelpMe View Post
Disclaimer... I am a newbie and hence not too much experience just yet so please don't blast me for this followup question. I have googled "html static page css" and found some info to read on w3schools.com but it still isn't crystal clear to me what your suggesting. I get turning html on for admin but once I do that does it mean I would use the vBulletin editor and use the <> button to wrap some HTML in the middle of the article at the selected place? Can you please send me an example of a posting written up using the suggested scheme or a link to a page that might explain how to do something similar to what your suggesting. It sounds like you fully expect what I want to do is possible so I am interested in learning more and I will try not to be too much of a pain. Hello fro Clemson SC BTW!
Ah ok well you have to have knowledge of HTML & CSS to do the proposed fix I was suggesting. By using the Static Page in the vbulletin CMS you have to code the page in HTML completely. There should be a drop down on the far right of the CMS pages and that is where you choose "Static Page" to enter your HTML. As far as the complete code for what you want to do I do not have that readily available. Not sure of the CSS code for that so I'll have to look it up and see.
Reply With Quote
  #5  
Old 12-02-2014, 11:04 PM
SoHelpMe SoHelpMe is offline
 
Join Date: Apr 2014
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HM666 View Post
Ah ok well you have to have knowledge of HTML & CSS to do the proposed fix I was suggesting. By using the Static Page in the vbulletin CMS you have to code the page in HTML completely. There should be a drop down on the far right of the CMS pages and that is where you choose "Static Page" to enter your HTML. As far as the complete code for what you want to do I do not have that readily available. Not sure of the CSS code for that so I'll have to look it up and see.
So with this suggestion would I be writing the entire page in an HTML editor such as the old MS Front Page and then posting up the entire HTML code for that page and it would show as the FP WYSIWYG editor in FP would show it? I am trying to do a little more searching to build off your idea but any and all folllowup detail on the subject is greatly appreciated.
Reply With Quote
  #6  
Old 12-03-2014, 12:49 AM
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Location: Little Rock, AR
Posts: 1,060
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SoHelpMe View Post
So with this suggestion would I be writing the entire page in an HTML editor such as the old MS Front Page and then posting up the entire HTML code for that page and it would show as the FP WYSIWYG editor in FP would show it? I am trying to do a little more searching to build off your idea but any and all folllowup detail on the subject is greatly appreciated.
No do not use front page, MS Word, or Word Pad. You need to use a real HTML editor if you do not know HTML. There is a great little free HTML editor you can use called HTMLKit. There are quite a few HTML editors that are free, just Google for them. Use the search term "Free HTML editor" and several should come up if HTMLKit is too weird or uncomfortable for you to use. Some of the free editors have built in CSS editing as well so that should help you.
Reply With Quote
  #7  
Old 12-03-2014, 05:43 AM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And no, you would NOT insert the code for the whole page, but only the code for your content/article.
Reply With Quote
  #8  
Old 12-03-2014, 12:15 PM
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Location: Little Rock, AR
Posts: 1,060
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cellarius View Post
And no, you would NOT insert the code for the whole page, but only the code for your content/article.
Yes true you would leave out everything above the <body> tag and the closing </body> & </html> tags.
Reply With Quote
Reply


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


All times are GMT. The time now is 01:21 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.11856 seconds
  • Memory Usage 2,233KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete