41
gravies
Re: smartfaq faq.php bug
  • 2004/11/18 6:58

  • gravies

  • Not too shy to talk

  • Posts: 119

  • Since: 2004/8/18


Very strange indeed, but read on for the solution...

I just installed SmartFAQ on my other server and all is ok.
I removed xoopsfaq.
I removed the CVS version completely and deleted the dir
I checked the database had no smartfaq entries
I installed 1.02 version.
I now can't add any Q&As.
I added the SQL from a test site that works.
The actual site still doesn't work despite identical SQL and files!
I updated again to check - still broken.
Both sites are virtual hosts on the same machine.
I pulled out all my hair.

Then I had a flash of inspiration!!!
I remembered that I had put a .htaccess redirect from /faq to /modules/smartfaq!!!!
I removed this line - it worked.

2 hours of pain for 2 lines of code - what an idiot.



42
gravies
Re: Getting content from MS-Word into xoops... via html or pdf ?
  • 2004/11/17 23:32

  • gravies

  • Not too shy to talk

  • Posts: 119

  • Since: 2004/8/18


For powerpoint files and newsletter style word documents I save the front page as a large gif / jpeg. Upload this to XOOPS using the image manager. Then link the image to a pdf file generated with Open Office or directly from Word (Save As PDF on OSX).

If OO breaks the Microsoft document then you can convert directly to PDF using Acrobat Professional / Distiller. Or, more cheaply, by going via postscript and using ps2pdf-m (unix/cygwin).

If you want to convert to HTML for your 'liquid' approach then I suggest using Macromedia DreamWeaver to clean the HTML produced by Word. It has "Fix Microsoft Word HTML" menu item



43
gravies
smartfaq faq.php bug
  • 2004/11/17 23:24

  • gravies

  • Not too shy to talk

  • Posts: 119

  • Since: 2004/8/18


When you go to a link in SmartFAQ which has this format it seems to be broken:

/modules/smartfaq/faq.php?faqid=10

instead of displaying the Q&A is reloads the index page and the URL is redirected to:

/modules/smartfaq/?faqid=10

I upgraded to current cvs but this did not fix the problem.



44
gravies
Re:imagemanager hacks
  • 2004/11/16 5:44

  • gravies

  • Not too shy to talk

  • Posts: 119

  • Since: 2004/8/18


I have hacked the built in XOOPS imagemanager to allow it to resize images and insert a thumb and a link to the original file.

I wanted to keep it simple so I only modified imagemanager.php. This is not ideal and if you upload from the admin page it does not work. We really need an image class and full integration of images into XOOPS core (or a new default module). I am sure this is planned for 2.2

To Install this hack:

Download the zip

Unzip the file
Edit the location of convert (if not /usr/bin/)
Edit the desired size of thumbs (if not 200x200)
Backup imagemanager.php
Copy over imagemanager.php with new file
Create an image category with large size.
Test upload and insertion of image.
No need to update in admin as no database changes

ToDo:
I wanted to have the fullsize image popup in a sized window. However, the preview panel gets messed up if you use HTML instead of bbcode [URL].

The admin manager should be hacked too.

Hope this helps you.
Graham



45
gravies
Simple blog with picture gallery.
  • 2004/11/13 3:21

  • gravies

  • Not too shy to talk

  • Posts: 119

  • Since: 2004/8/18


I am trying to get a friend to switch from drupal to xoops. She wants a very simple vertical news style layout with descriptions and thumbnails that link to larger images. You would think this would be very easy.

I have setup news 1.21 with myalbum-p 2.84 and it gives the required functionality.

However, to get the thumbnail to link to the image in myalbum you have to find the image, note it's id, then manually create a link to it to wrap around the thumbnail (which you exported to Image Manager with myalbum).

Also, if you add new images to the album in myalbum-p, then export to Image Manager again all the links are broken.

Anyone got any better suggestions?

It would be nice if Image Manager in the XOOPS core could handle thumbnail creation and linking to a popup of the fullsize image.



46
gravies
Re:Wordbook error
  • 2004/11/3 15:10

  • gravies

  • Not too shy to talk

  • Posts: 119

  • Since: 2004/8/18


Wordbook is a superb module and getting that HTML to work would be great. Instead of starting a new topic here are some of my observations... sorry if they are repeated elsewhere.

When you have an apostrophie in the term it causes problems. When you click to edit the term the stuff after the ' is lost.

On the entry.php page the Definition is sometimes missing, even though the term and Reference are ok. I found this is due to the linking. If this is switched off the definition reappears.

If a user requests a definition and you define it but alter the capitalization - it is not recognized.

When you go to All categories it would be nice to see everything... not just the categories again.

In Safari the 3rd block (Random Term) is broken. You can fix it by setting class to float30.

Access to cvs would be nice.

Integration with the core would be fantastic - ie. define terms in news module (on your todo I know and would probably introduce heavy load).

Thanks for this great module



47
gravies
Re:eMail to News Module?
  • 2004/11/3 3:56

  • gravies

  • Not too shy to talk

  • Posts: 119

  • Since: 2004/8/18


You are right and I just got it to work... Here is a quick howto:

Install wordpress 0.32
Go to Admin-Wordpress-Wordpress Option-Blog-by-Email settings
Setup your pop server, username and password (imap not supported yet)
Read the readme (modules/wordpress/wp-readme/lang_en.html)
Send an email in the following form:
Quote:

To: address@example.com (you set it in the config file)
Subject: blog:the post's title (you can change 'blog:' in the config file)
Body:
login:password (example: Jack:Starwars)
The content of the post, blah blah blah.
More blah blah. ___


Get your server to check /modules/wordpress/wp-mail.php
Either do this manually or setup a cron job.

If you don't want to switch to using wordpress instead of news you can use the Recent Posts block to display your emails/SMS messages.

To send from your cellphone check if your service provider allows you to send email directly. If not then you can use sms2email services like this one:http://www.sms2email.com (UK number).

The blog: tag is customizable and you also need a username and password so spam should be minimal.

It would be nice if the next version of the news module could do this.



48
gravies
Re: eMail to News Module?
  • 2004/11/2 19:37

  • gravies

  • Not too shy to talk

  • Posts: 119

  • Since: 2004/8/18


This would be fantastic. I would like to do this so that I can send email from a cellphone and have the message appear in a news item. I was thinking of hacking it by passing messages with a certain address to a perl / php script. This could then post the message to submit.php. Unless you could login with the script the post would have to be authorized. Then you get problems with spam to that email account. Maybe you could have a password or keyword in the body that could be used to filter spam.

Another option I thought of would be to just cat the email into a file and include the file it in a php block. Again - horrible hack but it would would be easy to do.

I think newbb2 has plans for imap / pop access. I haven't seen it in 2.0 RC2 though.



49
gravies
Re:xcGallery - Recreate Thumbs??
  • 2004/10/28 5:38

  • gravies

  • Not too shy to talk

  • Posts: 119

  • Since: 2004/8/18


I would like to do this too... I can't find any reference to rebuilding thumbs or medium sized images on this site. The default thumb size is 50 and medium is 400. If you change to larger later then neither is regerated at the larger size. You still get images but they are just stretched. If you delete the files they are not regenerated.

Is this a coppermine problem or a xcgallery problem? How hard was integration of coppermine? Is anyone working on porting the newer versions (1.3.2)?



50
gravies
Re:Variables from different modules in templates?
  • 2004/10/16 19:03

  • gravies

  • Not too shy to talk

  • Posts: 119

  • Since: 2004/8/18


Does nobody know how to do this or is it just too obvious...




TopTop
« 1 2 3 4 (5) 6 7 8 »



Login

Who's Online

188 user(s) are online (47 user(s) are browsing Support Forums)


Members: 0


Guests: 188


more...

Donat-O-Meter

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

Latest GitHub Commits