on a side note.. put a index or a default.html or a php file that redirects you to any location on ur site in the main folder.



Q

852

(24 replies, posted in PunBB 1.2 show off)

lol i just seen that and fixed it...
thanks!

853

(2 replies, posted in Programming)

xumix solved the issue for me....

thanks i owe you big time.. again!

Q

854

(24 replies, posted in PunBB 1.2 show off)

dr j, im me when you can....

855

(2 replies, posted in Programming)

this is what im started .

<?php echo "<a href=\"ymsgr:sendIM?" . $user['yahoo'] . "\">" . "<IMG SRC='"'http:"//osi.danvic.co.uk/yahoo/scot405583/onurl=www.danvic.co.uk/images/83/yahooonline.gif/offurl=www.danvic.co.uk/images/83/yahoooffline.gif/unknownurl=www.danvic.co.uk/images/83/yahoounknown.gif"align="absmiddle" border="0" ALT="YAHOO Online Status Indicator"onerror="this.onerror=null;this.src='http://www.danvic.co.uk/images/83/yahoounknown.gif';" "\">" . "</a>"; ?>

856

(2 replies, posted in Programming)

i want to add this to the yahoo aim and msn id for a online status

<table>
  <tr>
    <th scope="col"> <A HREF="ymsgr:sendIM?ur yahoo id"><IMG SRC="http://osi.danvic.co.uk/yahoo/ur yahoo id/onurl=www.danvic.co.uk/images/83/yahooonline.gif/offurl=www.danvic.co.uk/images/83/yahoooffline.gif/unknownurl=www.danvic.co.uk/images/83/yahoounknown.gif"align="absmiddle" border="0" ALT="YAHOO Online Status Indicator"onerror="this.onerror=null;this.src='http://www.danvic.co.uk/images/83/yahoounknown.gif';" /></A></th>
  </tr>
  <tr>
    <th scope="row"> <!-- http://www.onlinestatus.org/ --><A HREF="aim:goim?screenname=ur aim id"><IMG SRC="http://osi.danvic.co.uk/aim/ur aim id/onurl=www.danvic.co.uk/images/82/aimonline.gif/offurl=www.danvic.co.uk/images/82/aimoffline.gif/unknownurl=www.danvic.co.uk/images/82/aimunknown.gif"align="absmiddle" border="0" ALT="AIM Online Status Indicator"onerror="this.onerror=null;this.src='http://www.danvic.co.uk/images/82/aimunknown.gif';"></A></th>
  </tr>
  <tr>
    <th scope="row"> <A HREF="http://osi.danvic.co.uk/message/msn/ur msn id"><IMG SRC="http://osi.danvic.co.uk/msn/ur msn id/onurl=www.danvic.co.uk/images/82/msnonline.gif/offurl=www.danvic.co.uk/images/82/msnoffline.gif/unknownurl=www.danvic.co.uk/images/82/msnunknown.gif"align="absmiddle" border="0" ALT="MSN Online Status Indicator"onerror="this.onerror=null;this.src='http://www.danvic.co.uk/images/82/msnunknown.gif';" /></A></th>
  </tr>
</table>

857

(3 replies, posted in PunBB 1.2 troubleshooting)

try the relocations
http://yoursite.com/forum

858

(24 replies, posted in PunBB 1.2 show off)

lol
let me know if i can help...


dont i know you from somewhere?


Q

859

(24 replies, posted in PunBB 1.2 show off)

dreaming or wish list...

1. calendar
2. gallery
3. nake women
4. cold beer

ok in any order!



Q

860

(3 replies, posted in PunBB 1.2 troubleshooting)

go back to the options and change the locations back to the forum... silly rabbit....


Q

this is what i use to pull the news from any topic that i want you will notice at the top. the newid set that to the forum id.1 2 3 4 etc.
then u will notice a newsdisplay that how many you want to pull..

ok here the link to my site http://bunpai.com a internet one stop shop for news.
you will have to modify the images and buttons not unless you want me to send them to you.

Q


<?php
$newsid = '8'; // Forum id to fetch the news from ( only supports 1 forum id )
$newsdisplay = '1'; // Number of news to display.

?>

<?php
require_once PUN_ROOT.'include/parser.php';

?>
<div class="boxtop"></div>
            <div class="box">



<?
$result = $db->query('SELECT t.id, t.subject, t.num_replies, t.last_post, t.last_post_id, t.last_poster, t.num_views, t.forum_id, p.poster, p.poster_id, p.message, p.hide_smilies, p.posted, g.g_title, f.forum_name FROM '.$db->prefix.'topics AS t INNER JOIN '.$db->prefix.'posts AS p ON p.topic_id=t.id AND p.posted=t.posted INNER JOIN '.$db->prefix.'users AS u ON u.id=p.poster_id LEFT JOIN '.$db->prefix.'groups AS g ON g.g_id=u.group_id INNER JOIN '.$db->prefix.'forums AS f ON f.id=t.forum_id WHERE t.forum_id='.$newsid.' AND t.moved_to IS NULL AND f.redirect_url IS NULL ORDER BY t.posted DESC LIMIT '.$newsdisplay) or error('Unable to fetch announcements', __FILE__, __LINE__, $db->error());

