返回列表 發帖 ‹‹ 主題列表頁面 增加主題過濾種類 修正 Discuz 6.1 當Discuz代碼 為大寫時 無法判斷 ››

發新主題時 可以選擇發送到哪個版塊 [3P]

目前來說覺的放置的位置跟顯現的方式都覺得讓畫面變得很不協調也蠻醜的= =
另外就是有點太簡略了
不過最近感覺很空虛 所以沒什麼心情補強


開啟 post_newthread.htm

複製代碼
  1. <form method="post" id="postform" action="post.php?action=newthread&fid=$fid&extra=$extra&topicsubmit=yes" $enctype>
改為
複製代碼
  1. <form method="post" id="postform" action="post.php?action=newthread&extra=$extra&topicsubmit=yes" $enctype>
開啟 post_editor.htm
複製代碼
  1. <!--{if $smileyinsert}-->
  2.                 <div class="">
  3.                         <div id="smilieslist"><img src="{IMGDIR}/loading.gif"></div>
  4.                 </div>
  5.         <!--{/if}-->
下面加上
複製代碼
  1. <!--{if $action == 'newthread'}-->
  2.         <select name="fid" size="10" style="width: 99%;">
  3.                 <option value="$fid" selected="selected">不改變目標版區</option>
  4.                 <option value="">&nbsp;</option>
  5.                 $forumselect
  6.         </select>
  7.         <!--{/if}-->
開啟 newthread.inc.php

複製代碼
  1. if(!submitcheck('topicsubmit', 0, $seccodecheck, $secqaacheck)) {
下面加上
複製代碼
  1.         // bluelovers
  2.         require_once DISCUZ_ROOT.'./include/forum.func.php';
  3.         $forumselect = forumselect();
  4. //        $forumselect = str_replace('<option value="'.$fid.'">', '<option value="'.$fid.'" selected="selected">', $forumselect);
  5.         // bluelovers
完成

演示
Loading...
複製這篇網址分享給朋友: http://discuz.bluelovers.net/thread-4457-1.html#pid6985

本篇的內容不含引用除另有聲明外,如符合 CC授權條款 則套用 姓名標示-非商業性-相同方式分享 3.0 通用版

套一句黃小琥說過的話:「你可以點歌,但是我可以選歌」

RE: 發新主題時 可以選擇發送到哪個版塊 [3P]

功能不錯,可是真的有點需要美化一下..

如果可以的話,可以加上"一個帖子發在不同版上"的功能.



這是我的意見.
複製這篇網址分享給朋友: http://discuz.bluelovers.net/thread-4457-1.html#pid7022

TOP

RE: 發新主題時 可以選擇發送到哪個版塊 [3P]

看不懂
複製這篇網址分享給朋友: http://discuz.bluelovers.net/thread-4457-1.html#pid7032

本篇的內容不含引用除另有聲明外,如符合 CC授權條款 則套用 姓名標示-非商業性-相同方式分享 3.0 通用版

TOP

回覆 3#3 admin 的帖子

我想佢GE意思係
1)要美化
2)如果可以的話,加一個"一次過將同一篇內容的帖,發佈在兩個或以上的版塊"
複製這篇網址分享給朋友: http://discuz.bluelovers.net/thread-4457-1.html#pid9784

TOP

RE: 發新主題時 可以選擇發送到哪個版塊 [3P]

原來如此
發帖的同時就複製主題呀= =
複製這篇網址分享給朋友: http://discuz.bluelovers.net/thread-4457-1.html#pid9786

本篇的內容不含引用除另有聲明外,如符合 CC授權條款 則套用 姓名標示-非商業性-相同方式分享 3.0 通用版

TOP

發新主題 - 獨立的發帖通道 - 任意頁面下使用網址調用

這個插件送給金字塔
建議:
獨立的一個發帖通道。即:
發帖 -> 選擇發佈至某版面 -> 填寫標題與內容 -> 發佈
而不是從 版面 -> 發帖 -> 這裡選擇發佈到哪
然後 你只需要將 post.php 這個連結 放置在你想放的地方
用戶點選之後 發帖的權限會以設定的版塊 為基準

然後再配合
http://discuz.bluelovers.net/thread-4457.html

