551

(4 replies, posted in Programming)

elbekko wrote:
pogenwurst wrote:

You also might want to check out the BBCodeXtra extension, which has a clipboard submenu where you can click "URL with name", which will pop up a dialog to enter the link text and then generate the BBCode with the text you provided and the current contents of your clipboard as the URL.

I have that extension, but it doesn't quite do what I want tongue It still needs me to fill in the name of the URL wink

... how will your poor, poor hands ever survive? wink

552

(5 replies, posted in PunBB 1.2 show off)

I like the style. It's bright and clean, yet neither garish nor drab.

WeAreWriters wrote:

For 'Enter then name of your database'
is that public_html  or what is my database?

You need to create a database in your host's control panel and then enter its name into the installation form (depending on your host, you may pick this name or it may be assigned to you).

554

(4 replies, posted in Programming)

You might want to take a look at these links for info on extension dev: http://punbb.org/forums/viewtopic.php?pid=69339#p69339

You also might want to check out the BBCodeXtra extension, which has a clipboard submenu where you can click "URL with name", which will pop up a dialog to enter the link text and then generate the BBCode with the text you provided and the current contents of your clipboard as the URL.

555

(2 replies, posted in PunBB 1.2 discussion)

They're probably paying for something more along the lines of "forum" or "forums", but I wouldn't be surprised if they pay for "PunBB" too.

That is, after all, what is so lucrative about contextual advertising.

And besides, you can always add them to your AdSense ban list, can't you? Also, was it PhpBB, or a PhpBB host? I think the latter would be more likely.

Awesome! The Google Maps integration is really cool.

557

(29 replies, posted in PunBB 1.2 show off)

twohawks wrote:

Sweet Looking forum, pog!  Simple, elegant... I do not typically look at 'show off' stuff, but this came up in a search and I am glad I saw it - lets me know there's so much more that can happen with punbb that it's just ridiculous.
Thank you for sharing.
Cheers,

Thanks. smile

Much of the credit goes to Andreas Viklund though. He's awesome.

558

(4 replies, posted in PunBB 1.2 troubleshooting)

The second code should be:

