Author |
Message |
tauhid
Hangin' Around

Joined: Apr 11, 2009
Posts: 48
|
Posted:
Sun Nov 01, 2009 4:57 pm |
|
|
|
 |
jakec
Site Admin

Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom
|
Posted:
Mon Nov 02, 2009 1:09 am |
|
I suspect NukeBlog is not designed to use FCKEditor and therefore is not calling it.
The text form fields need to be changed to call FCKEditor. |
|
|
|
 |
tauhid

|
Posted:
Mon Nov 02, 2009 3:32 am |
|
Could you help me, I have tried everything does not work.
Please help me |
|
|
|
 |
nuken
RavenNuke(tm) Development Team

Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina
|
Posted:
Mon Nov 02, 2009 7:20 am |
|
OK. replace your NukeBlog/includes/blog_form.php with this code
Code:<form action="<?php echo($self); ?>" method="post" name="blog_form" id="blog_form">
<input type="hidden" name="op" value="blog_action">
<?php if($blog_id) { ?>
<input type="hidden" name="blog_id" value="<?php echo($blog_id); ?>">
<?php } ?>
<?php echo("<strong>"._BLOG_TITLE."</strong>"); ?><br>
<input type="text" name="form[blog_title]" value="<?php echo($form[blog_title]); ?>" size="70" maxlength="255">
<br>
<br>
<?php echo("<strong>"._BLOG_BODY."</strong>"); ?><br>
<?php wysiwyg_textarea('form[blog_body]', ''.($form[blog_body]).'', 'NukeUser', '50', '12');?>
<br>
<br>
<table width="100%" cellpadding="5" cellspacing="5" border="0">
<tr>
<td valign="top" width="50%"><?php opentable(); ?>
<table>
<tr>
<td align="right"><?php echo("<strong>"._BLOG_MOOD."</strong>"); ?> : </td>
<td><select name="form[blog_mood]">
<?php if(!$form[blog_mood]) { ?>
<option value="0" SELECTED><?php echo(_NO_MOOD); ?></option>
<option value="0"><?php echo(_LINE); ?></option>
<?php } else { ?>
<option value="0"><?php echo(_NO_MOOD); ?></option>
<option value="0"><?php echo(_LINE); ?></option>
<?php } ?>
<?php
$sql = "SELECT mood_id,mood_title FROM ".$prefix."_blog_moods ORDER BY mood_title";
$result = $db->sql_query($sql);
while ($row = $db->sql_fetchrow($result)) {
$mood_title = stripslashes($row[mood_title]);
if($form[blog_mood] == $row[mood_id]) {
echo("<option value=\"".$row[mood_id]."\" SELECTED>".$mood_title."</option>\n");
} else {
echo("<option value=\"".$row[mood_id]."\">".$mood_title."</option>\n");
}
}
?>
</select></td>
</tr>
<tr>
<td align="right"><?php echo("<strong>"._BLOG_STATUS2."</strong>"); ?> : </td>
<td><select name="form[blog_status]">
<option value="0" <?php if($form[blog_status] == 0) { echo(" SELECTED"); } ?>><?php echo(_STATUS_CLOSED2); ?></option>
<option value="1" <?php if($form[blog_status] == 1) { echo(" SELECTED"); } ?>><?php echo(_STATUS_OPEN2); ?></option>
<option value="2" <?php if($form[blog_status] == 2) { echo(" SELECTED"); } ?>><?php echo(_STATUS_FRIENDS2); ?></option>
</select></td>
</tr>
<tr>
<td align="right"><?php echo("<strong>"._ALLOW_COMMS."</strong>"); ?> : </td>
<td><select name="form[blog_comments]">
<option value="0" <?php if($form[blog_comments] == 0) { echo(" SELECTED"); } ?>><?php echo(_NO); ?></option>
<option value="1" <?php if($form[blog_comments] == 1) { echo(" SELECTED"); } ?>><?php echo(_YES); ?></option>
</select></td>
</tr>
</table><?php closetable(); ?>
</td>
<td valign="top" width="50%" align="center"><?php opentable(); ?><div align="center"><input type="submit" name="submit" value="<?php echo($button); ?>"><br><br><input type="reset" name="reset" value="<?php echo(_RESET_FORM); ?>"><br><br><?php echo(_CHECK_BLOG); ?></div><?php closetable(); ?></td>
</tr>
</table>
</form>
<?php center(_BLOG_FAQ1." <a href=\"modules.php?name=".$module_name."&file=faq\">"._BLOG_FAQS."</a> "._BLOG_FAQ2); ?>
|
|
_________________ Only registered users can see links on this board! Get registered or login! |
|
|
 |
tauhid

|
Posted:
Mon Nov 02, 2009 11:04 am |
|
I've done it, but unfortunately the font and the picture does not change it. I get the textarea to FCKeditor but whom I press send I just get text |
|
|
|
 |
kguske
Site Admin

Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Mon Nov 02, 2009 11:25 am |
|
I'm not familiar with this addon, but it might be stripping out the HTML elsewhere in the module. |
_________________ I search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
 |
nuken

|
Posted:
Mon Nov 02, 2009 12:07 pm |
|
Replace modules/NukeBlog/functions/functions_blog.php with this.
Only registered users can see links on this board! Get registered or login! |
|
|
|
 |
tauhid

|
Posted:
Mon Nov 02, 2009 5:39 pm |
|
You all my appreciation and respect nuken kguske jakec
We have succeeded the way my teacher. You are truly geniuses I swear to you all
I do not know how to thank you for this effort. Thank you all. I ask God to take care of us all. |
|
|
|
 |
nuken

|
Posted:
Mon Nov 02, 2009 5:58 pm |
|
You are welcome tauhid.
That is actually a cool module. I've been goofing around with it some today and added a few things to it. I might release it on my site in a few days if anyone wants to play around with it. |
|
|
|
 |
tauhid

|
Posted:
Mon Nov 02, 2009 6:19 pm |
|
Can we download it as well as after your edits |
|
|
|
 |
nuken

|
Posted:
Mon Nov 02, 2009 6:32 pm |
|
Yes. All my downloads are free. I should have it up either tomorrow or Wednesday. So far I have made it XHTML 1.0 transitional compliant, added nukeWYSIWYG to the comments and blog, added social bookmarking, a few other things to make it work better with RavenNuke. |
|
|
|
 |
nuken

|
Posted:
Tue Nov 03, 2009 4:17 pm |
|
Anyone that wants to try it out can download it from Only registered users can see links on this board! Get registered or login!. |
|
|
|
 |
|