就可以大致上 達到你所敘述的功能

開啟 post.php

$_DTYPE = $checkoption = $optionlist = array();
if($typeid) {
	threadtype_checkoption();
}
底下加上
if (empty($action)) {
	$action = 'newthread';
	$fid = 2;	// 預設基準版塊
	
	$query = $db-&gt;query(&quot;SELECT f.fid, f.*, ff.* $accessadd1 $modadd1, f.fid AS fid
		FROM {$tablepre}forums f
		LEFT JOIN {$tablepre}forumfields ff ON ff.fid=f.fid $accessadd2 $modadd2
		WHERE f.fid='$fid'&quot;);
	$forum = $db-&gt;fetch_array($query);
	
	if($forum) {
		$fid = $forum['fid'];
		$forum['ismoderator'] = !empty($forum['ismoderator']) || $adminid == 1 || $adminid == 2 ? 1 : 0;
		foreach(array('postcredits', 'replycredits', 'threadtypes', 'digestcredits', 'postattachcredits', 'getattachcredits', 'supe_pushsetting') as $key) {
			$forum[$key] = !empty($forum[$key]) ? unserialize($forum[$key]) : array();
		}
	} else {
		$fid = 0;
	}
}
複製這篇網址分享給朋友: http://discuz.bluelovers.net/thread-4457-1.html#pid11054

本篇的內容不含引用除另有聲明外,如符合 CC授權條款 則套用 姓名標示-非商業性-相同方式分享 3.0 通用版

TOP

發新主題時 可以選擇發送到哪個版塊 v2

採用來自 DST 成員 金字塔 的概念
其實當初在 做這插件的時候
就有想到 選擇版塊時 一併更換主題分類不過那時候 覺得想到的方式 很醜
心情 也不是很好 所以弄的非常簡陋 醜


如果發現安裝失敗 懷疑 可能哪邊我少PO步驟 歡迎把錯誤情形PO出來

開啟 templates.lang.php

'post_newthread' =&gt; '發新話題',
底下加上
'post_newthread_forumselect' =&gt; '主題發佈版塊',
	'post_newthread_forumselect_none' =&gt; '不改變發帖版區',
開啟 newthread.inc.php

if(!submitcheck('topicsubmit', 0, $seccodecheck, $secqaacheck)) {
底下加上
// bluelovers
	require_once DISCUZ_ROOT.'./include/forum.func.php';
	$forumselect = forumselect();
//	$forumselect = str_replace('&lt;option value=&quot;'.$fid.'&quot;&gt;', '&lt;option value=&quot;'.$fid.'&quot; selected=&quot;selected&quot;&gt;', $forumselect);
	// bluelovers
開啟 post_newthread.htm

&lt;form method=&quot;post&quot; id=&quot;postform&quot; action=&quot;post.php?action=newthread&amp;fid=$fid&amp;extra=$extra&amp;topicsubmit=yes&quot; $enctype&gt;
改為
&lt;form method=&quot;post&quot; id=&quot;postform&quot; action=&quot;post.php?action=newthread&amp;extra=$extra&amp;topicsubmit=yes&quot; $enctype&gt;
&lt;!--{if $secqaacheck}--&gt;
			&lt;tr&gt;&lt;th&gt;&lt;label for=&quot;secanswer&quot;&gt;{lang secqaa}&lt;/label&gt;&lt;/th&gt;
			&lt;td&gt;&lt;div id=&quot;secquestion&quot;&gt;&lt;/div&gt;&lt;input type=&quot;text&quot; name=&quot;secanswer&quot; id=&quot;secanswer&quot; size=&quot;25&quot; maxlength=&quot;50&quot; tabindex=&quot;1&quot; /&gt;
			&lt;script type=&quot;text/javascript&quot;&gt;ajaxget('ajax.php?action=updatesecqaa', 'secquestion');&lt;/script&gt;&lt;/td&gt;
			&lt;/tr&gt;
		&lt;!--{/if}--&gt;
底下加上
&lt;!--{if !$special}--&gt;
			&lt;tr&gt;
				&lt;th&gt;
					{lang post_newthread_forumselect}
				&lt;/th&gt;
				&lt;td&gt;
					&lt;select name=&quot;fid&quot; size=&quot;1&quot; style=&quot;width: 20em;&quot; onchange=&quot;ajaxget('post.php?action=typeselect&amp;amp;selecttypeid='+typeid.options[typeid.selectedIndex].value+'&amp;amp;special=$special&amp;amp;modelid=$modelid&amp;amp;fid='+this.options[this.selectedIndex].value+'&amp;amp;sid=$sid', 'typeselect', 'threadtypeswait')&quot;&gt;
						&lt;option value=&quot;$fid&quot; selected=&quot;selected&quot;&gt;{lang post_newthread_forumselect_none}&lt;/option&gt;
						&lt;option value=&quot;&quot;&gt;&amp;nbsp;&lt;/option&gt;
						$forumselect
					&lt;/select&gt;
				&lt;/td&gt;
			&lt;/tr&gt;
		&lt;!--{/if}--&gt;
$typeselect
改為
&lt;div id=&quot;typeselect&quot; style=&quot;float: left;&quot;&gt;$typeselect&lt;/div&gt;&amp;nbsp;
開啟 post.php

}elseif($action == 'threadtypes') {
	threadtype_optiondata();
	$template = intval($operate) ? 'search_typeoption' : 'post_typeoption';
	include template($template);
	exit;
底下加上
}elseif($action == 'typeselect') {
	
	$typeselect = typeselect($selecttypeid, $special, '', $modelid);
	
	showmessage($typeselect);
	exit;
如果是升級安裝

開啟 post_editor.htm

&lt;!--{if $action == 'newthread'}--&gt;
	&lt;select name=&quot;fid&quot; size=&quot;10&quot; style=&quot;width: 99%;&quot;&gt;
		&lt;option value=&quot;$fid&quot; selected=&quot;selected&quot;&gt;不改變目標版區&lt;/option&gt;
		&lt;option value=&quot;&quot;&gt;&amp;nbsp;&lt;/option&gt;
		$forumselect
	&lt;/select&gt;
	&lt;!--{/if}--&gt;
改成以下 或者 清除代碼
&lt;!--{if 0 &amp;&amp; $action == 'newthread'}--&gt;
	&lt;select name=&quot;fid&quot; size=&quot;10&quot; style=&quot;width: 99%;&quot;&gt;
		&lt;option value=&quot;$fid&quot; selected=&quot;selected&quot;&gt;不改變目標版區&lt;/option&gt;
		&lt;option value=&quot;&quot;&gt;&amp;nbsp;&lt;/option&gt;
		$forumselect
	&lt;/select&gt;
	&lt;!--{/if}--&gt;
直接借用他所繪製的概念圖
複製這篇網址分享給朋友: http://discuz.bluelovers.net/thread-4457-1.html#pid11067

本篇的內容不含引用除另有聲明外,如符合 CC授權條款 則套用 姓名標示-非商業性-相同方式分享 3.0 通用版

TOP

發文時同時可以建立鏡像帖子(版主以上用)

此修改支援(前後台共用回收站)插件
並且實現

#2  win 的帖子
#4  hkh 的帖子

所提到的概念

此插件配合上一篇的安裝步驟來做修改

開啟 templates.lang.php

'post_newthread_forumselect_none' =&gt; '不改變發帖版區',
底下加上
'post_newthread_forumselect_copy_none' =&gt; '不鏡像複製發帖版區',
開啟 post_newthread.htm

&lt;!--{if !$special}--&gt;
			&lt;tr&gt;
				&lt;th&gt;
					{lang post_newthread_forumselect}
				&lt;/th&gt;
				&lt;td&gt;
					&lt;select name=&quot;fid&quot; size=&quot;1&quot; style=&quot;width: 20em;&quot; onchange=&quot;ajaxget('post.php?action=typeselect&amp;amp;selecttypeid='+(!isnull($('postform').typeid) ? typeid.options[typeid.selectedIndex].value : 0)+'&amp;amp;special=$special&amp;amp;modelid=$modelid&amp;amp;fid='+this.options[this.selectedIndex].value+'&amp;amp;sid=$sid', 'typeselect', 'threadtypeswait')&quot;&gt;
						&lt;option value=&quot;$fid&quot; selected=&quot;selected&quot;&gt;{lang post_newthread_forumselect_none}&lt;/option&gt;
						&lt;option value=&quot;&quot;&gt;&amp;nbsp;&lt;/option&gt;
						$forumselect
					&lt;/select&gt;
				&lt;/td&gt;
			&lt;/tr&gt;
		&lt;!--{/if}--&gt;
改成
&lt;!--{if !$special}--&gt;
			&lt;tr&gt;
				&lt;th&gt;
					{lang post_newthread_forumselect}
				&lt;/th&gt;
				&lt;td&gt;
					&lt;select name=&quot;fid&quot; size=&quot;1&quot; style=&quot;width: 20em;&quot; onchange=&quot;ajaxget('post.php?action=typeselect&amp;amp;selecttypeid='+(!isnull($('postform').typeid) ? typeid.options[typeid.selectedIndex].value : 0)+'&amp;amp;special=$special&amp;amp;modelid=$modelid&amp;amp;fid='+this.options[this.selectedIndex].value+'&amp;amp;sid=$sid', 'typeselect', 'threadtypeswait')&quot;&gt;
						&lt;option value=&quot;$fid&quot; selected=&quot;selected&quot;&gt;{lang post_newthread_forumselect_none}&lt;/option&gt;
						&lt;option value=&quot;&quot;&gt;&amp;nbsp;&lt;/option&gt;
						$forumselect
					&lt;/select&gt;
					&lt;!--{if $forum['ismoderator'] &amp;&amp; ($allowdirectpost || !$forum['modnewposts'])}--&gt;
					&lt;select name=&quot;fidcopy&quot; size=&quot;1&quot; style=&quot;width: 20em;&quot;&gt;
						&lt;option value=&quot;0&quot; selected=&quot;selected&quot;&gt;{lang post_newthread_forumselect_copy_none}&lt;/option&gt;
						&lt;option value=&quot;&quot;&gt;&amp;nbsp;&lt;/option&gt;
						$forumselect
					&lt;/select&gt;
					&lt;!--{/if}--&gt;
				&lt;/td&gt;
			&lt;/tr&gt;
		&lt;!--{/if}--&gt;
開啟 include/newthread.inc.php

$db-&gt;query(&quot;INSERT INTO {$tablepre}threads (fid, readperm, price, iconid, typeid, author, authorid, subject, dateline, lastpost, lastposter, displayorder, digest, blog, special, attachment, subscribed, moderated, supe_pushstatus $sgidadd1)
		VALUES ('$fid', '$readperm', '$price', '$iconid', '$typeid', '$author', '$discuz_uid', '$subject', '$timestamp', '$timestamp', '$author', '$displayorder', '$digest', '$blog', '$special', '$attachment', '$subscribed', '$moderated', '$supe_pushstatus' $sgidadd2)&quot;);
	$tid = $db-&gt;insert_id();
底下加上
// bluelovers
	$fidcopy = intval($fidcopy);
	
	if($fidcopy &amp;&amp; (!$recyclefid || ($recyclefid &amp;&amp; $recyclefid != $fidcopy)) &amp;&amp; $fidcopy != $fid) {
		$db-&gt;query(&quot;INSERT INTO {$tablepre}threads (fid, typeid, readperm, iconid, author, authorid, subject, dateline, lastpost, lastposter, views, replies, displayorder, digest, closed, special, attachment)
			VALUES ('$fidcopy', '$typeid', '$readperm', '$iconid', '$author', '$discuz_uid', '$subject', '$timestamp', '$timestamp', '$author', '0', '0', '0', '0', '$tid', '0', '0')&quot;);

		updateforumcount($fidcopy);
	}
	// bluelovers
複製這篇網址分享給朋友: http://discuz.bluelovers.net/thread-4457-1.html#pid11602

本篇的內容不含引用除另有聲明外,如符合 CC授權條款 則套用 姓名標示-非商業性-相同方式分享 3.0 通用版

TOP

RE: 發新主題時 可以選擇發送到哪個版塊 [3P]

壇主,我知道我煩擾一點,
因為我的論壇是d5.5,
不懂更改..>w<"
[這帖子更改方法是6.0]
複製這篇網址分享給朋友: http://discuz.bluelovers.net/thread-4457-1.html#pid12143

本篇的內容不含引用除另有聲明外,如符合 CC授權條款 則套用 姓名標示-非商業性-相同方式分享 3.0 通用版

TOP

RE: 發新主題時 可以選擇發送到哪個版塊 [3P]

5.5找不到那些代碼嗎?
那你參考以下這篇吧

http://discuz.bluelovers.net/thread-7947.html
複製這篇網址分享給朋友: http://discuz.bluelovers.net/thread-4457-1.html#pid12147

本篇的內容不含引用除另有聲明外,如符合 CC授權條款 則套用 姓名標示-非商業性-相同方式分享 3.0 通用版

TOP

RE: 發新主題時 可以選擇發送到哪個版塊 [3P]

已經可以了,,希望得到壇主的幫助!
複製這篇網址分享給朋友: http://discuz.bluelovers.net/thread-4457-1.html#pid12493

本篇的內容不含引用除另有聲明外,如符合 CC授權條款 則套用 姓名標示-非商業性-相同方式分享 3.0 通用版

TOP

發新主題時 可以選擇發送到哪個版塊 v2 for D5.5

回覆 #10 win
發文 發的太隨便 相同系列內容 因該要發在一起
主題分類 也都沒選


newthread.inc.php

if(!submitcheck('topicsubmit', 0, $seccodecheck, $secqaacheck)) {
下面加
// bluelovers
	require_once DISCUZ_ROOT.'./include/forum.func.php';
	$forumselect = forumselect();
	// bluelovers
開 post_newthread.htm

&lt;form method=&quot;post&quot; id=&quot;postform&quot; action=&quot;post.php?action=newthread&amp;fid=$fid&amp;extra=$extra&amp;topicsubmit=yes&quot; $enctype onSubmit=&quot;validate(this);return false&quot;&gt;
&lt;form method=&quot;post&quot; id=&quot;postform&quot; action=&quot;post.php?action=newthread&amp;extra=$extra&amp;topicsubmit=yes&quot; $enctype onSubmit=&quot;validate(this);return false&quot;&gt;
&lt;tr&gt;
&lt;td class=&quot;altbg1&quot; width=&quot;20%&quot;&gt;&lt;span class=&quot;bold&quot;&gt;&lt;!--{if isset($activity) &amp;&amp; $allowpostactivity}--&gt;{lang activity_name}&lt;!--{else}--&gt;{lang subject}&lt;!--{/if}--&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td class=&quot;altbg2&quot;&gt;&lt;!--{if $iscircle &amp;&amp; $mycircles}--&gt;&lt;select name='sgid'&gt;&lt;option value=&quot;0&quot;&gt;{lang circle_select_please}&lt;/option&gt;&lt;!--{loop $mycircles $id $name}--&gt;&lt;option value=&quot;$id&quot;&gt;$name&lt;/option&gt;&lt;!--{/loop}--&gt;&lt;/select&gt;&lt;!--{else}--&gt;$typeselect&lt;!--{/if}--&gt; &lt;input type=&quot;text&quot; name=&quot;subject&quot; id=&quot;subject&quot; size=&quot;45&quot; value=&quot;$subject&quot; tabindex=&quot;3&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
上面加
複製代碼
  1. <!--{if
  2.         ($iscircle && $mycircles)
  3.         || (isset($poll) && $allowpostpoll)
  4.         || (isset($trade) && $allowposttrade)
  5.         || (isset($activity) && $allowpostactivity)
  6. }-->
  7.         <input type="hidden" name="fid" value="$fid" />
  8. <!--{else}-->

  9. <script type="text/javascript">
  10. var xml_http_building_link = '{lang xml_http_building_link}';
  11. var xml_http_sending = '{lang xml_http_sending}';
  12. var xml_http_loading = '{lang xml_http_loading}';
  13. var xml_http_load_failed = '{lang xml_http_load_failed}';
  14. var xml_http_data_in_processed = '{lang xml_http_data_in_processed}';
  15. function ajaxget(targetUrl, showid) {
  16.         var x = new Ajax('XML', 'statusid');
  17.        
  18.         var targetUrl = targetUrl + '&inajax=1&ajaxtarget=' + showid;
  19.        
  20.         x.get(targetUrl, function(s){
  21.                 $(showid).innerHTML = s;
  22.         });
  23. }
  24. </script>

  25. <tr>
  26. <td class="altbg1" width="20%"><span class="bold">{lang post_newthread_forumselect}</span></td>
  27. <td class="altbg2">
  28.         <select name="fid" size="1" style="width: 20em;" onchange="ajaxget('post.php?action=typeselect&amp;selecttypeid='+(!isnull($('postform').typeid) ? typeid.options[typeid.selectedIndex].value : 0)+'&amp;special=$special&amp;modelid=$modelid&amp;fid='+this.options[this.selectedIndex].value+'&amp;sid=$sid', 'typeselect')">
  29.                 <option value="$fid" selected="selected">{lang post_newthread_forumselect_none}</option>
  30.                 <option value="">&nbsp;</option>
  31.                 $forumselect
  32.         </select>
  33. </td>
  34. </tr>

  35. <!--{/if}-->
$typeselect
&lt;div id=&quot;typeselect&quot; style=&quot;float: left;&quot;&gt;$typeselect&lt;/div&gt;
開 post.php

} elseif($forum['simple'] || $forum['redirect']) {
	showmessage('forum_disablepost');
} 
下面加
 elseif($action == 'typeselect') {
	
	$typeselect = typeselect($selecttypeid);
	
	@dheader(&quot;Expires: -1&quot;);
	@dheader(&quot;Cache-Control: no-store, private, post-check=0, pre-check=0, max-age=0&quot;, FALSE);
	@dheader(&quot;Pragma: no-cache&quot;);
	dheader(&quot;Content-type: application/xml&quot;);
	echo &quot;&lt;?xml version=\&quot;1.0\&quot; encoding=\&quot;$charset\&quot;?&gt;\n&quot;;
	echo &quot;&lt;root&gt;&lt;![CDATA[&quot;;
	echo $typeselect;
	echo &quot;]]&gt;&lt;/root&gt;&quot;;
		
	exit;
}

// bluelovers
開 templates.lang.php

'post_newthread' =&gt; '發新話題',
下面加
'post_newthread_forumselect' =&gt; '主題發佈版塊',
	'post_newthread_forumselect_none' =&gt; '不改變發帖版區',
複製這篇網址分享給朋友: http://discuz.bluelovers.net/thread-4457-1.html#pid12495

本篇的內容不含引用除另有聲明外,如符合 CC授權條款 則套用 姓名標示-非商業性-相同方式分享 3.0 通用版

TOP

RE: 發新主題時 可以選擇發送到哪個版塊 [3P]

是的,下次會留意!抱歉!
另外,我想問問在"發文時同時可以建立鏡像帖子"的帖子中的以下步驟在d5.5的話,是如何修改的?



開啟 post_newthread.htm

找view plaincopy to clipboardprint?
<!--{if !$special}-->
            <tr>
                <th>
                    {lang post_newthread_forumselect}
                </th>
                <td>
                    <select name="fid" size="1" style="width: 20em;" onchange="ajaxget('post.php?action=typeselect&amp;selecttypeid='+(!isnull($('postform').typeid) ? typeid.options[typeid.selectedIndex].value : 0)+'&amp;special=$special&amp;modelid=$modelid&amp;fid='+this.options[this.selectedIndex].value+'&amp;sid=$sid', 'typeselect', 'threadtypeswait')">
                        <option value="$fid" selected="selected">{lang post_newthread_forumselect_none}</option>
                        <option value="">&nbsp;</option>
                        $forumselect
                    </select>
                </td>
            </tr>
        <!--{/if}-->
&lt;!--{if !$special}--&gt;
                        &lt;tr&gt;
                                &lt;th&gt;
                                        {lang post_newthread_forumselect}
                                &lt;/th&gt;
                                &lt;td&gt;
                                        &lt;select name=&quot;fid&quot; size=&quot;1&quot; style=&quot;width: 20em;&quot; onchange=&quot;ajaxget('post.php?action=typeselect&amp;amp;selecttypeid='+(!isnull($('postform').typeid) ? typeid.options[typeid.selectedIndex].value : 0)+'&amp;amp;special=$special&amp;amp;modelid=$modelid&amp;amp;fid='+this.options[this.selectedIndex].value+'&amp;amp;sid=$sid', 'typeselect', 'threadtypeswait')&quot;&gt;
                                                &lt;option value=&quot;$fid&quot; selected=&quot;selected&quot;&gt;{lang post_newthread_forumselect_none}&lt;/option&gt;
                                                &lt;option value=&quot;&quot;&gt;&amp;nbsp;&lt;/option&gt;
                                                $forumselect
                                        &lt;/select&gt;
                                &lt;/td&gt;
                        &lt;/tr&gt;
                &lt;!--{/if}--&gt;改成view plaincopy to clipboardprint?
<!--{if !$special}-->
            <tr>
                <th>
                    {lang post_newthread_forumselect}
                </th>
                <td>
                    <select name="fid" size="1" style="width: 20em;" onchange="ajaxget('post.php?action=typeselect&amp;selecttypeid='+(!isnull($('postform').typeid) ? typeid.options[typeid.selectedIndex].value : 0)+'&amp;special=$special&amp;modelid=$modelid&amp;fid='+this.options[this.selectedIndex].value+'&amp;sid=$sid', 'typeselect', 'threadtypeswait')">
                        <option value="$fid" selected="selected">{lang post_newthread_forumselect_none}</option>
                        <option value="">&nbsp;</option>
                        $forumselect
                    </select>
                    <!--{if $forum['ismoderator'] && ($allowdirectpost || !$forum['modnewposts'])}-->
                    <select name="fidcopy" size="1" style="width: 20em;">
                        <option value="0" selected="selected">{lang post_newthread_forumselect_copy_none}</option>
                        <option value="">&nbsp;</option>
                        $forumselect
                    </select>
                    <!--{/if}-->
                </td>
            </tr>
        <!--{/if}-->
複製這篇網址分享給朋友: http://discuz.bluelovers.net/thread-4457-1.html#pid12546

本篇的內容不含引用除另有聲明外,如符合 CC授權條款 則套用 姓名標示-非商業性-相同方式分享 3.0 通用版

TOP

RE: 發新主題時 可以選擇發送到哪個版塊 [3P]

有問題請ADMIN大大代為解決, 麻煩你了...謝謝
我的問題是依照第七樓的方法改動, 大部份功能正常, 只是當身處不用分類發貼的版內, 欲發貼至其他版區(需強行分類版區),這時, 發貼版面並未有加上分類選擇, 到發貼時便會出現[需要分類的警告字眼及要返回上一頁], 且在瀏覽器右下角發現三角符號, 點選後出現 SCRIPT 錯誤, 錯誤:'typeid' 未被定義
而當身處有分類的版內發貼至不用分類的版區時, 原有的分類下拉選擇會自動消失, 發貼亦正常。
希望大大能為小的解決問題, 我的版本是6.0, 有安裝發貼之星, 虛擬形象等插件
複製這篇網址分享給朋友: http://discuz.bluelovers.net/thread-4457-1.html#pid15356

本篇的內容不含引用除另有聲明外,如符合 CC授權條款 則套用 姓名標示-非商業性-相同方式分享 3.0 通用版

TOP

RE: 發新主題時 可以選擇發送到哪個版塊 [3P]

我也有發現這個TYEID的問題~
在沒有正式辦法以前 提供一個小撇部

1.全面都給分類欄位~但是未必要強迫使用(如果是連結 也要啟用分類,然後隨便給一個即可反正那裏不能發表)
2.<option value="">&nbsp;</option>改成<option value="$fid">&nbsp;</option>

這樣應該就可以暫時解決
1

評分人數

+2

Points

  • System Message

2008-10-31 19:27:38 威望 + 1 分 幸運 + 1 點

複製這篇網址分享給朋友: http://discuz.bluelovers.net/thread-4457-1.html#pid72706

本篇的內容不含引用除另有聲明外,如符合 CC授權條款 則套用 姓名標示-非商業性-相同方式分享 3.0 通用版

TOP

返回列表 發帖 ‹‹ 主題列表頁面 增加主題過濾種類 修正 Discuz 6.1 當Discuz代碼 為大寫時 無法判斷 ››