PDA

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


kynangtinhoc
04 Jul 2008, 02:08
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:5px;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:5px;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
04 Jul 2008, 06:07
thank you

Alfa1
04 Jul 2008, 13:07
What's the difference with http://www.vbulletin.org/forum/showthread.php?t=173353 ?

Jari37
05 Jul 2008, 21:27
Brilliant, you have no idea how much time this will save me.

Thanks a lot.

suvari1794
07 Jul 2008, 11:18
has a bug in firefox.

kynangtinhoc
08 Jul 2008, 02:12
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
17 Jul 2008, 13:30
you fixed it :) thank you.

Krumbz
06 Sep 2008, 01:49
What's the difference with http://www.vbulletin.org/forum/showthread.php?t=173353 ?


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

JVSP
06 Sep 2008, 03:36
installed.

Thanks

maniacop
07 Sep 2008, 04:34
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
07 Sep 2008, 22:38
uninstalled.

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

suvari1794
11 Sep 2008, 22:34
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
13 Sep 2008, 07:09
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
20 Mar 2009, 04:59
Will this work on 3.8? or is there any new update?

gungor
25 Feb 2010, 19:09
thanks...

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