1,476

(6 replies, posted in Feature requests)

If this is implemented, mod authors should start putting notices under the supported versions part of the readme telling users that it may work in versions other than the ones specified. I for one get a bit annoyed hearing people asking for mods to be "upgraded."

1,477

(34 replies, posted in Feature requests)

Rickard wrote:
CafePress wrote:

We do not currently offer the ability to sell dark colored garments or apparel, however, we are actively working on fulfilling this popular request.

A question: Should I make the prints larger or smaller? Do you prefer centered (like the jersey) or the other way?

Oops. Sorry. Didn't know they couldn't do black.

I like the size and alignment of the jersey logo fine, but I would like to see it on a tee.

1,478

(34 replies, posted in Feature requests)

The baseball jersey looks nice.

What I would like to see is a black tee with the same logo as on the baseball jersey, except in white.

1,479

(41 replies, posted in PunBB 1.2 modifications, plugins and integrations)

Sounds interesting. Any screenshots?

Connorhd wrote:

if i were you, i would look at php_info() and find a combination of text and vairables that makes what $_SERVER['REQUEST_URI'] should be then do $_SERVER['REQUEST_URI'] = that
you can probably do $_SERVER['REQUEST_URI'] = "what/ever".$_SERVER['SCRIPT_NAME'] or something like that

Just about all of the variables concerning paths or urls have the same problem. I think I might want to consult my host's tech support on this one.

I have an idea though - how do take the base url of PunBB and make it a variable, so then I can take that and add the filename by stripping all the directories out of REQUEST_URI or PHP_SELF?

Connorhd wrote:

i dunno if you can just say
$_SERVER['REQUEST_URI'] = "what/ever";
in the top of common.php

I don't know if I could, but it would probably breaksomething. Why?

pogenwurst wrote:

(ex: action="<?php echo $_SERVER['PHP_SELF'] ?>?foo=bar")

That is an example I have encounterd in some install_mod.php files. If I said $_SERVER['PHP_SELF'] = forum/, the resulting form action would be mcawesome.hysellstuff.com/forum/?foo=bar instead of mcawesome.hysellstuff.com/forum/install_mod?foo=bar, which would still result in a broken form.

I'm pretty sure that's what would happen (not quite positive though).

Sorry if I wasn't clear enough in my original post.

BTW, before anyone asks, my base url in admin_options.php is http://mcawesome.hysellstuff.com/forum.

Many mods and plugins use

<?php echo $_SERVER['REQUEST_URI'] ?>

or

<?php echo $_SERVER['PHP_SELF'] ?>

as part of the action attribute of forms (ex: action="<?php echo $_SERVER['PHP_SELF'] ?>?foo=bar").

However, this causes a problem for me - my forums are located at "http://mcawesome.hysellstuff.com/forum/" (the subdomain "mcawesome.hysellstuff.com" points to "hysellstuff.com/awesome/") - but rather than generating a URL pointing to "forum/somescript.php", these variables both point to "//awesome///forum/somescript.php".

The result is that the form action is "http://awesome///forum/somecript.php" which causes my browser (Firefox) to do a Google I'm feeling lucky search that takes me too "http://www.awesomelibrary.org/".

Is there any way to fix this? I mean, I can go into the plugins and mods and edit form actions to point to the correct location, but this gets old quickly.

Thanks in advance for your help.

mastiland wrote:

admin text cant be added by language file also

right ?

Correct. It's pretty easy to do.

Tobi wrote:

That is a very good idea, I could store that in the config table. I'll see for that when I find the the time.

Thanks!

Tobi wrote:
pogenwurst wrote:

- The admin plugin should have a field for a default header, footer, etc to send with each invite
- If you can get HTML working right, BBCode might be nice, though it wouldn't be that important

Sorry, I am very conservative in this and IMO emails have nothing, absolutely noting to do with HTML and they shouldn't. They are messages, information, whatever, and seeing the amount of mail traffic nowadays any tag that you do not send helps smile
So - no HTML mails for me, thanks.

I'm not sure if this was just you selecting to much to quote or something, but just so you know, the HTML suggestion and the header/footer suggestion are unrelated.
I just mean that the admin plugin would have a textarea where an admin could type in some text to be included in every invite.

mastiland wrote:

hey but hyperlink

<a href=""></a>

in the email it doesnt become hyperlink

it becomes

<a
href='http://www.mastiland.com/forum/register.php?invite=b7665435a8f224327fda0b1195d02a64'>http://www.mastiland.com/forum/register.php?invite=b7665435a8f224327fda0b1195d02a64</a>

what to do so it could be hyperlink in the email

Yeah same problem for me too. I just changed (in mod_invitation.php):

$mtext = $form['invitation_text'] . "\n".$lang_invitation['Forum Link']."<a href='".$act_link."'>".$act_link."</a>";

To:

$mtext = $form['invitation_text'] . "\n" . $lang_invitation['Forum Link'] . $act_link;

This makes just the url show up. Some mail clients automatically link-ify urls (Thunderbird does), otherwise, the recipient can just copy & paste.

FYI this is on the 1.0.1 version, not the preliminary 1.1 version tobi put up. I plan on testing it out but my schoolwork has been getting in the way.

I don't think the fact that it's in a zip is the issue here - just that morepork doesn't want to download all the other files.

So you could just put the two files in a zip/targz/tarbz2, and you wouldn't have to worry about server configuration or anything.

1,488

(8 replies, posted in Feature requests)

Yeah, keywords might not be that essential in terms of search engine indexing, but they'd problably be good for other uses (maybe enhance PunBB's internal search? I dunno).

What would be really cool would be the ability to tag topics, then have a tag cloud on the index page.

Gizzmo wrote:

the files is in the zips, like the changed files or the full package.

I think morepork wants to download only the update.php file and patch/diff - not the whole zip.

tobi wrote:

The only tricky part is that it requires a new field in PREFIXgroups. That's defined in mod_install.php so maybe you can do it in phpMyAdmin.

Is there some command I can run in the DB Management plugin? Sorry, but I have almost no knowledge of MySQL.

tobi wrote:

Sorry, I am very conservative in this and IMO emails have nothing, absolutely noting to do with HTML and they shouldn't. They are messages, information, whatever, and seeing the amount of mail traffic nowadays any tag that you do not send helps smile
So - no HTML mails for me, thanks.

That's fine - your the one doing the work anyway. Like I said, the BBCode isn't that important to me.

Anyway, I'll see if I can install the new version and test it out for you. I'll post back with my results.

Also, I mentioned being able to preview a card before sending - I have a vague idea of how I might be able to hack that together on my own, though it'll probably be a week or two until I'm finsished 'cause I've got other stuff to attend to.

Thanks for your quick response! I'm glad to see your taking care of your mod.

zaqaz wrote:

When it will be integrated in PunBB main distribution? Cant believe such essential feature is not included by default.

PunBB is supposed to be lightweight. While PM is convenient, it is not all that necessary. We do have email, after all. A forum is a forum with or without PM.

Josh-E wrote:

Do I need to upload the file:  PM-1.2.1.diff anywhere?  Or is that just a non-needed file?

There is some kind of use to that file - I'm not sure exactly how you use it but I believe it's what the following part of the readme is talking about:

##   Using diff to install:
##                    1. Access your webserver via shell/ssh access
##                    2. Enter your punbb-directory
##                    3. patch -p2 < /location/to/PM-1.2.0.diff
##                    4. Run install_mod.php
##                    5. Delete install_mod.php
##                    6. Upload any additional languages

You do not need that file to install the mod; I did it without it.

1,494

(14 replies, posted in PunBB 1.2 discussion)

Thanks. I thought it would be something like that, but didn't have time/was too lazy to look.

Also, you might want a way for members to preview invites before they send them, and to be able to send multiple invites at once. A filter that prevents sending invites to emails already registered and emails already invited might be nice too.

I'll *see* if I can implement any of these changes on my own, and email you the source, though I doubt my PHP skills are good enough.

Tobi wrote:

what kind of improvement do you have in mind?

There are a few issues:

- IMHO, the card is hard to edit. When I tried editing it myself, I went through a billion errors before I could get it right.
- The link tag is messed up - I see the HTML when I receive the invitation. Do you have to configure the MIME type as text/html or something? (I really don't know)
- The card should include some info on the board - title, admins, moderators, etc
- The admin plugin should have a field for a default header, footer, etc to send with each invite
- If you can get HTML working right, BBCode might be nice, though it wouldn't be that important

I guess that's kind of a hefty list, but it's just my opinion. Overall, the mod is great. I'd just hate to see it spoiled by a few minor issues. I made a few minor chages to your code; if you want, I can email them to you, though I don't think they'd be much use, they're just aesthetic (did I spell that right?) changes.

Also, when someone doesn't have any invitations left, a message should be displayed in the profile view, rather than just a blank pane. I'm not sure - do new members automatically receive invites based on the amount given to each group in the plugin? If not, they should.

OK, I'm done wining now smile. If you need some help testing, or with something that doesn't require much PHP skill, just ask.

1,497

(2 replies, posted in PunBB 1.2 discussion)

I agree with you, but this has been discussed before:
http://punbb.org/forums/viewtopic.php?id=8524

1,498

(14 replies, posted in PunBB 1.2 discussion)

Viper007Bond wrote:

Yeah, seems it does, but it also adds a bunch of crap I don't want. sad

I'll have to agree with you on that. There should be instructions included with the mod to help you only get codes you want.

I have two recommendations for if you ever make a new version:
- Have an option for all users to have unlimited invites
- Improve the invitation "card" that is sent

Installing it and making it the way I wanted was kind of frustrating, but anyway, thanks for the mod. Hopefully I can get more users to my forums with this.

Thanks again!
Brian