PDA

View Full Version : Board Optimization - Make your forum post live CMS portal


kynangtinhoc
07-03-2008, 10:00 PM
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:
http://img113.imageshack.us/img113/2231/26322725le9.gif
And After:
http://img111.imageshack.us/img111/6978/35514506py7.gif

You can look live demo HERE (http://www.kynangtinhoc.com/forum/showthread.php?t=1)

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:

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

{param}

</div>


Example: content

Description: leave blank

Use {option}: NO

Button Image: http://www.kynangtinhoc.com/forum/images/editor/r.gif( 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:

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

{param}

</div>


Example: content

Description: leave blank

Use {option}: NO

Button Image: http://www.kynangtinhoc.com/forum/images/editor/l.gif ( 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!!! :D

Q-v-n-s-Q
07-04-2008, 04:07 AM
thank you

Alfa1
07-04-2008, 11:07 AM
What's the difference with https://vborg.vbsupport.ru/showthread.php?t=173353 ?

Jari37
07-05-2008, 07:27 PM
Brilliant, you have no idea how much time this will save me.

Thanks a lot.

suvari1794
07-07-2008, 09:18 AM
has a bug in firefox.

kynangtinhoc
07-08-2008, 12:12 AM
has a bug in firefox.
oh, because the post is too short!
I think you can put <div style="clear: both"></div> before the signature in postbit:
Find:
<if condition="$post['signature']">
and add before that:
<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

suvari1794
07-17-2008, 11:30 AM
you fixed it :) thank you.

Krumbz
09-05-2008, 11:49 PM
What's the difference with https://vborg.vbsupport.ru/showthread.php?t=173353 ?


Maybe not much, but this ones supported at least. Thank you kynangtinhoc

JVSP
09-06-2008, 01:36 AM
installed.

Thanks

maniacop
09-07-2008, 02:34 AM
Installed!

Thank U !
-----------------------
I think i spoke too soon, when i use the code my template goes out of place...
http://img89.imageshack.us/img89/9633/outoo5.jpg (http://imageshack.us)
How can i fix this?

Thanks in advanced@

JVSP
09-07-2008, 08:38 PM
uninstalled.

Seems to not work as well in firefox. Visible in the demo if you look in IE and FF

suvari1794
09-11-2008, 08:34 PM
uninstalled.

Seems to not work as well in firefox. Visible in the demo if you look in IE and FF
I use and I have no problem in firefox and ie. you visit my site if you like...

http://www.amaney.com/forum/yabanci-filmler/41254-orjinal-cinayetler-righteous-kill-2008-a.html

it seems good in my opinion :)

kynangtinhoc
09-13-2008, 05:09 AM
uninstalled.

Seems to not work as well in firefox. Visible in the demo if you look in IE and FF

I think the style you used have a problem :), if you learn about the CSS and HTML i think you can check your style and fix it.

maniacop
03-20-2009, 02:59 AM
Will this work on 3.8? or is there any new update?

gungor
02-25-2010, 05:09 PM
thanks...

gungor
03-25-2010, 03:37 PM
The text is written in short as the problem .. longer necessary to keep the contents of the article is more .. :)