101

(101 replies, posted in PunBB 1.2 discussion)

i got hit this morning from 85.100.230.111.  he erased 2 forums too.  sad

i was lagging on updating - stupid me.

i'm hoping my host can restore them.

if not, is there anything i need to change in the db or look for to see if he changed anything?

thanks..

hubabuba wrote:

I need this options because my users used IPB for some time..  and they need those 2 options:

1) when someone recieve a PM.. to be notified via email...
2) when someone send a PM to be stored by default in send box.. 

Can u plz me more clear where and what exactlly i should modify ?  thx smile

And after that if i could find someone to tell me how can i subscribe to a topic, a user by default, after he reply to a topic..  will be great !

We've debated this, and I too would love that feature, but they're saying it's not going to happen.

Here's our discussion (starting with my post #262).

yelowpunk wrote:

Will PMmod 1.2.1 work well with PunBB 1.2.5?

Are you going to release a version that is fully compatible? I would like to implement PMing into my forums but don't want anything funny to happen. smile

Thanks

-Tim

as Connor said above..

just open install_mod.php and find the 1.2.3 at the top and change it to 1.2.5 and it will work

Rickard wrote:
lament wrote:

Rickard,

Thought you might like to know that I can't check to see if an upgrade is available either (through my forum), now that "'allow_url_fopen' is disabled on this system."

Yes, I know. PunBB does give you an error message about that, right?

Yes it does.

Rickard,

Thought you might like to know that I can't check to see if an upgrade is available either (through my forum), now that "'allow_url_fopen' is disabled on this system."

Hi guys,

Just a heads up to anyone hosting with Dreamhost: today they turned off allow_url_fopen on all servers, which will affect any extern.php includes you may be running (the "Guests and Registered Users Online" and "Recent/Active Discussions" are the ones I'm using. see the left sidebar labeled Latest Discussions on my site for an example. Rickard has it on the home page under Recent Posts).

This site will tell you how to fix the situation by using $curl.

Here's Dreamhost's official memo about it:

As previously announced on March 18, 2005, the allow_url_fopen PHP configuration has now
been turned off on all servers.

If you are currently using this functionality in your PHP code, there is a more powerful and
flexible option available.  PHP provides excellent support for curl library and its associated
functions.

One of our own users has written a short article describing how it is used and that can be found
here:
http://blog.unitedheroes.net/archives/p/1630/

The official PHP documentation for it is here:
http://us2.php.net/manual/en/ref.curl.php


This change will significantly improve the security of PHP-based applications running on our
servers so we can spend more time giving you more features!


Happy DreamHost PHP Security Team

worked great. thanks!

connor what's the process for installing the PM mod on PunBB 1.2.4 if I have PunBB 1.2.2 and PM mod 1.2.1 running right now and I want to upgrade to PunBB 1.2.4

thanks!

Connorhd wrote:

i'm not great at css but...

div.block#announce div.inbox {
    background-color: red;
}

no, the box containing the word Announcement, and the border around it.  I'd like to make the word Announcement white as well. thanks if you can get this working!

Connorhd wrote:

no need to edit the code since i gave it a class when i made it just add
.pmlink a:link, .pmlink a:visited {
    color: blue;
}
.pmlink a:hover {
    color: green;
}
to the css

nice! thank you!

now, connor, use your CSS magic to turn the box around Announcement RED.  smile

i've tried and could only get a portion of it red.

bubach wrote:

I have never had any PM links for guests..

how would guests send/receive private messages anyway?

line 8 in /include/pms/header_new_messages.php:

$tpl_temp .= "\n\t\t\t\t".'<li class="pmlink"><strong><a href="message_list.php">'.$lang_pms['New messages'].'</a></strong></li>';

and line 17:

$tpl_temp .= "\n\t\t\t\t".'<li class="pmlink"><strong><a href="message_list.php">'.$lang_pms['Full inbox'].'</a></strong></li>';

theoretically, if you put a class on the a href in these two, and put it in your CSS, it should work.  but it's not, and i can't figure out why.  i can easily add a title to the link and it shows up.

i'm sure it has to do with the fact that it's a list item.

Connorhd wrote:

check you did all the modifications correctly

