无界兄,能否出个标题自动加段文字的代码?
[i=s] 本帖最后由 麻城生活网 于 2018-10-25 21:35 编辑 [/i]如题,假设要要发个帖子,标题为"123",能否发帖后实现标题为"123-麻城生活网"
也就是发帖后标题自动添加设定文字 [b]回复 [url=http://icode.258club.com/redirect.php?goto=findpost&pid=37964&ptid=170]1#[/url] [i]麻城生活网[/i] [/b]
post模板找到[code]<input name="subject" id="subject" prompt="post_subject" class="txt" value="$postinfo[subject]" tabindex="1" />[/code]改为[code]<input name="subject" id="subject" prompt="post_subject" class="txt" value="$postinfo[subject] 爱秀代码" tabindex="1" />[/code] [b]回复 [url=http://icode.258club.com/redirect.php?goto=findpost&pid=37974&ptid=170]2#[/url] [i]icode[/i] [/b]
长标题80字限制自动加了这个不知道会不会出错?
先改的试一下,回头有问题再上来反馈
80字限制标题这个能破吗? [quote]看帖回帖那是一定要的:[img]http://icode.258club.com/images/smilies/007/07.gif[/img]打酱油路过,不关我的事![/quote] [b]回复 [url=http://icode.258club.com/redirect.php?goto=findpost&pid=37976&ptid=170]3#[/url] [i]麻城生活网[/i] [/b]
你的意思不管是什么帖子,后面都加个 麻城生活网 呗 [quote]看帖回帖那是一定要的:[img]http://icode.258club.com/images/smilies/007/32.gif[/img]淡定中,谢谢分享[/quote] [b]回复 [url=http://icode.258club.com/redirect.php?goto=findpost&pid=37978&ptid=170]5#[/url] [i]icode[/i] [/b]
嗯,发帖成功后生成,而不是点发帖生成在标题上
页:
[1]