if ($db->num_rows($result))
                    {
                            while($cur_post = $db->fetch_assoc($result))
                            {
                                    $cur_post['message'] = parse_message($cur_post['message'], $cur_post['hide_smilies']);
?>

<?
echo "\t\t\t\t\t\t\t".'<p><img src="images/image.gif" alt="Image" title="Image" class="image" /><b> '.pun_htmlspecialchars($cur_post['subject']).'</b><br />'."\n";
?>


<?php echo $cur_post['message']."\n" ?><br /></p>


<?
echo "\t\t\t\t\t\t\t".'<div class="buttons"><p><a href="viewtopic.php?id='.$cur_post['id'].'" class="bluebtn">'.'Read'.'</a>'."\n";
?>


</div>
            </div>





<?
}
 }
else
{

 }    
?>

862

(0 replies, posted in Programming)

I would like to take and put these two files together.

this is the affiliates.php from the include/user/affiliates.php

<?php
        
        $affiliate_result = $db->query("SELECT * FROM ".$db->prefix."affiliates WHERE disabled=0 ORDER BY count_in DESC") or error("Affiliate error: ",__FILE__, __LINE__, $db->error());
        $affiliate_num = $db->num_rows($affiliate_result);
        ?>
        <ul>
        <?php
        if($affiliate_num > 0)
            {
            
            while($affiliate_row = $db->fetch_assoc($affiliate_result))
                {
                    if ($affiliate_row['site_image'] == '')
                    echo "<li><a href=\"affiliates.php?out=" . $affiliate_row['id'] . "\">" . $affiliate_row['site_name'] . "</a></li>";
                    else
                    echo "<li><a href=\"affiliates.php?out=" . $affiliate_row['id'] . "\"><img src=\"" . $affiliate_row['site_image'] . "\" /></a></li>";
                }
            }
        ?>
        </ul>

this is my banner.php that also inside the include/user/banner.php

<?php

$option = "banner";

$sites[0] = array("http://www.BiCupid.com", "The perfect and largest dating site for  Bisexual and Bicurious singles in the  world", 2, "http://images.bicupid.com/bc/banner-468.gif");

$sites[1] = array("http://www.swinglifestyle.com/?signup=whatyourname", "Swingers", 2, "http://www.swinglifestyle.com/login/swinger5.gif");
$sites[2] = array("http://www.loungeparties.com", "Loungeparties is a unique exclusive London based swinger?s community.", 2, "http://www.loungeparties.co.uk/com_imgs/banners/lp/loungeparties-banner.jpg");
$sites[3] = array("http://justswinger.com", "free online swinger?s community.", 2, "http://justswinger.com/banner.gif");
$sites[4] = array("http://realgirlsoncam.com/alyssa", "alyssa webcam!", 2, "http://justswinger.com/alyssa.gif");

$countsites = count($sites);

for($i=0; $i<$countsites; $i++)
    {
    for($x=0; $x<$sites[$i][2]; $x++)
        {
        if($option != null)
            {
            $mylist[] = array($sites[$i][0],$sites[$i][1],$sites[$i][3]);
            }
        else
            {
            echo("Error deciding option.");
            exit();
            }
        }
    }

$countlist = count($mylist);

$countlist = $countlist - 1;

$picker = rand(0, $countlist);

if($option == "link")
    {
    echo("<a href='" . $mylist[$picker][0] . "'>" . $mylist[$picker][1] . "</a>");
    }

else if($option == "banner")
    {
    echo("<a href='" . $mylist[$picker][0] . "'><img alt='" . $mylist[$picker][1] . "' src='" . $mylist[$picker][2] . "' /></a>");
    }

else
    {
    echo("Error deciding option.");
    exit();
    }



?>

i want to tie the two together so that the banner.php displays the banner and affiliates.php keeps count of the in and out?


help anyone?


Q

ok im going to work on the mini portal mod from the wiki. that is the next topic!

there you go DR J.

http://www.youtube.com/watch?v=3aqO07MqLiE

i was playing with my camtasia studio and recorded how to install punbb on a webserver or localhost.
it will be ready soon for people to view...


Q

go to http://bunpai.com look at my site.. it is running rss feed to forum post... over 17k of them...


Q

get camtasia studio to make the tutorials... that what i use to make photoshop tutorials....



Q

868

(23 replies, posted in General discussion)

sf seem to be good for most.. why not just do ur own site and forum... with a few mods you can do ur own wiki.. sf is starting to fill up with junk stuff and slowing down alot.

Q

869

(23 replies, posted in General discussion)

do you have a link to a site that is running sunbb?

Q

870

(10 replies, posted in PunBB 1.2 troubleshooting)

look in the download page there a clear cache mod that goes in the ap!
http://punbb.org/download/plugins/AP_Clear_Cache.zip
Q

871

(2 replies, posted in General discussion)

I got intouch with the owners of WOS. who make portable php servers.
and they have added the punbb 1.2.15 to there list of software.
the man was very nice and helped fix all the issues that i had creating the punbb.wos file.


here a link so you can download the portable system from WOS

http://www.chsoftware.net/en/useware/wo … n=download


Screenshot of there page displaying punbb as a Application software!
http://modelcrowd.com/punbb_wos.jpg







Q

872

(37 replies, posted in PunBB 1.2 show off)

kewl rename the config.php to ad-config.php and replace the codes in the other files that calls up the config.php..

it is very simple program
but it will get ur ads out to other sites.


Q

873

(37 replies, posted in PunBB 1.2 show off)

adsbb, you get that file ?

i hope it will help for remote ads links.


Q

seventil, i have modified the the images on my site.
and currently working on them
i would be glad to give you what i got.
http://bunpai.com
i used part of the portal mod to create my own index beside the forum.
Q

875

(9 replies, posted in Programming)

elb it didnt work.
the script said it did..
but when i went into phpmysql there was no tabel called punbb_

Q