Yup I was a little tired last night and didn't read... oops!

Also had a problem (again) with Dreamweaver adding weird characters to the end of the files that I downloaded through the built-in FTP, so when I uploaded them, it choked.  fixed tho.. thanks Connor!

There used to be a "Messages" link in the main navigation.  I can't remember if that was there in my updrade to PunBB 1.2.2, but it's not there now with PM Mod 1.2.1.

yeah i just downloaded it and put it (without modifying it) and it looks like i'm ok.

so i'm thinking Dreamweaver is freaking out when i try to edit it, or it's DW's built in FTP sending it as ASCII or Binary. sad

i'll try upping with FileZilla..

116

(2 replies, posted in PunBB 1.2 troubleshooting)

that was the problem. thank you sir!

when I remove the chars, i get a parse error.

Parse error: parse error, unexpected $ in /path/to/AP_News_Generator.php on line 185

118

(2 replies, posted in PunBB 1.2 troubleshooting)

Man I'm a posting fiend today.. sorry. smile

These were working before the update:

<link rel="alternate" type="application/rss+xml" href="http://www.sadreminders.com/interaction/extern.php?action=new&type=RSS" title="Newest Topics" />
<link rel="alternate" type="application/rss+xml" href="http://www.sadreminders.com/interaction/extern.php?action=active&type=RSS" title="Recently active topics" />
<link rel="alternate" type="application/rss+xml" href="http://www.sadreminders.com/interaction/extern.php?action=active&type=RSS&fid=16" title="Forum announcements" />

the & was converted to & so it would validate properly. Actually I just checked and action=new is working fine.  the other 2 aren't.

They're coming up with a "Live bookmarks failed to load" in Firefox 1.0.

thanks for any help..

Hi all,

this is line 180-186 in AP_News_Generator.php

            </form>
        </div>
    </div>
<?php

}
ÿÿ

note those 2 characters at the end.  it seems that a couple of files have that little anomaly when I edit in Dreamweaver, and I don't know if it's the transfer or what.  so what is line 186 supposed to be?

thank you!

120

(37 replies, posted in News)

worked like a champ. thanks!

now off to install the news mod..

121

(37 replies, posted in News)

can you be in maintenance mode while upgrading?

122

(37 replies, posted in News)

ha me too.  but i think i'll upgrade right now.

Rickard does this affect your News Module plugin (that i was just going to install) or RSS feeds?

Ok so let me ask you this:

600 = 10 minutes, so if I'm browsing 40 new topics and I'm replying and 10 minutes elapses, all of those topics will probably disappear right?

Is there any way to do it by session, whereby only when I logout or close the browser will my next visit truly be a next visit, or do I just have to bump up the timeout to 9999.

I don't remember setting this at all in 1.1.5, and I didn't have any problems.  Or, maybe I didn't sit on my site for over 10 minutes and then hit "Show new topics.."

And if I do bump this up to 9999, this only counts for the session right?  Closing the browser and opening a new browser window later or logging out then back in resets the timeout, correct?

Thanks!

Hello,

In 1.1.5, I could go down a list of "Show new posts since last visit" posts, then reply to one of the posts, click "Show new posts since last visit" and it would still show me the same new postings I saw when I first logged in, which was great.

Now, I just had 7 new topics shown, I reply to one, then hit Index > Show topics since last visit, and I only see the one I just replied to and don't see any of the other new ones that are still "new since last visit."

What setting can I change in the admin to switch back?  Is it the visit timeout?

I want it to be like it was before: as long as I have the browser open, i still want to see those new postings.  If i close the browser, then 1 hour later log in again, that's a new visit - so show me the new ones since my last visit.

Paul wrote:

The only reason that would cause problems in IE is if somebody sets a font-size on body or a containing div and doesn't make a compensating adjustment in the stylesheet. The setting of 68.75% assumes body will be the default size of 16px and no font-sizes will be set on any containers.

In your case you have set a font-size of 11px on #container so IE is giving you 68.75% of 11px. Since your setup will prevent text sizing in IE anyway you can just remove the special size for IE alltogether. IE will then simply get the same 11px setting as Firefox and Opera.

I should've known.  smile  Yeah as I said I commented it out.  Thanks Paul!