Win a copy of Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 this week in the Spring forum!
  • 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
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

JForum Templates

 
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 have designed some Templates for PHPBB and WBB, but in the current Project we switch to JForum. I have done a Design for the Project Forums and want to copy the Design to JForum.

I�ve done some workarounds for features in the WBB Design like the Stats Display (Top Left one) moved to the top and will displayed in the header.tpl instead of index.tpl on any section in the Forums. For this i�ve made some Code changes in the PHP Source Code of WBB. My fearnis is to make this in the JForum Java Code too...

Is my fearnis right to change some Code to move Global Template Variables into other Templates?

You can show the Design, i want to move 100% and 1:1 to JForum here:
http://212.202.225.98/spynox/species/forum

/Spyme
[originally posted on jforum.net by Anonymous]
 
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
So on, the Question is still present.

And to Update, if anyone is interested to write some Workarounds, Hacks and Features to JForum for our needs and has the knowledge to write a Programm wich can interact with a Java Website <-> A Client & Server Application <-> JForum, please contact me on Spyme at Species-Online dot de
We search almost for Team Members with good Java knowledge to support our Java based Sci-Fi MMORPG Project.

/Spyme
[originally posted on jforum.net by Anonymous]
 
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
You still can show the Status of the Design process here:
http://212.202.225.98:8080/Forum
[originally posted on jforum.net by Anonymous]
 
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
Update:

I spend some time on the implementing and experimented with the templates. Some things and bugs i expirience in the woltlab forums are in jforum to and need workarounds or hinds.

Some Questions: I only want to display the time with the global: ${I18n.getMessage("ForumListing.date")}: ${now}
How to do it?

How can i register the Globals: ${usersOnline} ${stats.topics} ${mostUsersEverOnline} ${I18n.getMessage("Admin.welcome.numTopics")} ${totalMessages} for *all* template files?

I defined the ${I18n.getMessage("ForumBase.privateMessages")} in the Options Bar but the Message Count is displayed behind the Text (apply a {0} in the de_DE.properties wont help)

Thanks /Spyme

[originally posted on jforum.net by Anonymous]
 
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
Most if your needs requires changes to the core code, as you want to display pieces of information that currently are available to a single action in other actions.

You can register your wishes at http://www.jforum.net/jira , adding as "New Feature" / "Improvement request"

Rafael
[originally posted on jforum.net by Rafael Steil]
 
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 your answer, Rafael.

You don�t have to improve this changes to a upcomming Release, because this "minor changes" are done by a littlebit help and Information. Also you can improve or add it too, while the mention of a Template System means the Globals can use all around the Templates and help the Designers.

I tryed to wrote down the Changes in the Jira as an improvement but by sending the request a Error occurs:
Errors

* Reporter: Reporter is required.


[originally posted on jforum.net by Anonymous]
 
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
Please, can you list me the files where the functions & actions are called to show the requestet Information? (where the global variables will be defined, like $showtopics or $usersonline)
I will add some workarounds to these files so i can call the variables in all templates.

Thank you
[originally posted on jforum.net by Spyme]
 
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
To make something available to all templates, you have to use Configurtion.setSharedVariable() - that's a freemarker thing.

Take a look int he "ControllerUtils.java" class

Rafael
[originally posted on jforum.net by Rafael Steil]
 
What's gotten into you? Could it be this tiny ad?
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic