nukeSEO.com - PHPNuke SEO Search engine optimization, professional tools including nukeSEO, nukeSPAM, nukeFEED, nukePIE, nukeWYSIWYG and more

 

. Welcome to nukeSEO.com  ! 
.
.
.


.
nukeSEO.com: Forums


 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

WYSIWYG in phpnuke PHPBB forum
 
 
Post new topic   Reply to topic    nukeSEO.com Forum Index -> nukeWYSIWYG (tm)
View previous topic :: View next topic  
Author Message
zeromechanic
webmaster


Joined: Mar 12, 2006
Posts: 9
Location: Netherlands

PostPosted: Mon Apr 17, 2006 3:27 pm    Post subject: WYSIWYG in phpnuke PHPBB forum Reply with quote

How to enable the editor for the forums in phpnuke.

tried several things, but not working.(adding to template file, adding in the assign vars).
Got it showing up, but not in the right place.
it shows up above the posting form.

please some advice.
  
Back to top
View user's profile Send private message
kguske
Site Admin
Site Admin


Joined: May 12, 2005
Posts: 876

PostPosted: Mon Apr 17, 2006 5:38 pm    Post subject: Re: WYSIWYG in phpnuke PHPBB forum Reply with quote

It's not advisable to try this in the forums, since the forums use bbcode, rather than HTML. The changes to support this would be pretty extensive.
  
Back to top
View user's profile Send private message Visit poster's website
zeromechanic






PostPosted: Fri Apr 21, 2006 2:15 pm    Post subject: Re: WYSIWYG in phpnuke PHPBB forum Reply with quote

thnx for reply,

to bad, like the editor.
  
Back to top
montego
webmaster


Joined: Dec 26, 2005
Posts: 254

PostPosted: Sun Apr 30, 2006 1:39 pm    Post subject: Re: WYSIWYG in phpnuke PHPBB forum Reply with quote

zeromechanic, you would have this same issue with any editor. phpBB is not WYSIWYG "editor friendly".
  
Back to top
View user's profile Send private message Visit poster's website
Aseitz
webmaster


Joined: Jun 28, 2006
Posts: 26
Location: Portland, Or

PostPosted: Wed Jun 28, 2006 11:07 am    Post subject: Re: WYSIWYG in phpnuke PHPBB forum Reply with quote

Why hasn't anyone made a bbcode capable wysiwyg editor?
  
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
kguske






PostPosted: Wed Jun 28, 2006 2:48 pm    Post subject: Re: WYSIWYG in phpnuke PHPBB forum Reply with quote

I've seen some efforts to do that for certain modules, but HTML is much more universal (i.e. you can paste from other websides, Word documents, etc.). Can't do that with bbcode, which is also much more limited than HTML.
  
Back to top
Aseitz






PostPosted: Wed Jun 28, 2006 4:36 pm    Post subject: Re: WYSIWYG in phpnuke PHPBB forum Reply with quote

kguske wrote:
I've seen some efforts to do that for certain modules, but HTML is much more universal (i.e. you can paste from other websides, Word documents, etc.). Can't do that with bbcode, which is also much more limited than HTML.


right right, it just seems to me that a wysiwyg editor ought to be able to preform multiple types of "languages" and additionaly it ought to manipulate css to create fonts... or atleast that's my 2 cents Wink

-- edit --

Ok ... so it does manupulate css to make fonts ... Wink
  
Back to top
sdmeier
Newbie
Newbie


Joined: Mar 23, 2006
Posts: 2

PostPosted: Fri Jul 21, 2006 11:56 pm    Post subject: Re: WYSIWYG in phpnuke PHPBB forum Reply with quote

I would like to add this to the newsletter, messages and any other Mod that only Admins have access to.

I am getting this error

Code:
Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /homepages/14/d121901235/htdocs/digi/admin/modules/newsletter.php on line 63


I changed

Code:
function newsletter() {

    global $prefix, $user_prefix, $db, $sitename, $admin_file;
    include("header.php");
    GraphicAdmin();
    $srow = $db->sql_numrows($db->sql_query("select * from " . $user_prefix . "_users where newsletter='1'"));
    $urow = $db->sql_numrows($db->sql_query("select * from " . $user_prefix . "_users"));
    $urow--;
    OpenTable();
    echo "<center><font class=\"title\"><b>" . _NEWSLETTER . "</b></font></center>";
    CloseTable();
    echo "<br>";
    OpenTable();
    echo "<center><font class=\"content\"><b>" . _NEWSLETTER . "</b></font></center>"
   ."<br><br>"
   ."<form method=\"post\" action=\"".$admin_file.".php\">"
   ."<b>From:</b> $sitename"
   ."<br><br>"
   ."<b>" . _SUBJECT . ":</b><br><input type=\"text\" name=\"subject\" size=\"50\">"
   ."<br><br>"
   ."<b>" . _CONTENT . ":</b><br><textarea name=\"content\" cols=\"50\" rows=\"10\"></textarea>"
   ."<br><br>"
   ."<b>" . _WHATTODO . "</b><br>"
   ."<input type=\"radio\" name=\"type\" value=\"newsletter\" checked> " . _ANEWSLETTER . " ($srow " . _SUBSCRIBEDUSERS . ")<br>"
   ."<input type=\"radio\" name=\"type\" value=\"massmail\"> " . _MASSMAIL . " ($urow " . _USERS . ")"
   ."<br><br>"
   ."<input type=\"hidden\" name=\"op\" value=\"check_type\">"
   ."<input type=\"submit\" value=\"" . _PREVIEW . "\">"
   ."</form>";
    CloseTable();
    include("footer.php");
}


to this

Code:
function newsletter() {

    global $prefix, $user_prefix, $db, $sitename, $admin_file;
    include("header.php");
    GraphicAdmin();
    $srow = $db->sql_numrows($db->sql_query("select * from " . $user_prefix . "_users where newsletter='1'"));
    $urow = $db->sql_numrows($db->sql_query("select * from " . $user_prefix . "_users"));
    $urow--;
    OpenTable();
    echo "<center><font class=\"title\"><b>" . _NEWSLETTER . "</b></font></center>";
    CloseTable();
    echo "<br>";
    OpenTable();
    echo "<center><font class=\"content\"><b>" . _NEWSLETTER . "</b></font></center>"
   ."<br><br>"
   ."<form method=\"post\" action=\"".$admin_file.".php\">"
   ."<b>From:</b> $sitename"
   ."<br><br>"
   ."<b>" . _SUBJECT . ":</b><br><input type=\"text\" name=\"subject\" size=\"50\">"
   ."<br><br>"
#   ."<b>" . _CONTENT . ":</b><br><textarea name=\"content\" cols=\"50\" rows=\"10\"></textarea>"
   wysiwyg_textarea("story", "", "NukeUser", "50", "10");
   ."<br><br>"
   ."<b>" . _WHATTODO . "</b><br>"
   ."<input type=\"radio\" name=\"type\" value=\"newsletter\" checked> " . _ANEWSLETTER . " ($srow " . _SUBSCRIBEDUSERS . ")<br>"
   ."<input type=\"radio\" name=\"type\" value=\"massmail\"> " . _MASSMAIL . " ($urow " . _USERS . ")"
   ."<br><br>"
   ."<input type=\"hidden\" name=\"op\" value=\"check_type\">"
   ."<input type=\"submit\" value=\"" . _PREVIEW . "\">"
   ."</form>";
    CloseTable();
    include("footer.php");
}
  
Back to top
View user's profile Send private message
Dauthus
Newbie
Newbie


Joined: Feb 19, 2006
Posts: 2

PostPosted: Sat Jul 22, 2006 12:10 am    Post subject: Re: WYSIWYG in phpnuke PHPBB forum Reply with quote

try this:

Code:
function newsletter() { 

    global $prefix, $user_prefix, $db, $sitename, $admin_file;
    include("header.php");
    GraphicAdmin();
    $srow = $db->sql_numrows($db->sql_query("select * from " . $user_prefix . "_users where newsletter='1'"));
    $urow = $db->sql_numrows($db->sql_query("select * from " . $user_prefix . "_users"));
    $urow--;
    OpenTable();
    echo "<center><font class=\"title\"><b>" . _NEWSLETTER . "</b></font></center>";
    CloseTable();
    echo "<br>";
    OpenTable();
    echo "<center><font class=\"content\"><b>" . _NEWSLETTER . "</b></font></center>"
   ."<br><br>"
   ."<form method=\"post\" action=\"".$admin_file.".php\">"
   ."<b>From:</b> $sitename"
   ."<br><br>"
   ."<b>" . _SUBJECT . ":</b><br><input type=\"text\" name=\"subject\" size=\"50\">"
   ."<br><br>"
   ."<b>" . _CONTENT . ":</b><br>";
//   <textarea name=\"content\" cols=\"50\" rows=\"10\"></textarea>"
   wysiwyg_textarea("content", "", "NukeUser", "50", "10");
   echo "<br><br>"
   ."<b>" . _WHATTODO . "</b><br>"
   ."<input type=\"radio\" name=\"type\" value=\"newsletter\" checked> " . _ANEWSLETTER . " ($srow " . _SUBSCRIBEDUSERS . ")<br>"
   ."<input type=\"radio\" name=\"type\" value=\"massmail\"> " . _MASSMAIL . " ($urow " . _USERS . ")"
   ."<br><br>"
   ."<input type=\"hidden\" name=\"op\" value=\"check_type\">"
   ."<input type=\"submit\" value=\"" . _PREVIEW . "\">"
   ."</form>";
    CloseTable();
    include("footer.php");
}
  
Back to top
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    nukeSEO.com Forum Index -> nukeWYSIWYG (tm) All times are GMT - 5 Hours
 
 Page 1 of 1

 

Jump to:   
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

Powered by phpBB © 2001-2008 phpBB Group


Page Generation: 0.04 Seconds