21
morris
Re: Hack for multi upload atavars
  • 2004/1/22 22:49

  • morris

  • Just popping in

  • Posts: 54

  • Since: 2003/9/25


Is it possible to download the main.php file completely because I don't understand where to place the following: and after case 'save' add add this:
etc.

Thanks.



22
morris
Re: How to use Spaw within my newbb modules??
  • 2004/1/11 10:51

  • morris

  • Just popping in

  • Posts: 54

  • Since: 2003/9/25


I requested Catzwolf the same about a week ago!

Here's his reply:
Quote:
I would advise against using this editor for the forums, using spaw for your admin side is ok but to give users the ability to post via this method will open up your website to possible security issues. So therefore I am reluctant to give out this information at this time.



23
morris
Re: How to use Spaw within your modules. Examples
  • 2004/1/11 10:48

  • morris

  • Just popping in

  • Posts: 54

  • Since: 2003/9/25


Now it's allmost a week later, perhaps you can give out this information now

Quote:
I would advise against using this editor for the forums, using spaw for your admin side is ok but to give users the ability to post via this method will open up your website to possible security issues. So therefore I am reluctant to give out this information at this time.



24
morris
Re: How to use Spaw within your modules. Examples
  • 2004/1/5 21:07

  • morris

  • Just popping in

  • Posts: 54

  • Since: 2003/9/25


Hi,

I played a bit with the script.js.php and full_toolbar_data.inc.php file and managed to add smilies to the spaw editor. These smilies now appear in the toolbar and if you click on them the smilie code is entered into the text. I "only" added 12 smilies but more is possible.

Resized Image

The only strange thing is that if I click on the smilies rappidly, internet explorer crashes

Morris



25
morris
Re: How to use Spaw within your modules. Examples
  • 2004/1/5 14:30

  • morris

  • Just popping in

  • Posts: 54

  • Since: 2003/9/25


Catzwolf,

First, I highly appreciate what you and the whole XOOPS development team is doing to create an extremelty good CMS.

Second, I don't really understand what you are saying with this: If you notice that Chapi's version modifies core files to correct this problem and rightly so.
What does "rightly so" mean? (I'm dutch!)

The main reason why I mentioned Chapi's patch is to tell people that Chapi's module is working perfectly for news messages. So if one would only use the wysiwyg editor for news stories (the only module I really use) than Chapi's patch is more than enough and eassier to install.

Third, If I want to change the forum's default editor to Spaw, which file do I have to change?

Thanks!

Morris.




26
morris
Re: How to use Spaw within your modules. Examples
  • 2004/1/5 11:05

  • morris

  • Just popping in

  • Posts: 54

  • Since: 2003/9/25


Svaha,

Chapi's patch is handling this without any extra handling for me. So I prefer his patch. I played around with the Catzwolf editor and mixed things with Chapi's editor. Now I have more buttons that with Chapi's patch but I also removed a few which I don't like or use (new story, refresh).

Btw, as far as I remember, Chapi's table trick is in the xoopsstory.php in class directory (this file in included in the download). Unfortunately, this trick is not working with Catzwolf module.

Morris




27
morris
Re: How to use Spaw within your modules. Examples
  • 2004/1/5 8:09

  • morris

  • Just popping in

  • Posts: 54

  • Since: 2003/9/25


Catzwolf,

Chapi's News Wysiwyg Patch solved the problem with the emty space between some text and tables. In your module this situation is still there. Perhaps you can discuss this issue with Chapi?

Futher I think that also smilies could be added to the toolbars. I succeeded to change the "pagebreak" button to add to the text. If I can create more buttons like pagebreak and let the button show the icon than smilies are also possible. Now I have to find the time to do it!

Morris.



28
morris
Re: Image Manager > sorting of files
  • 2004/1/2 21:11

  • morris

  • Just popping in

  • Posts: 54

  • Since: 2003/9/25


I found it already. I had to change the image.php file in the kernel directory. Now my images are sorted on image_nicename instead of image_id.

Unfortunately, since I use Chapi News Wysiwyg Patch (see more info here), this sorting is not working in the news module.

The following code is used to list the pictures, but I do not know what to add/edit to have the images sorted on image_nicename. Can someone help me with this.

$result = $xoopsDB->query("SELECT imgcat_name, imgcat_id, imgcat_storetype FROM ".$xoopsDB->prefix(imagecategory)." ORDER BY imgcat_name ASC");
$i=0;

while($imgcat = $xoopsDB->fetcharray($result)){

$spaw_imglibs[$i]["value"] = 'uploads/';
$spaw_imglibs[$i]["text"] = $imgcat["imgcat_name"];
$spaw_imglibs[$i]["catID"] = $imgcat["imgcat_id"];
$spaw_imglibs[$i]["storetype"] = $imgcat["imgcat_storetype"];
$spaw_imglibs[$i]["autoID"] = $i;

$i++;
}



29
morris
Re: to use Spaw WYSIWYG Editor V1.00b
  • 2004/1/2 20:52

  • morris

  • Just popping in

  • Posts: 54

  • Since: 2003/9/25


In the news module I had to change the storyform.inc.php file (in the mudules/news/admin dir). But which I have to use for the forum (newbb) I really don't know.

For news stories I prefer the News Wysiwyg Patch made by Chapi. Download here.
This patch can handle the tables much better than the Spaw module. (or am I wrong?)

Morris.



30
morris
Image Manager > sorting of files
  • 2004/1/1 15:28

  • morris

  • Just popping in

  • Posts: 54

  • Since: 2003/9/25


Hi,
When I insert an image in a news story, it would be nice if the images I can choose from the ImageManager are sorted on name istead of ID# Can this be done and where/what should I change?

Morris




TopTop
« 1 2 (3) 4 »



Login

Who's Online

182 user(s) are online (116 user(s) are browsing Support Forums)


Members: 0


Guests: 182


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits