Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Make your forum post live CMS portal Details »»
Make your forum post live CMS portal
Version: 1.00, by kynangtinhoc kynangtinhoc is offline
Developer Last Online: Feb 2015 Show Printable Version Email this Page

Category: Board Optimization - Version: 3.7.x Rating:
Released: 07-03-2008 Last Update: Never Installs: 19
Template Edits
 
No support by the author.

Yeah, before we start I want to show you what will you get to make your post's layout look like a CMS content:
Before:

And After:


You can look live demo HERE

It's so easy. Now, let's start:
IN your Admincp, create a new custom BBcode to align right:
Title: hright

BB Code Tag Name: hright

Replacement:

Code:
<div style="position:relative;float:right;margin:5px;padding:5px;z-index:1">

{param}

</div>
Example:
Code:
[hright]content[/hright]
Description: leave blank

Use {option}: NO

Button Image: ( you should download this images)

Remove Tag If Empty: YES

Disable BB Code Within This BB Code, Disable Smilies Within This BB Code, Disable Word Wrapping Within This BB Code: NO

Ok, finish the BBcode number1, let go to make a BBcode number2 to align left:


Title: hleft

BB Code Tag Name: hleft

Replacement:

Code:
<div style="position:relative;float:left;margin:5px;padding:5px;z-index:1">

{param}

</div>
Example:
Code:
[hleft]content[/hleft]
Description: leave blank

Use {option}: NO

Button Image: ( you should download this images)

Remove Tag If Empty: YES

Disable BB Code Within This BB Code, Disable Smilies Within This BB Code, Disable Word Wrapping Within This BB Code: NO
This is the end, let make it installed!!!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 07-04-2008, 04:07 AM
Q-v-n-s-Q Q-v-n-s-Q is offline
 
Join Date: Mar 2005
Posts: 289
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you
Reply With Quote
  #3  
Old 07-04-2008, 11:07 AM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What's the difference with https://vborg.vbsupport.ru/showthread.php?t=173353 ?
Reply With Quote
  #4  
Old 07-05-2008, 07:27 PM
Jari37 Jari37 is offline
 
Join Date: May 2008
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Brilliant, you have no idea how much time this will save me.

Thanks a lot.
Reply With Quote
  #5  
Old 07-07-2008, 09:18 AM
suvari1794's Avatar
suvari1794 suvari1794 is offline
 
Join Date: Apr 2006
Location: Turkey
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

has a bug in firefox.
Reply With Quote
  #6  
Old 07-08-2008, 12:12 AM
kynangtinhoc's Avatar
kynangtinhoc kynangtinhoc is offline
 
Join Date: Jun 2008
Location: http://www.kynangtinhoc.c
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by suvari1794 View Post
has a bug in firefox.
oh, because the post is too short!
I think you can put
Quote:
<div style="clear: both"></div>
before the signature in postbit:
Find:
Quote:
<if condition="$post['signature']">
and add before that:
Quote:
<div style="clear: both"></div>
yes, that's finish.
you can see a live demo here: http://www.kynangtinhoc.com/forum/showthread.php?t=108
Reply With Quote
  #7  
Old 07-17-2008, 11:30 AM
suvari1794's Avatar
suvari1794 suvari1794 is offline
 
Join Date: Apr 2006
Location: Turkey
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you fixed it thank you.
Reply With Quote
  #8  
Old 09-05-2008, 11:49 PM
Krumbz Krumbz is offline
 
Join Date: Feb 2006
Location: Poconos, PA
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post

Maybe not much, but this ones supported at least. Thank you kynangtinhoc
Reply With Quote
  #9  
Old 09-06-2008, 01:36 AM
JVSP JVSP is offline
 
Join Date: Jul 2007
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed.

Thanks
Reply With Quote
  #10  
Old 09-07-2008, 02:34 AM
maniacop maniacop is offline
 
Join Date: Oct 2007
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed!

Thank U !
-----------------------
I think i spoke too soon, when i use the code my template goes out of place...

How can i fix this?

Thanks in advanced@
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 02:47 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.05066 seconds
  • Memory Usage 2,298KB
  • Queries Executed 23 (?)
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
  • (4)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete