Link code...

This mod, will add the ability to make "newsletters" and other customised mass emails, status is showen while sending mass email
It will also be posible to grant other users permissions to send mass email to a specific usergroup
Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

Postby Brando on Wed 30. Apr, 2003 01:56

I found these lines in my groupcp_info_body.tpl file:

Code: Select all
   <!-- BEGIN switch_mod_option -->
   <tr>
      <td class="catBottom" colspan="8" align="right"><span class="cattitle">
         <input type="submit" name="remove" value="{L_REMOVE_SELECTED}" class="mainoption" />
      </td>
   </tr>
   <!-- END switch_mod_option -->


Now I just need to know how to make the link....what is the value??
Such as value="{L_REMOVE_SELECTED}, what would the value be for mass_email.php?

Thanks
Brando
Poster
Poster
 
Posts: 22
Joined: Tue 22. Apr, 2003 02:06

Postby bigboy on Wed 30. Apr, 2003 17:44

Sorry I just realised thay you would want it to email all members in that group or email the selected members of the group???

the template switch you have would be fine only problem is I think it would just bring up the mass email file and then the mod would have to select the group to email???

basicly the mod would click on the link and he would be taken to the mass email and then he would have to select the group from the list and send them the email???

if that oks with you let me know and I will try and sort the link ou for you.
bigboy
Poster
Poster
 
Posts: 16
Joined: Thu 13. Feb, 2003 16:31

Postby Brando on Thu 01. May, 2003 01:04

bigboy wrote:the template switch you have would be fine only problem is I think it would just bring up the mass email file and then the mod would have to select the group to email???

basicly the mod would click on the link and he would be taken to the mass email and then he would have to select the group from the list and send them the email???

if that oks with you let me know and I will try and sort the link ou for you.


That's exactly what I want....It would be great if you could tell me how to make the link.

Thanks
Brando
Poster
Poster
 
Posts: 22
Joined: Tue 22. Apr, 2003 02:06

Postby bigboy on Fri 02. May, 2003 03:12

ok as I said before this will show a link to the mass_email.php file.

replace the code you have listed above with one of the following codes.

TEXT LINK VERSION

This assumes the mass_email.php file is in the phpbb forum root folder if it is not then change the link details, for instance change mass_email.php to admin/mass_email.php if the file is in your admin dir.

Code: Select all
   <!-- BEGIN switch_mod_option -->
   <tr>
      <td class="catBottom" colspan="8" align="right"><span class="cattitle">

<a href="mass_email.php">Email these members</a>

         <input type="submit" name="remove" value="{L_REMOVE_SELECTED}" class="mainoption" />
      </td>
   </tr>
   <!-- END switch_mod_option -->



GRAPHIC LINK VERSION

or if you wish you can use an image instead of the text link by using the following code, change image.gif to the name of your image. (please note this assumes the image will be in your images folder that is in the forum root and not in the templates dir. you can change it if you wish.


Code: Select all
   <!-- BEGIN switch_mod_option -->
   <tr>
      <td class="catBottom" colspan="8" align="right"><span class="cattitle">

<a href="mass_email.php"><img src="images/image.gif" border="0"></a>

         <input type="submit" name="remove" value="{L_REMOVE_SELECTED}" class="mainoption" />
      </td>
   </tr>
   <!-- END switch_mod_option -->


need any more info/help l;et me know

regards
bigboy
Poster
Poster
 
Posts: 16
Joined: Thu 13. Feb, 2003 16:31

Postby Brando on Fri 02. May, 2003 22:02

Hey, Thanks
I guess that will do, but I was looking on making a "button" that links to mass_email.php
Like, if you click on Usergroups up above...and the "View Information" button...is it possible to make a button like that that links to mass_email.php?

Thanks
Brando
Poster
Poster
 
Posts: 22
Joined: Tue 22. Apr, 2003 02:06

Postby bigboy on Sat 03. May, 2003 00:00

to use a button is easy just use the graphic version that I supplied above and make a button for it. simple as that.

if your not up to amking a button tell me what template your using and I will try and create one for you.

regards
bigboy
Poster
Poster
 
Posts: 16
Joined: Thu 13. Feb, 2003 16:31

Postby Brando on Sat 03. May, 2003 08:37

I am using Appalachia, and I would like it to be a plain white button, like the others in Appalachia, and I want it to say "Mass Email" on it. It would be great if you could make it for me, thanks a lot.
Brando
Poster
Poster
 
Posts: 22
Joined: Tue 22. Apr, 2003 02:06

Postby bigboy on Tue 06. May, 2003 16:52

sorry not been on for couple of days but it was bank holiday and had a little time off.

anyway went to your forum so I could see the type of button you are using and have done 2 buttons for you, just decide which one you wish to use.

the link for the buttons is.

http://www.theunlocker.co.uk/temp/buttons.zip

just use the graphic version as listed above to use them.

place the button(s) in your images dir that is in your forum root.

any more problems let me know.

ps not sure when will get a chance to come back here so if you do have problems you can email me at admin@theunlocker.co.uk

regards
bigboy
Poster
Poster
 
Posts: 16
Joined: Thu 13. Feb, 2003 16:31

PreviousNext

Return to Custom mass email [2.0.8/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron