This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JForum and the fly likes smiley tags refusing to render Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » JForum
Bookmark "smiley tags refusing to render" Watch "smiley tags refusing to render" New topic
Author

smiley tags refusing to render

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hey all!

I have a problem with Jforum not rendering smilies. Usually a smiley will render with a full <img src="<smiley url here>" /> tag, but on my installation it only appears as ... nevermind the URL being wrong, the resource isn't even defined! Anyone know why this is happening?

Thanks for any help
Jay.
[originally posted on jforum.net by Jiajun]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Which JForum version and database? Were any customizations made? The problem started to happen out of the blue, or from the very begginnig?

Rafael
[originally posted on jforum.net by Rafael Steil]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I cant redirect path of Smiles... my project have other name different to Smiles folder, and default path is /jforum/images/smiles, but in my project is /project/images/smiles, but i not know who i do to redirect this path correct.
[originally posted on jforum.net by MiLLeN]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
The path is in SystemGlobals.properties

Rafael
[originally posted on jforum.net by Rafael Steil]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I have problems...

I go to SystemGlobals.properties.

I go to: smilie.image.pattern =

I change it to: smilie.image.pattern =

But, when i start the aplication, i go to jforum, new post, and the url smiles patter is, for example:
http://localhost:8080/jforum/images/smilies/9d71f0541cff0a302a0309c5079e8dee.gif

when should be http://localhost:8080/myproyet/images/smilies/9d71f0541cff0a302a0309c5079e8dee.gif

What can i do?
[originally posted on jforum.net by MiLLeN]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
have a look in the jforum_custom.conf file

Maybe you have overwritten the setting there. If an entry of equal key is found in both files, the value in jforum_custom.conf will be applied
[originally posted on jforum.net by Sid]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Sid wrote:have a look in the jforum_custom.conf file

Maybe you have overwritten the setting there. If an entry of equal key is found in both files, the value in jforum_custom.conf will be applied


Thank you Sid, I fix my problem with your instructions ;)
[originally posted on jforum.net by MiLLeN]
 
GeeCON Prague 2014
 
subject: smiley tags refusing to render