801

(17 replies, posted in Programming)

kewl.. thanks i hope i can try to help again...lol..


Q

802

(11 replies, posted in PunBB 1.2 discussion)

honestly find a bigger free server?

if you keep the db small then yes.

803

(17 replies, posted in Programming)

if you dont mind repost the working code.
that something that i see a lot people get stuff working and never post the working code.


Q

804

(17 replies, posted in Programming)

wow... i did it..hahaha... now im a sql master... lmao...

i looked at the code and thought that something  close to my cp menu..

give me a link so i can see it in actions....


Q

805

(17 replies, posted in Programming)

k, i really dont know what im doing.. so i thought that I would try to help and learn at the same time.

Q

806

(17 replies, posted in Programming)

lie2815 try this. im not sure what it does. and im trying to learn sql functions within punbb!
i was looking at my custom page menu seeing how it just pulls the name with a hyperlink.
Q

<?php
$result = $db->query('SELECT t.name, m.name AS metalname FROM '.$db->prefix.'metaltypes AS t INNER JOIN '.$db->prefix.'metals AS m ON m.id=t.metal_id WHERE t.id='.$id) or error('Unable to fetch metal type info', __FILE__, __LINE__, $db->error());
if ($db->num_rows($result))
  {
   
    ?>
    <div class="block">
    <h2 class="block2">Custom Menu</h2>
    <div class="box">
        <div class="inbox">
            <ul>
    <?php
    while($name = $db->fetch_assoc($result))
     
     
     echo "\t\t\t\t\t".'<li>'."\n\t\t\t\t\t\t".$name['metalname']."-".$name['name'].'</li>'."\n\t\t\t\t\t"."\n";
     
      ?>
        </ul>        
        </div>
    </div>
</div>
<?php
    }
?>

807

(15 replies, posted in PunBB 1.2 show off)

i know im using the wp to punbb main.tpl. but im trying to clean it up.

lol.

Q

808

(15 replies, posted in PunBB 1.2 show off)

Hcgtv wanted me to try to code this for him.

http://nalan.org

I still have a few minor bugs in the css for the forum
but over all looks good.
works for IE6 IE7 and FF
i have the search box working and replaced some of the submit boxes with images. im working on mouse overs...


what do you think?

Q

to create all those pages to work with punbb. look at the mini-portal section about creating a new page.
im working on a css template integrations into my whole site.
http://nalan.org i did it several times but i was in a rush then. now im working on it slowly and making sure that it works in all the browsers.
it is easy enough just start with a simple punbb install and work from there. creating all the new pages !

here is the code for new pages and the link.
look for New page template
http://wiki.punres.org/Miniportal

<?php
 
define('PUN_ROOT', './');
define('PUN_QUIET_VISIT', 1);
require PUN_ROOT.'include/common.php';
 
//Set the page title here
$page_title = pun_htmlspecialchars($pun_config['o_board_title']) . ' / New page 1';
define('PUN_ALLOW_INDEX', 1);
require PUN_ROOT.'header.php';
require PUN_ROOT.'include/parser.php';
 
?>
        <div class="block">
            <h2><span>Box 1</span></h2>
            <div class="box">
                <div class="inbox">
                    <p>
                    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent augue. Nulla facilisi. Fusce bibendum accumsan erat. Quisque sollicitudin mattis neque. Sed dapibus. Integer a lectus eu sem consequat pellentesque. Morbi rhoncus nulla. Duis adipiscing interdum velit. Fusce ante. Ut vitae enim sit amet magna sodales hendrerit. In sed tortor at sapien convallis eleifend. Proin mauris. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Ut metus. Cras ac arcu et arcu porttitor blandit. Nam vitae lectus eget mauris sollicitudin placerat. Suspendisse vestibulum. Donec varius libero. Duis velit tellus, euismod vitae, consequat sed, consectetuer ut, purus.
                    </p>
                    <p>
                    Praesent viverra venenatis magna. Etiam in dolor. Ut in justo ac nibh malesuada cursus. Duis urna arcu, aliquam vitae, consequat nec, tincidunt non, mi. Nunc lobortis. Nunc pharetra. Sed porttitor. Maecenas turpis tortor, blandit nec, dignissim in, porttitor eu, odio. In hac habitasse platea dictumst. Suspendisse augue odio, ornare a, elementum ac, tincidunt varius, orci. Nulla libero ante, hendrerit ac, consectetuer eu, sollicitudin et, eros. Duis sapien. Suspendisse ornare enim sit amet dui. Donec ullamcorper diam.
                    </p>
                </div>
            </div>
        </div>
<?php
 
require PUN_ROOT.'footer.php';

man, it is in the css that is where all the issue are..lol.
http://bunpai.com/portal.php looks good in FF but in ie6 or ie7 it goes crazy.
so that tells me that the css and _css is causing the problem.

Q

i hope everyone likes it lot faster than anything that out. and simple to use
and i got the owner to install punbb as his support forum..

Q

wos now has punbb in the download.

http://www.chsoftware.net/en/useware/wos/wos.htm

this is a message from the owner of wos

Hi scot,

by the way: punbb was downloaded 1541 times in may.

Q

813

(28 replies, posted in General discussion)

the site for all the mods is http://punres.org
Q

814

(9 replies, posted in PunBB 1.2 discussion)

ummmm i prefer wos
http://www.chsoftware.net/en/useware/wo … n=download


Q

kewl!!

thanks dr j how the site running ? 6x6 what are your plans for it?

Q

how is it skined? it seem a little bloated but i really do like it.

maybe a skin that pulls from the style.  but that ok...

Q

any plans for a lighter version?

Q

how do i take out the php wrap code and the html wrap code.. that just opens the door for hacking...
editor.js file where else do i need to remove that code from?

var capPHP ="Wrap [PHP][/PHP]";
var capHTML="Wrap [HTML][/HTML]";

Q

what if you dont have viewtopic.php inside the include folder?

#-----[ OPEN ]------------------------------------------
# 
include/viewtopic.php

Q

hehe.... man... u be my hero sometimes.. i be ur hero sometimes...


Q

dr.j i fixed it for you.... i set the page to 644 and poof it works...

Q

dr j set it to 644 or 755 but not 777..

Q

thanks... any plans for other tools on ur site to be modded for punbb? the gift card would be sorta neat...hehe.


Q

so i do good editing or what? hahaha


Q