Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 [Update3] Email @ eml_field, post thread , copy sent 2 eml_field addrs w/ admin mesg?
akm Offline
Member
***
Posts: 115
Joined: Nov 2011
Post: #3
Question [Update3] Email @ eml_field, post thread , copy sent 2 eml_field addrs w/ admin mesg?
(03-17-2012 07:00 PM)ZiNgA BuRgA Wrote:  It cannot be done with XThreads.

Fair enough, thank you for the info !
As someone said, if u dont ask...

Actually trying to figure way to let person know (automatedly), by email, that a thread is being started about them.
Any ideas on another way ?

Ps:
Might be able to do with 'subject' or 'message' field at template: tp_newthread (modified for name and display only), which are still normal MyBB fields ?
Maybe at tp_newthread.php with something from sendthread.php ?

Ps2:
Ie if 'message' field was email address ?

Ps3:
Starting to look at edit cr_newthread.
Does start even look possible ?

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<html>
<head>

<!-- revise cr_newthread for send to threadfield email address -->

<title>{$lang->newthread_in}</title>
{$headerinclude}
<script type="text/javascript" src="jscr
ipts/post.js?ver=1400"></script>
</head>
<body>
{$header}
{$preview}
{$thread_errors}
{$attacherror}
<form action="newthread.php?fid={$fid}&amp;processed=1" method="post" 
enctype="multipart/form-data" name="input">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->cr_post_new_thread}</strong></td>
</tr>
{$loginbox}

<!-- use same textfield format as subject for message -->
<tr>
<td class="trow2" width="20%"><strong><font size="5">{$lang->cr_thread_subject}</font></strong></td>
<td class="trow2">{$prefixselect}
<input type="text" class="textbox" name="subject" 
size="40" maxlength="30" value="{$subject}" tabindex="1" /></td>
</tr>

<tr>
<td class="trow2" width="20%"><strong><font size="5">{$lang->cr_your_message}</font></strong></td>
<td class="trow2">
{$prefixselect}
<input type="text" class="textbox" name="message" 
size="12" maxlength="12" value="{$message}" tabindex="1" />
<small style="display: block;">Use format: 000-000-0000</small></td>
</tr>

{$codebuttons}
{$multiquote_external}
</td>
</tr>
{$extra_threadfields}

<!-- omit
$(modoptions)
$(subscriptionmethod)
$(pollbox)
$(captcha)
-->

</table>

<!-- below for additional after threadfield input note -->

<div style="text-align:center">xxx</div>

<br />
<div style="text-align:center">

<input type="submit" class="button" name="submit" value="Submit" 
tabindex="4" accesskey="s" />  

<input type="submit" class="button" name="previewpost" value="Preview" 
tabindex="5" />

{$savedraftbutton}

</div>

<input type="hidden" name="action" value="do_newthread" />
<input type="hidden" name="posthash" value="{$posthash}" />
<input type="hidden" name="attachmentaid" value="" />
<input type="hidden" name="attachmentact" value="" />
<input type="hidden" name="quoted_ids" value="{$quoted_ids}" />
<input type="hidden" name="tid" value="{$tid}" />
{$editdraftpid}

</form>


<!-- from Edit Template: sendthread, to friend -->

<form action="sendthread.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">

<tr>
<td colspan="2" width="100%" class="thead"><strong>{$lang->send_thread}</strong></td>
</tr>

<tr>

<td width="40%" class="trow1"><strong>{$lang->cr_your_message}</strong><br />

<span class="smalltext">{$lang->recipient_note}</span></td>

</table>

<br />

<input type="hidden" name="action" value="do_sendtofriend" />
<input type="hidden" name="tid" value="{$tid}" />

<div align="center"><input type="submit" class="button" value="{$lang->send_thread}" />

</div>
</form>

{$forumrules}
{$footer}
</body>
</html>

...if possible, need to figure out how to just do send-to-friend process without textbox and other display code ?


Thanks again for your help !
(This post was last modified: 03-19-2012 05:30 AM by akm.)
03-18-2012 03:29 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
[Update3] Email @ eml_field, post thread , copy sent 2 eml_field addrs w/ admin mesg? - akm - 03-18-2012 03:29 AM

 Standard Tools
Forum Jump: