• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Help needed in moving...

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi! frnds i am happy to know about Jforum...
I was in need of a forum for my classmates discussion...
so was looking around....landed into Jforums...
i installed it on my localhost...it's working fine for me...

1)
How to put an animated logo(*.gif) i.e; which file should i edit to change the logo's name...??


2)
Now what i need is to know how to move (install on hosting) all(Jforum ,tomcat,mysql etc.)
to a web hosting...?
if possible can u tell me how to move to a free webhosting...?
also suggest a free webhosting which supports these...

Looking forward for ur replies frnds... :roll:

-Arjun

[originally posted on jforum.net by arjun]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Answer to 1)
Current logo location when using standard JForum template: YOUR_jforum_INSTALL_DIR/templates/default/images/logo.jpg

File to edit to change to a different logo file name: YOUR_jforum_INSTALL_DIR/templates/default/header.htm

Answer to 2)
Backup database from your localhost and move to hosting database.
Edit config files for any directory/URL changes, database connections, etc. between localhost & hosting server.

You probably won't have much luck in finding free Java webhosting - Java hosting tends to be more expensive than hosting plans that don't fully support Java. But good luck in the search and be sure to post back if you do find one!

[originally posted on jforum.net by GatorBait3]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Re: Changing any HTML attribute (image sizes, text color, etc...)

The "Skin" for jForum is based on a combination of style sheets and FreeMarker HTML template files. I'd suggest viewing the generated source (what is displayed in your browser) to determine which factor needs to be changed.

If it's HTML (like embedded image sizes), the best way to do this is to do the following:

First, make a copy of the templates/default directory, e.g. create a templates/myskin directory. Then in your jforum-custom.conf file, add a line like: template.dir = myskin This will give you a place to modify your look and feel but still have the original to fall back on. It also makes upgrades easier to keep your changes separate from the defaults.

In this directory, you will find a bunch of html like files. These are based on the Freemarker (freemarker.org) system. This is a fairly simple scripting language that you can learn if you want to. But mostly, for simple HTML changes, you don't need it.

The file names are fairly self explanatory, and if you can't find one, try searching for some of the HTML text, or looking at the templateMapping.property file. FYI, all the main pages will include the header.htm and bottom.htm files.

Re: Changing icons

Changing the icon's isn't hard but it's a little different than you might expect. Since some of the icons have words on them, they are actually defined in the main css and language css files as background images. So, to change the file names (or identify the names of the files to change), you will need to look for these in the css files. Also, you may need to create different versions for different languages .

FWIW: Changing some message text

A lot of the "system" messages is built with internationalization in mind. So, if you don't like the wording of some of these messages, you will need to find the associated property in the specific language file (config/languages) and change it there.
[originally posted on jforum.net by monroe]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i already found it(image locations), in the hour next when i posted this topic...
anyway thanx for the info bro...
hope i could find the java webhosting... :roll:
bro i have some more doubts...
actually what i am doing is changing the forums skin i.e; changing the color...
view this image for the idea what i am trying to do...

so what i want to ask you is...
1)
how to change the image sizes(images like post reply,new topic...) ...
i am making my own buttons... for that ...i need to change the size in the coding part...
so which file should i edit...???

2)
i also want to change the text color ...of the text that appears below Welcome to...on top...
also for the text topic ,messages,last message..etc..
also changing the border color of that forums category...(as you can see in the image the border color is still blue for the category there in the image shown)

thanx once again for replying.

-Arjun.

[originally posted on jforum.net by arjun]
 
permaculture is giving a gift to your future self. After reading this tiny ad:
Enterprise-grade Excel API for Java
https://products.aspose.com/cells/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!