I have BBCode/Smilies enabled, can see them just fine when editing, and the markup is appearing correctly in my post, but neither the smilies nor the marked up text make it to my preview or post.

When I go to edit the post, the markup still appears, thus it is only a display issue (tested on both IE7 and Firefox2).

About my system:
I am using the August 11th version of the code.
I have the "uieforum BBCode + Smilies" checkbox selected for all input format types with full HTML currently the default.
I am using Drupal 5.2 plus the latest stable version of MySQL5, PHP5, and Apache2.2.4 on XP SP2.

The only thing I can think of that I did "out of the ordinary" was to install this to my modules directory directly instead of the suggested sites/all/modules.

If you need any more information, I would be happy to provide it.

Comments

daniel.hunt’s picture

Assigned: Unassigned » daniel.hunt

So long as your paths are setup to point to your modules directory, this shouldn't be a problem.
What do you see when you view the source of the page in the show-thread mode?

Do you see the correct path to the images? Can you access the images directly by using http://www.mysite.com/modules/uieforum/uie/uiesmilies/tongue.gif
?

webdrips’s picture

The markup is not showing up in the page source.

Yes I can view the images using the suggested path.

Note: I am not sure if this helps you in any way, but I am using TinyMCE to edit other nodes and the markup works fine there.

The strange thing is, I see the markup in the edit, so it is definitely getting stored to the db, but it is somehow not making it to the view.

daniel.hunt’s picture

Certainly a strange issue alright. I'll look into it when I get a chance.

Double check your admin settings just in case. I know your preview isn't working either (and it uses the same code as the post-display - pretty much for reasons like this actually) so if you can preview a sample post, and confirm that the path to the images is correct, ie:

Forum icon path:
modules/uieforum/uie

Forum Smilies path:
modules/uieforum/uie/uiesmilies

Forum Text Formatting path:
modules/uieforum/uie/textformatting

Let me know how it goes.

Daniel

webdrips’s picture

Yep that is exactly how my path settings are configured.

I'll try moving this module to the sites/all/modules/ location to see if anything changes.

Dan

vikingew’s picture

You should also exclude the path

uieforum/*

in TineMCE profiles

webdrips’s picture

Joakim, for TinyMCE, I only have "Show on only the listed pages" selected (and the forum is not on the list).

Daniel,

Well the location is not the issue here. I even un-installed and re-installed UIE Forum but no luck still.

I am going to try my live site for the heck of it since I am not really using it just yet.

(I am hoping to get this working before letting the world know about my site so I have extra incentive to help :) )

Dan

daniel.hunt’s picture

Hehe :)

Well I honestly don't know what could be causing this problem. You say it doesn't work, even when placed in the /sites/all/modules/uieforum directory?!

webdrips’s picture

Well well well, it works on my live site, which is of course totally different from my local machine.

In my first post, I described my local machine.

Here are some details about the live site:

Operating system Linux
Apache version 1.3.37
PHP version 4.4.2
MySQL version 4.1.21-standard

Let me know what you want me to do on my end to debug this.

Dan

daniel.hunt’s picture

*lost*

webdrips’s picture

Ok, so at home, I have Windows XP machine that doubles as a web server for updating/testing my site locally with the following configuration:
Operating system Windows XP SP2
Apache version 2.2.4
PHP version 5.2.3
MySQL version 5.0.45

Then I have a company that hosts my live site and it has the following configuration:
Operating system Linux
Apache version 1.3.37
PHP version 4.4.2
MySQL version 4.1.21-standard

As you can see, the two machines could not be any more different, but that is not supposed to matter (and note that it has not mattered so far).

I would guess that the OS would be the first place to start digging, but what do I know?

I'll help you in any way I can though.

Perhaps this might be a post for the module development forum?

Dan

vikingew’s picture

Dan,

Yes setting explicite were to use TinyMCE works as well, of course ;-)

As it work on your live site but not on your local computer I am pretty sure it's a local configuration issue, probably with any of apache, php or mysql but it can also be windows it self (firewall issue?). Your live host also seem to run with very outdated software... but well that's another story. It's certainly an advantage though to run same versions on both test and live server, at least for the major version part.

daniel.hunt’s picture

Status: Active » Closed (fixed)