• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Simple question from jforum novice - cannot see smilies

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I was very pleased with how easy it was to install and integrate JForum into my site. Kudos to all!

I do have a minor problem however, in that I cannot see the emoticons.

In my SystemGlobal.properties...

html.tags.welcome = u, a, img, i, u, li, ul, font, br, p, b
html.attributes.welcome = src, href, size, face, color, target, rel

Not sure what else to check.

If it helps, my site is http://www.activityguidebook.com

Thank-you for the help!!
[originally posted on jforum.net by Guidedog]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't beleive that allowed HTML tags have anything to do with the Smilies.

I am wondering though, what kind of database are you running. I'm having smilie troubles too.
[originally posted on jforum.net by jasonjarvis]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In your $APP_SERVER/webapps/jforum_name/WEB-INF/config/SystemGlobals.properties file, do you have these lines?

smilie.image.dir = images/smilies
smilie.image.pattern =

[originally posted on jforum.net by GatorBait3]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
my file does have those lines. Still doesn't work.
[originally posted on jforum.net by jasonjarvis]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The smilies depend on you having entered the correct forum context in your Admin/Configuration panel. Check that you entered that in correctly.

e.g. http://yourip.com:8080/jforum/

Also, see my posting about a possible bug regarding whether the trailing slash should be included.

Jeff
[originally posted on jforum.net by netbracketsJeff]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the input...

I do have:
smilie.image.dir = images/smilies
smilie.image.pattern =

It must be related to context suggest by netbracketsJeff.

For better or for worse, here is what I have done. I wanted the JForum context (root '/') to share the same context as the rest of my webapplication so it is easy to share the session. Also, I want to provide a seperate path for the forum, so simply refer to is as being in the /forums path. This works for everything (http://www.activityguidebook.com/forums/list.page, http://www.activityguidebook.com/forums/show/22.page, admin, etc.). When I post a new message the path is now moves down to the root, removing the 'forums' which I added (http://www.activityguidebook.com/jforum.page?module=posts&action=insert&forum_id=22).

I tried experimenting with the context in the Admin panel with no apparent luck.

Is their hope with this approach? Thanks in advance!!

[originally posted on jforum.net by Guidedog]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, here is what the properties on the images show:
http://www.activityguidebook.com//images/smilies/9d71f0541cff0a302a0309c5079e8dee.gif

(that 9d71xxxxx number is a reference to a specific smilie)

Note that you have 2 "//" after your domain URL. Take that out in the config and it should work fine.
[originally posted on jforum.net by GatorBait3]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I had this problem too, I just used a rewrite rule to map /images/smilies/ to /jforum/images/smilies/ where they live.
[originally posted on jforum.net by angelsk]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank-you!! The double slash // was the problem!
[originally posted on jforum.net by Guidedog]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
sigh, I can't seem to get anything to work.
[originally posted on jforum.net by jasonjarvis]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I had this problem once. Everything seems to work, except no smilies. Here is what I did:

Login your forum as Admin, go to Control Panel, go to Configurations.

Make sure Forum URL is:

http://www.activityguidebook.com/forums/

and Website URL is:

http://www.activityguidebook.com/forums

i.e.: don't forget about the "context" part of the path, which is "forums" part (word) in the paths above.

[originally posted on jforum.net by MyJForum]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
still not working, ok maybe if there is a little more background on how I've set things up and why.

My server is used for a community of my friends and commercial projects for centralized writing. Generally for Pen and Paper gaming. For this reason I felt I want to keep my data physically at my home. Since it's not a public or commercially available website I have am using DynDns free service. Also my ISP blocks port 80, finally my router doesn't actually let me use internet address when I'm accessing my page on the LAN.

So to sum this up.
I either use redirect or IP that channels through a specified alternative port than 80. Neither sees smilies.
Access at home requires that I make link by the LAN address not the WAN address. So listing the URL and Forum address doesn't really help me a whole lot. Since either WAN or LAN will be broken.

Smilies did work as of 2.1.6. for both WAN and LAN, so whatever change was made, is inferior for network crossing.

Finally even if I do set the address to a local one, they still don't work over the LAN.
[originally posted on jforum.net by jasonjarvis]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Took me a sec to get the gist of this thread. I took the trailing "/" off the end of the entry "forum.link=" in the jforum-custom.conf file and my smilies are now working just fine. Thanks for the info guys.
[originally posted on jforum.net by tdossey]
 
What are your superhero powers? Go ahead and try them on this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic