
02-17-2011, 12:49 PM
|
|
|
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by Leo777
Installed, working perfect, Thanks for a great and complex mod.
I have one question :
Is it possible to display a form within a post/thread? Or can forms only be displayed only on their own misc.php URL? It would be great if I could add a form at the bottom of a post but I can't find any option or documentation if this is possible...
Thanks.
|
- Import attached product file
- Create Custom BB Code in AdminCP
- Title:
- BB Code Tag Name:
- Replacement:
HTML Code:
<div style="clear: both;">
<iframe src="misc.php?do=form&fid={param}&embed=1" style="width: 100%; height: 500px;">
<p>Your browser does not support iframes.</p>
</iframe>
</div>
- Example:
- Use Option:
- Remove Tag If Empty
- Disable BB Code Within This BB Code
- Disable Smilies Within This BB Code
- Disable Word Wrapping Within This BB Code
- Disable Automatic Link Parsing Within This BB Code
- Use [form]1[/form] in posts
The other suggestion I can offer, I'm not sure if it will be helpful, but you can re-direct reply button to the desired form
How can I Re-direct/ force users to submit form when they click reply?
- Create plugin newreply_form_complete
PHP Code:
if (in_array($threadinfo[threadid], array(1,2,3)))
{
header( 'Location: http://www.your-site.com/forum/misc.php?do=form&fid=1' ) ;
}
- Change 1,2,3 for appropriate threadids.
|