1

(1 replies, posted in PunBB 1.2 discussion)

Hey Guys!

I've been trying to figure out how to add bbcode to allow me to post YouTube videos, with all the different one's I have tried, nothing has worked, can someone maybe help me out?

Thanks
Juston

2

(2 replies, posted in PunBB 1.2 show off)

I figured, what the heck. I'll show off my site...

The STK Clan

3

(0 replies, posted in PunBB 1.2 troubleshooting)

I have been researching this topic a little bit, and I have tried several suggestions to try to fix it, but none have worked yet.

Heres the issue. when someone creates a topic, or replies to a post and hits "submit" the posting shows up twice. It only recently started happening, I would say with in the past couple days, before that everything was fine.

Heres my setup:
- PunBB 1.2.22

Mods Added
- Event Calender
- Private Message System
- BBCode Addon
- EasyPoll

Plus, I have integrated the user system with the rest of my website, and there is a login area on the man page, and I have a script that pulls the latest news topics and posts them on my index page.

If anyone has a fix i could try, let me know smile

Thanks,
DirtyDeeds

When I go to my website forums and click on user list, then click on a user, I get this error:

Error: Unable to fetch user info.

Can someone tell me how I can fix this? I haven't added anything to muck up the profiles, but they arent working sad

Thanks
DirtyDeeds

Hello,

I'm building a website around PunBB 1.2.22, using the user management system.  On the enternal index page of the site, I have intergrated a login form, but how would I go about adding a logout link?

Here is the code I have thus far:

<?php
    define('PUN_ROOT', './forums/');
    //require PUN_ROOT.'include/common.php';
    define('PUN_QUIET_VISIT', 1);
 
    if (!$pun_user['is_guest'])
    {
        echo '<br><font face="Verdana" style="font-size: 9pt" color="#FFFFFF">Hello '.pun_htmlspecialchars($pun_user['username']);
        $avatardir = "forums/img/avatars";
 
        if ($img_size = @getimagesize($avatardir.'/'.$pun_user['id'].'.gif'))
            $user_avatar = '<img src="'.$avatardir.'/'.$pun_user['id'].'.gif" alt="" border="0"/><body topmargin="0" leftmargin="0"><br />';
        else if ($img_size = @getimagesize($avatardir.'/'.$pun_user['id'].'.jpg'))
            $user_avatar = '<img src="'.$avatardir.'/'.$pun_user['id'].'.jpg" alt="" border="0"/><br />';
        else if ($img_size = @getimagesize($avatardir.'/'.$pun_user['id'].'.png'))
            $user_avatar = '<img src="'.$avatardir.'/'.$pun_user['id'].'.png" alt="" border="0" /><br />';
    }
    else
    {
        $user_avatar = '<img src="'.$avatardir.'/no-avatar.jpg" alt="" border="0" />';    
    }
 
 
    echo "$user_avatar";
 
    //if user is a admin
    if ($pun_user['g_id'] == 1)
    {
        echo "Forum Admin<br />";
        echo "Poll Admin<br />";
        echo "Webmail<br />";
        //For All Members
    }
    else if ($pun_user['g_id'] == 4)
    {
        echo "<br><br>Your Profile<br />";
        echo "Message Box<br><br />";
        
 
    }
    else
    {
        $redirect_url = '' ;
 
        if(isset($_SERVER['REQUEST_URI']))
            $redirect_url = $_SERVER['REQUEST_URI'] ;
 
        require PUN_ROOT.'lang/'.$pun_user['language'].'/login.php';
        echo '<center><font face="Verdana" style="font-size: 9pt" color="white"><br>Welcome Guest</font>
        <form style="text-align: center;" id="login" name="login" name="qpost" method="post" action="forums/login.php?action=in">
 
                    <input type="hidden" name="form_sent" value="1" />
                    <input type="hidden" name="redirect_url" value="index.php" />
                    Username<br />
                    <input type="text" name="req_username" size="16" maxlength="25" /><br /><br />
                    Password<br />
                    <input type="password" name="req_password" size="16" maxlength="16" wrap="virtual"><br /><br />
                    <input type="submit" name="login" value="Login" /><br /><br />
                    <a href="forums/register.php">Register now!</a>
 
</form></center>
        ';
     }
?>

Thank you for the help
and kind regards
DirtyDeeds

Hello,

I'm in the process of developing a custom website around PunBB. My intention is to use punbb's user login system to manage users of the site. I was wondering if anyone could point me to a couple of mods maybe?

I'm looking for:
  - A private messaging system
  - A Shoutbox
  - A Lightbox photo gallery that will allow users of a certain group to upload images.

I chose PunBB 1.2.22 because I have used it in the past, and I enjoy the fact that its simple to use.

Thanks,
DirtyDeeds

7

(0 replies, posted in PunBB 1.2 troubleshooting)

Is there a way I can show what users are currently logged into the forum? Or if it's a guest have it show guest?

I'm wanting to display this info on the buttom of my Website's root index page

Thanks
DirtyDeeds

Hello,

I have installed this to my website --> http://thestkclan.net/boards/gallery.php

But how do I upload an image?

Hello,

I'm wanting to add a bbcode of [center][/center], so I can center texts & stuff, to the existing bbcode that I already have, how might I go about doing this?

Here is a screen shot of what my existing code looks like:
http://www.thestkclan.net/bbcode.jpg

I appreciate the help...

Kind Regards,
Juston

10

(3 replies, posted in PunBB 1.3 additions)

Is there a addon for 1.3 that I can use to pull topics from certain boards and show them in a box on my main site?

I had one that I found for 1.2, but since I've changed over to 1.3 I cant seem to make it work


Thanks
DirtyDeeds