26 (edited by pogenwurst 2005-09-08 21:37)

Re: Invitation 1.0.1

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.

Looking for a certain modification for your forum? Please take a look here before posting.

Re: Invitation 1.0.1

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.

Looking for a certain modification for your forum? Please take a look here before posting.

28

Re: Invitation 1.0.1

As for the email link: I removed the A tag in the 1.1 version that's right.

As for the admin text:

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.

The German PunBB Site:
PunBB-forum.de

Re: Invitation 1.0.1

admin text cant be added by language file also

right ?

Re: Invitation 1.0.1

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!

Looking for a certain modification for your forum? Please take a look here before posting.

Re: Invitation 1.0.1

mastiland wrote:

admin text cant be added by language file also

right ?

Correct. It's pretty easy to do.

Looking for a certain modification for your forum? Please take a look here before posting.

Re: Invitation 1.0.1

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.

Ok, I just realized my host had phpmyadmin pre-installed smile. What command can I put in to add the new field?

Looking for a certain modification for your forum? Please take a look here before posting.

33

Re: Invitation 1.0.1

Just open the mod_install.php and see what it does there.
Copy the commands, replace $db->prefix with your prefix, call "SQL" in your table overview in phpMyAdmin and paste it there.

The German PunBB Site:
PunBB-forum.de

34 (edited by jlangrock 2006-10-29 20:32)

Re: Invitation 1.0.1

Sorry I have found my mistake, the Profile.php wasnot correctly uploaded.

The poor horseman without horses
www.galopp-sport.eu

http://claimid.com/jlangrock
[img]http://claimid.com/images/hcard.gif[/img]

Re: Invitation 1.0.1

I tried it on PunBB 1.2.14, it does not work...

any clues how to make it work ???

36

Re: Invitation 1.0.1

sudhir_nyc wrote:

I tried it on PunBB 1.2.14, it does not work...

any clues how to make it work ???

i think u should open the install_mod.php file; fidn this line

$punbb_versions    = array('1.2.5', '1.2.6', '1.2.7');

and add your version in to that array . it should be fine smile

I love sky - i love flowers - and i love myself :D

37 (edited by sudhir_nyc 2006-10-31 22:35)

Re: Invitation 1.0.1

mystic wrote:
sudhir_nyc wrote:

I tried it on PunBB 1.2.14, it does not work...

any clues how to make it work ???

i think u should open the install_mod.php file; fidn this line

$punbb_versions    = array('1.2.5', '1.2.6', '1.2.7');

and add your version in to that array . it should be fine smile

Tried this already...does not work sad

38

Re: Invitation 1.0.1

so you should provide what the errors were? so ppl can help u out smile

I love sky - i love flowers - and i love myself :D

Re: Invitation 1.0.1

It works with 1.2.14.
Is ther any statistic possible, like how got invitations and possible response ?

The poor horseman without horses
www.galopp-sport.eu

http://claimid.com/jlangrock
[img]http://claimid.com/images/hcard.gif[/img]