PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
tauhid
Hangin' Around


Joined: Apr 11, 2009
Posts: 48

PostPosted: Sun Nov 01, 2009 4:57 pm Reply with quote Back to top

Hallo,
My question is, I use the NukeBlog but whom I write with the FCKeditor does not come. I just get everything in writing as normal and no pictures or others
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
jakec
Site Admin


Joined: Feb 06, 2006
Posts: 3038
Location: United Kingdom

PostPosted: Mon Nov 02, 2009 1:09 am Reply with quote Back to top

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.
View user's profile Send private message
tauhid
Hangin' Around


Joined: Apr 11, 2009
Posts: 48

PostPosted: Mon Nov 02, 2009 3:32 am Reply with quote Back to top

Could you help me, I have tried everything does not work.
Please help me
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Mon Nov 02, 2009 7:20 am Reply with quote Back to top

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); ?>
View user's profile Send private message Send e-mail Visit poster's website
tauhid
Hangin' Around


Joined: Apr 11, 2009
Posts: 48

PostPosted: Mon Nov 02, 2009 11:04 am Reply with quote Back to top

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
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Mon Nov 02, 2009 11:25 am Reply with quote Back to top

I'm not familiar with this addon, but it might be stripping out the HTML elsewhere in the module.
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Mon Nov 02, 2009 12:07 pm Reply with quote Back to top

Replace modules/NukeBlog/functions/functions_blog.php with this.

Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Send e-mail Visit poster's website
tauhid
Hangin' Around


Joined: Apr 11, 2009
Posts: 48

PostPosted: Mon Nov 02, 2009 5:39 pm Reply with quote Back to top

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.
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Mon Nov 02, 2009 5:58 pm Reply with quote Back to top

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.
View user's profile Send private message Send e-mail Visit poster's website
tauhid
Hangin' Around


Joined: Apr 11, 2009
Posts: 48

PostPosted: Mon Nov 02, 2009 6:19 pm Reply with quote Back to top

Can we download it as well as after your edits
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Mon Nov 02, 2009 6:32 pm Reply with quote Back to top

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.
View user's profile Send private message Send e-mail Visit poster's website
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Tue Nov 03, 2009 4:17 pm Reply with quote Back to top

Anyone that wants to try it out can download it from
Only registered users can see links on this board!
Get registered or login to the forums!
.
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum