haji
04-13-2008, 04:44 AM
سلام من قسمت یاداشت ها رو فعال کردم ولی می خوام از مهمان ها نام و ایمیل هم بخواد که ثبت کنند چی کار کنم کمپوننت مخصوصی براش هست؟
سلام بعد از چندی کاووش پیدا کرده و نصب کردم
<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b>
ولی یه مشکلی من نصب کردم و آمد قسمت کامپوننت ها ولی فکر کنم کد چیزی داره باید اضافه کنم تا به صفحه بیاد می شه راهنمایی فرمائید
این قسمت یه توضیح می دید
New! => Will work with any component that use content with a valid article id, for example: in MamBlog.php
New! => If you use the latest version of MosComBot, turn on comment form and published then you don't need to do the below!
تنظیمات ساختار نظرات
IMPORTANT NOTES
In order for Mambo to check and see if its showing an article that can be commented on, you must make a small change to your template.
Edit your template file and look for the entry. :
Change this to the following:: mosMainBody(); ?>
mosMainBody(); ?><?php if (file_exists($mosConfig_absolute_path."/components/com_comments/comments.php")) { require_once($mosConfig_absolute_path."/components/com_comments/comments.php"); } ?>
OR
Change this to the following:: <jdoc:include type="component" />
<jdoc:include type="component" /> <?php if (file_exists($mosConfig_absolute_path."/components/com_comments/comments.php")) { require_once($mosConfig_absolute_path."/components/com_comments/comments.php"); } ?>
Thats it! ~ (Comment will only show on the article id = something otherwise it will not show)
Have Fun!
~Chanh Ong.
** سه پست شما یکی شد !
سلام بعد از چندی کاووش پیدا کرده و نصب کردم
<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b>
ولی یه مشکلی من نصب کردم و آمد قسمت کامپوننت ها ولی فکر کنم کد چیزی داره باید اضافه کنم تا به صفحه بیاد می شه راهنمایی فرمائید
این قسمت یه توضیح می دید
New! => Will work with any component that use content with a valid article id, for example: in MamBlog.php
New! => If you use the latest version of MosComBot, turn on comment form and published then you don't need to do the below!
تنظیمات ساختار نظرات
IMPORTANT NOTES
In order for Mambo to check and see if its showing an article that can be commented on, you must make a small change to your template.
Edit your template file and look for the entry. :
Change this to the following:: mosMainBody(); ?>
mosMainBody(); ?><?php if (file_exists($mosConfig_absolute_path."/components/com_comments/comments.php")) { require_once($mosConfig_absolute_path."/components/com_comments/comments.php"); } ?>
OR
Change this to the following:: <jdoc:include type="component" />
<jdoc:include type="component" /> <?php if (file_exists($mosConfig_absolute_path."/components/com_comments/comments.php")) { require_once($mosConfig_absolute_path."/components/com_comments/comments.php"); } ?>
Thats it! ~ (Comment will only show on the article id = something otherwise it will not show)
Have Fun!
~Chanh Ong.
** سه پست شما یکی شد !