else if (isset($_POST['form_sent']))
{
    $username = pun_trim($_POST['req_username']);
    $email1 = strtolower(trim($_POST['req_email1']));

    if ($pun_config['o_regs_verify'] == '1')
    {
        $email2 = strtolower(trim($_POST['req_email2']));

        $t3hadm1n1 = random_pass(8);
        $password2 = $password1;

I'm not sure about the first one though. Maybe I'm just blind. Try uploading a fresh copy of functions.php.

Yann wrote:

Smartys, it's useful as it will reduce the pagesize sent to the client, but i don't really see how it could possibly reduce cpu use...

That's not what he said. He just said that the amount of CPU your server uses depends upon the level of compression you choose. If you choose a high level of compression, you will use a high level of CPU; if you choose a low level of compression, you will use a low level of CPU.

560

(7 replies, posted in Feature requests)

As I said, yes, there are currently no SOAP/REST interfaces available (I guess I wasn't clear enough, sorry).

561

(7 replies, posted in Feature requests)

No, there's no interface for interacting with PunBB from outside the server. You'd have to write something yourself to do that.

562

(8 replies, posted in PunBB 1.2 discussion)

CHANGE THIS TERMS & CONDITIONS

TO SUITE YOUR SERVICE

BY EDITING THE FILE terms.txt

I can agree to that... big_smile

Anyway, come on guys, if he wants to set up a host he can.

twohawks wrote:

How does that work?... How do they provide that sort of hosting for free?

He's using the multi-forum mod.

563

(14 replies, posted in PunBB 1.2 troubleshooting)

elbekko wrote:

A very handy thing if you're using Firefox is the Color Picker plugin. It will not only show the colour, but also the type, class and id of the tag you're hovering over wink

I'm not sure how it compares, but CSSViewer is pretty cool too.

564

(2 replies, posted in PunBB 1.2 troubleshooting)

In register.php, find the following:

message($lang_register['Reg e-mail'].' <a href="mailto:'.$pun_config['o_admin_email'].'">'.$pun_config['o_admin_email'].'</a>.', true);

Replace with the following:

message($lang_register['Reg e-mail'], true);

In lang/English/register.php, find the following:

'Reg e-mail'                =>    'Thank you for registering. Your password has been sent to the specified address. If it doesn\'t arrive you can contact the forum administrator at',

Replace with the following:

'Reg e-mail'                =>    'Thank you for registering. Your password has been sent to the specified address. If it doesn\'t arrive you can contact the forum administrator.',

To use a contact form, you'd need to do a bit of modding on your own. You might either modify PunBB's built-in email form, modify one of the bajillion free contact scripts out there, or write a simple contact form from scratch.

Gizzmo wrote:
pogenwurst wrote:

If users can't delete their individual posts, why would they be able to delete entire topics?

im sayin that the option is showing up to delete but when you click the button, it pops up saying you cant delete your posts.

Oh, I see.

Try changing

echo "\t\t\t\t\t\t\t".'<p><strong><a href="forum.php">Forums</a> » <a href="viewforum.php?id='.$cur_post['forum_id'].'">'.pun_htmlspecialchars($cur_post['forum_name']).'</a> » <a href="viewtopic.php?id='.$cur_post['pid'].'">'.pun_htmlspecialchars($cur_post['subject']).'</a></strong> - Posted '.format_time($cur_post['posted']).' <span class="byuser'.(isset($cur_post['g_title']) ? ' '.strtolower(str_replace(' ', '', $cur_post['g_title'])) : '').'"><strong> » </strong><a href="profile.php?id='.$cur_post['poster_id'].'" class="username">'.pun_htmlspecialchars($cur_post['poster']).'</a></span></p>'."\n";

to

echo "\t\t\t\t\t\t\t".'<p><strong><a href="forum.php">Forums</a> » <a href="viewforum.php?id='.$cur_post['forum_id'].'">'.pun_htmlspecialchars($cur_post['forum_name']).'</a> » <a href="viewtopic.php?id='.$cur_post['id'].'">'.pun_htmlspecialchars($cur_post['subject']).'</a></strong> - Posted '.format_time($cur_post['posted']).' <span class="byuser'.(isset($cur_post['g_title']) ? ' '.strtolower(str_replace(' ', '', $cur_post['g_title'])) : '').'"><strong> » </strong><a href="profile.php?id='.$cur_post['poster_id'].'" class="username">'.pun_htmlspecialchars($cur_post['poster']).'</a></span></p>'."\n";
Gizzmo wrote:

i also noticed that if you have "users can delete their posts" off and "users can delete their topic" on than i get an error when i try to delete my topic... that seems more like a bug.

If users can't delete their individual posts, why would they be able to delete entire topics?

qie wrote:

there is an option of " user group -- member -- delete the posts"
i set it up.
and i found when i login with a normal member ,i can not delete my post ,coz there is no option let me to delete there is only " report " and "quote"

Please double-check that you have configured things properly. I don't see why this would be happening. Perhaps you are trying to delete a post that is the start of a topic, but do not have the option set to allow normal members to delete their own topics.

568

(6 replies, posted in PunBB 1.2 troubleshooting)

You can find the file in PunBB's zip file.

569

(6 replies, posted in PunBB 1.2 troubleshooting)

vnpenguin wrote:

If user can "edit posts" the option "delete posts" is not so important. Because he/she can turn his post become a "empty post". A "empty post" is also the same as "deleted post" :-)

Actually, deleting a post may be used for purposes other than simply removing its content from view. For example, to covertly bump a topic, some users delete their posts (when they are the last in their respective topics) and repost a copy of it. It can be quite irritating. sad

570

(14 replies, posted in PunBB 1.2 troubleshooting)

FhdQa wrote:

Thank you all, but is it possible to aply a specific style for each text in the the forum?, like forum's title, catagory's title, post body...ect

Yes, as long as you find the proper CSS selector for each. If you ask specifically for what you want, I'll be glad to help (and I'm sure others will be too), but you may want to read up on CSS as well.

Anyway, for category title you might try

#punindex DIV.blocktable H2 SPAN

and for post body you might try

DIV.postright DIV.postmsg P

571

(3 replies, posted in PunBB 1.2 troubleshooting)

Flare_Of_Light wrote:

lol I feel so stupid.......thanks though smile

Don't worry, a lot of people have asked. smile

Looks nice, although unfortunately I have to be a grammar jerk and point out that it should be "demos" and "screenshots", not "demo's" and "screenshot's". Adding -'s to a noun makes it possessive, not plural.

573

(3 replies, posted in PunBB 1.2 troubleshooting)

It's an old version of PunBB, but this screenshot should still explain things for you:

http://punbb.org/stuff/stick.png

574

(114 replies, posted in PunBB 1.2 discussion)

deoren wrote:

Not wanting to rant or start anything but I'm curious, is there a tentative release schedule for 1.3?

No.

deoren wrote:

Will it include the ability to split posts from a thread into it's own thread?

AFAIK, no.

@deadram: He seems to be asking how to have multiple forums share the same users table, not merely the same database.

If that is so, the following two threads might be helpful:
http://punbb.org/forums/viewtopic.php?id=8755
http://punbb.org/forums/viewtopic.php?pid=75974