I take it the viewtopic.php view...

You need to change this bit of code in your .css file... Both '16em' to what you require. smile

/* 7.1 This is the basic structure. */

DIV.postleft, DIV.postfootleft {
    FLOAT:left;
    WIDTH: 16em;
    OVERFLOW: hidden
}
    
DIV.postright, DIV.postfootright {
    BORDER-LEFT-WIDTH: 16em;
    BORDER-LEFT-STYLE: solid
}

677

(6 replies, posted in PunBB 1.2 troubleshooting)

Mark wrote:
KiLLMasTer wrote:

Hey guys I need help with geting the left side menu to not show on the forum.php..... plaz help

I'm using miniportal.......


http://devoted.to/thegamers

if you get the main.tpl file that you have not edited and save it as like main2.tpl and get your forum.php file to read that one, then you will not get the side panel, but the other pages will read main.tpl and get the side panel.
bit of a hard way to do it but it works smile

Which is exactly what I have explained above already...

This is a very good idea...

@Dr. jeckyl...

What are you going on about? He has printed the code... and shows the

echo pun_news(12, 7, 0);

Whats your point Jeckyl?

I had a problem very simliar to this as well....

My fix was this...

find...

$msg = $db->query('SELECT id, poster, poster_id, poster_ip, poster_email, message, posted, edited, edited_by FROM '.$db_prefix.'posts WHERE topic_id='.$id.' LIMIT 1') or error('Unable to fetch post info', __FILE__, __LINE__, $db->error());

change to...

$msg = $db->query('SELECT id, poster, poster_id, poster_ip, poster_email, message, posted, edited, edited_by FROM '.$db_prefix.'posts WHERE topic_id='.$id.' ORDER BY posted ASC LIMIT 1') or error('Unable to fetch post info', __FILE__, __LINE__, $db->error());

once again... if any PunBB admin or mods think this could cause any problems please let me know...

Extra Note: This fix works fine for my forum and members. smile

681

(6 replies, posted in PunBB 1.2 troubleshooting)

The miniportal actually changes your main.tpl file... which means you cannot do what you require...

I had a similar situation with a previous site I done... Here is a work around...
Comments if this is good or bad from the PunBB professionals would be appreciated.

header.php
replace...

else
    $tpl_main = file_get_contents(PUN_ROOT.'include/template/main.tpl');

with...

else if ($style=="forum")
    $tpl_main = file_get_contents(PUN_ROOT.'include/template/main2.tpl');
else
    $tpl_main = file_get_contents(PUN_ROOT.'include/template/main.tpl');

forum.php, viewtopic.php, viewforum.php
find...

require PUN_ROOT.'include/common.php';

after add...

$style = 'forum';

Now you need to get an unaltered main.tpl then rename it to main2.tpl and upload it to /include/template...

Hey presto.... forum will now will be without menu.

Side Note: Any other pages you require without the left side bar just put the

$style = 'forum';

as done in forum.php, viewtopic.php and viewforum.php.....

Dont think I have missed anything...

682

(5 replies, posted in PunBB 1.2 troubleshooting)

Yeah try Smartys link... you have been trying to install the CPG Avatar Mod.

683

(1 replies, posted in PunBB 1.2 bug reports)

@Rickard

Not really a bug... Footer...

Copyright 2002?2005 Rickard Andersson

Now its 2006....  smile

684

(18 replies, posted in PunBB 1.2 show off)

Doughnuts... I will have to use that one next time...

lol

685

(5 replies, posted in PunBB 1.2 show off)

Forgot to post link...

For the small IE fonts... Check this out... http://punbb.org/forums/viewtopic.php?id=7181

686

(5 replies, posted in PunBB 1.2 show off)

Very clean...

I have 1 thing to point out. You have a small problem with your font sizes in I.E. you cant really read certain things when looking at posts.

687

(8 replies, posted in PunBB 1.2 bug reports)

inmate... sorry... member 442 is the REAL PAUL... wink

688

(109 replies, posted in General discussion)

Rickard wrote:

The next incarnation of PunBB, version 1.3, is in development. I hope to release it before Christmas.

Any chance off...

Rickard wrote:

The next incarnation of PunBB, version 1.3, is in development. I hope to release it before New Year.

Sorry to be a pain... but fancy putting a time scale on 1.3? Just curious because been holding back on a project as would like to use 1.3.

late merry christmas and happy new year all.... smile

689

(8 replies, posted in PunBB 1.2 show off)

Yep... smile

690

(8 replies, posted in PunBB 1.2 show off)

That link results in... sad

Fatal error: main(): Failed opening required './include/common.php' (include_path='.:/usr/local/lib/php') in /hsphere/local/home/runar/tibia.no/index.php on line 27

Cheers people... Just done this on 1.2.10... works lovely...

Can I see a running example of the integration please...?

Thanks

693

(5 replies, posted in PunBB 1.2 discussion)

Connorhd wrote:
StevenBullen wrote:
Rickard wrote:

Please don't post in two different topics

people love to try tho....

huh?

Post in two different topics the exact same or very simliar content.

All I was saying is they do try this and for some reason think it will get a quicker response.   neutral


EDIT
Topic closed for reasons that should be obvious

Rickard wrote:

Hopefully, before christmas.

Now thats just getting peoples hopes up.... smile smile smile

695

(5 replies, posted in PunBB 1.2 discussion)

Rickard wrote:

Please don't post in two different topics

people love to try tho....

696

(5 replies, posted in PunBB 1.2 show off)

Mark wrote:
StevenBullen wrote:
Mark wrote:

link to the forum dont work hmm
also your pages dont validate smile

1 Fixed... Doh!

nope still broke

Fixed again... lol

697

(5 replies, posted in PunBB 1.2 show off)

Mark wrote:

link to the forum dont work hmm
also your pages dont validate smile

1 Fixed... Doh!
2 Did state that 5 pages not valid at present. Will be fixed... (But did notice something else.. which is fixed now. Thanks.)

698

(5 replies, posted in PunBB 1.2 show off)

Well here is the link for my PunBB project.

Home Page  -  Forum

Its been on going for a while now... But finally got to last testing stage...

Just waiting for images and a few little code changes and all will be finished. Any comments would be warmly welcome... either bad or good.

Note:
XHTML strict is not full at present (5 pages failing, in the middle of fixing at present). Will be fully strict when published to correct address.

Special Force out now... and damn good...

ME

Rod wrote:

http://www.sortons.net smile

integration with my site + punbb + coppermine .. a lot of AJAX + DHTML and a lot of things very soon smile Pun is very INCREDIBLE.

I do love this site...

BUT!!!!
The more you change around the worse it gets... Sorry!

I prefered it a while ago when everything sit nicely. sad